[jboss-dev-forums] [JBoss XML Binding Development] - Re: XB profiling during the AS start-up

jesper.pedersen do-not-reply at jboss.com
Thu Oct 1 12:40:40 EDT 2009


I changed my XML parsing from JAXB/XJC to a StAX model (Sun implementation). Maybe Woodstock can lower the times even more...

JAXB/XJC:
bootstrap.xml: 385 ms
naming.xml: 71 ms
transaction.xml: 23 ms
jca.xml: 58 ms

StAX:
bootstrap.xml: 18 ms
naming.xml: 5 ms
transaction.xml: 1 ms
jca.xml: 2 ms 

The times are from the file handle is created to the Java model is returned, e.g. includes the time spend on creating factories and unmarshallers.

There may be other areas that needs to be covered by JBXB - so I can't say if the results will map directly to your case.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258237#4258237

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258237



More information about the jboss-dev-forums mailing list