Bug 238773 - Avoid repeated calls to WebCore::eventNames()
Summary: Avoid repeated calls to WebCore::eventNames()
Status: RESOLVED FIXED
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: 2022-04-04 15:34 PDT by Chris Dumez
Modified: 2022-04-04 20:48 PDT (History)
12 users (show)

See Also:


Attachments
Patch (46.21 KB, patch)
2022-04-04 15:35 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-04-04 15:34:26 PDT
Avoid repeated calls to WebCore::eventNames() by caching it where appropriate.
WebCore::eventNames() calls pthread_get_specific.
Comment 1 Chris Dumez 2022-04-04 15:35:33 PDT
Created attachment 456641 [details]
Patch
Comment 2 Geoffrey Garen 2022-04-04 16:20:14 PDT
Comment on attachment 456641 [details]
Patch

r=me
Comment 3 EWS 2022-04-04 20:47:52 PDT
Committed r292370 (249235@main): <https://commits.webkit.org/249235@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 456641 [details].
Comment 4 Radar WebKit Bug Importer 2022-04-04 20:48:19 PDT
<rdar://problem/91275396>