[CalendarServer-changes] [6337] CalendarServer/trunk/contrib/performance
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 22 07:52:46 PDT 2010
Revision: 6337
http://trac.macosforge.org/projects/calendarserver/changeset/6337
Author: exarkun at twistedmatrix.com
Date: 2010-09-22 07:52:44 -0700 (Wed, 22 Sep 2010)
Log Message:
-----------
Enable all the benchmarks in the runner; fix a simple bug in the event change helper.
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/_event_change.py
CalendarServer/trunk/contrib/performance/sample.sh
Modified: CalendarServer/trunk/contrib/performance/_event_change.py
===================================================================
--- CalendarServer/trunk/contrib/performance/_event_change.py 2010-09-22 04:43:47 UTC (rev 6336)
+++ CalendarServer/trunk/contrib/performance/_event_change.py 2010-09-22 14:52:44 UTC (rev 6337)
@@ -91,6 +91,6 @@
# Sample changing the event according to the replacer.
samples = yield sample(
dtrace, samples,
- agent, (('PUT', url, headers, StringProducer(replacer(event)))
+ agent, (('PUT', url, headers, StringProducer(replacer(event, i)))
for i in count(1)).next)
returnValue(samples)
Modified: CalendarServer/trunk/contrib/performance/sample.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/sample.sh 2010-09-22 04:43:47 UTC (rev 6336)
+++ CalendarServer/trunk/contrib/performance/sample.sh 2010-09-22 14:52:44 UTC (rev 6337)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -x
set -e # Break on error
shopt -s nullglob # Expand foo* to nothing if nothing matches
@@ -9,7 +9,7 @@
SOURCE=~/Projects/CalendarServer/trunk
NUM_INSTANCES=2
-BENCHMARKS="event_delete vfreebusy event"
+BENCHMARKS="event_move event_delete_attendee event_add_attendee event_change_date event_change_summary event_delete vfreebusy event"
STATISTICS=(HTTP SQL read write)
ADDURL=http://localhost:8000/result/add/
export PYTHONPATH=$PYTHONPATH:$SOURCE/../Twisted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100922/371ce809/attachment.html>
More information about the calendarserver-changes
mailing list