Bug 310051

Summary: IntersectionObserver can get sluggish over time
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: New BugsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=309699

Ryosuke Niwa
Reported 2026-03-16 14:49:38 PDT
Just like ResizeObserver, IntersectionObserver could suffer from O(n^2) iteration when there are many elements being observed.
Attachments
Ryosuke Niwa
Comment 1 2026-03-16 16:22:51 PDT
EWS
Comment 2 2026-03-17 01:00:28 PDT
Committed 309387@main (64a3b9922821): <https://commits.webkit.org/309387@main> Reviewed commits have been landed. Closing PR #60727 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-03-17 01:01:14 PDT
Note You need to log in before you can comment on or make changes to this bug.