How big is your dataset?  What hardware, etc?

On 11/30/2011 02:03 AM, Theresa Jayne Forster wrote:

Good Morning/Afternoon/Evening people.

I am hoping that someone can at least point me in the right direction I am having a big problem with the 1.0 version of FOP

 

My code to prepare the XML and XSL and get it ready to create a PDF is running ok, and I have had to do some benchmarks to try and determine what is going on,

 

I create a FopFactory at initialisation time using a global variable and static method to instantiate on load.

 

To get a fop from this takes 2431 Milliseconds

Processing Files in Fop Processor **

Creating New Fop

Creation of Fop took 2431 Miliseconds

            Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF,useragent,out);

 

But then the big problem is when I transform the XSL / XML into PDF it is taking forever to generate

 

Creating PDF

Creation of PDF took 106384 Miliseconds

            transformer.transform(src, res);

 

Why is this taking so long and is there any way to get it working faster?

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer

[email protected]
www.inbrand.co.uk

Tel: 01483 266500

 

 

IMPORTANT NOTE: This transmission has been sent by or on behalf of In Brand Software Ltd. The information in this transmission is for the intended addressee only and is confidential to that intended addressee. If either you know or you ought reasonably to conclude that you are not, or may not be, the intended addressee, you are hereby given notice that any unauthorised dissemination or copying of this transmission and any disclosure or use of the information
transmitted is strictly prohibited and may be illegal. In such circumstances we ask for your assistance in notifying us immediately by e-mail, telephone or letter.

InBrand Software Ltd Registered in England No. 5131004 Registered Office: The Old Barn, Ewhurst Road, Cranleigh GU6 7EF

 

Reply via email to