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

Re: measuring performance of XSLT stylesheet

Subject: Re: measuring performance of XSLT stylesheet
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Sun, 22 Nov 2009 20:23:21 +0000 (GMT)
Re:  measuring performance of XSLT stylesheet
a kusa wrote:

> What little I know about using "//" is that the processor
>
checks a whole document when a "//element" is used.  If we are
> talking about
a really big document (few mB) this would
> definitely slow down the
transformation processing time.

> Right?

  No.  There is nothing telling so
in XDM, and when it comes to
optimization, that does not mean anything to
"theorize" about
possible behavior.  For an in-memory processor like Saxon,
that
reasoning is usually right, but I think Saxon has several
optimizations
for //, so maybe in some cases that could be the
opposite.

  For an XML
database in general that will be the opposite (for
instance // is usually
faster on eXist.)  Ok, there are not yet
an XSLT implementation supported
natively by an XML database, but
I predict that is going to change soon...
What I want to say is just: when it comes to efficiency, there
is no rule,
just measurements.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread

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
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.