Re: [xsl] How do i optimize my stylesheet for speed?

Subject: Re: [xsl] How do i optimize my stylesheet for speed?
From: "Eugene Kuznetsov" <eugene@xxxxxxxxxxxxx>
Date: Fri, 15 Jun 2001 10:58:33 -0400
> CPU ultarsparc 248MHz, 384MB RAM, with 128MB of heap size it is taking 
> about 10 min for a 5MB input file.  However on a 4CPU (400MHz) box it 
> is just taking a megre 42 sec.  What can i do to make it faster on the 
> slow machine?

Well, multiple CPU's are probably not the reason, if the machines are 
not loaded otherwise. (I am assuming you are talking about running one
transform at a time, not multiple sessions concurrently). It is likely 
there is some other difference, may be your compiler, java vm (if 
you're using java), OS, etc. Which XSLT engine are you using? 

In my book, of course, both 10 minutes and 42 seconds are quite 
unacceptable, and you shouldn't have to spend time trying to optimize
it by hand. That's what optimizing compilers are for. 

<plug>If you'd like it to run much better than either 10 minutes or
42 seconds, check out DataPower's XML acceleration solutions, from
DGXT (an optimized interpreter) to XSLJIT (a JIT compiler for XSLT)
to the XA35 (a network device for XML & XSLT acceleration).
Our goal is to remove any worries about XML scalability -- you 
worry about the app, we worry about the speed.

\\ Eugene Kuznetsov
\\ eugene@xxxxxxxxxxxxx
\\ DataPower Technology, Inc.

 XSL-List info and archive:

Current Thread