xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chad Johnson <ch...@leary.csoft.net>
Subject RE: Java XSLT performance question
Date Thu, 16 Aug 2001 14:39:11 GMT
Hey,
  Yes, currently I am parsing the stylesheet every page view.  Just a note
of clarification.  When I say '1s execution time' I'm talking about the
total time the application takes to fire up, do the transform, then stop.

  What methods would you suggest to skip the translation step every page
view?

  I gave XSLTC a whirl.  And while working with the translet was faster,
and less CPU intensive it was still was by no means sleek (50% cpu
spike).

  Another route I could see would be to 'cache' the Transformer in a
bean.....

  Thanks for the input.

-Chad

-----Original Message-----
From: alistair@berthengron.co.uk
Sent: Thursday, August 16, 2001 6:27 AM
To: general@xml.apache.org
Subject: Java XSLT performance question


Are you parsing the stylesheet with each page view?  This will cause the
delay.

I don't think it's the fastest but I'm doing fairly complex transforms in
~
.1s on a similar box

Al

http://xml.apache.org/xalan-j/usagepatterns.html#embed



---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message