summaryrefslogtreecommitdiff
path: root/test/profiling/compiler.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-04-03 17:08:08 +0000
committerJason Kirtland <jek@discorporate.us>2008-04-03 17:08:08 +0000
commitd78f39d0057bbc648a9af31d7bd3ead2895ee178 (patch)
tree62877dffe613060d8963438f29480693dee9e9bd /test/profiling/compiler.py
parentca1ad4cbb9af8a45da550ba07c476f8cac17cd7a (diff)
downloadsqlalchemy-d78f39d0057bbc648a9af31d7bd3ead2895ee178.tar.gz
- Experimental: prefer cProfile over hotspot for 2.5+
- The latest skirmish in the battle against zoomark and sanity: 3rd party code is factored out in the function call count canary tests
Diffstat (limited to 'test/profiling/compiler.py')
-rw-r--r--test/profiling/compiler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/profiling/compiler.py b/test/profiling/compiler.py
index 7062a7e29..4e1111aa2 100644
--- a/test/profiling/compiler.py
+++ b/test/profiling/compiler.py
@@ -15,15 +15,15 @@ class CompileTest(TestBase, AssertsExecutionResults):
Column('c1', Integer, primary_key=True),
Column('c2', String(30)))
- @profiling.function_call_count(42, {'2.3': 44})
+ @profiling.function_call_count(74, {'2.3': 44, '2.4': 42})
def test_insert(self):
t1.insert().compile()
- @profiling.function_call_count(42, {'2.3': 47})
+ @profiling.function_call_count(75, {'2.3': 47, '2.4': 42})
def test_update(self):
t1.update().compile()
- @profiling.function_call_count(120, versions={'2.3': 153, '2.4':116})
+ @profiling.function_call_count(228, versions={'2.3': 153, '2.4':116})
def test_select(self):
s = select([t1], t1.c.c2==t2.c.c1)
s.compile()