Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r184:3e6ecb1eb4ff
Date: 2012-07-21 13:29 +0200
http://bitbucket.org/pypy/benchmarks/changeset/3e6ecb1eb4ff/
Log: Cut down on iterations here. Otherwise we run out of TCP connections
and we get inconsistent bad results.
diff --git a/benchmarks.py b/benchmarks.py
--- a/benchmarks.py
+++ b/benchmarks.py
@@ -63,7 +63,10 @@
'json_bench']:
_register_new_bm(name, name, globals(), **opts.get(name, {}))
for name in ['names', 'iteration', 'tcp', 'pb', 'web']:#, 'accepts']:
- iteration_scaling = 1.0
+ if name == 'web':
+ iteration_scaling = 0.2
+ else:
+ iteration_scaling = 1.0
_register_new_bm_twisted(name, 'twisted_' + name,
globals(), bm_env={'PYTHONPATH': ':'.join(TWISTED)},
iteration_scaling=iteration_scaling)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit