summaryrefslogtreecommitdiff
path: root/test/aaa_profiling
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 02:57:25 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 02:57:25 -0400
commit3986fd7626ff29f7debfc72f63ba22235e31ed7e (patch)
treeed1fc854144ce365ae02a62e257aba5f5974e365 /test/aaa_profiling
parent2f522bd2217ca3421a912413f66b42dcec164df3 (diff)
downloadsqlalchemy-3986fd7626ff29f7debfc72f63ba22235e31ed7e.tar.gz
adjustments
Diffstat (limited to 'test/aaa_profiling')
-rw-r--r--test/aaa_profiling/test_compiler.py2
-rw-r--r--test/aaa_profiling/test_orm.py2
-rw-r--r--test/aaa_profiling/test_resultset.py4
-rw-r--r--test/aaa_profiling/test_zoomark.py6
-rw-r--r--test/aaa_profiling/test_zoomark_orm.py2
5 files changed, 8 insertions, 8 deletions
diff --git a/test/aaa_profiling/test_compiler.py b/test/aaa_profiling/test_compiler.py
index caa782c3a..129d0bf06 100644
--- a/test/aaa_profiling/test_compiler.py
+++ b/test/aaa_profiling/test_compiler.py
@@ -46,7 +46,7 @@ class CompileTest(fixtures.TestBase, AssertsExecutionResults):
def test_update_whereclause(self):
t1.update().where(t1.c.c2==12).compile(dialect=self.dialect)
- @profiling.function_call_count(148)
+ @profiling.function_call_count(139)
def test_select(self):
s = select([t1], t1.c.c2==t2.c.c1)
s.compile(dialect=self.dialect)
diff --git a/test/aaa_profiling/test_orm.py b/test/aaa_profiling/test_orm.py
index 83351d6b8..498153068 100644
--- a/test/aaa_profiling/test_orm.py
+++ b/test/aaa_profiling/test_orm.py
@@ -85,7 +85,7 @@ class MergeTest(fixtures.MappedTest):
# using sqlite3 the C extension took it back up to approx. 1257
# (py2.6)
- @profiling.function_call_count(1128, variance=0.10)
+ @profiling.function_call_count(1016, variance=.10)
def go():
p2 = sess2.merge(p1)
go()
diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py
index 29db46ef4..4cd213389 100644
--- a/test/aaa_profiling/test_resultset.py
+++ b/test/aaa_profiling/test_resultset.py
@@ -34,11 +34,11 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults):
def teardown(self):
metadata.drop_all()
- @profiling.function_call_count(336)
+ @profiling.function_call_count(316)
def test_string(self):
[tuple(row) for row in t.select().execute().fetchall()]
- @profiling.function_call_count(336)
+ @profiling.function_call_count(316)
def test_unicode(self):
[tuple(row) for row in t2.select().execute().fetchall()]
diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py
index a254ff15f..45e83c1b6 100644
--- a/test/aaa_profiling/test_zoomark.py
+++ b/test/aaa_profiling/test_zoomark.py
@@ -369,7 +369,7 @@ class ZooMarkTest(fixtures.TestBase):
def test_profile_1_create_tables(self):
self.test_baseline_1_create_tables()
- @profiling.function_call_count(4377)
+ @profiling.function_call_count(4200)
def test_profile_1a_populate(self):
self.test_baseline_1a_populate()
@@ -377,11 +377,11 @@ class ZooMarkTest(fixtures.TestBase):
def test_profile_2_insert(self):
self.test_baseline_2_insert()
- @profiling.function_call_count(2837)
+ @profiling.function_call_count(2700)
def test_profile_3_properties(self):
self.test_baseline_3_properties()
- @profiling.function_call_count(9700, variance=0.10)
+ @profiling.function_call_count(8500)
def test_profile_4_expressions(self):
self.test_baseline_4_expressions()
diff --git a/test/aaa_profiling/test_zoomark_orm.py b/test/aaa_profiling/test_zoomark_orm.py
index 942c431a1..10dafd6e0 100644
--- a/test/aaa_profiling/test_zoomark_orm.py
+++ b/test/aaa_profiling/test_zoomark_orm.py
@@ -347,7 +347,7 @@ class ZooMarkTest(fixtures.TestBase):
def test_profile_3_properties(self):
self.test_baseline_3_properties()
- @profiling.function_call_count(17698)
+ @profiling.function_call_count(16303)
def test_profile_4_expressions(self):
self.test_baseline_4_expressions()