[CalendarServer-changes] [7171] CalendarServer/branches/users/cdaboo/pycalendar
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 10 07:07:59 PST 2011
Revision: 7171
http://trac.macosforge.org/projects/calendarserver/changeset/7171
Author: cdaboo at apple.com
Date: 2011-03-10 07:07:57 -0800 (Thu, 10 Mar 2011)
Log Message:
-----------
Tweaks for better manual runs of benchmarks.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/pycalendar/benchmark
Added Paths:
-----------
CalendarServer/branches/users/cdaboo/pycalendar/benchreport
Modified: CalendarServer/branches/users/cdaboo/pycalendar/benchmark
===================================================================
--- CalendarServer/branches/users/cdaboo/pycalendar/benchmark 2011-03-10 03:49:31 UTC (rev 7170)
+++ CalendarServer/branches/users/cdaboo/pycalendar/benchmark 2011-03-10 15:07:57 UTC (rev 7171)
@@ -1,7 +1,7 @@
#!/bin/sh
##
-# Copyright (c) 2005-2007 Apple Inc. All rights reserved.
+# Copyright (c) 2005-2011 Apple Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -21,6 +21,6 @@
wd="$(cd "$(dirname "$0")" && pwd -L)";
-export PYTHONPATH="$("${wd}/run" -p)";
+export PYTHONPATH="$("${wd}/run" -p):${wd}/../CalDAVClientLibrary/src";
exec "${wd}/contrib/performance/benchmark" "$@";
Added: CalendarServer/branches/users/cdaboo/pycalendar/benchreport
===================================================================
--- CalendarServer/branches/users/cdaboo/pycalendar/benchreport (rev 0)
+++ CalendarServer/branches/users/cdaboo/pycalendar/benchreport 2011-03-10 15:07:57 UTC (rev 7171)
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+##
+# Copyright (c) 2005-2011 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+set -e;
+set -u;
+
+wd="$(cd "$(dirname "$0")" && pwd -L)";
+
+export PYTHONPATH="$("${wd}/run" -p):${wd}/../CalDAVClientLibrary/src";
+
+exec "${wd}/contrib/performance/report" "$@";
Property changes on: CalendarServer/branches/users/cdaboo/pycalendar/benchreport
___________________________________________________________________
Added: svn:executable
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110310/73d90efb/attachment.html>
More information about the calendarserver-changes
mailing list