Commit 93834a2
committed
Fix pgbench's calculation of average latency, when -T is not used.
If the test duration was given in # of transactions (-t or no option),
rather as a duration (-T), the latency average was always printed as 0.
It has been broken ever since the display of latency average was added,
in 9.4.
Fabien Coelho
Discussion: <alpine.DEB.2.20.1607131015370.7486@sto>1 parent 496c90b commit 93834a2
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3293 | 3293 | | |
3294 | 3294 | | |
3295 | 3295 | | |
3296 | | - | |
| 3296 | + | |
| 3297 | + | |
3297 | 3298 | | |
3298 | | - | |
| 3299 | + | |
| 3300 | + | |
3299 | 3301 | | |
3300 | 3302 | | |
3301 | 3303 | | |
| |||
0 commit comments