You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Daniel Wilson <wi...@gmail.com> on 2009/09/14 15:56:54 UTC

Performance boost over the weekend!

Something was done that seriously improved performance in the rendering
area. The test set I was running was taking over 10 minutes on Saturday and
took 3 minutes, 4 seconds this morning.

I think it was the change Jukka made to the color space handling so that
much less creation of new objects was going on.  I can't prove that ... but
something helped a lot.

Between that, the improvements Andreas made regarding fonts, and the patches
Andrew provided, this weekend has shown both the correctness and the time
required improving significantly!

I'm putting my customer on 0.8.1 as quickly as I can.

Re: Performance boost over the weekend!

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Sep 14, 2009 at 3:56 PM, Daniel Wilson
<wi...@gmail.com> wrote:
> Something was done that seriously improved performance in the rendering
> area. The test set I was running was taking over 10 minutes on Saturday and
> took 3 minutes, 4 seconds this morning.
>
> I think it was the change Jukka made to the color space handling so that
> much less creation of new objects was going on.  I can't prove that ... but
> something helped a lot.

I can verify that the color space caching I added gives this
performance boost. I didn't consider of it as a performance
enhancement at first, thinking that at least it won't harm things, but
now that I measure it, the difference is pretty amazing...

For a 20-page comic PDF with lots of ICC colors, the PDFToImage
rendering time has dropped from four *minutes* to just over five
*seconds* with identical output!

What a nice side-effect. :-)

BR,

Jukka Zitting