12 ms·
Yay Bubble Bobble! But seriously, what's with Firefox canvas being so much slower than Chrome? It can't be javascript speed because Firefox is just as fast as
by ck2 17y ago
Yay Bubble Bobble!
But seriously, what's with Firefox canvas being so much slower than Chrome?
It can't be javascript speed because Firefox is just as fast as Chrome for JIT JS performance.
- bfirsh 17y agoLong story short: Firefox is just slow. It's tracing engine doesn't cope with heavily branching code like that in an emulator, and it just falls back to interpreting it. It's nothing to do with the canvas. (In fact, Chrome's canvas is far slower than Firefox's.) Chrome is wildly fast because it compiles everything to machine code instead of JIT compilation.