Re: pgbench stats per script & other stuff
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>, Josh Berkus <josh@agliodbs.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2015-09-03T07:26:01Z
Lists: pgsql-hackers
Attachments
- pgbench-script-stats-9.patch (text/x-diff) patch
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.
Commits
-
pgbench: Allow changing weights for scripts
- 7bafffea647e 9.6.0 landed