forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitefe2382
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 parent7af5c38 commitefe2382
1 file changed
+1
-8
lines changedLines changed: 1 addition & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6622 | 6622 |
| |
6623 | 6623 |
| |
6624 | 6624 |
| |
| 6625 | + | |
6625 | 6626 |
| |
6626 | 6627 |
| |
6627 | 6628 |
| |
| |||
6645 | 6646 |
| |
6646 | 6647 |
| |
6647 | 6648 |
| |
6648 |
| - | |
6649 |
| - | |
6650 |
| - | |
6651 |
| - | |
6652 |
| - | |
6653 |
| - | |
6654 |
| - | |
6655 |
| - | |
6656 | 6649 |
| |
6657 | 6650 |
| |
6658 | 6651 |
| |
|
0 commit comments
Comments
(0)