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 Persson (JIRA)" <ji...@apache.org> on 2017/04/24 10:06:04 UTC

[jira] [Updated] (PDFBOX-3764) 100 times performance hit on creating images

     [ https://issues.apache.org/jira/browse/PDFBOX-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Persson updated PDFBOX-3764:
-----------------------------------
    Affects Version/s: 2.0.6

> 100 times performance hit on creating images
> --------------------------------------------
>
>                 Key: PDFBOX-3764
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3764
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 2.0.6
>            Reporter: Daniel Persson
>              Labels: image, performance
>         Attachments: callstack_1.png, callstack_2.png, test.pdf
>
>
> We found that PDFBox creates a better image than poppler so we wanted to switch out our environment to get these improvements but found a file that took about 10 minutes to create one image with PDFBox and only about 6 seconds with poppler. So a 100 times performance hit if we where to change.
> I've done some rudimentary profiling on the code and found that most of the time is spent in ColorConvertOp.filter. Maybe there is a leaner way to implement this in order to get a better result?
> best regards
> Daniel



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org