public class PerfTest
extends java.lang.Object
| Constructor and Description |
|---|
PerfTest(java.lang.String name,
java.lang.String expression,
int nIterations)
Sets up the name and number of iterations.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpression() |
int |
getIterations() |
java.lang.String |
getName() |
void |
run()
Runs the test which is timed by the PerfRunner class
|
void |
setup() |
public PerfTest(java.lang.String name,
java.lang.String expression,
int nIterations)
name - nIterations - public void setup()
throws java.lang.Exception
java.lang.Exceptionpublic void run()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getName()
public java.lang.String getExpression()
public int getIterations()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep