Bug 254180

Summary: Avoid unnecessary work in DocumentTimelinesController::updateAnimationsAndSendEvents()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-03-20 13:35:54 PDT
Avoid unnecessary work in DocumentTimelinesController::updateAnimationsAndSendEvents() when there are no listeners for those events.
In many cases, there are no listeners for those animation events and we still spend a significant amount of time in DocumentTimelinesController::updateAnimationsAndSendEvents() dealing with these events.
Comment 1 Chris Dumez 2023-03-20 13:37:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11731
Comment 2 Radar WebKit Bug Importer 2023-03-27 13:36:16 PDT
<rdar://problem/107281878>
Comment 3 Chris Dumez 2023-03-27 13:37:41 PDT

*** This bug has been marked as a duplicate of bug 254454 ***