https://turbowarp.org/611788242
This is benchmarking 5x as fast in Firefox than Chromium and Safari in old compiler and new compiler. That's very unusual so might be something weird going on here worth looking into more to get the other browsers up.
Firefox profiler: https://share.firefox.dev/4258ufg
Chrome profiler: https://share.firefox.dev/4ng2g4G
Personal hypothesis without any evidence to back it up: the inlining heuristics in JS engines except SpiderMonkey really don't want to inline mod() for whatever reason. Replacing with % didn't really change anything so I no longer think this is the case
https://turbowarp.org/611788242
This is benchmarking 5x as fast in Firefox than Chromium and Safari in old compiler and new compiler. That's very unusual so might be something weird going on here worth looking into more to get the other browsers up.
Firefox profiler: https://share.firefox.dev/4258ufg
Chrome profiler: https://share.firefox.dev/4ng2g4G
Personal hypothesis without any evidence to back it up: the inlining heuristics in JS engines except SpiderMonkey really don't want to inline mod() for whatever reason.Replacing with % didn't really change anything so I no longer think this is the case