[
https://issues.apache.org/jira/browse/PDFBOX-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063145#comment-14063145
]
Tilman Hausherr commented on PDFBOX-2117:
-----------------------------------------
Thanks I will test these later today and come back to you.
We don't close issues, we set them to "resolved", I'll do this for this
sub-issue when I've committed your changes.
Re "optimization of other types", yes, please try the same optimization you did
on 6 and 7 on shadings 4 and 5 and observe if the last page of ch14.pdf is
rendered faster. (I attached that to PDFBOX-1915 earlier)
> AxialShadingContext is slow
> ---------------------------
>
> Key: PDFBOX-2117
> URL: https://issues.apache.org/jira/browse/PDFBOX-2117
> Project: PDFBox
> Issue Type: Sub-task
> Components: Rendering
> Reporter: Petr Slaby
> Attachments: 000001_MTEXT_CS6.pdf, AxialShading.patch,
> AxialShading1.patch, AxialShadingContext.java.getrgbimage,
> GWG061_Shading_x1a.pdf, GWG061_Shading_x1a.pdf-1.png,
> GWG061_Shading_x1a.pdf-1.png-diff.png, Shading2Function2.pdf,
> Shading2Function2.ps, Shading2Function2text.pdf, asy-shade.pdf,
> color_gradient.pdf, shading_pattern.pdf
>
>
> 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)