Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
Add Rococo polkadot runtime benchmark config
Browse files Browse the repository at this point in the history
  • Loading branch information
emostov committed Nov 17, 2021
1 parent cc34976 commit 924e6f9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,25 @@ var PolkadotRuntimeBenchmarkConfigs = {
"--output=./runtime/westend/src/weights/{output_file}",
].join(" "),
},
rococo: {
title: "Runtime Rococo Pallet",
benchCommand: [
"cargo run --quiet --release",
"--features=runtime-benchmarks",
"--",
"benchmark",
"--chain=rococo-dev",
"--steps=50",
"--repeat=20",
"--pallet={pallet_name}",
'--extrinsic="*"',
"--execution=wasm",
"--wasm-execution=compiled",
"--heap-pages=4096",
"--header=./file_header.txt",
"--output=./runtime/rococo/src/weights/{output_file}",
].join(" "),
},
custom: {
title: "Runtime Custom",
benchCommand:
Expand Down

0 comments on commit 924e6f9

Please sign in to comment.