Skip to content

Commit

Permalink
Add coretime parachain to benches (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
seadanda authored Dec 19, 2023
2 parents fcc5ad0 + 716c6ba commit 4e82106
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions commands/bench/bench.cmd.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@
"target_dir": { "label": "Target Directory", "type_string": "cumulus" }
}
},
"cumulus-coretime": {
"description": "Pallet Benchmark for Cumulus [coretime]",
"repos": ["polkadot-sdk"],
"args": {
"subcommand": { "label": "Subcommand", "type_one_of": ["pallet", "xcm"] },
"runtime": { "label": "Runtime", "type_one_of": ["coretime-rococo", "coretime-westend"] },
"pallet": { "label": "Pallet", "type_rule": "^([a-z_]+)([:]{2}[a-z_]+)?$", "example": "pallet_name" },
"runtime_dir": { "label": "Runtime Dir", "type_string": "coretime" },
"target_dir": { "label": "Target Directory", "type_string": "cumulus" }
}
},
"cumulus-bridge-hubs": {
"description": "Pallet Benchmark for Cumulus [bridge-hubs]",
"repos": ["polkadot-sdk"],
Expand Down
4 changes: 4 additions & 0 deletions commands/bench/lib/bench-all-cumulus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ run_cumulus_bench assets asset-hub-rococo
# Collectives
run_cumulus_bench collectives collectives-westend

# Coretime
run_cumulus_bench coretime coretime-rococo
run_cumulus_bench coretime coretime-westend

# Bridge Hubs
run_cumulus_bench bridge-hubs bridge-hub-rococo
run_cumulus_bench bridge-hubs bridge-hub-westend
Expand Down

0 comments on commit 4e82106

Please sign in to comment.