It's a plain Tomcat 4.0.4 installation running under a Jdk1.4.0. Furthermore, the profiler tells me that most of the time is spent
in PdfWriter.createInstance. Looks quite strange to me...


Best Regards,

J�rgen

Paulo Soares wrote:

It looks like a problem with the class loader of your servlet container. No
heavy initializations are done as you can check with the command line speed.

Best Regards,
Paulo Soares

----- Original Message -----
From: "J�rgen Lind" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 13:04
Subject: [iText-questions] PdfWriter createInstance performance hit


Hi,


while playing around with itext for some time to see if it fits in our
project, I stumbled over some strange behavior: whenever I create a
iText PdfWriter within a servlet, the creation time jumps up to about
10 seconds for the first invocation of createInstance. All subsequent
invocations are then much faster.

Two things I would like to know:

* what is the PdfWriter.createInstance method doing upon the first call
   (I would guess some heavy initialization)

* how come that the creation time within a servlet container ist much
   higher than it is when creating it from a command line program
   invocation

Any help appreciated,

J�rgen

--
www.agentlab.de



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions





--
Mit freundlichen Gr��en,

J�rgen Lind

--
Dr. J�rgen Lind
iteratec GmbH                Fon: +49 (0)89 614551-44
Inselkammerstrasse 4         Fax: +49 (0)89 614551-10
82008 Unterhaching           Web: www.iteratec.de



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to