You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2020/05/24 09:31:00 UTC

[jira] [Created] (PDFBOX-4844) Pass resourceCache to patterns

Tilman Hausherr created PDFBOX-4844:
---------------------------------------

             Summary: Pass resourceCache to patterns
                 Key: PDFBOX-4844
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4844
             Project: PDFBox
          Issue Type: Improvement
          Components: Rendering
    Affects Versions: 2.0.19
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.20, 3.0.0 PDFBox
         Attachments: gs-bugzilla702386-veryslow.pdf

The attached file has many patterns and renders extremely slowly. The remark by Ray Johnston in the attached ghostscript (mentioning that the patterns were using only 2 images) made me have a deeper look - it turns out we don't pass our resource cache to tiling patterns.

Before change: 88 seconds
After change: 20 seconds



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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