Open Bug 1809011 Opened 2 years ago Updated 2 years ago

On a codepen demo (https://codepen.io/ScarpMetal/pen/ZExbJvo) "resetting" the demo is slower in Nightly compared to Chrome

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug)

Details

Go to https://codepen.io/ScarpMetal/pen/ZExbJvo
Let it load. Enjoy the demo.
Click on the demo pane to make it active
Press the "R" key on your keyboard.
The demo will "reset"/"refresh". This takes appreciable time on Nightly. On Chrome, this is almost instantaneous.

Profile: https://share.firefox.dev/3ZgkcR8

We spend almost all of our time in JIT code, filtering an array.

This will be easier to investigate when we have JIT code information available in the profiler.

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

Hm I noticed we don't call SetIsInlinableLargeFunction for ArrayFilter. We probably should. Let me see if that makes a difference here.

Flags: needinfo?(jdemooij)
Depends on: 1809180

I filed bug 1809180. It's hard to say if it makes a difference here but it's probably a good idea anyway.

Flags: needinfo?(jdemooij)
You need to log in before you can comment on or make changes to this bug.