Hello all
I’m trying to find and fix the root cause of some lags that only happens in firefox
Reproduction steps:
Go to https://tmdojo.com/maps/j3FTAEgaMI5LdO3vzfBcX1feBE3
Load the first replay (doesn’t matter which one)
Close the “Select replays” panel
Click the eye icon to set the cam to “follow” mode on the loaded replay
Click the “Play” button on the footer
On chrome, it’s going smoothly at 144 FPS, no flickering
On FireFox, it’s going at 0.3 x speed, with some flickering
I tried looking at the profiler on both chrome and firefox to try and spot the differences, but they look nothing alike
The code that introduces the lag can be found here
Any idea on what could be the issue?
Regards