-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add benchmarks for wasmi builtin metering #56
Conversation
@athei Thanks a lot for those benchmarks. Very exciting to see so massive speed-ups from the built-in fuel metering. 🚀 |
Yes great work there with your wasmi implementation! I just wanted to get a feel for it before putting into We should notice the gas usage improvements in our benchmarks we house in the ink! repo. |
Benchmark results: wasmi 0.30 vs wasmi 0.29wasmi 0.29Results on Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
wasmi 0.30tl;dr: performance improvement is being shown on all benchmarks except this one:
Results on Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
|
no_metering
andwasmi_builtin
)We can now benchmark the execution of modules using our two instrumentation strategies in addition to no metering (as a baseline) and wasmi's builtin metering.
We can learn from the following results (ran on my M1) that the builtin metering decisively outperforms the instrumentation on every single fixture.
cc @Robbepop