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

Re: XML Performance in a Transacation

  • To: Michael Kay <mike@s...>
  • Subject: Re: XML Performance in a Transacation
  • From: Rick Marshall <rjm@z...>
  • Date: Sat, 25 Mar 2006 20:22:58 +1100
  • Cc: xml-dev@l...
  • In-reply-to: <200603250848.k2P8m50k008567@z...>
  • Organization: Zenucom Pty Ltd
  • References: <200603250848.k2P8m50k008567@z...>
  • User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

xml performance log
?

o(n2) is what you get when something is wrong. what we want is o(n log 
n). otherwise we can't scale to large documents.

and fwiw the 24k doc takes about 1.2sec to process. the 3.25M takes 1h20m.

iow i could do it faster by splitting the document into small bits and 
doing each separately, rather than combine them into a single document.

this is a critical issue imho because i have clients upset that big 
documents take so long to process.

and if you want to deliver these things to browsers, they'll time out on 
even moderate size documents.

rick

Michael Kay wrote:

>>performance part 1. using xlstproc (xmlsoft.org)
>>
>>stylesheet approx 50k
>>
>>xml in approximate doublings in size from 24k to 3.25M (7 test files)
>>
>>the processing time goes up by a factor approx 4 for every 
>>doubling in 
>>size - looks o(n2) to me.
>>    
>>
>
>I'm not sure why you're telling us this. We all know that it is possible to
>write an O(n^2) program in any language of sufficient power. And it doesn't
>need 50K (bytes? lines?) of code to do it.
>
>Michael Kay
>http://www.saxonica.com/
>
>
>
>-----------------------------------------------------------------
>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:442503c785741804284693!
>
>  
>
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.