summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-04-01 18:08:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-04-01 18:08:42 +0000
commitb041ff1e623e9713a429f94f2e7a59779d0561a0 (patch)
tree0294bcae4b3a020323e23aa039cea4a7438a7f54
parent7ae89c28f0c4e86a2325ba857ec7dd1e2a5cd3c9 (diff)
downloadsqlalchemy-b041ff1e623e9713a429f94f2e7a59779d0561a0.tar.gz
seems like the recent itertools add to select()._get_display_froms() adds overhead in 2.4? not sure why
-rw-r--r--test/profiling/zoomark.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/profiling/zoomark.py b/test/profiling/zoomark.py
index f0208acb4..80551ae9a 100644
--- a/test/profiling/zoomark.py
+++ b/test/profiling/zoomark.py
@@ -27,7 +27,7 @@ class ZooMarkTest(testing.TestBase, AssertsExecutionResults):
__skip_if__ = ((lambda: sys.version_info < (2, 4)), )
@profiling.conditional_call_count(
- _running_in, {'isolation': (1806,),
+ _running_in, {'isolation': (2038,),
'suite': (1569, {'2.4': 1579}, 0.20)})
def test_1_create_tables(self):
global metadata
@@ -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)
+ @profiling.function_call_count(2740, {'2.4':2996})
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': 11001})
+ @profiling.function_call_count(10384, {'2.4': 11958})
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)
+ @profiling.function_call_count(1116, {'2.4':1192})
def test_6_editing(self):
Zoo = metadata.tables['Zoo']