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

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 26 07:41:57 PDT 2010


Revision: 6189
          http://trac.macosforge.org/projects/calendarserver/changeset/6189
Author:   exarkun at twistedmatrix.com
Date:     2010-08-26 07:41:54 -0700 (Thu, 26 Aug 2010)
Log Message:
-----------
Arbitrary delay after stopping CalendarServer to let pgsql die

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

Modified: CalendarServer/trunk/contrib/performance/sample.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/sample.sh	2010-08-26 14:07:16 UTC (rev 6188)
+++ CalendarServer/trunk/contrib/performance/sample.sh	2010-08-26 14:41:54 UTC (rev 6189)
@@ -10,6 +10,7 @@
 export PYTHONPATH=$PYTHONPATH:$SOURCE/../Twisted
 
 REV=$1
+RESULTS=$2
 
 pushd $SOURCE
 svn up -r$REV .
@@ -20,12 +21,13 @@
   ./setbackend $SOURCE/conf/caldavd-test.plist $backend > $SOURCE/conf/caldavd-dev.plist
   pushd $SOURCE
   ./run -k || true
+  sleep 5
   rm -rf data/
   ./run -d -n
   popd
   sleep 5
   ./benchmark --label r$REV-$backend $BENCHMARKS
-  data=`echo -n r$REV*`
+  data=`echo -n r$REV-$backend*`
   for p in 1 9 81; do
     for b in $BENCHMARKS; do
       ./upload \
@@ -35,5 +37,5 @@
     done
   done
 
-  mv $data old-results/
+  mv $data $RESULTS
 done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100826/e8f4625b/attachment.html>


More information about the calendarserver-changes mailing list