Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.tests
Class PerformanceTest  view PerformanceTest download PerformanceTest.java

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

public class PerformanceTest
extends java.lang.Object


Field Summary
private  java.lang.String file
           
private  int numTimes
           
 
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
 

Field Detail

numTimes

private int numTimes

file

private java.lang.String file
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

Method Detail

beginTestWithoutScanners

public void beginTestWithoutScanners()
                              throws org.htmlparser.util.ParserException

beginTestWithScanners

public void beginTestWithScanners()
                           throws org.htmlparser.util.ParserException

main

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