3 ms·
If you (or anyone else with time...) want to be a true hero, figure out why font changes for text on canvas is a magnitude or more slower on Firefox than Chrome
by vidarh 13y ago
If you (or anyone else with time...) want to be a true hero, figure out why font changes for text on canvas is a magnitude or more slower on Firefox than Chrome.
At least on the versions I've tested...
I have an app that places a few hundred text labels on a canvas, and on Chrome I can do that smoothly in a single callback. For firefox I had to use a hack with a queue that is processed a few items at a time with setTimeout() to prevent it from stalling the UI for many seconds... Even so, the experience is still worse on Firefox.