-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add benchmark for Wasm invocations (#4664)
Only create a single linker, and reuse that to create all subsequent instances. Add benchmarks to measure it. Before: ``` test wasm::tests::bench_invoke ... bench: 246,826 ns/iter (+/- 49,215) ``` After: ``` test wasm::tests::bench_invoke ... bench: 45,246 ns/iter (+/- 1,894) ``` Ref #3757
- Loading branch information
Showing
3 changed files
with
74 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters