Summary: | pdftops needs hours to convert this 10MB pdf | ||
---|---|---|---|
Product: | poppler | Reporter: | Urs <urs.beckmann> |
Component: | splash backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | stefan.bruens |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
sample pdf
valgring --tool=callgrind okular runsforever-poppler.pdf |
Description
Urs
2016-06-29 15:02:38 UTC
This is an particularly "unfriendly" PDF. It contains a vectorial map, the map shows several hundreds of trees, and each tree crown is drawn as hundreds of branches. Apparently the trees are drawn as lineart. According to valgrind, the majority of the time is spent calculating path intersections, i.e. in SplashXPathScanner::computeIntersections(...). Not only pdftops is slow, but also okular, thus I have changed the component. Created attachment 139603 [details]
valgring --tool=callgrind okular runsforever-poppler.pdf
I think this can be marked as a duplicate of 78728 Don't assign bugs to me. you remove them from the mailing list and people stop receiving the emails. Are you sure pdftops slowdown has to do with SplashXPathScanner too? AFAICS pdftops rasterizes the whole document, so this seems reasonable. I am currently running pdftops inside valgrind, this may take some more hours ... (In reply to Stefan Brüns from comment #5) > AFAICS pdftops rasterizes the whole document, so this seems reasonable. It tries very hard not to do that, but in some cases (like when there are transparencies that afaik are not supported in ps) it has to. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/57. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.