Bug 690766

Summary: performance issue with CATX9297.pdf
Product: MuPDF Reporter: Ralph Giles <ralph.giles>
Component: mupdfAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sebastian.rasmussen
Priority: P4    
Version: unspecified   
Hardware: Macintosh   
OS: MacOS X   
Customer: Word Size: ---

Description Ralph Giles 2009-09-14 13:16:48 UTC
Running the file CATX9297.pdf from the regression suite at high resolution is
very slow with mupdf.

At 100 dpi, the speed is comparable to gs. At 600 dpi, gs renders the document
(ppmraw) in 20 seconds, but mupdf (or pdfdraw) takes over 10 minutes.
Comment 1 Tor Andersson 2010-05-14 22:52:21 UTC
Excessive use of clip masks exposes the inefficient manner in which mupdf handles clipping.
Comment 2 Sebastian Rasmussen 2010-05-16 15:35:30 UTC
My rudimentary debugging indicates that the following PDF might suffer from the same issue:

http://www.planetpdf.com/forumarchive/shaar(2).pdf

MuPDF renders it in 47secs on my machine, while evince manages to do it in 10secs and xpdf in 2(!)secs. Maybe we should take care to do clipping in a better way after all...
Comment 3 Tor Andersson 2010-05-20 22:21:47 UTC

*** This bug has been marked as a duplicate of bug 691317 ***