You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Chris P. McCabe" <ch...@choicehotels.com> on 2001/02/28 19:47:03 UTC
FYI: Xalan-J1 vs. Xalan-J2 performance
For those that are curious, I did a quick timing comparison between
Xalan-J1 and Xalan-J2 on some real-world test cases and the results are
summarized below. All the pages shown were run several times and the
times are an average of all but the first run. The first run includes
the compiling of the stylesheet. All subsequent runs are using a cached
stylesheet.
These are not benchmarks that exercise particular operations. They
are just real-world cases. Each page is generating HTML.
Times are in milliseconds. The first number in the pair is the first
run, the second is the average of all subsequent runs.
Xalan-J1 Xalan-J2 Improvement
-------------------------------------------------
Page1 6605/1728 1420/1256 4.7x / 1.4x
Page2 2437/ 763 659/ 326 3.7x / 2.3x
Page3 2609/ 580 436/ 265 6.0x / 2.2x
Page4 2151/1446 1295/ 524 1.7x / 2.8x
Page5 3313/1142 1556/ 708 2.1x / 1.6x
Page6 4110/ 863 1573/ 538 2.6x / 1.6x
Page7 4954/2687 3508/2339 1.4x / 1.1x
Memory usage: 105K increase in memory usage with Xalan-J2 over 7 pages.
So as you can see, there is roughly a 2x speed improvement (where it
counts) with Xalan-J2 over Xalan-J1. Good work guys!!
Chris