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 java.lang.Object

  Base class for a single performance test.
  Author:
    Nathan Funk

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PerfTest

          public PerfTest(java.lang.String name,
                          java.lang.String expression,
                          int nIterations)

      Sets up the name and number of iterations.
      Parameters:
        `name` -
        `nIterations` -

  - ### Method Detail

    - #### setup

          public void setup()
                     throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### run

          public void run()
                   throws java.lang.Exception

      Runs the test which is timed by the PerfRunner class
      Throws:
        `java.lang.Exception`

    - #### getName

          public java.lang.String getName()

    - #### getExpression

          public java.lang.String getExpression()

    - #### getIterations

          public int getIterations()

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