WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(24.14 KB, patch)
2018-09-07 03:11 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(30.48 KB, patch)
2018-09-07 05:17 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(35.43 KB, patch)
2018-09-07 05:29 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(35.46 KB, patch)
2018-09-07 05:34 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(35.46 KB, patch)
2018-09-07 05:35 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(36.80 KB, patch)
2018-09-07 05:53 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch
(36.83 KB, patch)
2018-09-07 06:41 PDT
,
Yusuke Suzuki
mark.lam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(7)
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2018-09-07 02:52:02 PDT
Created
attachment 349131
[details]
Patch
Yusuke Suzuki
Comment 2
2018-09-07 03:11:30 PDT
Created
attachment 349134
[details]
Patch
Yusuke Suzuki
Comment 3
2018-09-07 05:17:05 PDT
Created
attachment 349136
[details]
Patch
Yusuke Suzuki
Comment 4
2018-09-07 05:29:40 PDT
Created
attachment 349137
[details]
Patch
Yusuke Suzuki
Comment 5
2018-09-07 05:34:42 PDT
Created
attachment 349138
[details]
Patch
Yusuke Suzuki
Comment 6
2018-09-07 05:35:27 PDT
Created
attachment 349139
[details]
Patch
Yusuke Suzuki
Comment 7
2018-09-07 05:53:28 PDT
Created
attachment 349140
[details]
Patch
Yusuke Suzuki
Comment 8
2018-09-07 06:41:29 PDT
Created
attachment 349143
[details]
Patch
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
Committed
r235786
: <
https://trac.webkit.org/changeset/235786
>
Radar WebKit Bug Importer
Comment 12
2018-09-07 10:30:44 PDT
<
rdar://problem/44228602
>
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.
Top of Page
Format For Printing
XML
Clone This Bug