Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 999577AC0 for ; Fri, 28 Oct 2011 16:52:33 +0000 (UTC) Received: (qmail 81434 invoked by uid 500); 28 Oct 2011 16:52:33 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 81357 invoked by uid 500); 28 Oct 2011 16:52:33 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 81346 invoked by uid 99); 28 Oct 2011 16:52:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 16:52:33 +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; Fri, 28 Oct 2011 16:52:32 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1BEE4238899C for ; Fri, 28 Oct 2011 16:52:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1190444 - /commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java Date: Fri, 28 Oct 2011 16:52:12 -0000 To: commits@commons.apache.org From: mcucchiara@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111028165212.1BEE4238899C@eris.apache.org> Author: mcucchiara Date: Fri Oct 28 16:52:11 2011 New Revision: 1190444 URL: http://svn.apache.org/viewvc?rev=1190444&view=rev Log: Reformatted code Modified: commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java Modified: commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java?rev=1190444&r1=1190443&r2=1190444&view=diff ============================================================================== --- commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java (original) +++ commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java Fri Oct 28 16:52:11 2011 @@ -51,17 +51,17 @@ import org.junit.rules.MethodRule; public abstract class BasePerformanceTest { @Rule - public MethodRule benchmarkRun = new BenchmarkRule( ); + public MethodRule benchmarkRun = new BenchmarkRule(); - public static final RuntimeWrapper COMMONS_RUNTIME_WRAPPER = new CommonsRuntimeWrapper( ); + public static final RuntimeWrapper COMMONS_RUNTIME_WRAPPER = new CommonsRuntimeWrapper(); - public static final RuntimeWrapper OLD_RUNTIME_WRAPPER = new OldOgnlRuntimeWrapper( ); + public static final RuntimeWrapper OLD_RUNTIME_WRAPPER = new OldOgnlRuntimeWrapper(); protected static RuntimeWrapper runtimeWrapper; @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void constructorCache( ) + public void constructorCache() throws Exception { new GetConstructorsInvocation( runtimeWrapper, 50000 ); @@ -69,7 +69,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void declaredMethodCache( ) + public void declaredMethodCache() throws Exception { new GetDeclaredMethodsInvocation( runtimeWrapper ); @@ -77,7 +77,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void fieldCache( ) + public void fieldCache() throws Exception { new FieldInvocation( runtimeWrapper, 50000 ); @@ -85,7 +85,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void findParameterTypeCache( ) + public void findParameterTypeCache() throws Exception { new FindParameterTypesInvocation( runtimeWrapper, 100 ); @@ -93,7 +93,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void methodCache( ) + public void methodCache() throws Exception { new GetMethodsInvocation( runtimeWrapper, 20000 ); @@ -101,7 +101,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void methodParameterTypeCache( ) + public void methodParameterTypeCache() throws Exception { new MethodParameterTypesInvocation( runtimeWrapper ); @@ -109,7 +109,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void permissionCache( ) + public void permissionCache() throws Exception { new PermissionInvocation( runtimeWrapper ); @@ -117,7 +117,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void primitiveCache( ) + public void primitiveCache() throws Exception { new PrimitiveDefaultInvocation( runtimeWrapper, 100000 ); @@ -125,7 +125,7 @@ public abstract class BasePerformanceTes @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 ) @Test - public void compiler( ) + public void compiler() throws Exception { new CompilerInvocation( runtimeWrapper, 100 );