[jboss-dev-forums] [JBoss XML Binding Development] - Re: XB profiling during the AS start-up (Repost)
adrian@jboss.org
do-not-reply at jboss.com
Wed Sep 30 12:10:13 EDT 2009
"alex.loubyansky at jboss.com" wrote : "adrian" wrote : fast jaxb is clearly faster at the binding
| But binding was out of the scope of the test.
|
I don't understand that? Surely the unmarshaller.parse() will bind the xml to the
objects in both tests?
anonymous wrote :
| "adrian" wrote : If the code generation was moved to compile time (like xjc), then having
| | already generated classes will obviously out perform the reflection used by JBossXBBuilder.
| Fast jaxb parsers had been generated and compiled before the test run.
Ok, so what is fast jaxb doing that it is 3 times slower on the first iteration
(even though you have already pre-generated classes)?
Is it parsing the xml schema or something? Are you comparing apples to apples?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257907#4257907
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257907
More information about the jboss-dev-forums
mailing list