Page MenuHomePhabricator

Mathjax is very slow with webfonts
Closed, InvalidPublic

Description

If you enable Mathjax and webfonts, it takes good several seconds to render the page correctly.

how to reproduce:

  1. go to https://or.wikipedia.org and choose a webfont
  2. change in preference the math render to mathjax
  3. open https://or.wikipedia.org/wiki/Mathematics

I'm using a relatively new computer (less than a year old) with 6GB ram and a core i5, with Ubuntu 12.04 on firefox 14. This souldn't take so long on such hardware.

On chrome it is worse.


Version: unspecified
Severity: normal

Details

Reference
bz38751

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:05 AM
bzimport set Reference to bz38751.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

If you enable Mathjax and webfonts, it takes good several seconds to render
the
page correctly.

how to reproduce:

  1. go to https://or.wikipedia.org and choose a webfont
  2. change in preference the math render to mathjax
  3. open https://or.wikipedia.org/wiki/Mathematics

I'm using a relatively new computer (less than a year old) with 6GB ram and a
core i5, with Ubuntu 12.04 on firefox 14. This souldn't take so long on such
hardware.

On chrome it is worse.

I face the same problem too, it is even worse on a mobile phone. And this the same problem every wiki with webfonts face.

(In reply to comment #1)

I face the same problem too, it is even worse on a mobile phone. And this the
same problem every wiki with webfonts face.

I don't understand, do you mean that on wikis *without* webfonts it's not as slow? Or how do you know it's webfonts?
Subhashish and matanya, is this still a problem with ULS, which is going to replace webfonts in the next few days? You can test at http://beta.wmflabs.org

physik wrote:

I can not find anything math related at http://beta.wmflabs.org