Add --latency-limit option to pgbench.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 98aed6c721763f2472ccd23b834baed9f83a944b
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2014-10-13T17:50:24Z
Releases: 9.5.0
Add --latency-limit option to pgbench.

This allows transactions that take longer than specified limit to be counted
separately. With --rate, transactions that are already late by the time we
get to execute them are skipped altogether. Using --latency-limit with
--rate allows you to "catch up" more quickly, if there's a hickup in the
server causing a lot of transactions to stall momentarily.

Fabien COELHO, reviewed by Rukh Meski and heavily refactored by me.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +175 −56
doc/src/sgml/pgbench.sgml modified +60 −10