Open Bug 1846110 Opened 1 year ago Updated 1 year ago

Too much time spent in CreateInterfaceObjects during sp3

Categories

(Core :: DOM: Bindings (WebIDL), defect)

defect

Tracking

()

People

(Reporter: mstange, Unassigned, NeedInfo)

References

(Depends on 4 open bugs, Blocks 1 open bug)

Details

(Whiteboard: [sp3])

0.3% of the entirety of Speedometer 3 is spent in CreateInterfaceObjects: https://share.firefox.dev/44G8RMq (370 samples)

Chrome spends half as much time in blink::V8ObjectConstructor::CreateInterfaceObject https://share.firefox.dev/3Ogq34g (168 samples)

These profiles were taken on macOS.

Windows profiles:
Firefox: https://share.firefox.dev/3OgnfEl (704 samples)
Chrome: https://share.firefox.dev/3OyEgKZ (564 samples)

Depends on: 1848278

Edgar plans to take a quick look per the meeting discussion.

Flags: needinfo?(echen)
Depends on: 1850076
Depends on: 1850115

with the patch stack for bug 1850344 and related applied, the number of CreateInterfaceObjects sample is reduced from ~300 samples to ~200 samples locally.
The remaining things are mostly object handling (define property, create function object).

I'll check the impact for the startup (given the atomization is moved from each CreateInterfaceObjects to compile-time+startup)

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