com.singularsys.jeptests.system.perf.tests
Class ParsePerfTest
java.lang.Object
com.singularsys.jeptests.system.perf.PerfTest
com.singularsys.jeptests.system.perf.tests.ParsePerfTest
public class ParsePerfTest
- extends PerfTest
Parses an expression nIterations
times.
- Author:
- nathan
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useConfigParser
public boolean useConfigParser
ParsePerfTest
public ParsePerfTest(java.lang.String name,
java.lang.String expression,
int nIterations,
boolean useConfigParser)
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