Bug 238773

Summary: Avoid repeated calls to WebCore::eventNames()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, cmarcelo, esprehn+autocc, ews-watchlist, ggaren, gyuyoung.kim, heycam, hi, kangil.han, mifenton, mkwst, 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=238702
Attachments:
Description Flags
Patch none

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>