]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
reduced 2.4 callcounts...
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Apr 2008 15:22:33 +0000 (15:22 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Apr 2008 15:22:33 +0000 (15:22 +0000)
test/profiling/compiler.py
test/profiling/zoomark.py

index 41da7e66d06e222d18aae065e751ed8ef11e2ce9..1960a1cb6ad8410c31341653b24a4bb1746eda09 100644 (file)
@@ -23,7 +23,7 @@ class CompileTest(TestBase, AssertsExecutionResults):
     def test_update(self):
         t1.update().compile()
 
-    @profiling.function_call_count(120, versions={'2.3': 180, '2.4':140})
+    @profiling.function_call_count(120, versions={'2.3': 180, '2.4':123})
     def test_select(self):
         s = select([t1], t1.c.c2==t2.c.c1)
         s.compile()
index 80551ae9aa543df6d57e2ba30e58b2ab854c8890..e6696f29ac19d9c9526d26dfe9dfdeff79f79b6d 100644 (file)
@@ -133,7 +133,7 @@ class ZooMarkTest(testing.TestBase, AssertsExecutionResults):
         for x in xrange(ITERATIONS):
             tick = i.execute(Species=u'Tick', Name=u'Tick %d' % x, Legs=8)
 
-    @profiling.function_call_count(2740, {'2.4':2996})
+    @profiling.function_call_count(2740, {'2.4':2764})
     def test_3_properties(self):
         Zoo = metadata.tables['Zoo']
         Animal = metadata.tables['Animal']
@@ -155,7 +155,7 @@ class ZooMarkTest(testing.TestBase, AssertsExecutionResults):
             millipede = fullobject(Animal.select(Animal.c.Legs==1000000))
             ticks = fullobject(Animal.select(Animal.c.Species==u'Tick'))
 
-    @profiling.function_call_count(10384, {'2.4': 11958})
+    @profiling.function_call_count(10384, {'2.4': 11777})
     def test_4_expressions(self):
         Zoo = metadata.tables['Zoo']
         Animal = metadata.tables['Animal']
@@ -249,7 +249,7 @@ class ZooMarkTest(testing.TestBase, AssertsExecutionResults):
                     select([Animal.c.Legs], distinct=True).execute().fetchall()]
             legs.sort()
 
-    @profiling.function_call_count(1116, {'2.4':1192})
+    @profiling.function_call_count(1116, {'2.4':1123})
     def test_6_editing(self):
         Zoo = metadata.tables['Zoo']