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

Re: comments take time? XSLT 1.0

Subject: Re: comments take time? XSLT 1.0
From: davep <davep@xxxxxxxxxxxxx>
Date: Mon, 14 Oct 2013 18:35:47 +0100
Re:  comments take time? XSLT 1.0
On 14/10/13 18:32, Dimitre Novatchev wrote:
An easy benchmark would be to add different number of comments
(incremented for each case by 100 or by 1000) to the identity
transform.

Then run each transformation on the same, of typical size XML document
(10 times for each case) and record the average timing.

Then, if the result varies more than 1% from the non-commented version
-- complain to the vendors.

More importantly, in the case of .NET, one can compile the
transformation into a dll -- using the xsltc.exe utility.

This guarantees exactly the same time, regardless of the
quantity/fraction of the comments in the serialized (initial textual)
transformation. It also runs a lot faster than the uncompiled version,
in case the same transformation must be run multiple times.

Cheers,
Dimitre

Thanks Dimitre. Nice and clear. It is a .net environment so your logic holds good.


Mike, the complaint is that there is a 'perceived' problem. I'm unsure if it's real or not.






regards


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

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.