]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- callcounts. need to find some way to make this less tedious.
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Dec 2010 15:23:59 +0000 (10:23 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Dec 2010 15:23:59 +0000 (10:23 -0500)
test/aaa_profiling/test_compiler.py
test/aaa_profiling/test_resultset.py
test/aaa_profiling/test_zoomark.py

index ea33b96dcb98468ca2dcde5c4562979c60ea547c..745ca2eb3b4beb7e09b0dc1c3a3b49dd258f186a 100644 (file)
@@ -43,7 +43,7 @@ class CompileTest(TestBase, AssertsExecutionResults):
     def test_update_whereclause(self):
         t1.update().where(t1.c.c2==12).compile()
 
-    @profiling.function_call_count(195, versions={'2.4':118
+    @profiling.function_call_count(195, versions={'2.4':112
                                                 '3.0':208, '3.1':208})
     def test_select(self):
         s = select([t1], t1.c.c2==t2.c.c1)
index f56bfc73e307e8ba649a93b07d70972da6e2520a..8fafda5afa9470b01d8d88bd1404bff15b1924da 100644 (file)
@@ -30,7 +30,7 @@ class ResultSetTest(TestBase, AssertsExecutionResults):
         metadata.drop_all()
 
     @profiling.function_call_count(14416, versions={'2.4': 13214,
-                                   '2.6+cextension': 390, '2.7+cextension':401})
+                                   '2.6+cextension': 410, '2.7+cextension':401})
     def test_string(self):
         [tuple(row) for row in t.select().execute().fetchall()]
 
@@ -54,7 +54,7 @@ class ExecutionTest(TestBase):
         
         @profiling.function_call_count(36, versions={'2.6':35, '2.5':35, 
                                                     '2.4':21, '3':34}, 
-                                            variance=.05)
+                                            variance=.10)
         def go():
             c.execute("select 1")
         go()
index 1744659971d696c9c950fadb47ad6e56dc1e2df9..fbf1fe30c27ba6bc5d0310999a40ffbc05716ef6 100644 (file)
@@ -369,7 +369,7 @@ class ZooMarkTest(TestBase):
     def test_profile_2_insert(self):
         self.test_baseline_2_insert()
 
-    @profiling.function_call_count(3634, {'2.4': 2158})
+    @profiling.function_call_count(3886, {'2.4': 2158})
     def test_profile_3_properties(self):
         self.test_baseline_3_properties()