Author: fijal Branch: Changeset: r350:b75559ef571b Date: 2016-04-01 13:48 +0200 http://bitbucket.org/pypy/benchmarks/changeset/b75559ef571b/
Log: add the ability to number the counts diff --git a/warmup/pypy-graph-alloc-removal.py b/warmup/pypy-graph-alloc-removal.py --- a/warmup/pypy-graph-alloc-removal.py +++ b/warmup/pypy-graph-alloc-removal.py @@ -43,4 +43,8 @@ remover.remove_mallocs_once(g) return time.time() - start -main(graph, 100) +if len(sys.argv) > 2: + count = int(sys.argv[1]) +else: + count = 100 +main(graph, count) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit