pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pgbench: Avoid unnecessary measurement of connection delays. 2+ messages / 1 participants [nested] [flat]
* pgsql: pgbench: Avoid unnecessary measurement of connection delays. @ 2021-08-30 12:41 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Fujii Masao @ 2021-08-30 12:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pgbench: Avoid unnecessary measurement of connection delays. Commit 547f04e734 changed pgbench so that it used the measurement result of connection delays in its benchmark report only when -C/--connect option is specified. But previously those delays were unnecessarily measured even when that option is not specified. Which was a waste of cycles. This commit improves pgbench so that it avoids such unnecessary measurement. Back-patch to v14 where commit 547f04e734 first appeared. Author: Yugo Nagata Reviewed-by: Fabien COELHO, Asif Rehman, Fujii Masao Discussion: https://postgr.es/m/20210614151155.a393bc7d8fed183e38c9f52a@sraoss.co.jp Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/bfd4567b88496bf9669658e5ab381b296dd9ffe1 Modified Files -------------- src/bin/pgbench/pgbench.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: pgbench: Avoid unnecessary measurement of connection delays. @ 2021-08-30 12:41 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Fujii Masao @ 2021-08-30 12:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pgbench: Avoid unnecessary measurement of connection delays. Commit 547f04e734 changed pgbench so that it used the measurement result of connection delays in its benchmark report only when -C/--connect option is specified. But previously those delays were unnecessarily measured even when that option is not specified. Which was a waste of cycles. This commit improves pgbench so that it avoids such unnecessary measurement. Back-patch to v14 where commit 547f04e734 first appeared. Author: Yugo Nagata Reviewed-by: Fabien COELHO, Asif Rehman, Fujii Masao Discussion: https://postgr.es/m/20210614151155.a393bc7d8fed183e38c9f52a@sraoss.co.jp Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/efe2382d5ade2c8d63f2aa1b48cc85691a2bfabd Modified Files -------------- src/bin/pgbench/pgbench.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-08-30 12:41 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-08-30 12:41 pgsql: pgbench: Avoid unnecessary measurement of connection delays. Fujii Masao <fujii@postgresql.org> 2021-08-30 12:41 pgsql: pgbench: Avoid unnecessary measurement of connection delays. Fujii Masao <fujii@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox