Bug 201488

Summary: [JSC] Promise resolve/reject functions should be created more efficiently
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 198849    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch mark.lam: review+

Yusuke Suzuki
Reported 2019-09-04 19:57:38 PDT
...
Attachments
Patch (12.55 KB, patch)
2019-09-09 03:40 PDT, Yusuke Suzuki
no flags
Patch (12.57 KB, patch)
2019-09-09 03:43 PDT, Yusuke Suzuki
no flags
Patch (14.13 KB, patch)
2019-09-09 04:01 PDT, Yusuke Suzuki
mark.lam: review+
Yusuke Suzuki
Comment 1 2019-09-04 20:00:02 PDT
bug 198849 fixes the critical issue, but it makes @resolve / @reject function creation more costly. And we know that this causes 7-8% regression in JetStream2/async-fs. We should have a good mechanism to produce such a function without allocating FunctionRareData so that we can recover async-fs regression.
Radar WebKit Bug Importer
Comment 2 2019-09-04 20:00:22 PDT
Yusuke Suzuki
Comment 3 2019-09-09 03:40:07 PDT
Yusuke Suzuki
Comment 4 2019-09-09 03:43:00 PDT
Yusuke Suzuki
Comment 5 2019-09-09 04:01:28 PDT
Mark Lam
Comment 6 2019-09-09 08:36:23 PDT
Comment on attachment 378363 [details] Patch Nice. r=me
Yusuke Suzuki
Comment 7 2019-09-09 10:52:12 PDT
Saam Barati
Comment 8 2019-09-09 15:13:10 PDT
Comment on attachment 378363 [details] Patch nice. r=me too
Note You need to log in before you can comment on or make changes to this bug.