[CalendarServer-changes] [6150] CalendarServer/trunk/contrib/performance/graph.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 20 09:08:37 PDT 2010
Revision: 6150
http://trac.macosforge.org/projects/calendarserver/changeset/6150
Author: exarkun at twistedmatrix.com
Date: 2010-08-20 09:08:37 -0700 (Fri, 20 Aug 2010)
Log Message:
-----------
Make the bench/param/stat a commandline parameter
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/graph.py
Modified: CalendarServer/trunk/contrib/performance/graph.py
===================================================================
--- CalendarServer/trunk/contrib/performance/graph.py 2010-08-20 15:41:42 UTC (rev 6149)
+++ CalendarServer/trunk/contrib/performance/graph.py 2010-08-20 16:08:37 UTC (rev 6150)
@@ -12,8 +12,9 @@
data = []
for fname in sys.argv[1:]:
+ fname, bench, param, stat = fname.split(',')
stats, samples = select(
- pickle.load(file(fname)), 'vfreebusy', 1, 'urlopen time')
+ pickle.load(file(fname)), bench, param, stat)
data.append(samples)
if data:
assert len(samples) == len(data[0])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100820/22003ccb/attachment.html>
More information about the calendarserver-changes
mailing list