mathjax/MathJax-demos-node

Is it faster than MathJax-node?

fivecakes opened this issue · 1 comments

Is it faster than MathJax-node?

dpvc commented

Yes. Aside from version 3 being 60 to 80% faster than version 2 in general, mathjax-node needed to use the jsdom library to implement a browser DOM in node, and jsdom is relatively slow. MathJax v3 can use a lite DOM implementation that is faster than jsdom. (Jsdom implements lots of functionality that MathJax doesn't need, which accounts for the performance difference.)

I haven't done any formal testing between the two, but preliminary reports from others are that MathJax v3 is considerably faster.