Bug 26759 - poppler is too slow when opening files with heavy Object Stream usage
Summary: poppler is too slow when opening files with heavy Object Stream usage
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-25 13:28 UTC by Pablo Rodríguez
Modified: 2010-06-14 12:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pablo Rodríguez 2010-02-25 13:28:15 UTC
I have just discovered that evince (and also xpdf) is much slower
dealing with PDF 1.5 documents than it is with the same document in PDF 1.4.

Here you have the test files (both generated with the same XeLaTeX binary):

http://www.tei-c.org/release/doc/tei-p5-doc/en/Guidelines.pdf (PDF 1.4)
http://users.ox.ac.uk/~rahtz/Guidelines.pdf (PDF 1.5, much smaller)

Evince and pdfinfo show a huge difference when opening both versions and
acroread 9.3 and mupdf-r938 show a 25-30% time increase when opening the PDF 1.5 version.

Tests bellow. Guidelines.pdf is the PDF 1.5
document and TEI_Guidelines.pdf is the PDF 1.4 document.

I hope it helps,


Pablo



time evince TEI_Guidelines.pdf
real	0m15.900s
user	0m1.504s
sys	0m0.192s

time evince Guidelines.pdf
real	0m29.384s
user	0m26.510s
sys	0m0.320s

time pdfinfo TEI_Guidelines.pdf
real	0m0.253s
user	0m0.220s
sys	0m0.024s

time pdfinfo Guidelines.pdf
real	0m16.328s
user	0m15.433s
sys	0m0.116s

time acroread TEI_Guidelines.pdf
real	0m5.828s
user	0m3.220s
sys	0m0.520s

time acroread Guidelines.pdf
real	0m6.297s
user	0m4.132s
sys	0m0.460s

time mupdf TEI_Guidelines.pdf
real	0m1.670s
user	0m0.264s
sys	0m0.028s

time mupdf Guidelines.pdf
real	0m2.106s
user	0m0.384s
sys	0m0.020s
Comment 1 Pablo Rodríguez 2010-06-13 11:13:30 UTC
I think that there is an important issue to be taken into account to provide a patch for the current stable release (0.14).

Many of poppler users are TeX users. One of the main TeX distributions is TeXLive, that in its next version (2010) will provide in the PDF generators the PDF 1.5 version as a default for new documents.

Probably the difference will be negligible in documents with less than 10 pages, but it may make a difference in books, that is in documents over 100 pages.

Just in case it helps,


Pablo
Comment 2 Albert Astals Cid 2010-06-13 11:21:57 UTC
http://users.ox.ac.uk/~rahtz/Guidelines.pdf is 404 Not Found
Comment 3 Pablo Rodríguez 2010-06-13 12:24:41 UTC
http://www.ousia.tk/Guidelines_1.4.pdf (version 1.4)
http://www.ousia.tk/Guidelines_1.5.pdf (version 1.5)
Comment 4 Albert Astals Cid 2010-06-14 11:20:53 UTC
Will be fixed in 0.14.1
Comment 5 Pablo Rodríguez 2010-06-14 12:49:41 UTC
Many thanks for the fix, Albert.

Pablo


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.