When opening the following document (a simple set of slides from a Coursera course), evince spends a bunch seconds churning CPU, and then also often from going from a slide to another:
AFAICT this is with poppler 0.30.0.
The Linux perf tool shows me that there is a lot of time spent in cmsEvalToneCurveFloat() function when rendering this document. If you disable CMS in CMake (-DENABLE_CMS=OFF), the problem disappears. If you switch to lcms1 (instead of lcms2; -DENABLE_CMS=lcms1), it's slower than without CMS, but faster than with lcms2. I'm not familiar with this library, so unfortunatelly I can't write any patches which would fix it with lcms2.
-- 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/93.