RE: select="preceding-sibling::ROW[entered_formatted_day=$currentFruit]"is too slow

Subject: RE: select="preceding-sibling::ROW[entered_formatted_day=$currentFruit]"is too slow
From: Thorbjoern Ravn Andersen <ravn@xxxxxxxxxx>
Date: Sun, 2 Apr 2000 17:49:06 +0200 (MET DST)
On Sun, 2 Apr 2000, Didier PH Martin wrote:

> which works but has the following problems:
> 
> 1) It is too slow.  With 100 elements in the table it responds in
> about 5 seconds, with 300 elements the web browser times out.
> 
> Didier replies:
> Can you send me a sample of you XML doc (the one having 100 elements) I'll
> try it in a different environement and give you back the time it took to be
> transformed.

I have put a copy of the untransformed documents (both with 100 and 300
elements (approx)) in http://www.mip.sdu.dk/~ravn/100-300.zip

I have since tried with the Internet Explorer which times out after about
6 minutes.

> To get a better benchmark, I have some other questions for you:
> a) (for 100 elements) is it taking 5 seconds on the second time and third
> time you request the document? I am asking you that to see if the just in
> time compiler change anything in the response time.

The 5 seconds is a rough estimate.  I believe that the running time
consistently is a few seconds even after being requested more than
once.  Please note that this is perfectly fine - this machine is rather
slow, and this is not for production use.   I just have a feeling that the
way I do it is not the right way.

Thank you for any help.

-- 
  Thorbjørn Ravn Andersen               "...plus...Tubular Bells!"
  http://www.mip.sdu.dk/~ravn


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


Current Thread