[JBoss XML Binding Development] - Re: XB profiling during the AS start-up
by jason.greene@jboss.com
"alex.loubyansky(a)jboss.com" wrote : "adrian(a)jboss.org" wrote : anonymous wrote :
| | | 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?
|
| I actually can't comment at the moment of what the bottleneck is. Maybe I'm missing something, but it looks to me like apples to apples.
| At least that's how a simple parsing client is supposed to use the API.
Perhaps it's something like Adrian suggests where the fast-jaxb classes are using schema validation. It just doesn't make sense that a pregenerated parser would be slower than a dynaimc reflection based model. The pregenerated version has less work to actually do, and it can do direct method invocation as opposed to reflection which is definitely faster.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257926#4257926
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257926
15 years, 3 months