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 2018/03/12 17:04:00 UTC

[jira] [Updated] (PDFBOX-4150) Optimize clipping text rendering modes

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

Tilman Hausherr updated PDFBOX-4150:
------------------------------------
    Description: 
I noticed that the file from PDFBOX-2035 needs 210 seconds on my new PC. The profiler shows that much time is lost in {{java.awt.geom.AreaOp.pruneEdges}}. A google search hit the linked SO issue. So I changed PageDrawer. Times on new PC with energy setting to maximum:
 - PDFBOX-1350: 53 secs before, 12 secs after
 - PDFBOX-2035: 210 secs before, 9 secs after
 - all tests: 424 secs before, 247 secs after (the difference is mostly because of PDFBOX-2035 which prevents termnination of the test)
 - all tests except the two: 246 secs before, 230 secs after

  was:
I noticed that the file from PDFBOX-2035 needs 210 seconds on my new PC. The profiler shows that much time is lost in {{pruneEdges}}. A google search hit the linked SO issue. So I changed PageDrawer. Times on new PC with energy setting to maximum:
 - PDFBOX-1350: 53 secs before, 12 secs after
 - PDFBOX-2035: 210 secs before, 9 secs after
 - all tests: 424 secs before, 247 secs after (the difference is mostly because of PDFBOX-2035 which prevents termnination of the test)
 - all tests except the two: 246 secs before, 230 secs after


> Optimize clipping text rendering modes
> --------------------------------------
>
>                 Key: PDFBOX-4150
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4150
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.8
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: optimization
>
> I noticed that the file from PDFBOX-2035 needs 210 seconds on my new PC. The profiler shows that much time is lost in {{java.awt.geom.AreaOp.pruneEdges}}. A google search hit the linked SO issue. So I changed PageDrawer. Times on new PC with energy setting to maximum:
>  - PDFBOX-1350: 53 secs before, 12 secs after
>  - PDFBOX-2035: 210 secs before, 9 secs after
>  - all tests: 424 secs before, 247 secs after (the difference is mostly because of PDFBOX-2035 which prevents termnination of the test)
>  - all tests except the two: 246 secs before, 230 secs after



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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