Ivan Boldyrev 79ac153f1d
feat(tools): merge some tools into the air CLI tool (#509)
* feat(tools): merge some tools into the `air` CLI tool

`air-beautify` and `air-trace` are merged into a single `air` tool.  Its
crate name is `fluence-air-cli` as otherwise it confilicts with `air`
interpreter crate.  The tool has subcommands `beautify`, `run`
and `stats`.

* Add one-letter aliases to `air` CLI subcommands

+ `air beautify` => `air b`
+ `air run` => `air r`
+ `air stats` => `air s`

---------

Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-03-15 16:59:30 +07:00

541 B

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.