Open Bug 1850809 Opened 1 year ago Updated 1 year ago

1.75x slower than Chrome computing style on NewsSite-Next + NewsSite-Nuxt

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

People

(Reporter: mstange, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

https://speedometer-preview.netlify.app/?suite=NewsSite-Nuxt&iterationCount=50

On the Speedometer 3 subtest "NewsSite-Nuxt", Firefox spends 1.75x as much time in mozilla::ServoStyleSet::StyleDocument as Chrome spends in blink::StyleEngine::RecalcStyle.

Firefox: https://share.firefox.dev/3YWCvLf 11376 samples
Chrome: https://share.firefox.dev/3sw5nho 6469 samples

Matching Chrome's speed on this part of the test would improve Firefox's overall score on NewsSite-Nuxt by 9.6%.

A large part of that is in transition handling, which is covered under bug 1850812.

But if you subtract out Gecko_UpdateAnimations, we're still 1.3x slower:
Firefox: https://share.firefox.dev/3EgRGp8 8663 samples
Chrome: https://share.firefox.dev/3sw5nho 6469 samples

Closing the gap on just this part would improve Firefox's overall score on NewsSite-Nuxt by 4.3%.

Summary: 1.75x slower than Chrome computing style on NewsSite-Nuxt → 1.75x slower than Chrome computing style on NewsSite-Next + NewsSite-Nuxt
You need to log in before you can comment on or make changes to this bug.