[
https://issues.apache.org/jira/browse/PDFBOX-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018599#comment-14018599
]
Petr Slaby commented on PDFBOX-2117:
------------------------------------
A side note: In my test suite, I am rendering 300 PDF documents into AFP, PCL
or PostScript via PDFBox put on top of our software. Currently, we are using
PDFBox 1.7.x with many modifications we did in the past. I want to jump back on
the main stream train and one of my expectations was that 2.0 would be faster.
Unfortunately, the opposite seems to be true. In a scenario which takes 260
seconds with the old version (already way too slow), the new version needs 480
seconds to complete. I will spend some time with profiler now and try to tackle
the performance hotspots I find.
> AxialShadingContext is slow
> ---------------------------
>
> Key: PDFBOX-2117
> URL: https://issues.apache.org/jira/browse/PDFBOX-2117
> Project: PDFBox
> Issue Type: Bug
> Reporter: Petr Slaby
> Attachments: AxialShading.patch
>
>
> AxialShadingContext#getRaster() is on top of profiler hot spots in documents
> that use an axial shading. Inside it, the slowest part is calling
> PDColorSpaceRGB#toRGB() and PDFunctionType3#eval() (in this order).
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)