You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Argyn Kuketayev <Ar...@plateau.com> on 2002/06/15 01:07:28 UTC
FOP serializer is 4-5 times slower in C2.0.3 than from command li
ne
I've a pipeline with
1 XSP (generates content) - 1.7 seconds
2 XSL (transforms it to XSL-FO) - 2.7
3. FOP (serializes into PDF) - 14.3
I measured time by terminating each step with xml serializer to see the
ouput in a browser.
My concern is the last step. When I ran FOP 0.20.3 from the command-line, it
takes me 2.5 seconds to ouput the PDF from xsl-fo file, and 2.8 seconds from
xml file with xsl stylesheet. I used the xml file from step 1, xsl-fo file
from step 2, and the same xslt stylesheets as in Cocoon.
So, PDF generation from Cocoon with FOP takes more time than from
command-line. I'm in trouble, my friends. I may end-up spending this
week-end to figure out what's going on, and would appreciate any tips.
thanks a lot,
Argyn
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: FOP serializer is 4-5 times slower in C2.0.3 than from command line
Posted by Mark Arnold <ms...@gmx.net>.
You call Cocoon as a servlet using CocoonServlet, right?
If so, try to write your own little FOP/PDF servlet that calls the FOP library rather than the cocoon one.
Curious about what kind of performance you get then...
MARK
-----Original Message-----
From: Argyn Kuketayev [mailto:Argyn.Kuketayev@plateau.com]
Sent: Friday, June 14, 2002 4:07 PM
To: Cocoon-Users (E-mail)
Subject: FOP serializer is 4-5 times slower in C2.0.3 than from command
line
I've a pipeline with
1 XSP (generates content) - 1.7 seconds
2 XSL (transforms it to XSL-FO) - 2.7
3. FOP (serializes into PDF) - 14.3
I measured time by terminating each step with xml serializer to see the
ouput in a browser.
My concern is the last step. When I ran FOP 0.20.3 from the command-line, it
takes me 2.5 seconds to ouput the PDF from xsl-fo file, and 2.8 seconds from
xml file with xsl stylesheet. I used the xml file from step 1, xsl-fo file
>from step 2, and the same xslt stylesheets as in Cocoon.
So, PDF generation from Cocoon with FOP takes more time than from
command-line. I'm in trouble, my friends. I may end-up spending this
week-end to figure out what's going on, and would appreciate any tips.
thanks a lot,
Argyn
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>