3 ms·
i also have a lot of canvas-heavy code and use typed arrays pretty extensively. i think that mozilla's canvas implementation is actually the bottleneck here, no
by leeoniya 14y ago
i also have a lot of canvas-heavy code and use typed arrays pretty extensively. i think that mozilla's canvas implementation is actually the bottleneck here, not the JS. chrome's canvas proves to be much faster, though.
- leeoniya 14y agoi reported the issue about a year ago, FYI. https://bugzilla.mozilla.org/show_bug.cgi?id=746773 https://bugzilla.mozilla.org/show_bug.cgi?id=746773
- bzbarsky 14y agoThat issue is basically fixed in most sane code, actually; I just resolved it as such. For example, on http://jsperf.com/pixel-pre-rendering/5 http://jsperf.com/pixel-pre-rendering/5 I see identical numbers for the two versions of the test.