git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b1d6a8f) | patch
pgbench: Improve time logic.
2021年3月10日 03:09:50 +0000 (16:09 +1300)
2021年3月10日 04:44:04 +0000 (17:44 +1300)
commit 547f04e7348b6ed992bd4a197d39661fe7c25097
pgbench: Improve time logic.

Instead of instr_time (struct timespec) and the INSTR_XXX macros,
introduce pg_time_usec_t and use integer arithmetic. Don't include the
connection time in TPS unless using -C mode, but report it separately.

Author: Fabien COELHO <coelho@cri.ensmp.fr>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/20200227180100.zyvjwzcpiokfsqm2%40alap3.anarazel.de
doc/src/sgml/ref/pgbench.sgml diff | blob | blame | history
src/bin/pgbench/pgbench.c diff | blob | blame | history
src/include/portability/instr_time.h diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /