Re: [xsl] IE / FF diferent performance doing XSLT

Subject: Re: [xsl] IE / FF diferent performance doing XSLT
From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx>
Date: Mon, 12 Sep 2005 11:35:44 +0200
On 9/8/05, Antsnio Mota <amsmota@xxxxxxxxx> wrote:
> Hello:
>
> I have this XSLT that takes about 2 secs on IE but on FF takes 20
> secs!!! and others that take up to 5 times more in FF than IE.
>
> Digging a little i think the cause for the 2/20 diference lies on a
> recursive template my xslt is calling.
>
> Anyone had this experince before? Anybody has some advice or help?

I can just say that different processors have different optimisations.
MSXML3 (or 4?) is actually quite optimised in most regards. When going
from VB6 using MSXML4 to .NET (using the .NET version of XSL
transformer), I had to rewrite several templates to use keys. The same
templates where suddenly unbearably slow using for-each and
preceding-sibling.

Therefore, no one can really help you here, I think. You will need to
reqrite and test yourself, untill you come up with a solution that is
fast enough on both browsers. Alternatively, you may be able to
persuade FF to optimise their XSL transformer in this regard.

About <xsl:message>, I have no idea.

Regards,
Ragulf Pickaxe :-)

Current Thread