pgsql: pgbench: Correct for bias in --rate schedule generation.
pgsql: pgbench: Correct for bias in --rate schedule generation.
От:
Noah Misch <noah@leadboat.com>
Дата:
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(-)