[Sqlalchemy-commits] sqlalchemy: callcounts for py3k
Brought to you by:
zzzeek
From: <co...@sq...> - 2012-03-15 00:19:33
|
details: http://hg.sqlalchemy.org/sqlalchemy/sqlalchemy/rev/d2825a44796b changeset: 8161:d2825a44796b user: Mike Bayer <mi...@zz...> date: Wed Mar 14 17:19:15 2012 -0700 description: callcounts for py3k diffstat: test/aaa_profiling/test_zoomark.py | 1 + test/aaa_profiling/test_zoomark_orm.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diffs (41 lines): diff -r 6a750267f6e3 -r d2825a44796b test/aaa_profiling/test_zoomark.py --- a/test/aaa_profiling/test_zoomark.py Wed Mar 14 16:43:18 2012 -0700 +++ b/test/aaa_profiling/test_zoomark.py Wed Mar 14 17:19:15 2012 -0700 @@ -402,6 +402,7 @@ @profiling.function_call_count(2252, {'2.4': 1673, '2.6':2412, '2.7':2412, + '3.2':2396, '2.7+cextension':2110, '2.6+cextension': 2252}) def test_profile_7_multiview(self): diff -r 6a750267f6e3 -r d2825a44796b test/aaa_profiling/test_zoomark_orm.py --- a/test/aaa_profiling/test_zoomark_orm.py Wed Mar 14 16:43:18 2012 -0700 +++ b/test/aaa_profiling/test_zoomark_orm.py Wed Mar 14 17:19:15 2012 -0700 @@ -331,7 +331,7 @@ session = sessionmaker(engine)() engine.connect() - @profiling.function_call_count(5600) + @profiling.function_call_count(5600, {"3.2":5928}) def test_profile_1_create_tables(self): self.test_baseline_1_create_tables() @@ -340,7 +340,7 @@ def test_profile_1a_populate(self): self.test_baseline_1a_populate() - @profiling.function_call_count(413, {'3.2':360}) + @profiling.function_call_count(413, {'3.2':398}) def test_profile_2_insert(self): self.test_baseline_2_insert() @@ -358,7 +358,7 @@ # and this number go down slightly when using the C extensions - @profiling.function_call_count(17698, {'2.7+cextension':17698, '2.6': 18943, '2.7':19110}) + @profiling.function_call_count(17698, {'2.7+cextension':17698, '2.6': 18943, '2.7':19110, '3.2':19264}) def test_profile_4_expressions(self): self.test_baseline_4_expressions() |