RESOLVED FIXED302392
[GLIB] Skip run loop observer notifications earlier for activities with no observers registered
https://bugs.webkit.org/show_bug.cgi?id=302392
Summary [GLIB] Skip run loop observer notifications earlier for activities with no ob...
Carlos Garcia Campos
Reported 2025-11-12 03:45:10 PST
We currently don't use Activity::AfterWaiting but on every run loop iteration we iterate the observers again after waiting for sources to check if there's any to notify. We could keep a count of observers registered for every activity and early return from RunLoop::notifyActivity when the given activity doesn't have observers registered.
Attachments
Carlos Garcia Campos
Comment 1 2025-11-12 03:51:05 PST
EWS
Comment 2 2025-11-17 02:12:49 PST
Committed 303110@main (098750050ead): <https://commits.webkit.org/303110@main> Reviewed commits have been landed. Closing PR #53803 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-11-17 02:13:13 PST
Note You need to log in before you can comment on or make changes to this bug.