Skip Menu |

This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id: 28925
Status: resolved
Priority: 0/
Queue: PDF-API2

Owner: Nobody in particular
Requestors: pwomack [...]

Bug Information
Severity: Wishlist
Broken in: 0.62
Fixed in: (no value)

Download (untitled) / with headers
text/plain 975b
Startup time is too long. Let me expand, because that sounds very critical. I am using PDF::API2 because it is mature and well supported. However, I am currently using it to extract simply meta information from PDF, notably bounding boxes and number of pages in a document. This run very nicely - thank you. But I have noticed (under -d:DPro) that in fact, the majority of the time is being spent in start up, and my actual request is dealt with VERY fast indeed. A brief reading of the code (guided by the profile) reveals that quite a lot of data is read from configuration files, ready for use when modifiying PDFs; since I don't (in fact) do that, this is not desirable. Would it be feasible to defer reading in this data until the user request an actual modification command? Alternatively (since I'm in a minority) would it be possible to have a "don't initialise data structures or import modules used for modification" option, with would be disabled by default?
do you have patches?
Subject: Re: [ #28925]
Date: Mon, 03 Sep 2007 09:04:57 +0100
To: bug-PDF-API2 [...]
From: paul womack <pwomack [...]>
Download (untitled) / with headers
text/plain 528b
Alfred Reibenschuh via RT wrote: Show quoted text
> <URL: > > > do you have patches? >
Good grief, no! I'm (moderately) busy on other projects, and improving performance in an area where people aren't complaining has been pushed down my to do list. I also need to understand rather more of the code than I presently do before making such far reaching changes. I'm only using the read-side of the code, but I need to understand the write-side before altering the initialisation. BugBear

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to