[CalendarServer-changes] [6229] CalendarServer/trunk/contrib/performance/sample.sh

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 1 09:24:47 PDT 2010


Revision: 6229
          http://trac.macosforge.org/projects/calendarserver/changeset/6229
Author:   exarkun at twistedmatrix.com
Date:     2010-09-01 09:24:46 -0700 (Wed, 01 Sep 2010)
Log Message:
-----------
Upload read and write data from this script as well

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/sample.sh

Modified: CalendarServer/trunk/contrib/performance/sample.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/sample.sh	2010-09-01 15:47:31 UTC (rev 6228)
+++ CalendarServer/trunk/contrib/performance/sample.sh	2010-09-01 16:24:46 UTC (rev 6229)
@@ -10,7 +10,7 @@
 SOURCE=~/Projects/CalendarServer/trunk
 NUM_INSTANCES=2
 BENCHMARKS="vfreebusy event"
-STATISTICS=("urlopen time" execute)
+STATISTICS=("urlopen time" execute read write)
 ADDURL=http://localhost:8000/result/add/
 export PYTHONPATH=$PYTHONPATH:$SOURCE/../Twisted
 
@@ -30,6 +30,7 @@
 stop
 svn st --no-ignore | grep '^[?I]' | cut -c9- | xargs rm -r
 svn up -r$REV .
+DATE="`./svn-committime $SOURCE $REV`"
 python setup.py build_ext -i
 popd
 
@@ -56,7 +57,7 @@
       for stat in "${STATISTICS[@]}"; do
         ./upload \
             --url $ADDURL --revision $REV \
-            --revision-date "`./svn-committime $SOURCE`" --environment nmosbuilder \
+            --revision-date "$DATE" --environment nmosbuilder \
             --backend $backend --statistic "$data,$b,$p,$stat"
       done
     done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100901/bf75ed8a/attachment.html>


More information about the calendarserver-changes mailing list