Open Bug 2046368 Opened 3 months ago Updated 2 months ago

Modified Codepen demo (https://codepen.io/GreenSock/pen/gbwJwPW?editors=0010) is 9x slower in Firefox

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Go to https://codepen.io/GreenSock/pen/gbwJwPW?editors=0010
In js, change the number of wiggles to 90000
Let the demo recompile and run

Firefox: https://share.firefox.dev/4okN73s (9s)
Chrome: https://share.firefox.dev/3SvyxtS (1s)

Severity: -- → N/A
Priority: -- → P3

98% of the profile is spent in Array.splice, more than half of which is elementsRangePostWriteBarrier. Probably there is something here that could be made more efficient, but it's not an immediate priority.

You need to log in before you can comment on or make changes to this bug.