From: Mike Bayer Date: Wed, 2 Apr 2008 15:22:33 +0000 (+0000) Subject: reduced 2.4 callcounts... X-Git-Tag: rel_0_4_5~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52b69d0e25bd897d743be0b481a396d15d5241b3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git reduced 2.4 callcounts... --- diff --git a/test/profiling/compiler.py b/test/profiling/compiler.py index 41da7e66d0..1960a1cb6a 100644 --- a/test/profiling/compiler.py +++ b/test/profiling/compiler.py @@ -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() diff --git a/test/profiling/zoomark.py b/test/profiling/zoomark.py index 80551ae9aa..e6696f29ac 100644 --- a/test/profiling/zoomark.py +++ b/test/profiling/zoomark.py @@ -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']