-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Hardware: Firefox 133.0, NVIDIA 4070 SUPER, Intel i7-13700KF, 165hz monitor
Rive Package: @rive-app/webgl-advanced 2.21.6
Bug Source: https://github.com/RiveDegradation/RiveDegradation.github.io
Interactive Demo: https://rivedegradation.github.io/
Expected Behaviour:
Rendering an artboard X times should decrease performance linearly as x increases. o(n) or similar. (Obviously it's probably way more complex than this!)
2 x artboard.draw() calls -> 165 FPS
3 x artboard.draw() calls -> 164 FPS
4 x artboard.draw() calls -> 163 FPS
.. etc ...
Actual Behaviour:
When using Firefox, performance just DROPS when rendering an artboard just four times.
Specifically:
2 x artboard.draw() calls -> 165 FPS
3 x artboard.draw() calls -> 165 FPS (though frame time spikes appear here..)
...ready for the jump?
4 x artboard.draw() calls -> 60 FPS 🚨🚨🚨🚨
..and then:
...25 x artboard.draw() calls -> Still 60 FPS!
Clearly a bug since 25 x artboard.draw() calls take the same as 4X!!! It's a quantic jump :)


