forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbfd4567
committed
pgbench: Avoid unnecessary measurement of connection delays.
Commit547f04e changed pgbench so that it used the measurement resultof connection delays in its benchmark report only when -C/--connect optionis specified. But previously those delays were unnecessarily measuredeven 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 commit547f04e first appeared.Author: Yugo NagataReviewed-by: Fabien COELHO, Asif Rehman, Fujii MasaoDiscussion:https://postgr.es/m/20210614151155.a393bc7d8fed183e38c9f52a@sraoss.co.jp1 parentbad6cef commitbfd4567
1 file changed
+1
-8
lines changedLines changed: 1 addition & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6603 | 6603 |
| |
6604 | 6604 |
| |
6605 | 6605 |
| |
| 6606 | + | |
6606 | 6607 |
| |
6607 | 6608 |
| |
6608 | 6609 |
| |
| |||
6626 | 6627 |
| |
6627 | 6628 |
| |
6628 | 6629 |
| |
6629 |
| - | |
6630 |
| - | |
6631 |
| - | |
6632 |
| - | |
6633 |
| - | |
6634 |
| - | |
6635 |
| - | |
6636 |
| - | |
6637 | 6630 |
| |
6638 | 6631 |
| |
6639 | 6632 |
| |
|
0 commit comments
Comments
(0)