Open Bug 1846110 Opened 2 years ago Updated 2 years ago

Too much time spent in CreateInterfaceObjects during sp3

Categories

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

defect

Tracking

()

People

(Reporter: mstange, Unassigned)

References

(Depends on 3 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

(It seems that :arai is already working on this. Let me know if you need anything from my side.)

Flags: needinfo?(echen)
Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.