Commits

jason kirtland committed 571f19d

- Re-tuned call counts for 2.3 through 2.5.

Comments (0)

Files changed (2)

test/profiling/compiler.py

     def test_update(self):
         t1.update().compile()
 
-    @profiling.function_call_count(120, versions={'2.3': 180, '2.4':123})
+    @profiling.function_call_count(120, versions={'2.3': 153, '2.4':116})
     def test_select(self):
         s = select([t1], t1.c.c2==t2.c.c1)
         s.compile()

test/profiling/zoomark.py

 
 ITERATIONS = 1
 
+# Use with conditional_call_count() if VM state of a full-suite run
+# throws off profiling numbers.
 _run_type = 'suite'
 _running_in = lambda: _run_type
 
     __only_on__ = 'postgres'
     __skip_if__ = ((lambda: sys.version_info < (2, 4)), )
 
-    @profiling.conditional_call_count(
-        _running_in, {'isolation': (2038,),
-                      'suite': (1569, {'2.4': 1579}, 0.20)})
+    @profiling.function_call_count(2028)
     def test_1_create_tables(self):
         global metadata
         metadata = MetaData(testing.db)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.