pgvector.git / summary / log / commit / refs
commit 7dd934913d9b41f1209ca676b46d4499cbef4e3e
Author: Andrew Kane <andrew@ankane.org>
Date: Fri Feb 11 23:51:14 2022 +0000
Improved output [skip ci]
src/ivfflat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ivfflat.h b/src/ivfflat.h
index 21a9f08e..5d8535cf 100644
--- a/src/ivfflat.h
+++ b/src/ivfflat.h
@@ -56,7 +56,7 @@
(code); \
INSTR_TIME_SET_CURRENT(duration); \
INSTR_TIME_SUBTRACT(duration, start); \
- elog(INFO, "%s: %f ms", name, INSTR_TIME_GET_MILLISEC(duration)); \
+ elog(INFO, "%s: %.3f ms", name, INSTR_TIME_GET_MILLISEC(duration)); \
} while (0)
#else
#define Bench(name, code) (code)
[parent: 9b46987e73bb]