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

Re: XML Performance in a Transacation


nlogn performance
fwiw, we use xsltproc to parse documents. we have one application which 
produces complex forms (a la xsl-fo, but our own vocabulary, for our own 
reasons).
we also use it to distribute transactions between servers.

my observations - for small messages and documents it all seems to be 
fast enough (haven't had any performance issues to cause me to measure it).

as message size grows, the predictability of the performance decreases, 
in a way that can't be explained by disc caching.

at some point the system slows to unusable (xml source around 
500k->1mb). i'll admit at this point that the style sheet is also large. 
sadly the performance looks to be o(n2) - and this is the important 
point. it is degrading at a much faster rate than the increase in the 
message size.

some initial investigation reveals that the vast majority of the time is 
spent parsing the input strings and coping with utf-8. i haven't had 
time to play with the string parsing yet, but i'm hoping for a classic 
o(nlogn) performance at the end.

david veillard may be able to comment further on this.

rick

David Carver wrote:

> This is a pretty general question, and I know that it can very from 
> application to application, and even from parser to parser.   However, 
> I'm curious if anybody has any links to some performance tests that 
> show the overall time a transaction takes to complete, and how much of 
> that overall transaction time is devoted to parsing or validation of 
> an XML file.   Particularly, from retrieving an XML file from a data 
> store, and then completing the end transaction.
>
> I've been requested to provide some numbers to show that actual XML 
> validation results and parsing are a small portion of the overall 
> transaction process, when dealing with XML in a B2B process.  Any 
> information that can be provided would be appreciated.
>
> Dave
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
> !DSPAM:4421bf0c103379137362908!
>
begin:vcard
fn:Rick  Marshall
n:Marshall;Rick 
email;internet:rjm@z...
tel;cell:+61 411 287 530
x-mozilla-html:TRUE
version:2.1
end:vcard


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.