Author: Maciej Fijalkowski <[email protected]>
Branch: single-run
Changeset: r218:428d7feb4b7f
Date: 2013-08-01 20:11 +0200
http://bitbucket.org/pypy/benchmarks/changeset/428d7feb4b7f/

Log:    one more

diff --git a/benchmarks.py b/benchmarks.py
--- a/benchmarks.py
+++ b/benchmarks.py
@@ -44,13 +44,13 @@
         bm_path = relative('own', name + '.py')
         return MeasureGeneric(python, options, bm_path, **opts)
 
-    def BM(base_python, changed_python, options, *args, **kwargs):
+    def BM(python, options, *args, **kwargs):
         try:
-            base_data = benchmark_function(base_python, options,
-                                           *args, **kwargs)
+            data = benchmark_function(python, options,
+                                      *args, **kwargs)
         except subprocess.CalledProcessError, e:
             return ResultError(e)
-        return SimpleResult(avg(base_data[0]))
+        return SimpleResult(avg(data))
     BM.func_name = 'BM_' + bm_name
 
     d[BM.func_name] = BM
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to