Author: angela
Date: Thu Jun 21 10:10:13 2012
New Revision: 1352486
URL: http://svn.apache.org/viewvc?rev=1352486&view=rev
Log:
JCR-3351 : Add performance test setup for jr2.6
Added:
jackrabbit/trunk/test/performance/jackrabbit26/
jackrabbit/trunk/test/performance/jackrabbit26/pom.xml
jackrabbit/trunk/test/performance/jackrabbit26/src/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/jackrabbit/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/jackrabbit/performance/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/jackrabbit/performance/PerformanceTest.java
jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/
jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/btree-usermanager-repository.xml
jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/default-usermanager-repository.xml
Modified:
jackrabbit/trunk/test/performance/pom.xml
Added: jackrabbit/trunk/test/performance/jackrabbit26/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/jackrabbit26/pom.xml?rev=1352486&view=auto
==============================================================================
--- jackrabbit/trunk/test/performance/jackrabbit26/pom.xml (added)
+++ jackrabbit/trunk/test/performance/jackrabbit26/pom.xml Thu Jun 21 10:10:13 2012
@@ -0,0 +1,58 @@
+
+
+
+
+
+ 4.0.0
+
+
+ org.apache.jackrabbit
+ jackrabbit-perf-parent
+ 1-SNAPSHOT
+ ../parent/pom.xml
+
+
+ jackrabbit-perf-jackrabbit26
+ Jackrabbit 2.6 Performance Test
+
+
+
+ org.apache.jackrabbit
+ jackrabbit-perf-base
+ 1-SNAPSHOT
+ test
+
+
+ javax.jcr
+ jcr
+ 2.0
+ test
+
+
+ org.apache.jackrabbit
+ jackrabbit-core
+ 2.6-SNAPSHOT
+ test
+
+
+
+
+
Added: jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/jackrabbit/performance/PerformanceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/jackrabbit/performance/PerformanceTest.java?rev=1352486&view=auto
==============================================================================
--- jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/jackrabbit/performance/PerformanceTest.java (added)
+++ jackrabbit/trunk/test/performance/jackrabbit26/src/test/java/org/apache/jackrabbit/performance/PerformanceTest.java Thu Jun 21 10:10:13 2012
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.jackrabbit.performance;
+
+import org.apache.jackrabbit.core.query.lucene.join.QueryEngine;
+import org.testng.annotations.Test;
+
+
+public class PerformanceTest extends AbstractPerformanceTest {
+
+ @Test
+ public void testPerformance() throws Exception {
+ testPerformance("2.6");
+
+ System.setProperty(QueryEngine.NATIVE_SORT_SYSTEM_PROPERTY, "true");
+ testPerformance("2.6-expSort", getDefaultConfig());
+ System.setProperty(QueryEngine.NATIVE_SORT_SYSTEM_PROPERTY, "false");
+ }
+}
\ No newline at end of file
Added: jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/btree-usermanager-repository.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/btree-usermanager-repository.xml?rev=1352486&view=auto
==============================================================================
--- jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/btree-usermanager-repository.xml (added)
+++ jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/btree-usermanager-repository.xml Thu Jun 21 10:10:13 2012
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Added: jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/default-usermanager-repository.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/default-usermanager-repository.xml?rev=1352486&view=auto
==============================================================================
--- jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/default-usermanager-repository.xml (added)
+++ jackrabbit/trunk/test/performance/jackrabbit26/src/test/resources/default-usermanager-repository.xml Thu Jun 21 10:10:13 2012
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Modified: jackrabbit/trunk/test/performance/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/test/performance/pom.xml?rev=1352486&r1=1352485&r2=1352486&view=diff
==============================================================================
--- jackrabbit/trunk/test/performance/pom.xml (original)
+++ jackrabbit/trunk/test/performance/pom.xml Thu Jun 21 10:10:13 2012
@@ -53,6 +53,7 @@
jackrabbit22
jackrabbit23
jackrabbit24
+ jackrabbit26