-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasmi_v1: improve instruction scheduler (#376)
* rename inst_ptr to pc (program counter) * rename FunctionExecutionOutcome to CallOutcome * rename inst_context -> exec_ctx * add ResolvedFuncBody::get_release_unchecked * implement new instruction scheduler for engine v1 * clean-up codebase and remove no longer used code * some minor clean-ups * use core::hint::unreachable instead of unreachable!() in --release mode This is used in the interpreter hot path and results in roughly 5-15% performance improvement across the board for nearly all execution benchmarks. * fix docs * inline pc into execution context This shows performance improvements for most benchmarks in the range of 10-20%! * remove commented out code
- Loading branch information
Showing
7 changed files
with
523 additions
and
775 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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.