|
不同浏览器上的mathjax性能对比:
Remarks on speed
A simple test indicates that the output rendering speed varies greatly across platforms.
For example, on a 2011 macbook pro, rendering (no downloads, everything cached) of en.wikipedia.org/wiki/Matrix_multiplication
Chrome: html: ~2500ms, svg:~1850ms
Safari: html: ~1450ms, svg:~1000ms, mathml: ~300ms
Firefox: html: ~3300ms, svg:~2400ms, mathml:~880ms
Disabling the measurements that HTML needs but SVG doesn't, brings HTML output up to SVG speed (but comes at the cost of rendering quality).
Notes
Safari SVG output is already close to the performance of Firefox Native MathML. But it's hard to judge the 300ms for Safari's MathML since that implementation is incomplete -- it's easy to be fast if you're not doing the job. However, in Safari's defense, the page is within the range of its abilities.
(翻译: Safari 上mathjax的 SVG 输出(1000 毫秒)已经接近 Firefox 上的原生 MathML(880毫秒)。但是 Safari 对 MathML 的实现是不完整的——如果你做更少的工作,自然会就很快。但是,Safari 辩护称,就该测试页面而言,它完全在其能力范围内。)
Another comparison: a copy of the page, with SVG output and equation chunking to 100 (so that it's one go).
Nexus 7, Galaxy Nexus/ Chrome: ~18sec
Nexus 7 / Dolphin Browser: ~8.5sec
iPad (2013) / Safari: ~3sec
iPhone 4 / Safari: ~6sec
on ubuntu 13.04, i7:
Firefox 22: ~2sec
Chromium 28: ~1.6sec
Chrome 29: ~1.7sec
Windows 8 / IE 10: ~2.5sec (virtualbox + Microsoft's free testing VM)
Windows 7 / IE9: ~3sec (virtualbox + Microsoft's free testing VM)
Windows 7 / Firefox 22: ~3.8sec (virtualbox + Microsoft's free testing VM)
Windows 8.1 / IE11: ~3sec (virtualbox + release candidate)
A copy of the page with TeX converted to MathML was ~0.5-1 sec slower. |
|