Open zxteloiv opened 8 years ago
Thanks. Yes, I can reproduce it. It's REALLY slow, taking about 5s to open that note on my laptop.
The reason is that there are a lot of LaTeX equations, and MathJax rendering is slow. I also tried in maxiang.io, and rendering the equations there also takes a long time (look at the preview, the equations show up slowly one by one), but it didn't block the UI, so the user experience is better.
I will make a change to render equations asynchronously, so at least it doesn't block the UI so switching notes won't take this long.
I feel it very slow when switching between different notes. I guess it is because the note contains a bit more latex contents.
Originally the notes are in markdown format and the formulae are in a markdown cell along with other text. I've tried to split it into several cells and convert into a latex cell, which doesn't help. However if the note is splitted into different notes, the opening speed returns back to normal.
I ever wrote the content in two other markdown editors, namely https://maxiang.io/ and https://www.zybuluo.com/mdeditor, where neither opening nor rendering the note takes that long.
My environment is
Here's a video to tell the speed difference if it helps: https://www.instagram.com/p/_QtnXHqsZ9/ And here's the sample note I exported in Quiver format: http://7xoweb.dl1.z0.glb.clouddn.com/sp_note-sample.qvnote.tar.gz
Thanks.