Hello Paulo,

I am perfectly aware of the benefits of iText, that's why I proposed it for our 
project in the first place but it can be hard to convince the team lead and 
colleagues to switch to a framework when it comes at a performance toll of 30% 
overhead for the use-case at hand.
 
I didn't mean to start a flame but was actually fishing for rewrite 
alternatives to improve the performance of our use-case ... 
 
Best regards,
Giovanni

============================================================================== 
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
<http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html>  
============================================================================== 
________________________________

From: Paulo Soares [mailto:[email protected]] 
Sent: Tuesday, April 20, 2010 2:48 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] performance question

Hmm, there are lies, damn lies and statistics. While I don't dispute the 30% 
let's see the probable causes for this:
 
- iText tries to do things correctly avoiding to cut corners that will come and 
bite your later. Metadata writing, appearance generation and so on.
 
- iText is a generic PDF library. It reads, writes and modifies PDFs. Any 
library designed with a narrower purpose can optimize the interested areas to 
perform better.
 
- iText comes with source and can be extended, modified, altered. This implies 
that a sensible and probably heavier structure must be in place to allow that. 
If you have a closed source library with just a single purpose things can be 
done faster as that's all it's going to do.
 
- com.itextpdf.text.pdf.PdfStamperImpl.close() is where everything is written 
to file, if you avoid calling this nothing will come out.
 
- There are some speed and memory improvements in the pipeline but I don't know 
how much % improvement will result or in what areas.
 
Paulo
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to