[CalendarServer-changes] [7418] CalendarServer/trunk/contrib/performance/profile.sh
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 6 12:49:40 PDT 2011
Revision: 7418
http://trac.macosforge.org/projects/calendarserver/changeset/7418
Author: exarkun at twistedmatrix.com
Date: 2011-05-06 12:49:39 -0700 (Fri, 06 May 2011)
Log Message:
-----------
Drop some unused arguments to this script; also use the run.sh script to launch the benchmark script so that the environment is properly initialized.
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/profile.sh
Modified: CalendarServer/trunk/contrib/performance/profile.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/profile.sh 2011-05-06 19:08:20 UTC (rev 7417)
+++ CalendarServer/trunk/contrib/performance/profile.sh 2011-05-06 19:49:39 UTC (rev 7418)
@@ -23,8 +23,6 @@
sudo -v # Force up to date sudo token before the user walks away
REV_SPEC="$1"
-LOGS="$2"
-RESULTS="$3"
update_and_build "$REV_SPEC"
@@ -39,7 +37,7 @@
start 0 -t Single -S profiling/$backend/$benchmark
popd
# Chances are sudo will throw out PYTHONPATH unless we tell it not to.
- sudo PYTHONPATH=$PYTHONPATH ./benchmark --label r$REV-$backend $benchmark
+ sudo ./run.sh ./benchmark --label r$REV-$backend $benchmark
pushd $SOURCE
stop
popd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110506/50aadcc8/attachment.html>
More information about the calendarserver-changes
mailing list