aquavm/tools/cli/performance_metering
Ivan Boldyrev 771d42dec4
feat(data)!: flexible serialization formats (#757)
New crate air_interpreter_sede introduces a flexible serialization and deserialization infrastructure.

Low level API: the Format trait and related. It includes simple and universal mechanisms for serializing any possible (e.g. implementing the Serde traits) value.

High level API: Representation trait and related. It allows declaring representation types that can serialize and deserialize only certain types (for example, InterpreterDataRepr can serialize only the InterpreterData, but deserialize InterpreterData and Versions` types), producing newtype values as serialization results.

The serialized representation of CallResults now contains byte arrays, not strings, because the new infrastructure serializes to byte arrays only.

Also, the basic support for multicodecs is added.
2023-12-15 21:23:09 +07:00
..

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.