Author: Remi Meier <[email protected]>
Branch: multithread-runner
Changeset: r381:fdeed4fc15f1
Date: 2016-07-14 09:06 +0200
http://bitbucket.org/pypy/benchmarks/changeset/fdeed4fc15f1/

Log:    There is possibly a bug in the printstream implementation when
        running richards on many threads. Thus, for now, we do less
        printing.

diff --git a/multithread/richards/richards.py b/multithread/richards/richards.py
--- a/multithread/richards/richards.py
+++ b/multithread/richards/richards.py
@@ -371,12 +371,12 @@
         self.finished_lock.acquire()
 
     def run_and_unlock(self, count):
-        print 'running...'
+        #print 'running...'
         iterations = 0
         self.result = True
         for i in range(count):
             self.result = self.run()
-        print 'done, iterations=%d, result=%r' % (count, self.result)
+        #print 'done, iterations=%d, result=%r' % (count, self.result)
         self.finished_lock.release()
 
     def run(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to