-
Constructor Summary
Constructors
Sets up the name and number of iterations.
-
Method Summary
int
void
Runs the test which is timed by the PerfRunner class
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PerfTest
public PerfTest(String name,
String expression,
int nIterations)
Sets up the name and number of iterations.
- Parameters:
name -
nIterations -
-
Method Details
-
-
run
Runs the test which is timed by the PerfRunner class
- Throws:
Exception
-
-
-
getIterations
public int getIterations()