diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-20 20:30:29 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-20 20:30:29 -0500 |
| commit | ecb0e53abbc483fcd956fda0f18e66f0cd41d0e5 (patch) | |
| tree | 7a39957a89d187fcc76834877e4e938d819c032e /test/aaa_profiling | |
| parent | fafec792aa44be293cd7044f1f12c29e16a4ef8b (diff) | |
| download | sqlalchemy-ecb0e53abbc483fcd956fda0f18e66f0cd41d0e5.tar.gz | |
- modest inlinings into the MapperProperty.setup/row_processor chain
Diffstat (limited to 'test/aaa_profiling')
| -rw-r--r-- | test/aaa_profiling/test_compiler.py | 2 | ||||
| -rw-r--r-- | test/aaa_profiling/test_orm.py | 2 | ||||
| -rw-r--r-- | test/aaa_profiling/test_zoomark_orm.py | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/test/aaa_profiling/test_compiler.py b/test/aaa_profiling/test_compiler.py index 745ca2eb3..c0f8a151f 100644 --- a/test/aaa_profiling/test_compiler.py +++ b/test/aaa_profiling/test_compiler.py @@ -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':112, + @profiling.function_call_count(178, versions={'2.4':105, '3.0':208, '3.1':208}) def test_select(self): s = select([t1], t1.c.c2==t2.c.c1) diff --git a/test/aaa_profiling/test_orm.py b/test/aaa_profiling/test_orm.py index 8a92ec07c..0881ab183 100644 --- a/test/aaa_profiling/test_orm.py +++ b/test/aaa_profiling/test_orm.py @@ -79,7 +79,7 @@ class MergeTest(_base.MappedTest): # using sqlite3 the C extension took it back up to approx. 1257 # (py2.6) - @profiling.function_call_count(1194, + @profiling.function_call_count(1067, versions={'2.5':1191, '2.6':1191, '2.6+cextension':1194, '2.4': 763} diff --git a/test/aaa_profiling/test_zoomark_orm.py b/test/aaa_profiling/test_zoomark_orm.py index fee5f8aa2..615c7472b 100644 --- a/test/aaa_profiling/test_zoomark_orm.py +++ b/test/aaa_profiling/test_zoomark_orm.py @@ -346,9 +346,9 @@ class ZooMarkTest(TestBase): # this number... @profiling.function_call_count(6783, { - '2.6': 7194, - '2.7': 7298, - '2.7+cextension': 6894, + '2.6': 7094, + '2.7': 6250, + '2.7+cextension': 6170, '2.6+cextension': 7184, }) def test_profile_3_properties(self): @@ -356,17 +356,17 @@ class ZooMarkTest(TestBase): # and this number go down slightly when using the C extensions - @profiling.function_call_count(22510, {'2.6': 22775, '2.7': 22921}) + @profiling.function_call_count(19335, {'2.6': 22775, '2.7':20299}) def test_profile_4_expressions(self): self.test_baseline_4_expressions() - @profiling.function_call_count(1313, {'2.6+cextension': 1236, - '2.7+cextension': 1207}, + @profiling.function_call_count(1172, {'2.6+cextension': 1090, + '2.7+cextension': 1086}, variance=0.1) def test_profile_5_aggregates(self): self.test_baseline_5_aggregates() - @profiling.function_call_count(2774) + @profiling.function_call_count(2550) def test_profile_6_editing(self): self.test_baseline_6_editing() |
