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

RE: performance of copying all source to result

Subject: RE: performance of copying all source to result
From: Evyatar_Kafkafi <evyatar@xxxxxxxxx>
Date: Tue, 26 Dec 2000 16:04:56 +0200
copying the source in xslt
Unfortunately all my benchmarks disagree with you. 

I measure only the time needed for the transformation itself (the time
needed to complete the line 

transformer.transform(source, result) ;

And I do it enough times in a loop so that it won't be dominated by the Java
VM start up.

Also, I checked this on Windows 2000, Solaris and HP unix (The Unix machines
are only a little faster). I checked with several XSLT processors and
several XML parsers. The length of the transformation is between 1500 ms and
4000 ms.

The only major improvement I saw was on Windows 2000, when I switched to JDK
1.3. The time drops to around 500-600 ms. But it is still not the 50-100 ms
you'd expect.

Therefore, I still suspect my stylesheet could be changed to provide the
same results faster.

Any suggestions?

	Evyatar

-----Original Message-----
From: Kay Michael [mailto:Michael.Kay@xxxxxxx]
Sent: Saturday, December 23, 2000 2:20 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE:  performance of copying all source to result


> My source documents are relatively small (1 KB - 4 KB).
> 
> The question is - how long will it take (at run-time) to do this
> transformation?
> 
> My measurements show it will be more then 1.6 seconds (1600 
> milliseconds).
> 
Your measurements are probably dominated by the time taken to start up the
Java VM and the XSLT processor.

If you do lots of such transformations, I would expect them to take about
100ms each; if you do lots using the same stylesheet, about 50ms each.
Depending on many factors, such as your processor, your Java VM, the amount
of memory, etc.

Mike Kay 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.