mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-10 14:46:56 +08:00
Improved output [skip ci]
This commit is contained in:
@@ -56,7 +56,7 @@
|
|||||||
(code); \
|
(code); \
|
||||||
INSTR_TIME_SET_CURRENT(duration); \
|
INSTR_TIME_SET_CURRENT(duration); \
|
||||||
INSTR_TIME_SUBTRACT(duration, start); \
|
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)
|
} while (0)
|
||||||
#else
|
#else
|
||||||
#define Bench(name, code) (code)
|
#define Bench(name, code) (code)
|
||||||
|
|||||||
Reference in New Issue
Block a user