From commits-return-13455-apmail-jackrabbit-commits-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Jun 21 10:11:31 2012 Return-Path: X-Original-To: apmail-jackrabbit-commits-archive@www.apache.org Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E360C191 for ; Thu, 21 Jun 2012 10:11:31 +0000 (UTC) Received: (qmail 51789 invoked by uid 500); 21 Jun 2012 10:11:31 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 51661 invoked by uid 500); 21 Jun 2012 10:11:30 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 50998 invoked by uid 99); 21 Jun 2012 10:11:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 10:11:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 10:10:42 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EDFF82388847; Thu, 21 Jun 2012 10:10:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1352486 - in /jackrabbit/trunk/test/performance: ./ jackrabbit26/ jackrabbit26/src/ jackrabbit26/src/test/ jackrabbit26/src/test/java/ jackrabbit26/src/test/java/org/ jackrabbit26/src/test/java/org/apache/ jackrabbit26/src/test/java/org/ap... Date: Thu, 21 Jun 2012 10:10:14 -0000 To: commits@jackrabbit.apache.org From: angela@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120621101014.EDFF82388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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