pgsql: pgbench: Correct for bias in --rate schedule generation.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pgbench: Correct for bias in --rate schedule generation.
Date: 2013-09-26 03:12:30
Message-ID: E1VP20E-0008B8-1I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pgbench: Correct for bias in --rate schedule generation.

Previous code gave a mean delay 0.44% below target. This change also
has the effect of increasing the maximum possible delay.

Fabien COELHO

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c2df45a37cd9e32815fe2786cbb3ef905daaa7d2

Modified Files
--------------
contrib/pgbench/pgbench.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-09-26 08:44:54 pgsql: Fix spurious warning after vacuuming a page on a table with no i
Previous Message Heikki Linnakangas 2013-09-25 13:11:36 pgsql: Plug memory leak in range_cmp function.