[CalendarServer-changes] [6232] CalendarServer/trunk/contrib/performance/benchmark.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 1 12:44:13 PDT 2010


Revision: 6232
          http://trac.macosforge.org/projects/calendarserver/changeset/6232
Author:   exarkun at twistedmatrix.com
Date:     2010-09-01 12:44:13 -0700 (Wed, 01 Sep 2010)
Log Message:
-----------
Filter out lines when we do not know what SQL is executing

Maybe this will stop happening if I figure out where the missing traces are going

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/benchmark.py

Modified: CalendarServer/trunk/contrib/performance/benchmark.py
===================================================================
--- CalendarServer/trunk/contrib/performance/benchmark.py	2010-09-01 19:05:19 UTC (rev 6231)
+++ CalendarServer/trunk/contrib/performance/benchmark.py	2010-09-01 19:44:13 UTC (rev 6232)
@@ -124,6 +124,8 @@
         elif which == 'RETURN':
             if self.start is None:
                 print 'return without entry at', when, 'in', cmd
+            elif self.sql is None:
+                print 'return without SQL at', when, 'in', cmd
             else:
                 diff = when - self.start
                 if diff < 0:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100901/61295cc1/attachment.html>


More information about the calendarserver-changes mailing list