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

Commit

Permalink
Merge pull request #71 from paritytech/zeke-add-rococo-runtime-pallet…
Browse files Browse the repository at this point in the history
…-cmd

Add Rococo polkadot runtime benchmark config
  • Loading branch information
shawntabrizi authored Nov 17, 2021
2 parents cc34976 + 924e6f9 commit 5f5a7de
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 5f5a7de

Please sign in to comment.