|
|||||
| 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.BenchXPP
|
+--com.sosnoski.xmlbench.BenchXPPBase
Benchmark for measuring performance of the XPP document representation with normal nodes.
This code is based on a sample provided by Aleksander Slominski.
| Field Summary | |
protected org.gjt.xpp.XmlPullParser |
m_parser
Pull parser used within a test run. |
| Fields inherited from class com.sosnoski.xmlbench.BenchXPP |
m_parserFactory, m_recorder |
| Constructor Summary | |
BenchXPPBase()
Constructor. |
|
| Method Summary | |
protected java.lang.Object |
build(java.io.InputStream in)
Build document representation by parsing XML. |
protected void |
reset()
Reset test class instance. |
| Methods inherited from class com.sosnoski.xmlbench.BenchXPP |
modify, modifyElement, output, 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 |
| Field Detail |
protected org.gjt.xpp.XmlPullParser m_parser
| Constructor Detail |
public BenchXPPBase()
| Method Detail |
protected java.lang.Object build(java.io.InputStream in)
build in class BenchDocBasein - XML document input streamprotected void reset()
reset in class BenchXPP
|
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||