Excelsior JET Benchmarks XML Processing
We used two benchmarks that illustrate XML transformation on the client and
on the server respectively.
- FOP
-
This test measures performance of an XML parser and
an XSLT processor. It transforms a single XML document to PDF
using an XSL template.
To run this benchmark,
download the
FOP package, which is part of the
Apache XML project.
We have used version 0.20.5 in our tests; you may need
to correct some paths if you use a different version.
- XMLBench Document Model Benchmark
-
Dennis M. Sosnoski, the author of this benchmark, writes:
"The XMLBench program was developed to test several aspects of performance for XML document models in Java.".
| more
You may also wish to
check out his article
on IBM developerWorks.
We used the following methodology to benchmark the JVMs:
-
All XML documents from directories docs, docs/ants,
docs/fms, docs/soaps, docs/webs
were moved to one directory all-docs so as to run the
test against all documents at once.
-
The standard SAX parser that is part of J2SE since 1.4 was used.
-
The number of iterations was set to a maximum of 99, the first 30 were ignored
to simulate server-side use.
-
Heap size was set to 224MB, because the original benchmark uses this setting
for large documents.
|
| SYSTEM CONFIGURATION |
 |
| CPU: |  | Intel Pentium IV with HyperThreading running at 2.40 GHz |
| RAM: | 512 MB |
| OS: | Windows 2000 Professional |
| Video: | RADEON 9200 SE 64MB at 1024x768x16777216c |
| BENCHMARKS |
 |
The result for each of the benchmarks is execution time in seconds.
Shorter bar means better performance.
|
JET |
HSC |
HSS |
BEA |
|
JET |
HSC |
HSS |
BEA |
| XMLBench |
203 |
312 |
265 |
203 |
|
65% |
100% |
85% |
65% |
| FOP |
35 |
48 |
46 |
39 |
|
73% |
100% |
95% |
81% |
| Average: |
|
|
|
|
|
69% |
100% |
90% |
73% |
|
| SYSTEM CONFIGURATION |
 |
| CPU: |  | AMD Athlon XP running at 1.0 GHz |
| RAM: | 512 MB |
| OS: | Windows 2000 Advanced Server |
| Video: | S3 Virge DX/GX at 1024x768x16777216c |
| BENCHMARKS |
 |
The result for each of the benchmarks is execution time in seconds.
Shorter bar means better performance.
|
JET |
HSC |
HSS |
BEA |
|
JET |
HSC |
HSS |
BEA |
| XMLBench |
297 |
390 |
359 |
296 |
|
76% |
100% |
92% |
76% |
| FOP |
37 |
57 |
69 |
108 |
|
65% |
100% |
120% |
189% |
| Average: |
|
|
|
|
|
71% |
100% |
106% |
132% |
|