I really don't know whether we can reduce the creation time of Driver
object. However in a multi-user environment we can reuse the Driver
object (http://xml.apache.org/fop/embedding.html#object-reuse). It would
be better to pool the Driver object and the renderer object and reuse
them across multiple invocation, you might end-up saving few seconds.
Regards,
Ganesh
-----Original Message-----
From: Kodandapani A. [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 5:09 PM
To: [EMAIL PROTECTED]
Subject: Huge time in creating Driver object...
Hi,
While creating org.apache.fop.apps.Driver object, to set logger
and
renderer,
is taking very longtime compare to transformation and other activities.
Sample times in Milli seconds, Total pdf conversion is taking 5624
millis In that,
- Creating Driver object taking 3015 millis
- Setting renderer taking 250 millis
- Transformation is taking around 1890 millis
- Remaining some miscellaneous activities.
>From the above statistics, it is clear that, creating Driver object is
taking huge time. My statement looks like
private Driver m_driver = null;
private void init()
{
m_driver = new Driver();
}
Can we reduce the time taken to by above statement. Can it be solvable.
Thanks & rgds
- KP
DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses and
defects. MindTree Consulting Private Limited (MindTree) will not be
responsible for any viruses or defects or any forwarded attachments
emanating either from within MindTree or outside. If you have received
this message by mistake please notify the sender by return e-mail and
delete this message from your system. Any unauthorized use or
dissemination of this message in whole or in part is strictly
prohibited. Please note that e-mails are susceptible to change and
MindTree shall not be liable for any improper, untimely or incomplete
transmission.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.
***************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]