I built a test case with an xslt in my messaging bus.  I tested it on my
laptop with both Xalan-J 2.4.1 and Xalan-J 2.7.0 (although that was a
while ago).  I found that Xalan-J 2.7.0 improved performance a little
bit.  I then copied the same test case to a Solaris 8 box.  I found that
the test case with Xalan-J 2.7.0 took TWICE as long than with Xalan-J
2.4.1.  I tried it several times, with the same results (in each
version).  I'm toggling between the two Xalan versions by using the
"endorsed" directory of the JRE.  I put the xalan.jar, xml-apis.jar,
xercesImpl.jar, and serializer.jar from Xalan-J 2.7.0 into the endorsed
directory, and I rename the directory when I test it with version 2.4.1.

My test case is running 1000 of the same transformation, synchronously
on the same thread.  I'm using a cached Templates object to get the
Transformer object from.

Is there something simple that could be causing this unusual performance
degradation in version 2.7.0?

Reply via email to