Hi

I get big perfomance difference between iText030 and iText_paulo94 (jdk1.1)

The PDF is generated on the fly by servlets.
The PDF has a footer and a header (very simple and the same for each page), the body 
of each page is a one column table, for each cell (each line) of the table, there is 
only one long chunk (the chunk takes page width).
My PDF example has 1024 lines, and the PDF takes 15 pages.

>From begining of creating PDF (x = new Document(); ...) to end of creation 
>(document.close()) :

With iText030 :  4s server time
With iText094 : 32s server time

The only difference between 030 and 094 version is :
for 030 : Watermark logoFT = new Watermark(filename, 0, 575);
for 094 : Watermark logoFT = new Watermark(Image.getInstance(filename), 0, 575);

all others lines of my code are identical. Data shown in PDF are identical, web 
server, database, etc... all is the same !

I do not understand why perfomances are so different.
Any idea ?

Thanks.

kind regards
Philippe


_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to