-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issue while rendering PDF #3448
Comments
In order for anyone to be able to look into this issue, you have to provide more information about the problem you are experiencing:
|
PDF.js Version : 0.8.291 |
It's hard to look into this if we do not have the PDF file that's causing you trouble. Could you post a link to the PDF file that is slow for you? |
Hi, |
Strangely, this PDF is very fast for me. It renders in ~1 second and when zooming in, the redrawing process also takes ~1 second... Might have something to do with hardware accelleration being on for me. |
Please can you tell me on which browser you have checked this PDF. |
Scanned documents will be slower than normal PDFs. In this case it's JBIG2 encoded image. It will be faster on the desktop computers. We will be looking into improving performance (e.g. using asm.js) soon. |
ok Thank you so much. |
Hi yurydelendik, |
@samdemo FYI: I'm using Firefox 22 (with hardware acceleration on), Windows 7 x64 and the latest pdf.js development build. |
Hi timvandermeij, |
Hi, yurydelendik |
@samdemo I'm currently using PDF.js version 0.8.315. |
I have also tested using this version and in same hardware configuration, but its strange it behaves same as before. |
@yurydelendik |
Loads even faster now on Windows 7 x64, Firefox 22 (HWA on) and PDF.js development, but when zooming in quickly, I get: Warning: Unhandled rejection: TypeError: font is undefined in the console. |
Closing as fixed. Renders within a second now due to many new patches and the warning no longer appears. |
PDF rendering is very slow
Actual:
Expected:
The text was updated successfully, but these errors were encountered: