[CalendarServer-changes] [887] CalDAVTester/trunk/scripts/performance

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 21 19:41:38 PST 2006


Revision: 887
          http://trac.macosforge.org/projects/calendarserver/changeset/887
Author:   cdaboo at apple.com
Date:     2006-12-21 19:41:38 -0800 (Thu, 21 Dec 2006)

Log Message:
-----------
A bunch of performance scripts for scripted concurrent runs.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/performance/perfinfo.dtd

Added Paths:
-----------
    CalDAVTester/trunk/scripts/performance/perfinfo-get-large-load.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-get-large.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-get-medium.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-get-small-load.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-get-small.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-propfind-large.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-propfind-load.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-propfind-small.xml
    CalDAVTester/trunk/scripts/performance/perfinfo-put-large.xml

Added: CalDAVTester/trunk/scripts/performance/perfinfo-get-large-load.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-get-large-load.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-get-large-load.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,125 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<clients>1</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>5</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>10</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>15</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>20</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>25</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>30</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>35</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>40</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test><!--
+		<test>
+			<clients>45</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>50</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>55</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>60</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+	--></tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start>performance/get/get-start.xml</start>
+	<testinfo>performance/get/get-large.xml</testinfo>
+	<end>performance/get/get-end.xml</end>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-get-large.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-get-large.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-get-large.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,92 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>2.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>3.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>4.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>5.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>10.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>20.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>30.0</spread>
+			<runs>2</runs>
+		</test>
+	</tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start>performance/get/get-start.xml</start>
+	<testinfo>performance/get/get-large.xml</testinfo>
+	<end>performance/get/get-end.xml</end>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-get-medium.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-get-medium.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-get-medium.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,92 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>2.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>3.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>4.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>5.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>10.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>20.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>30.0</spread>
+			<runs>2</runs>
+		</test>
+	</tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start>performance/get/get-start.xml</start>
+	<testinfo>performance/get/get-medium.xml</testinfo>
+	<end>performance/get/get-end.xml</end>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-get-small-load.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-get-small-load.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-get-small-load.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,125 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<clients>1</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>5</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>10</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>15</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>20</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>25</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>30</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>35</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>40</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test><!--
+		<test>
+			<clients>45</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>50</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>55</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<clients>60</clients>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+	--></tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start>performance/get/get-start.xml</start>
+	<testinfo>performance/get/get-small.xml</testinfo>
+	<end>performance/get/get-end.xml</end>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-get-small.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-get-small.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-get-small.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,92 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>2.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>3.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>4.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>5.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>10.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>20.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>30.0</spread>
+			<runs>2</runs>
+		</test>
+	</tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start>performance/get/get-start.xml</start>
+	<testinfo>performance/get/get-small.xml</testinfo>
+	<end>performance/get/get-end.xml</end>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-propfind-large.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-propfind-large.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-propfind-large.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,92 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<spread>1.0</spread>
+			<runs>1</runs>
+		</test><!--
+		<test>
+			<spread>2.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>5.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>10.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>20.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>30.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>45.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>60.0</spread>
+			<runs>2</runs>
+		</test>
+	--></tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start/>
+	<testinfo>performance/propfind/propfind-large.xml</testinfo>
+	<end/>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-propfind-load.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-propfind-load.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-propfind-load.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,64 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<spread>1.0</spread>
+			<runs>5000</runs>
+		</test>
+	</tests>
+	<serverinfo>scripts/server/serverinfo-test.xml</serverinfo>
+	<start/>
+	<testinfo>performance/propfind/propfind-0.xml</testinfo>
+	<end/>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-propfind-small.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-propfind-small.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-propfind-small.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,92 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>2.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>5.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>10.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>20.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>30.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>45.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>60.0</spread>
+			<runs>2</runs>
+		</test>
+	</tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start/>
+	<testinfo>performance/propfind-small.xml</testinfo>
+	<end/>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Added: CalDAVTester/trunk/scripts/performance/perfinfo-put-large.xml
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo-put-large.xml	                        (rev 0)
+++ CalDAVTester/trunk/scripts/performance/perfinfo-put-large.xml	2006-12-22 03:41:38 UTC (rev 887)
@@ -0,0 +1,92 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE perfinfo SYSTEM "perfinfo.dtd">
+
+<!--
+ Copyright (c) 2006 Apple Computer, 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.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<perfinfo>
+	<clients>20</clients>
+	<threads enable="yes"/>
+	<logging enable="no"/>
+	<tests>
+		<test>
+			<spread>1.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>2.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>3.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>4.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>5.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>10.0</spread>
+			<runs>5</runs>
+		</test>
+		<test>
+			<spread>20.0</spread>
+			<runs>2</runs>
+		</test>
+		<test>
+			<spread>30.0</spread>
+			<runs>2</runs>
+		</test>
+	</tests>
+	<serverinfo>scripts/server/serverinfo.xml</serverinfo>
+	<start/>
+	<testinfo>performance/put/put-large.xml</testinfo>
+	<end>performance/put/put-end.xml</end>
+	<substitutions>
+		<!-- first user id -->
+		<substitution>
+			<key>$userid1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- password for first user -->
+		<substitution>
+			<key>$pswd1:</key>
+			<value>user%02d</value>
+		</substitution>
+		<!-- relative path to first user principal resource-->
+		<substitution>
+			<key>$principal:</key>
+			<value>/principals/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$pathprefix:</key>
+			<value>/calendars/user/user%02d</value>
+		</substitution>
+		<!-- relative path to first user calendar home-->
+		<substitution>
+			<key>$calendarpath1:</key>
+			<value>/calendars/user/user%02d/calendar</value>
+		</substitution>
+	</substitutions>
+</perfinfo>

Modified: CalDAVTester/trunk/scripts/performance/perfinfo.dtd
===================================================================
--- CalDAVTester/trunk/scripts/performance/perfinfo.dtd	2006-12-22 03:39:58 UTC (rev 886)
+++ CalDAVTester/trunk/scripts/performance/perfinfo.dtd	2006-12-22 03:41:38 UTC (rev 887)
@@ -27,7 +27,7 @@
 		<!ATTLIST logging	enable (yes|no) "no">
 
 	<!ELEMENT tests			(test*)>
-		<!ELEMENT test			(spread, runs)>
+		<!ELEMENT test			(clients?, spread, runs)>
 			<!ELEMENT spread		(#PCDATA)>
 			<!ELEMENT runs			(#PCDATA)>
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061221/421af7f3/attachment.html


More information about the calendarserver-changes mailing list