Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r208:86f449bbae48
Date: 2013-04-23 13:22 +0200
http://bitbucket.org/pypy/benchmarks/changeset/86f449bbae48/
Log: improve reporting even more
diff --git a/unladen_swallow/perf.py b/unladen_swallow/perf.py
--- a/unladen_swallow/perf.py
+++ b/unladen_swallow/perf.py
@@ -668,7 +668,12 @@
A string summarizing the difference between the runs, suitable for
human consumption.
"""
- assert len(base_times) == len(changed_times)
+ if len(base_times) != len(changed_times):
+ print "Base:"
+ print base_times
+ print "Changed:"
+ print changed_times
+ raise Exception("length did not match")
if options.no_statistics:
return RawResult(base_times, changed_times)
if len(base_times) == 1:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit