When reading the TOC of large files (> 100MB size; 10000+ pages) the function Poppler::Document::toc() is awfully slow (approx. 10-20 seconds) while the Adobe Reader opens the same file in an instant.
We'll need that file
It is impossible to send the file because it contains the documentation to our proprietary SW.
Without the file, we can't profile the code and we can't check if we've fixed the problem or not, so don't expect a fix to appear anytime soon.
I have done some tests with Okular (Win32, KDE v4.8.0, poppler v0.18.1) displaying files that are available on the net. 1.) Texas Instruments OMAP4460 SoC (~26MB, ~5600 pages) http://www.ti.com/pdfs/wtbu/OMAP4460_ES1.x_PUBLIC_TRM_vN.zip 2.) TikZ & PGF manual v2.10 (~5MB, ~700 pages) http://pgf.sf.net/ Both files have noticeably longer loading times compared to thge Adobe Reader. My guess is that files are completely scanned during the loading process. Perhaps this is why my HDD shows a lot activity when opening the above mentioned large file (>100MB, >10000 pages). Sorry for the inconvenience but the two files listed above won't attach to the this bug report.
-- 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/325.
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.