# HG changeset patch # User Pierre-Yves David # Date 1558444086 -7200 # Node ID 563cd9a726826e0318bde9fb588b761a404b8d56 # Parent 45c18f7345c112318cc34cb4ae1ba854a5dd7b55 perf: add a `pre-run` option sometimes, the initial run is necessary to warm some cache that are not relevant for the current measurement. We add a new `perf.pre-run` option to specify a number of run of the benchmark logic that will happens before measurement are taken. diff -r 45c18f7345c1 -r 563cd9a72682 contrib/perf.py --- a/contrib/perf.py Mon May 20 18:09:41 2019 -0700 +++ b/contrib/perf.py Tue May 21 15:08:06 2019 +0200 @@ -15,6 +15,9 @@ ``presleep`` number of second to wait before any group of runs (default: 1) +``pre-run`` + number of run to perform before starting measurement. + ``run-limits`` Control the number of runs each benchmark will perform. The option value should be a list of `