For some reason http://lib.tkk.fi/Dipl/2002/urn007413.pdf is slow. When scrolling it things are rendered incrementally, which is nice since it doesn't block UI, but slowly. If my profiling is right, most of the time is spent somewhere under CanvasRenderingContext2D. I wonder if pdf.js is using the canvas in most optimized way, or is there something to fix in canvas implementation. (This is on Linux, so cairo certainly shows up in the profiles too)
I have also seen this, it seems to be caused by Type 3 fonts, which are exceptionally slow to render in pdf.js. Other viewers do fine. Comparing output, in pdf.js each instance of a letter looks different, whereas in say Acrobat each looks the same. So maybe pdf.js is rendering each letter every time instead of caching the glyphs?
Bug 1054161 should help by speeding up the text layer. Actually... the text layer is all messed up for this document. There are plenty of text divs but they all contain junk, and the text isn't selectable or searchable for the most part.
Depends on: 1054161
Summary: Processing http://lib.tkk.fi/Dipl/2002/urn007413.pdf is slow → Processing http://lib.tkk.fi/Dipl/2002/urn007413.pdf is slow, and its text layer is all messed up
You need to log in before you can comment on or make changes to this bug.