Also, dump commands as they are executed.
Also, accept additional parameters that are forwarded to build-script,
which allows me to run it with distcc, for example.
Swift SVN r24609
To test -O, you need to pass -O3 for now. I haven't figured out how to
get Python argparse to allow an empty choice for the -O option.
Swift SVN r20486
We were already effectively doing this everywhere /except/ when building
the standard library (which used -O2), so just use the model we want going
forward.
Swift SVN r20455
Also add a -O option that allows one to specify desired optimization
levels. This will make it much easier to get a lightweight answer to
"did I speed things up?" while still allowing
pre-commit-benchmark -r3 -O3 -Ofast -O0
to do a more thorough test.
Swift SVN r19741
This script runs the benchmarks in benchmark/PrecommitBench/ against
your working tree and compares the result with the results of running
the benchmark against origin/master, or any commit you specify on the
command line. Its output is roughly in CSV format. It keeps a cache of
benchmark results, tagged with the working tree state, so chances are
good that it won't have to change your working copy state. However, if
results for the specified commit are not in the cache, the script will
temporarily switch your working copy to that commit in order to build.
Timing parsing, comparison, and printing code by Andy Trick. Thanks,
Andy!
Swift SVN r19646