-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasi: fast calls #43697
wasi: fast calls #43697
Conversation
Review requested:
|
922d211
to
b3f59cf
Compare
some hacky microbenchmarks i have say that this makes wasi calls ~2x faster. next i need to find some "real world" programs and see how those perform... |
fb6e1e4
to
0bf8869
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by comment.
Please increment the embedder string in common.gypi once in each V8 backport commit. |
Landed in b3bf07e |
PR-URL: nodejs#43697 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #43697 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
I tried to include this in v19.3.0 but two wasi tests failed on ARM macs. |
PR-URL: #43697 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@targos if you want to try, you should be able to backport this to 19 if you include v8/v8@bf0bd48 |
PR-URL: nodejs#43697 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This is not landing cleanly in v18.x release line |
implement fast calls for the wasi module.
the individual calls are about 50-100% faster, and testing with ripgrep compiled to wasm, it looks like real world programs are about 15-20% faster.