]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
callcounts...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Dec 2010 22:47:09 +0000 (17:47 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Dec 2010 22:47:09 +0000 (17:47 -0500)
test/aaa_profiling/test_orm.py
test/aaa_profiling/test_pool.py
test/aaa_profiling/test_resultset.py

index d82ac74364ed239d1046df3a3d3905827d7fd312..093674d48eba8b263bd2e610dfd644ee19f4b6ad 100644 (file)
@@ -53,7 +53,7 @@ class MergeTest(_base.MappedTest):
         # down from 185 on this this is a small slice of a usually
         # bigger operation so using a small variance
 
-        @profiling.function_call_count(97, variance=0.001,
+        @profiling.function_call_count(97, variance=0.05,
                 versions={'2.4': 73, '3': 96})
         def go():
             return sess2.merge(p1, load=False)
@@ -61,7 +61,7 @@ class MergeTest(_base.MappedTest):
 
         # third call, merge object already present. almost no calls.
 
-        @profiling.function_call_count(12, variance=0.001,
+        @profiling.function_call_count(12, variance=0.05,
                 versions={'2.4': 8, '3': 13})
         def go():
             return sess2.merge(p2, load=False)
index ea8d1f9cdd028de3263c667aba470ddf8ecb4641..a3c0f725e89b80fb4d058edeb507e4b7f3b5fb4a 100644 (file)
@@ -20,7 +20,7 @@ class QueuePoolTest(TestBase, AssertsExecutionResults):
 
     @profiling.function_call_count(72, {'2.4': 63, '2.7':67, 
                                             '2.7+cextension':67,
-                                            '3.0':65, '3.1':65},
+                                            '3.0':73, '3.1':73},
                                             variance=.10)
     def test_first_connect(self):
         conn = pool.connect()
index 8326a01f1df1fc72981f0f7194e67d39d0a4849a..da8653184d9dea096b48d6bbedc64320dbe76bb6 100644 (file)
@@ -53,7 +53,7 @@ class ExecutionTest(TestBase):
         c.execute("select 1")
         
         @profiling.function_call_count(36, versions={'2.6':35, '2.5':35, 
-                                                    '2.4':21}, 
+                                                    '2.4':21, '3':34}, 
                                             variance=.05)
         def go():
             c.execute("select 1")
@@ -66,7 +66,7 @@ class ExecutionTest(TestBase):
         e.execute("select 1")
 
         @profiling.function_call_count(59, versions={'2.4':41, '2.5':58, 
-                                                    '2.6':58}, 
+                                                    '2.6':58, '3':57}, 
                                             variance=.05)
         def go():
             e.execute("select 1")