XML extreme slowness
843834Feb 7 2003 — edited Feb 10 2003Hi there,
It seems like using XML in java is extremely slow, especially when using XSL.
In my application where I had to transform large XML documents using XSL, performance was extremely poor. I tried several implementations like Xalan, Saxon and XT. There are some speed differences, but no implementation is fast (Saxon seemed fastest in my case). Later I transformed the XML manually without XSL which was a lot faster already but still not good at all.
In the end, I tried to use msxml to to transform using XSL again which made my application more than a 100 times faster!
Same XSL, just a call to msxml to make a transformation instead of a call to the java apis.
My experience with performance in java is that java can be real fast, but XML/XSL performance with java is just plain rediculous!
I just don't get it.
Any thoughts on this?