cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bimargul...@gmail.com>
Subject Re: More news from the performance front
Date Thu, 20 Mar 2008 02:10:52 GMT
If this is good, how would we get it into the code? I don't see a way to
tell the DocumentBuilderFactory to use a specific SAX driver.

On Wed, Mar 19, 2008 at 6:34 PM, Dan Diephouse <dan.diephouse@mulesource.com>
wrote:

> Benson Margulies wrote:
> > At this point, the startup performance of the bus is entirely tangled up
> in
> > Xerces. I'm having a hard time believing that building a DOM from StaX
> is
> > going to beat Xerces, but if someone else thinks so, I guess I'm game.
> >
> > Sadly, there are no Apache-compatible XML databases I can see out there,
> so
> > my idea of 'compiling' all the XML files to DOM trees in some sort of
> > persistent store seems impossible.
> >
> >
> Woodstox provides a significantly faster SAX implementation than Xerces.
> But the question is - is the startup time in xerces because of
> validation or because of parsing? I'm guess the former.
>
> Its easy to test the Woodstox parser:
>
> java -Dorg.xml.sax.driver=com.ctc.wstx.sax.WstxSAXParser ....
>
> Dan
>
> --
> Dan Diephouse
> MuleSource
> http://mulesource.com | http://netzooid.com
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message