com.singularsys.jeptests.system.perf.tests
Class ParsePerfTest

java.lang.Object
  extended by com.singularsys.jeptests.system.perf.PerfTest
      extended by com.singularsys.jeptests.system.perf.tests.ParsePerfTest

public class ParsePerfTest
extends PerfTest

Parses an expression nIterations times.

Author:
nathan

Field Summary
 boolean useConfigParser
           
 
Constructor Summary
ParsePerfTest(java.lang.String name, java.lang.String expression, int nIterations, boolean useConfigParser)
           
 
Method Summary
 void run()
          Parse the expression nIterations times.
 void setup()
          Set up the parser
 
Methods inherited from class com.singularsys.jeptests.system.perf.PerfTest
getExpression, getIterations, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useConfigParser

public boolean useConfigParser
Constructor Detail

ParsePerfTest

public ParsePerfTest(java.lang.String name,
                     java.lang.String expression,
                     int nIterations,
                     boolean useConfigParser)
Method Detail

setup

public void setup()
           throws java.lang.Exception
Set up the parser

Overrides:
setup in class PerfTest
Throws:
java.lang.Exception

run

public void run()
         throws java.lang.Exception
Parse the expression nIterations times. This is the method that is timed.

Overrides:
run in class PerfTest
Throws:
java.lang.Exception


Copyright © 2010 Singular Systems http://www.singularsys.com/jep