Skip to content
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

Huge required time to highlight search results in IE #6027

Closed
elarchenko opened this issue May 18, 2015 · 1 comment
Closed

Huge required time to highlight search results in IE #6027

elarchenko opened this issue May 18, 2015 · 1 comment
Labels

Comments

@elarchenko
Copy link

Environment:
MS Windows 7 x64,
MS IE 11

Steps to reproduce:

  1. Open http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf with http://mozilla.github.io/pdf.js/web/viewer.html.
  2. Try to search "sha-1" entry.

Actual results:
First entry will be shown and highlighted after aprox. 50 seconds.

@Snuffleupagus
Copy link
Collaborator

Please note that IE11 is really old, and haven't received meaningful updates/improvements in a couple of years. Besides, it's general JavaScript performance was never great to begin with, a problem that's further compounded by its lack of support for many modern JavaScript features which thus requires polyfills (which are slower than native code).

One possible explanation, besides general slowness of the browser itself, is that the amount of asynchronous code in PDF.js is difficult for IE11 to handle. However, the PDF.js code has/will only become more async over time (also the case with many other JavaScript applications), so there's nothing that can be done here.

This issue is essentially asking for PDF.js developers/contributors to somehow improve the general JavaScript performance of the IE11 browser itself, which is obviously not possible unfortunately; hence closing this as INVALID seems like the appropriate resolution here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants