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

Very slow perf on large diagram #647

Closed
samth opened this issue Oct 10, 2011 · 12 comments
Closed

Very slow perf on large diagram #647

samth opened this issue Oct 10, 2011 · 12 comments

Comments

@samth
Copy link

samth commented Oct 10, 2011

This pdf: https://www.ideals.illinois.edu/bitstream/handle/2142/25816/ellison-rosu-2011-tr-b.pdf?sequence=4 has some large figures (page 15, for example) that run very very slowly in pdf.js (they bring up the slow script dialog in Firefox).

@arturadib
Copy link
Contributor

Hi, have you tried it with our latest code from the master branch? Also, what platform and browser version are you using? It shows pretty fast here (latest code, OS X, FF 9).

On the other hand, the math symbols on pp. 17-18 do seem to be broken.

@samth
Copy link
Author

samth commented Oct 10, 2011

I still get this behavior from the current live demo on andreasgal.github.com/pdf.js/. This is with Firefox 10.0a1 from 10/10 (ie, today) on Linux. I can supply more info about my machine if needed.

@arturadib
Copy link
Contributor

Ah, sorry, we're working on updating that web site more frequently - for now the most up-to-code lives in the Github repo itself, so you might have to clone/download it to your disk: https://github.com/andreasgal/pdf.js

Thanks!

@samth
Copy link
Author

samth commented Oct 10, 2011

I still see Slow Script dialogs with the latest master in the Git
repo, although overall it somewhat faster on that document.

@arturadib
Copy link
Contributor

OK I'm tagging this as performance. @brendandahl @notmasteryet any of you have access to Linux to reproduce this performance issue?

@joneschrisg
Copy link
Contributor

#635 should make the slow-script warnings go away, but there still might be a perf win to be had here.

@jviereck
Copy link
Contributor

#635 doesn't enable web workers right now, but once it's in, there's huge space of options to make things get faster :)

@samth
Copy link
Author

samth commented Oct 31, 2011

Just as an update, the slow-script warnings are now gone (as of current master), but the performance problems are still there. To see them (at least on Linux w/ FF Nightly 10/28) scroll down to the second half of the document, and drag the scroll bar around a lot. Eventually, Firefox becomes unresponsive for long periods of time.

@samth
Copy link
Author

samth commented Aug 3, 2012

Another update: FF no longer becomes unresponsive, but the document is still quite slow.

@timvandermeij
Copy link
Contributor

Renders fast for me, but I do notice a lot of symbols missing from page 15 and on... using Firefox 20 with HWA on, Windows 7 64-bit and pdf.js development build.

@brendandahl
Copy link
Contributor

Performance seems acceptable on linux, windows, and osx. I'd like to close this issue unless there's some more concrete goal in mind else it will never be closed.

There still seems to be an issue with the symbols, but lets open a new issue for that.

@timvandermeij
Copy link
Contributor

I agree. The performance is OK now, but another issue should be opened for all missing symbols. I have done that now (see #3672), so closing this.

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

No branches or pull requests

6 participants