RESOLVED FIXED 189401
[WebAssembly] Optimize JS to Wasm call by using pointer of Signature as SignatureIndex
https://bugs.webkit.org/show_bug.cgi?id=189401
Summary [WebAssembly] Optimize JS to Wasm call by using pointer of Signature as Signa...
Yusuke Suzuki
Reported 2018-09-07 02:42:45 PDT
[WebAssembly] Optimize JS to Wasm call by using pointer of Signature as SignatureIndex
Attachments
Patch (23.89 KB, patch)
2018-09-07 02:52 PDT, Yusuke Suzuki
no flags
Patch (24.14 KB, patch)
2018-09-07 03:11 PDT, Yusuke Suzuki
no flags
Patch (30.48 KB, patch)
2018-09-07 05:17 PDT, Yusuke Suzuki
no flags
Patch (35.43 KB, patch)
2018-09-07 05:29 PDT, Yusuke Suzuki
no flags
Patch (35.46 KB, patch)
2018-09-07 05:34 PDT, Yusuke Suzuki
no flags
Patch (35.46 KB, patch)
2018-09-07 05:35 PDT, Yusuke Suzuki
no flags
Patch (36.80 KB, patch)
2018-09-07 05:53 PDT, Yusuke Suzuki
no flags
Patch (36.83 KB, patch)
2018-09-07 06:41 PDT, Yusuke Suzuki
mark.lam: review+
Yusuke Suzuki
Comment 1 2018-09-07 02:52:02 PDT
Yusuke Suzuki
Comment 2 2018-09-07 03:11:30 PDT
Yusuke Suzuki
Comment 3 2018-09-07 05:17:05 PDT
Yusuke Suzuki
Comment 4 2018-09-07 05:29:40 PDT
Yusuke Suzuki
Comment 5 2018-09-07 05:34:42 PDT
Yusuke Suzuki
Comment 6 2018-09-07 05:35:27 PDT
Yusuke Suzuki
Comment 7 2018-09-07 05:53:28 PDT
Yusuke Suzuki
Comment 8 2018-09-07 06:41:29 PDT
Mark Lam
Comment 9 2018-09-07 10:19:31 PDT
Comment on attachment 349143 [details] Patch r=me. I think you should remove Signature::firstValidIndex since it is no longer used.
Yusuke Suzuki
Comment 10 2018-09-07 10:23:01 PDT
(In reply to Mark Lam from comment #9) > Comment on attachment 349143 [details] > Patch > > r=me. I think you should remove Signature::firstValidIndex since it is no > longer used. Right! Thanks. Fixed.
Yusuke Suzuki
Comment 11 2018-09-07 10:29:09 PDT
Radar WebKit Bug Importer
Comment 12 2018-09-07 10:30:44 PDT
Saam Barati
Comment 13 2018-09-13 14:12:47 PDT
Comment on attachment 349143 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=349143&action=review Nice change. The only thing that's weird to me is that we're still calling it an index. We should revise the name since the old name indicated an implementation style. But we're no longer using it as an index. Maybe we could call it something like UniqueSignature. > Source/JavaScriptCore/ChangeLog:20 > + This change significantly optimizes JS to wasm calls (1e7 times) from 600ms to 320ms. Our wasm entry is so slow :(
Note You need to log in before you can comment on or make changes to this bug.