-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Increase delay between blocks of typesetting to improve responsiveness #17
Comments
Is testing this simply a matter of skipping typesetting, running pre-processing, then finding each equation and manually processing them according to some programmable schedule? |
No, it is easier than that. In MathJax.js, lines 1386 and 1387 are
which are what cause MathJax to pause briefly to allow the screen to update (to show newly typeset equations or respond to user interaction). This happens when the typesetting time has exceeded a threshold given by We should look into changing Davide |
Well, I did some tests, and it looks like changing both the delay and the |
OOPS, forgot I had started this issue already, so I started another. This is handled in the code submitted in issue #20, so I'm closing this issue. |
It might be worth trying out a longer delay between spurts of typesetting to see if that improves the browser's responsiveness during the typesetting phase. This may make the typesetting take longer, since there will be longer delays during the process, but currently the responsiveness is pretty bad. Not sure if it will really help, because when the typesetting os a single equation gets to be long enough, there isn't much we can do to be responsive while that is going on.
Davide
The text was updated successfully, but these errors were encountered: