Open Bug 1692914 Opened 5 years ago Updated 1 year ago

Switching channels in Element WebUI takes considerably longer on Firefox vs Chrome

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

People

(Reporter: bas.schouten, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Switching channels takes considerably longer with Firefox than with Chrome

The difference is roughly 150ms according to the video.

Included are profiles, the time taken in these profiles is about 300ms for Firefox vs 250ms in Chrome (so smaller than the video, but still considerable). The additional time in Firefox seems to be mostly spent in JS. The block of microtasks performed that lead to the channel switch takes about 180ms in Firefox vs 130ms in Chrome. Profiles:

Firefox: https://share.firefox.dev/2LTPfBr

Chrome: https://share.firefox.dev/3dhgqRO

The Layout time (which isn't very clearly marked when loading the Chrome profile into profiler.firefox.com) seems to be similar between the two profiles.

Severity: -- → S3
Priority: -- → P3
Summary: Switching channels in Element WebUI takes considerably longer on Chrome vs Firefox → Switching channels in Element WebUI takes considerably longer on Firefox vs Chrome

This is hot in megamorphic property access and ReactDOM code.

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

Attachment

General

Created:
Updated:
Size: