Bug 226891

Summary: [webkitcorepy] 6x performance improvement in Memoized
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, dean_johnson, dewei_zhu, slewis, 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=225616
Attachments:
Description Flags
Patch none

Description Jonathan Bedard 2021-06-10 11:48:46 PDT
Dean originally noticed the high cost of inspect.getargspec, and if Memoized is on a hot code path, it can be pretty costly to tooling.
Comment 1 Radar WebKit Bug Importer 2021-06-10 11:49:10 PDT
<rdar://problem/79151940>
Comment 2 Jonathan Bedard 2021-06-10 11:50:44 PDT
Created attachment 431103 [details]
Patch
Comment 3 Dean Johnson 2021-06-10 12:49:46 PDT
Comment on attachment 431103 [details]
Patch

Unofficial r+
Comment 4 EWS 2021-06-10 14:11:17 PDT
Committed r278732 (238695@main): <https://commits.webkit.org/238695@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 431103 [details].