|
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
java.lang.Object
|
+--com.sosnoski.xmlbench.BenchBase
|
+--com.sosnoski.xmlbench.BenchSAX
SAX parser benchmark test class. This class defines a single test for a SAX parser, parsing the document text and accumulating document characteristics.
| Inner Class Summary | |
protected class |
BenchSAX.InnerHandler
Inner class for handling SAX notifications. |
| Constructor Summary | |
BenchSAX()
Constructor. |
|
| Method Summary | |
int[] |
runSpaceTest(int passes,
int excludes,
byte[][] texts)
Main space test method. |
int[] |
runTimeTest(int passes,
int excludes,
byte[][] texts)
Main time test method. |
| Methods inherited from class com.sosnoski.xmlbench.BenchBase |
getName, initMemory, initTime, printSummary, reportSpace, reportTime, reportValue, setPrint, setShowDocument, setShowPass, setVariant, testPassSpace, testPassTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BenchSAX()
print - test results listing destination (null if not
to be printed)| Method Detail |
public int[] runTimeTest(int passes,
int excludes,
byte[][] texts)
runTimeTest in class BenchBasepasses - number of passes of each testexcludes - number of initialization passes excluded from averagestexts - document texts for test
public int[] runSpaceTest(int passes,
int excludes,
byte[][] texts)
runSpaceTest in class BenchBasecount - number of units of test to run in this passexcludes - number of initialization passes excluded from averagestexts - document texts for test
|
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||