<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Render is very slow for some files"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76821">76821</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Render is very slow for some files
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aikorsky@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=96640" name="attach_96640" title="Visualization of a part of a call graph">attachment 96640</a> <a href="attachment.cgi?id=96640&action=edit" title="Visualization of a part of a call graph">[details]</a></span>
Visualization of a part of a call graph

Problem is similar to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - 100% CPU usage on files with GfxICCBaseColorSpace use"
   href="show_bug.cgi?id=66928">https://bugs.freedesktop.org/show_bug.cgi?id=66928</a>.

Tested on poppler-0.25.2
Configuration: ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static \
      --enable-cairo-output \
      --enable-xpdf-headers \
      --enable-libjpeg --enable-zlib \
      --enable-poppler-qt4 \
      --enable-poppler-glib

Example file located here <a href="https://razor.blackbeam.org/x.pdf">https://razor.blackbeam.org/x.pdf</a> (sorry for expired
certificate).
Also here is callgrind output <a href="https://razor.blackbeam.org/callgrind.out">https://razor.blackbeam.org/callgrind.out</a> (can be
viewed with kcachegrind).

Also i attached a call graph visualization.

cmsDoTransform is called 6814 times which i think is reasonable due to height
of an image on pdf page. But some funcs from liblcms2 and libm is called more
then 100 000 000 times.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>