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 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()