From 753f269efc0a2e3a4dd5b127164db3fbaa2e6fcd Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Mon, 21 Feb 2022 14:15:05 +0000 Subject: [PATCH] updating benchmarking script we should be using production profile for benchmarks. --raw does not exist: https://github.com/paritytech/substrate/pull/10771 --- scripts/benchmarks.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/benchmarks.sh b/scripts/benchmarks.sh index 2cd207a1036..d9e8a21913b 100755 --- a/scripts/benchmarks.sh +++ b/scripts/benchmarks.sh @@ -26,7 +26,7 @@ pallets=( for p in ${pallets[@]} do - ./target/release/polkadot-collator benchmark \ + ./target/production/polkadot-collator benchmark \ --chain=$statemineChain \ --execution=wasm \ --wasm-execution=compiled \ @@ -34,11 +34,11 @@ do --extrinsic='*' \ --steps=$steps \ --repeat=$repeat \ - --raw \ + --json \ --header=./file_header.txt \ --output=$statemineOutput - ./target/release/polkadot-collator benchmark \ + ./target/production/polkadot-collator benchmark \ --chain=$statemintChain \ --execution=wasm \ --wasm-execution=compiled \ @@ -46,11 +46,11 @@ do --extrinsic='*' \ --steps=$steps \ --repeat=$repeat \ - --raw \ + --json \ --header=./file_header.txt \ --output=$statemintOutput - ./target/release/polkadot-collator benchmark \ + ./target/production/polkadot-collator benchmark \ --chain=$westmintChain \ --execution=wasm \ --wasm-execution=compiled \ @@ -58,7 +58,7 @@ do --extrinsic='*' \ --steps=$steps \ --repeat=$repeat \ - --raw \ + --json \ --header=./file_header.txt \ --output=$westmintOutput done