Bug 254180 - Avoid unnecessary work in DocumentTimelinesController::updateAnimationsAndSendEvents()
Summary: Avoid unnecessary work in DocumentTimelinesController::updateAnimationsAndSen...
Status: RESOLVED DUPLICATE of bug 254454
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-20 13:35 PDT by Chris Dumez
Modified: 2023-03-27 13:37 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***