Author: Edd Barrett <vex...@gmail.com>
Branch: min_5_secs
Changeset: r301:8575f60bfd42
Date: 2014-12-15 15:32 +0000
http://bitbucket.org/pypy/benchmarks/changeset/8575f60bfd42/

Log:    Backed out changeset b7f0946c13a6

diff --git a/unladen_swallow/performance/richards.py 
b/unladen_swallow/performance/richards.py
--- a/unladen_swallow/performance/richards.py
+++ b/unladen_swallow/performance/richards.py
@@ -363,10 +363,8 @@
 
     def run(self, iterations):
         for i in xrange(iterations):
-            global taskWorkArea
-            # Must reinitiliase the taskWorkArea or benchmark will run slower
-            # upon subsequent runs.
-            taskWorkArea = TaskWorkArea()
+            taskWorkArea.holdCount = 0
+            taskWorkArea.qpktCount = 0
 
             IdleTask(I_IDLE, 1, 10000, TaskState().running(), IdleTaskRec())
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to