[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Compiled XML

Re:  Compiled XML
Glad to see such an, err, "enthusiastic" response. As the web page says, 
I'd intended to update this long ago. I've been sidetracked but will try 
to get back to it later this month, when I want to compare document size 
and processing speed for collections of documents using a common schema. 
I'll also try to find the fastest available SAX2 parser to use as an 
input-only comparison.

I'd suggest you don't waste time trying Java serialized versions of DOM 
- the results are horrible. You can see some at the bottom of my 
document models benchmarks page, at 
http://www.sosnoski.com/opensrc/xmlbench/results.html. The main problem 
is that all the document representations (DOM, JDOM, dom4j, etc.) are 
tree structures of generally small objects, while Java serialization is 
optimized for graph structures. It uses (fairly large) handles for each 
object, and actually includes the handles in the encoding (as opposed to 
just making the values sequential and implicit). This adds a lot of 
bloat - Java serialized Xerces DOM ran about twice the size of the text 
documents in the tests I've run.

  - Dennis

Alaric Snell wrote:

> - uuugghh, I just ejaculated (sorry, ladies)!
>That's the kind of experiment I was planning to perform this weekend, and the 
>kinds of results I imagined getting.
>The only difference is that I'd introduce gzipped versions of the text, 
>serialised DOM tree, and XMLS data, including the time taken to deflate and 
>inflate the data. Just since people keep raising gzipped text.
>I'll try and do that this weekend...


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.