On my Mint Desktop:<p><pre><code> Firefox 40.0: 1000 Bunnies at 12 FPS
Firefox 40.0: 10000 Bunnies at 12 FPS
Firefox 40.0: 20000 Bunnies at 12 FPS
Firefox 40.0: 30000 Bunnies at 12 FPS
Chrome 44.0: 1000 Bunnies at 60 FPS
Chrome 44.0: 10000 Bunnies at 60 FPS
Chrome 44.0: 30000 Bunnies at 30 FPS
</code></pre>
Why this extreme difference between Chrome and Firefox?<p>about:config in Firefox says "GPU Accelerated Windows: 0/3" so I guess it is somehow not using the GPU. Although then Im surprised it can render 30k bunnies at 12 FPS. On the other hand, it says "WebGL Renderer: NVIDIA Corporation -- GeForce GT 630/PCIe/SSE2". So I guess it's using the GPU. Also I would expect this WebGL demo to not even run without FF using the GPU. Strange. Any ideas?
300 000 sprites, i5 2500, R9 270, Windows 8<p>- Chrome 44: 60 FPS constant<p>- Firefox 39: 49 FPS<p>- Firefox 40: 59-60 FPS<p>- IE 11: 10-12 FPS, very poor.<p>The FPS counter doesn't appear on my smartphone (falcon, CM12.1 Browser), but i would estimate the performance is at about 10-15FPS at the <i>default</i> number of sprites, let alone the full 300 000.
FF 40.0.0.3 22-23fps 23fps<p>FF nightly 2015-08-31 24fps<p>chrome 44.0.2403.157 (64bit) 26fps<p>MS Edge 20.10240.16384.0 30-33fps<p>(i7-4770k igfx)<p>The differences weren't visually very apparent. None of the browsers seemed to have periodic GC lag, which in the past certainly was an issue.<p>I'm curious: which browser did you develop this with/optimize on?
OP Here! Thank you for the data!<p>The hash worked here!
<a href="http://haxor.xyz/demos/bunny-mark/#500000" rel="nofollow">http://haxor.xyz/demos/bunny-mark/#500000</a><p>For mobile, only touching and adding bunnies (with possible bugs for iOS)<p>Some extra info.
I'm updating the [x,y] on JS and the rest is 1 drawcall in the WebGL side.