mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 14:01:31 +08:00
Improved output [skip ci]
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user