mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-23 00:07:56 +00:00
be0abb6bf1
Added benchmarking for EVM template. Updated benchmarking for Generic Templates. Fixed config for EVM template. Added benchmarking utils.
17 lines
539 B
Bash
Executable File
17 lines
539 B
Bash
Executable File
#!/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 |