mirror of
https://github.com/fluencelabs/aquavm
synced 2025-04-24 23:02:16 +00:00
* chore(testing-framework)!: fix WASM test runner Native mode was used before because some package used native runner for its tests. This PR allows to explicitly select test runner for tests. Many testing-framework types are now parametrized with a runner type with almost compatible defaults. * chore(testing-framework): Add `ReleaseWasmAirRunner` * chore(testing-framework)!: Rename `AirScriptExecutor::simple` to `AirScriptExecutor::from_annotated`.
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.