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

Re: XSL performance problem

Subject: Re: XSL performance problem
From: Nicolas Pottier <nic@xxxxxxxxxx>
Date: Tue, 18 May 1999 13:44:44 -0700
java xsl performance
Using String classes will get you extremely slow performance, as they're
not designed to be used that way.  Without looking at your code I don't
know for sure, but I would suspect you're doing alot of String
concatenations etc, which you should use a StringBuffer for instead. 
Using String objects will definetely get you in trouble
performance-wise.

Server side Java should be plenty fast for pretty much anything, I
recently ported some very CPU intensive code over to Java from optimized
C++ and Java turned out about twice as slow, which isn't bad.

-Nic  (who's a Java gearhead but an XSL weenie)

Oren Ben-Kiki wrote:
> Java makes it very easy to write well designed, clean, elegant and horribly
> inefficient code. For example, my experience from writing a very simple HTML
> "text extractor" in Java is that unbelievable amounts of CPU are spent
> handling (GC-ing) string objects. We started with parsing <20K/sec and moved
> up to >1M/sec, just by using our own "ReuseStr" class instead of Java's
> built-in "String" class. I therefore wouldn't be surprised to see a ~x10
> improvement in Java based XSL processors once attention is focused on
> performance. Of course I'm not actually writing one so that's just a
> speculation.


 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.