pgbench: Elaborate latency reporting.

Noah Misch <noah@leadboat.com>

Commit: 2d6c0f10ef4f34d757e49a9815c22045d8ba6980
Author: Noah Misch <noah@leadboat.com>
Date: 2013-10-05T21:33:38Z
Releases: 9.4.0
pgbench: Elaborate latency reporting.

Isolate transaction latency (elapsed time between submitting first
command and receiving response to last command) from client-side delays
pertaining to the --rate schedule.  Under --rate, report schedule lag as
defined in the documentation.  Report latency standard deviation
whenever we collect the measurements to do so.  All of these changes
affect --progress messages and the final report.

Fabien COELHO, reviewed by Pavel Stehule.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +110 −17
doc/src/sgml/pgbench.sgml modified +5 −1