Permalink
Browse files

some performance data updates

  • Loading branch information...
ghtdak committed Mar 11, 2008
1 parent 4f48a03 commit 4060e951fa3c21c6c3ca66374362ef5a6b11baea
Showing with 49 additions and 387 deletions.
  1. +8 −12 README
  2. +41 −0 qtvSelect.diff
  3. +0 −375 trial.diff
View
20 README
@@ -29,23 +29,19 @@ However, most users want this reactor to do gui stuff so this
shouldn't be an issue.
Included in this directory is a diff of trial's stdout between the
-default reactor and the Qt4 reactor. The large time differences are
-due to hangage in some of the I/O tests unrelated to the performance
-of the reactor itself which is seems very good.
+default reactor and the Qt4 reactor.
The diff is for the full test
-# trial --rterrors --unclean-warnings --reactor=qt4 twisted 2>&1 | tee /tmp/qt4trial.trial
+# trial --reactor=qt4 twisted 2>&1 | tee /tmp/qt4trial.trial
+# trial twisted 2>&1 | tee /tmp/selecttrial.trial
+# diff /tmp/select.trial /tmp/qt4.trial > qtvSelect.diff
-# trial --rterrors --unclean-warnings twisted 2>&1 | tee /tmp/selecttrial.trial
+There are significant differences in time for the full suite of tests.
+Not entirely sure why yet... the profiler seems unhappy with the mail
+suite and getting avatar info... but the numbers don't really add up.
-# diff /tmp/select.trial /tmp/qt4.trial > trial.diff
-
-I don't have it here, but for a subset of the tests = twisted.test,
-the difference was a few percent. Something about the full suite
-slowing things down. I'm running profiles now but the tests I ran
-indicate a very zippy reactor... these differences are due to it being
-incorrect and causing hanging / spinning.
+If anyone has any insights...
-glenn
View
@@ -0,0 +1,41 @@
+1991c1991,1995
+< [FAIL]
+---
+>
+> /usr/local/lib/python2.5/site-packages/twisted/test/test_internet.py:849: exceptions.DeprecationWarning: reactor.iterate cannot be used inside unit tests. By Twisted 2.7, using iterate will fail the test and may crash or hang the test run.
+>
+> /usr/local/lib/python2.5/site-packages/twisted/test/test_internet.py:851: exceptions.DeprecationWarning: reactor.iterate cannot be used inside unit tests. By Twisted 2.7, using iterate will fail the test and may crash or hang the test run.
+> [OK]
+1996c2000
+< [FAIL]
+---
+> [OK]
+4877,4896d4880
+< [FAIL]: twisted.test.test_internet.TimeTestCase.testCallInNextIteration
+<
+< Traceback (most recent call last):
+< File "/usr/local/lib/python2.5/site-packages/twisted/test/test_internet.py", line 848, in testCallInNextIteration
+< self.assertEquals(calls, ['f1'])
+< twisted.trial.unittest.FailTest: not equal:
+< a = ['f1', 'f2', 'f3']
+< b = ['f1']
+<
+< ===============================================================================
+< [FAIL]: twisted.test.test_internet.TimeTestCase.testCallLaterDelayAndReset
+<
+< Traceback (most recent call last):
+< File "/usr/local/lib/python2.5/site-packages/twisted/test/test_internet.py", line 818, in testCallLaterDelayAndReset
+< self.assertEquals(callbackTimes[0], 3)
+< twisted.trial.unittest.FailTest: not equal:
+< a = None
+< b = 3
+<
+< ===============================================================================
+5007c4991
+< Ran 3480 tests in 585.620s
+---
+> Ran 3480 tests in 189.695s
+5009c4993
+< FAILED (skips=50, expectedFailures=17, failures=3, errors=10, successes=3402)
+---
+> FAILED (skips=50, expectedFailures=17, failures=1, errors=10, successes=3404)
Oops, something went wrong.

0 comments on commit 4060e95

Please sign in to comment.