Index of /~aslom/xpp_sax2bench
Name Last modified Size Description
Parent Directory 11-Apr-2007 16:53 -
RandXMLGen_LICENSE.htm 16-Apr-2002 12:55 2k
bluecast.css 16-Apr-2002 12:55 1k
build.bat 20-Aug-2002 10:01 1k
data/ 16-Apr-2002 12:56 -
parsers/ 16-Apr-2002 17:48 -
results.html 16-Apr-2002 18:00 8k
results.xml 16-Apr-2002 17:36 53k
saxbench.xml 20-Aug-2002 10:01 7k
saxbench.xsl 16-Apr-2002 12:55 4k
src/ 20-Aug-2002 10:01 -
tests.bat 16-Apr-2002 17:36 1k
transform.bat 16-Apr-2002 17:36 1k
SAX and XPP tests modified by Aleksander Slominski to include
XMLPULL (XPP3 and kXML2 parsers) in tests and following additional changes:
* modified tests to parse from memory and not from file to eliminate IO interference
* each test actual visits every element and its content is added to StringBuffer
(to allow cheking real time to visit every node!)
* added ability to check overhead of creation of parser instances instead of reusing
You can get modified tests from
http://www.extreme.indiana.edu/~aslom/xpp_sax2bench/
Aleksander Slominski
-------------------------------------------------------------------------
SAXBench, an XML parser benchmarking program for Java
Version 2.0, released April 13, 2002
http://www.bluecast.com/piccolo/bench.html
(C) Copyright 2002 by Yuval Oren. All rights reserved.
This software is released under the terms of the
GNU General Public License (LGPL). Full
text is available at http://www.gnu.org/licenses/gpl.html
Please report bugs to yuval@bluecast.com. Thank you.
-------------------------------------------------------------------------
To run these benchmarks, you need to:
1. Compile the program: javac src/*.java
2. Generate the random XML files:
java -cp src RandXMLGen 100 > data/rand_100.xml
java -cp src RandXMLGen 10000 > data/rand_10000.xml
java -cp src RandXMLGen 100000 > data/rand_100000.xml
3. Run SAXBench: java -cp src SAXBench saxbench.xml > results.xml
4. Create an HTML file from the results:
java -cp src xslt saxbench.xsl < results.xml > results.html