xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alistair Hopkins" <alist...@berthengron.co.uk>
Subject RE: Java XSLT performance question
Date Thu, 16 Aug 2001 08:08:32 GMT
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

-----Original Message-----
From: Chad Johnson [mailto:chadj@leary.csoft.net]
Sent: Thursday, August 16, 2001 6:27 AM
To: general@xml.apache.org
Subject: Java XSLT performance question


Hey,
  Here's a question that has been bothering me for a few days.  I've been
attempting to utilize XML and XSL as the VIEW portion of MVC (Xerces /
Xalan D9, on linux [p3 500 512ram], tried both sun's and ibm 1.3.x jdk)
for web developement with Java.

What I'm seeing is atleast a 1 second (if not slightly longer) execution
time coupled with a maxed out cpu on a very simple transform (the provided
SimpleTransform sample with striped down xsl and xml files).  Here's the
question:  Is that normal?

I've also run the same app on a win2k box and have had similar results so
I'm lead to believe yes.

If it is normal, the obvious conclusion is that web developemnt utlizing a
transform per page view just isn't feasable.  Am I making a correct
assumption?

I'm by no means a Java or XML/XSL guru so feel free to slap me around bit.

-Chad Johnson


---------------------------------------------------------------------
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



---------------------------------------------------------------------
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