-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for recording mode metering of module cache (#1401)
### What This involves several improvements around various module cache usage edge cases: - Use the initial storage state to build the cache 'post-hoc' in order to not build cache for Wasms that wouldn't be cached in enforcing mode - Only charge the module parse costs to 'shadow' budget when we would be using the cached module in enforcing mode - Only rebuild the module cache in recording mode when it would be built in the enforcing mode. ### Why Improving simulation accuracy. ### Known limitations N/A --------- Co-authored-by: Graydon Hoare <[email protected]>
- Loading branch information
Showing
276 changed files
with
75,844 additions
and
75,770 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
Oops, something went wrong.