mirror of
https://github.com/fluencelabs/aquavm
synced 2025-05-02 10:42:14 +00:00
* feat(avm-server)!: keypair and particle ID arguments Add `&fluence_keypair::KeyPair` argument to `AVM::call` and `AVMRunner::call`. This value is further forwarded in a deconstructed form to WASM Air interpreter, but is not used there yet. Also, `AVMRunner::call` gets `particle_id: String` argument. feat(air-interpreter)!: `invoke` methods have three new arguments: `key_format: u8`, `secret_key_bytes: Vec<u8>` and `paritcle_id: String`. feat(aquavm-air): `air::execute_air` has two three arguments: `key_format: u8`, `secret_key_bytes: Vec<u8>` and `paritcle_id: String`. feat(aquavm-air-cli)!: add `--random-key`/`--ed25519-key file` options to AIR CLI. * feat(avm-server)!: Add `RunnerError::KeypairError` * chore(bench): Add signature performance benchmarks These benchmarks contain valid signature, so they should work with verification out of the box. --------- Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com> Co-authored-by: folex <0xdxdy@gmail.com>
The air_perofrmance_metering
utility
Execute an AquaVM special benchmarking suite and recort results with some meta information to benches/PERFORMANCE.json
database.
This script is intended to be run from the project root. It uses the air
through cargo
, without installation.
Installation
Run in the project run:
pip install tools/cli/performance_metering
Usage
In the project root, run
aquavm_performance_metering run
You may also pass the --repeat N
option to do multiple runs with averaging.