Summary: | [JSC] Promise resolve/reject functions should be created more efficiently | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||||
Component: | JavaScriptCore | Assignee: | 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
Yusuke Suzuki
2019-09-04 19:57:38 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. Created attachment 378360 [details]
Patch
Created attachment 378361 [details]
Patch
Created attachment 378363 [details]
Patch
Comment on attachment 378363 [details]
Patch
Nice. r=me
Committed r249650: <https://trac.webkit.org/changeset/249650> Comment on attachment 378363 [details]
Patch
nice. r=me too
|