Package com.singularsys.jeptests.system.perf

# Class PerfTest

java.lang.Object
com.singularsys.jeptests.system.perf.PerfTest

Direct Known Subclasses:
  `EvalPerfTest`, `ParsePerfTest`

public class PerfTest extends Object
Base class for a single performance test.

Author:
  Nathan Funk

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PerfTest(String name, String expression, int nIterations)`
  Sets up the name and number of iterations.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getExpression()`
  `int`
  `getIterations()`
  `String`
  `getName()`
  `void`
  `run()`
  Runs the test which is timed by the PerfRunner class
  `void`
  `setup()`

  ### 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

  - ### setup

    public void setup() throws Exception
    Throws:
      `Exception`

  - ### run

    public void run() throws Exception
    Runs the test which is timed by the PerfRunner class
    Throws:
      `Exception`

  - ### getName

    public String getName()

  - ### getExpression

    public String getExpression()

  - ### getIterations

    public int getIterations()