org.apache.commons.ognl.test
Class Performance

java.lang.Object
  extended by org.apache.commons.ognl.test.Performance

public class Performance
extends Object


Constructor Summary
Performance(String name, String expressionString, String javaMethodName)
           
Performance(String name, String expressionString, String javaMethodName, boolean mvel)
           
 
Method Summary
protected  boolean done()
           
protected  org.apache.commons.ognl.test.Performance.Results endTest()
           
 String getExpression()
           
 String getName()
           
static void main(String[] args)
           
protected  void startTest()
           
 org.apache.commons.ognl.test.Performance.Results testConstantExpression()
           
 org.apache.commons.ognl.test.Performance.Results testExpression(boolean compiled)
           
 org.apache.commons.ognl.test.Performance.Results testIndexedPropertyNavigationExpression()
           
 org.apache.commons.ognl.test.Performance.Results testJava()
           
 org.apache.commons.ognl.test.Performance.Results testPropertyNavigationAndComparisonExpression()
           
 org.apache.commons.ognl.test.Performance.Results testPropertyNavigationExpression()
           
 org.apache.commons.ognl.test.Performance.Results testPropertyNavigationSetting()
           
 org.apache.commons.ognl.test.Performance.Results testPropertyNavigationWithMapExpression()
           
 org.apache.commons.ognl.test.Performance.Results testPropertyNavigationWithMapSetting()
           
 org.apache.commons.ognl.test.Performance.Results testSinglePropertyExpression()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Performance

public Performance(String name,
                   String expressionString,
                   String javaMethodName)
            throws Exception
Throws:
Exception

Performance

public Performance(String name,
                   String expressionString,
                   String javaMethodName,
                   boolean mvel)
            throws Exception
Throws:
Exception
Method Detail

main

public static void main(String[] args)

startTest

protected void startTest()

endTest

protected org.apache.commons.ognl.test.Performance.Results endTest()

done

protected boolean done()

getName

public String getName()

getExpression

public String getExpression()

testExpression

public org.apache.commons.ognl.test.Performance.Results testExpression(boolean compiled)
                                                                throws Exception
Throws:
Exception

testJava

public org.apache.commons.ognl.test.Performance.Results testJava()
                                                          throws OgnlException
Throws:
OgnlException

testConstantExpression

public org.apache.commons.ognl.test.Performance.Results testConstantExpression()
                                                                        throws OgnlException
Throws:
OgnlException

testSinglePropertyExpression

public org.apache.commons.ognl.test.Performance.Results testSinglePropertyExpression()
                                                                              throws OgnlException
Throws:
OgnlException

testPropertyNavigationExpression

public org.apache.commons.ognl.test.Performance.Results testPropertyNavigationExpression()
                                                                                  throws OgnlException
Throws:
OgnlException

testPropertyNavigationSetting

public org.apache.commons.ognl.test.Performance.Results testPropertyNavigationSetting()
                                                                               throws OgnlException
Throws:
OgnlException

testPropertyNavigationAndComparisonExpression

public org.apache.commons.ognl.test.Performance.Results testPropertyNavigationAndComparisonExpression()
                                                                                               throws OgnlException
Throws:
OgnlException

testIndexedPropertyNavigationExpression

public org.apache.commons.ognl.test.Performance.Results testIndexedPropertyNavigationExpression()
                                                                                         throws OgnlException
Throws:
OgnlException

testPropertyNavigationWithMapSetting

public org.apache.commons.ognl.test.Performance.Results testPropertyNavigationWithMapSetting()
                                                                                      throws OgnlException
Throws:
OgnlException

testPropertyNavigationWithMapExpression

public org.apache.commons.ognl.test.Performance.Results testPropertyNavigationWithMapExpression()
                                                                                         throws OgnlException
Throws:
OgnlException


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.