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

Re: XSLTPROC performance

Subject: Re: XSLTPROC performance
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 21 Dec 2007 14:03:46 +0000
Re:  XSLTPROC performance
On 21/12/2007, Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote:
> The cost of the JVM start-up cannot be eliminated, but it can be
> amortised. For a fair comparison, you need to know what this overhead
> is, so you can make sensible judgements.

I don't think it needs to be amortised... If you start the timing at
the correct point and ignore the first few runs then I'd say you can
safely forget about JVM startup and warm-up for the remaining runs.
The only thing then is when the garbage collection runs, but you can
mitigate that by performing enough runs and removing any outliers -
leaving you with a reasonble comparison time.

You'd only need to worry about amortising JVM startup time if you
started timing at the beginning, run the transformation a number of
times, and then stopped timing at the end of the last transform,
dividing the overall time by the number of transforms...


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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.