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

Math editing performance #15

Open
4 tasks
cben opened this issue Nov 22, 2013 · 0 comments
Open
4 tasks

Math editing performance #15

cben opened this issue Nov 22, 2013 · 0 comments

Comments

@cben
Copy link
Owner

cben commented Nov 22, 2013

This is about editing math-heavy text in fully-initialized document; see #14 for init performance (though many improvements there would also help here).

Could Hub.Update() do the job instead a custom caching scheme?!
http://docs.mathjax.org/en/latest/api/hub.html#Update


Easy ways to test:

  • select a big block and press Tab/Shift+Tab.
  • all editing is painfully slow on Android (specifically, Firefox works well but slow).

benweet/stackedit#25 has useful info.

cben added a commit to cben/mathdown that referenced this issue Jun 4, 2015
On a math-heavy 100K doc, speeds up "All math rendered" from 38s to 18s!

#68, cben/CodeMirror-MathJax#14

I was doing early hookMath() and postponing renderAllMath() on the theory
"Queuing this allows text to appear before math."
But doing hookMath() before firepad load already renders all math,
and renderAllMath() does all the work again because there is no caching
(cben/CodeMirror-MathJax#15).
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

1 participant