org.htmlparser.tests
Class PerformanceTest

java.lang.Object
  extended byorg.htmlparser.tests.PerformanceTest

public class PerformanceTest
extends java.lang.Object


Constructor Summary
PerformanceTest(java.lang.String file, int numTimes)
          Try to parse the given page the given no of times Print average time taken
 
Method Summary
 void beginTestWithoutScanners()
           
 void beginTestWithScanners()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceTest

public PerformanceTest(java.lang.String file,
                       int numTimes)
Try to parse the given page the given no of times Print average time taken

Parameters:
file - File to be parsed
numTimes - number of times the test should be repeated
Method Detail

beginTestWithoutScanners

public void beginTestWithoutScanners()
                              throws ParserException
Throws:
ParserException

beginTestWithScanners

public void beginTestWithScanners()
                           throws ParserException
Throws:
ParserException

main

public static void main(java.lang.String[] args)