|
|||||
| 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.BenchDocBase
|
+--com.sosnoski.xmlbench.BenchDOM
|
+--com.sosnoski.xmlbench.BenchCrimson
Benchmark for measuring performance of the Apache Crimson DOM document representation. Since we may have several parsers and document models in the classpath, this creates the Crimson parser directly in order to avoid any confusion in going through JAXP.
| Constructor Summary | |
BenchCrimson()
Constructor. |
|
| Method Summary | |
protected java.lang.Object |
build(java.io.InputStream in)
Build document representation by parsing XML. |
protected void |
output(java.lang.Object doc,
java.io.OutputStream out)
Output a document as XML text. |
protected void |
reset()
Reset test class instance. |
| Methods inherited from class com.sosnoski.xmlbench.BenchDOM |
modify, modifyElement, walk, walkElement |
| Methods inherited from class com.sosnoski.xmlbench.BenchDocBase |
runSpaceTest, runTimeTest, serialize, unserialize |
| 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 BenchCrimson()
| Method Detail |
protected java.lang.Object build(java.io.InputStream in)
build in class BenchDocBasein - XML document input stream
protected void output(java.lang.Object doc,
java.io.OutputStream out)
output in class BenchDocBasedoc - document representation to be outputout - XML document output streamprotected void reset()
reset in class BenchDocBase
|
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||