3 ms·
> Very few web applications are CPU bound to the point of locking the UI. It comes up regularly around here. We've had to resort to all kinds of ugly workaroun
by vidarh 14y ago
> Very few web applications are CPU bound to the point of locking the UI.
It comes up regularly around here. We've had to resort to all kinds of ugly workarounds (such, as, e.g. chunking work and running small pieces off setTimeout() or requestAnimationFrame). A simple thing like changing fonts on the Canvas more than a couple of things can kill any hope of a responsive UI unless you very carefully manage your rendering, depending on browser (Canvas font handling is ok on Chrome, and ridiculously slow on Firefox, for example).