diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-09 16:43:46 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-09 16:43:46 -0400 |
| commit | 4e5407239765e10d0fd46e290c1f263af2d12378 (patch) | |
| tree | 44616dac78e2258e9dbb92c94153e50f213e680e /test/aaa_profiling | |
| parent | 442237afaada6785b6a94d2453d8b180b7f318ca (diff) | |
| download | sqlalchemy-4e5407239765e10d0fd46e290c1f263af2d12378.tar.gz | |
more adjustments
Diffstat (limited to 'test/aaa_profiling')
| -rw-r--r-- | test/aaa_profiling/test_pool.py | 4 | ||||
| -rw-r--r-- | test/aaa_profiling/test_zoomark.py | 8 | ||||
| -rw-r--r-- | test/aaa_profiling/test_zoomark_orm.py | 3 |
3 files changed, 7 insertions, 8 deletions
diff --git a/test/aaa_profiling/test_pool.py b/test/aaa_profiling/test_pool.py index da4196549..b55156bf5 100644 --- a/test/aaa_profiling/test_pool.py +++ b/test/aaa_profiling/test_pool.py @@ -32,7 +32,7 @@ class QueuePoolTest(fixtures.TestBase, AssertsExecutionResults): # probably # due to the event mechanics being established # or not already... - @profiling.function_call_count(72, variance=.15) + @profiling.function_call_count(55, variance=.15) def test_first_connect(self): conn = pool.connect() @@ -40,7 +40,7 @@ class QueuePoolTest(fixtures.TestBase, AssertsExecutionResults): conn = pool.connect() conn.close() - @profiling.function_call_count(29, variance=.10) + @profiling.function_call_count(17, variance=.10) def go(): conn2 = pool.connect() return conn2 diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py index be158613e..0ecd908e7 100644 --- a/test/aaa_profiling/test_zoomark.py +++ b/test/aaa_profiling/test_zoomark.py @@ -369,15 +369,15 @@ class ZooMarkTest(fixtures.TestBase): def test_profile_1_create_tables(self): self.test_baseline_1_create_tables() - @profiling.function_call_count(4798) + @profiling.function_call_count(4377) def test_profile_1a_populate(self): self.test_baseline_1a_populate() - @profiling.function_call_count(245) + @profiling.function_call_count(218) def test_profile_2_insert(self): self.test_baseline_2_insert() - @profiling.function_call_count(3118) + @profiling.function_call_count(2837) def test_profile_3_properties(self): self.test_baseline_3_properties() @@ -389,7 +389,7 @@ class ZooMarkTest(fixtures.TestBase): def test_profile_5_aggregates(self): self.test_baseline_5_aggregates() - @profiling.function_call_count(1606) + @profiling.function_call_count(1475) def test_profile_6_editing(self): self.test_baseline_6_editing() diff --git a/test/aaa_profiling/test_zoomark_orm.py b/test/aaa_profiling/test_zoomark_orm.py index f5911856e..942c431a1 100644 --- a/test/aaa_profiling/test_zoomark_orm.py +++ b/test/aaa_profiling/test_zoomark_orm.py @@ -351,8 +351,7 @@ class ZooMarkTest(fixtures.TestBase): def test_profile_4_expressions(self): self.test_baseline_4_expressions() - @profiling.function_call_count(1065, - variance=0.1) + @profiling.function_call_count(900) def test_profile_5_aggregates(self): self.test_baseline_5_aggregates() |
