mirror of
https://github.com/fluencelabs/aquavm
synced 2025-04-24 23:02:16 +00:00
* feat(aquavm-air-cli): `run` fails if AquaVM fails Unless `run --no-fail` is provided. It will make benchmarks fail on errors, unless you provide `--no-fail` to specific benchmark. * Fix dashboard and network_explore benches * Convert benchmark data to new format * `performance_metering`: use dirs only Ordinary files like README.md are not considered to be a benchmark. * Update `benches/performance_metering/README.md` * Fix performance report Looks like performance reports was merged in wrong order: data is not sorted by machine ID. The sorting is needed for stable diffs. * Run benchmarks on Macbook Air M1
Preparing data for the performance_metering
One may need to regenerate data on changing data format. Here is the instruction for data regeneration.
parser_10000_100
Data is empty, no regeneration required.
dashboard
and network_explore
Run junk/gen_test_data
. No WASM binary required. It will generate prev and current data as JSON files
with prefixes dashboard
and explore
.
big_data
and long_data
In the junk/cidify
directory, run
cargo run -- ./anomaly_big.json simple-calls-info.json > ../../air/benches/data/anomaly_big.json
cargo run -- ./anomaly_long.json simple-calls-info.json > ../../air/benches/data/anomaly_long.json
cp ../../air/benches/data/anomaly_big.json ../../benches/performance_metering/big_values_data/prev_data.json
cp ../../air/benches/data/anomaly_long.json ../../benches/performance_metering/long_data/cur_data.json
You may need update the cidify
tool if you change data format again.