Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » MOXy performance
MOXy performance [message #559357] Thu, 16 September 2010 13:17 Go to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: September 2010
Junior Member
I've been using JAXB RI and recently started using MOXy because of it's great extensions and customization capabilitues.
However what i've noticed is that it is slower than JAXB RI:

When parsing a XML file of 10 MB (around 10000 records),

JAXB RI needs 900ms and MOXy 2500ms

XML structure is like this:
<root>
<record>
<id>954921332003</id>
<object_type>JOURNAL</object_type>
<title>T1</title>
<title>T2</title>
<issn>0001-0782</issn>
<eissn>1557-7317</eissn>
<coverage><from><year>1965</year></from><to /></coverage>
<coverage><from><year>1985</year></from>
<to>1986</to><embargo <days_not_available>365</days_not_available></embargo></coverage >
</record>
<record>........
</root>

Re: MOXy performance [message #559682 is a reply to message #559357] Fri, 17 September 2010 14:56 Go to previous message
Blaise Doughan is currently offline Blaise DoughanFriend
Messages: 163
Registered: July 2009
Senior Member

Hello,

Thanks for the feedback. Your numbers are different then the feedback we have been getting from users. Could you post more details of your test to this forum or send them to eclipselink-users@eclipse.org.

Details to include:
- Model classes or XML Schema
- JDK vendor & version
- XML source (stream, DOM, StAX, InputSource)
- Parser used if different from default
- If test includes JAXBContext creation
- If schema validation is enabled

FYI, I've started a blog to keep users up to date on new MOXy features. Check out my latest article on using MOXy's XPath based mapping to proccess Google Geocodes:

- http://bdoughan.blogspot.com/2010/09/xpath-based-mapping-geo code-example.html

-Blaise
Previous Topic:EclipseLink 2.1.0 - timeout on idle connections
Next Topic:ANT Task Problem
Goto Forum:
  


Current Time: Wed Nov 26 21:59:53 GMT 2014

Powered by FUDForum. Page generated in 0.01550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software