[Checkins] SVN: z3c.pt/trunk/benchmark/benchmark/tests.py Fixed benchmark.

Malthe Borch mborch at gmail.com
Mon Jul 6 07:55:53 EDT 2009


Log message for revision 101611:
  Fixed benchmark.

Changed:
  U   z3c.pt/trunk/benchmark/benchmark/tests.py

-=-
Modified: z3c.pt/trunk/benchmark/benchmark/tests.py
===================================================================
--- z3c.pt/trunk/benchmark/benchmark/tests.py	2009-07-06 11:39:17 UTC (rev 101610)
+++ z3c.pt/trunk/benchmark/benchmark/tests.py	2009-07-06 11:55:53 UTC (rev 101611)
@@ -220,7 +220,7 @@
     def testCompilation(self):
         table = self.table
 
-        t_z3c = timing(self.bigtable_python_z3c.compiler, ('table',), None, True)
+        t_z3c = timing(self.bigtable_python_z3c.compiler, None, True)
         t_zope = timing(self.bigtable_python_zope._cook)
 
         print "z3c.pt:            %.2f" % t_z3c
@@ -257,7 +257,7 @@
         assert len(z3cfile.registry) == 1
         
         t_cached_z3c = timing(z3cfile.registry.load)
-        t_cook_z3c = timing(z3cfile.compiler, ('table',), None, True)
+        t_cook_z3c = timing(z3cfile.compiler, None, True)
         t_zope = timing(zopefile._cook)
                 
         print "z3c.pt cooking:    %.3f" % t_cook_z3c



More information about the Checkins mailing list