Skip to content
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

Bump wasmi from 0.32.0-beta.7 to 0.32.0-beta.8 #1741

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 25, 2024

Bumps wasmi from 0.32.0-beta.7 to 0.32.0-beta.8.

Release notes

Sourced from wasmi's releases.

v0.32.0-beta.8 - 2024-03-23

Note:

  • This is the beta of the upcoming v0.32.0 release. This version is not production ready yet and might contain serious bugs. Please use this only for experimentation or at your own risk.
  • Performance tests indicated that the new register-machine bytecode based Wasmi engine performance is very sensitive to hardware or OS specifics which may lead to very different performance characteristics.
    • We are working on fixing this until the stable release.
    • Measurements concluded that execution performance can be equal or sometimes even surpass Wasm3 execution performance.

Added

  • Added a new execution engine based on register-machine bytecode. (wasmi-labs/wasmi#729)
    • The register-machine Wasmi Engine executes roughly 80-100% faster and compiles roughly 30% slower according to benchmarks conducted so far.
  • Added Module::new_unchecked API. (wasmi-labs/wasmi#829)
    • This allows to compile a Wasm module without Wasm validation which can be useful when users know that their inputs are valid Wasm binaries.
    • This improves Wasm compilation performance for faster startup times by roughly 10-20%.
  • Added Wasm compilation modes. (wasmi-labs/wasmi#844)
    • When using Module::new Wasmi eagerly compiles Wasm bytecode into Wasmi bytecode which is optimized for efficient execution. However, this compilation can become very costly especially for large Wasm binaries.
    • The solution to this problem is to introduce new compilation modes, namely:
      • CompilationMode::Eager: Eager compilation, what Wasmi did so far. (default)
      • CompilationMode::LazyTranslation: Eager Wasm validation and lazy Wasm translation.
      • CompilationMode::Lazy: Lazy Wasm validation and translation.
    • Benchmarks concluded that
      • CompilationMode::LazyTanslation: Usually improves startup performance by a factor of 2 to 3.
      • CompilationMode::Lazy: Usually improves startup performance by a factor of up to 27.
    • Note that CompilationMode::Lazy can lead to partially validated Wasm modules which can introduce non-determinism when using different Wasm implementations. Therefore users should know what they are doing when using CompilationMode::Lazy if this is a concern.
    • Enable lazy Wasm compilation with:
      let mut config = wasmi::Config::default();
      config.compilation_mode(wasmi::CompilationMode::Lazy);
    • When CompilationMode::Lazy or CompilationMode::LazyTranslation and fuel metering is enabled the first function access that triggers compilation (and validation) will charge fuel respective to the number of bytes of the Wasm function body. (wasmi-labs/wasmi#876)
  • Added Module::validate API. (wasmi-labs/wasmi#840)
    • This allows to quickly check if a Wasm binary is valid according to a Wasmi Engine config.
    • Note that this does not translate the Wasm and thus Module::new or Module::new_unchecked might still fail due to translation errors.
  • CLI: Added --compilation-mode argument to enable lazy Wasm compilation. (wasmi-labs/wasmi#849)
  • Added --verbose mode to Wasmi CLI by @​tjpalmer. (wasmi-labs/wasmi#957)

... (truncated)

Changelog

Sourced from wasmi's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is loosely based on Keep a Changelog, and this project adheres to Semantic Versioning. Additionally we have an Internal section for changes that are of interest to developers.

Dates in this file are formattes as YYYY-MM-DD.

Commits
  • d1ea5f5 Prepare Wasmi release v0.32.0-beta.8 (#963)
  • 2cade79 Cleanup wasmi_core float macros (follow-up) (#962)
  • 49bbd32 Update to Rust 1.77 (#961)
  • 9a7e9d2 Clean up some translation tests (#959)
  • 5ad0b30 Add e2e tests for calling exported functions with lots of params and results ...
  • c0505f2 Add verbose mode to wasmi cli (#957)
  • 06d3779 Cleanup and refactor new memory code a bit (#956)
  • 01d0881 feat: add static buffer as an alternative to allocating memory (#939)
  • 0f4e8b5 Use more workspace package fields (#954)
  • e9714d5 Bump actions/checkout from 4.1.1 to 4.1.2 (#953)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from tomaka as a code owner March 25, 2024 21:17
Bumps [wasmi](https://github.com/wasmi-labs/wasmi) from 0.32.0-beta.7 to 0.32.0-beta.8.
- [Release notes](https://github.com/wasmi-labs/wasmi/releases)
- [Changelog](https://github.com/wasmi-labs/wasmi/blob/master/CHANGELOG.md)
- [Commits](wasmi-labs/wasmi@v0.32.0-beta.7...v0.32.0-beta.8)

---
updated-dependencies:
- dependency-name: wasmi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/wasmi-0.32.0-beta.8 branch from 72e0801 to 1293e59 Compare April 3, 2024 13:08
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 4, 2024

Looks like wasmi is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Apr 4, 2024
@dependabot dependabot bot deleted the dependabot/cargo/wasmi-0.32.0-beta.8 branch April 4, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants