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

RE: Performance degraded with grouping and sorting.

Subject: RE: Performance degraded with grouping and sorting.
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 28 Oct 2004 15:59:28 +0100
processor time performance degraded
It's always worth trying it on a different processor. Sometimes there can be
considerable differences, and sometimes a particular construct will perform
badly on one processor and well on another. Sometimes Saxon runs ten times
faster than Xalan - but by no means always.

Also try running your stylesheet with different volumes of data and seeing
how the performance scales. You need to look out for anything that's causing
quadratic performance (double the size, four times the time) - often caused
by constructs such as //x within a loop, or preceding::x.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Bhupendra Singh [mailto:skbhupendra@xxxxxxxxxxx] 
> Sent: 28 October 2004 15:08
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; kjones@xxxxxxxxxxx
> Subject: Re:  Performance degraded with grouping and sorting.
> 
> Kev,
> Thanks for your reply..If you dont mind can you or
> somebody please point to something, where I should be
> looking around to increase the performance.
> Do you have any ideas how to change the XSLT processor
> properties or move to a better performing processor. I
> am using Xalan processor currently and you are right I
> have a good configuration PC with 1 GB RAM.
> 
> regards,
> Bhupi.
> 
>  --- Kevin Jones <kjones@xxxxxxxxxxx> wrote: 
> > On Wednesday 27 October 2004 16:04, Bhupendra Singh
> > wrote:
> > > Hi,
> > > I have an XML something like this.
> > 
> > Cut...
> > 
> > >
> > > After the grouping the total time taken was 45
> > secs.
> > > which I think is too much.
> > 
> > I would tend to agree. Running a transform based on
> > your 
> > sample the time only doubled between a simple sort
> > and your 
> > code. I could not see any reason you should be
> > seeing five 
> > times worse. 
> > 
> > My guess would be it is a "feature" of the XSLT
> > processor 
> > you are using or there is something else in your
> > stylesheet 
> > that is causing the problem. The 5 secs for a simple
> > sort 
> > is also fairly poor (assuming you are running on a 
> > recent-ish PC) so that may also indicate a processor
> > issue.
> > 
> > Kev.
> > 
> >  
> 
> Send instant messages to your online friends 
> http://uk.messenger.yahoo.com 

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.