You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/03/12 17:16:00 UTC
[jira] [Commented] (PDFBOX-4150) Optimize clipping text rendering
modes
[ https://issues.apache.org/jira/browse/PDFBOX-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16395535#comment-16395535 ]
ASF subversion and git services commented on PDFBOX-4150:
---------------------------------------------------------
Commit 1826578 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1826578 ]
PDFBOX-4150: speed up by appending to a path instead of adding to a shape, as suggested by fonkap on stackoverflow
> 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