Author: Maciej Fijalkowski <[email protected]>
Branch: single-run
Changeset: r220:354c8deb826a
Date: 2013-08-01 20:21 +0200
http://bitbucket.org/pypy/benchmarks/changeset/354c8deb826a/
Log: add a special group
diff --git a/runner.py b/runner.py
--- a/runner.py
+++ b/runner.py
@@ -15,6 +15,11 @@
'rietveld', 'html5lib', 'ai']
BENCHMARK_SET += perf._FindAllBenchmarks(benchmarks.__dict__).keys()
+BENCHMARK_SET_FAST = []
+for bench in BENCHMARK_SET:
+ if not bench.startswith('scrimark') and not bench.startswith('translate'):
+ BENCHMARK_SET_FAST.append(bench)
+del bench
class WrongBenchmark(Exception):
pass
@@ -140,6 +145,8 @@
if options.niceness is not None:
os.nice(options.niceness - os.nice(0))
+ if benchmarks == 'fast':
+ benchmarks = ", ".join(sorted(BENCHMARK_SET_FAST))
results = run_and_store(benchmarks, output_filename, path,
revision, args=args, fast=fast,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit