Class ParsePerfTest


  • public class ParsePerfTest
    extends PerfTest
    Parses an expression nIterations times.
    Author:
    nathan
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean useConfigParser  
    • Constructor Summary

      Constructors 
      Constructor Description
      ParsePerfTest​(java.lang.String name, java.lang.String expression, int nIterations, boolean useConfigParser)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Parse the expression nIterations times.
      void setup()
      Set up the parser
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • useConfigParser

        public boolean useConfigParser
    • Constructor Detail

      • ParsePerfTest

        public ParsePerfTest​(java.lang.String name,
                             java.lang.String expression,
                             int nIterations,
                             boolean useConfigParser)
    • Method Detail

      • setup

        public void setup()
                   throws java.lang.Exception
        Set up the parser
        Overrides:
        setup in class PerfTest
        Throws:
        java.lang.Exception
      • run

        public void run()
                 throws java.lang.Exception
        Parse the expression nIterations times. This is the method that is timed.
        Overrides:
        run in class PerfTest
        Throws:
        java.lang.Exception