#235 Updated benchmarks for the next release (#238)

Added benchmarking for EVM template.
Updated benchmarking for Generic Templates.
Fixed config for EVM template.
Added benchmarking utils.
This commit is contained in:
Nikita Khateev
2024-06-28 15:49:02 +04:00
committed by GitHub
parent 3c9696b982
commit be0abb6bf1
57 changed files with 5982 additions and 493 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
while getopts f: flag
do
case "${flag}" in
f) filename=${OPTARG};;
esac
done
mkdir benchmarking
mkdir benchmarking/results
mkdir benchmarking/new-benchmarks
while IFS= read -r line; do
echo "Creating benchmark for: $line"
target/release/parachain-template-node benchmark pallet --steps=50 --repeat=20 --extrinsic=* --wasm-execution=compiled --heap-pages=4096 --json-file=benchmarking/results/results-$line.json --pallet=$line --chain=dev --output=benchmarking/new-benchmarks/$line.rs
done < $filename