Closed Bug 1711050 Opened 3 years ago Closed 3 years ago

Optimize intersection observers notification in SeaMonkey 2.53

Categories

(SeaMonkey :: General, defect)

SeaMonkey 2.53 Branch
defect

Tracking

(seamonkey2.53+ fixed, seamonkey2.57esr unaffected)

RESOLVED FIXED
seamonkey2.53
Tracking Status
seamonkey2.53 + fixed
seamonkey2.57esr --- unaffected

People

(Reporter: frg, Assigned: frg)

Details

(Whiteboard: SM2.53.8)

Attachments

(1 file)

buc and tomman tracked down performance problems on some websites. It seems the notify for intersection observers is quite costly and might currently be unnecessary for chrome uris.

Currently for 2.53 branch only. I am a bit uneasy of this but if it helps with performance on slower systems so be it. Tested with some logging enabled (now ifed out) and for some time in 2.53.8b1 pre now

buc do you think this should be/ is still needed in the release?

Attachment #9221783 - Flags: review?(iann_bugzilla)
Attachment #9221783 - Flags: feedback?(dmitry)
Attachment #9221783 - Flags: approval-comm-release?
Status: NEW → ASSIGNED

Comment on attachment 9221783 [details] [diff] [review]
1711050-nsrefreshdriveroptimize-2538.patch

This patch is already in Fedora for 2.53.7, so it can be considered well tested.

Certainly this is needed, because it fixes various potential problems (including performance) that are relevant to SeaMonkey.

Firefox uses e10s, so an animation (if any) in the chrome is handled by the "parent" process, which is isolated from the "content" processes. In SeaMonkey all is handled by the same process, which is probably a reason why content of a page appears as a "sub-document" of the chrome, which should never be happen. Fortunately it seems that currently this situation spoils the intersection observers only, and now this is fixed by the patch.

Attachment #9221783 - Flags: feedback?(dmitry) → feedback+

Comment on attachment 9221783 [details] [diff] [review]
1711050-nsrefreshdriveroptimize-2538.patch

[Triage Comment]
Thanks to buc / tomman for their work
r/a=me

Attachment #9221783 - Flags: review?(iann_bugzilla)
Attachment #9221783 - Flags: review+
Attachment #9221783 - Flags: approval-comm-release?
Attachment #9221783 - Flags: approval-comm-release+
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: