Re: pgbench stats per script & other stuff

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgbench stats per script & other stuff
Date: 2015-09-03 07:26:01
Message-ID: alpine.DEB.2.10.1509030917480.16877@sto
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers


Hello Anders,

This v9 :
- add "-b list" to show the list of builtins
- remove the explicit --per-scripts-stats option, which is instead
automatically set when several scripts are run or with per-command
latencies (-r)
- count scripts from 1 instead of 0 in the output

I've left out:
- removing -N/-S upward compatibility shorthands
but I will not cry if they are removed
- requiring percents instead of integer weights, because
it is too constrained
- your "array" remark as I did not understood it

Thanks to the restructuring and sharing of stats code, the patch does not
change the loc count, although a few features are added.

--
Fabien.

Attachment Content-Type Size
pgbench-script-stats-9.patch text/x-diff 56.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shulgin, Oleksandr 2015-09-03 08:00:42 Re: Proposal: Implement failover on libpq connect level.
Previous Message Noah Misch 2015-09-03 06:25:00 pg_ctl/pg_rewind tests vs. slow AIX buildfarm members