-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* intro bench all * separate bench-all from bench, so they can be run on separate tags Co-authored-by: Alexander Theißen <[email protected]> * Update commands/bench/lib/bench-all-polkadot.sh Co-authored-by: Alexander Theißen <[email protected]> * Update commands/bench/lib/bench-all-cumulus.sh Co-authored-by: Alexander Theißen <[email protected]> * add example field for custom string --------- Co-authored-by: Alexander Theißen <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,004 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "../../node_modules/command-bot/src/schema/schema.cmd.json", | ||
"command": { | ||
"description": "This is a wrapper to run `bench` for all pallets within BM4,5,6 runners", | ||
"configuration": { | ||
"gitlab": { | ||
"job": { | ||
"tags": [ | ||
"weights" | ||
], | ||
"variables": {} | ||
} | ||
} | ||
}, | ||
"presets": { | ||
"substrate-all": { | ||
"description": "Pallet + Overhead + Machine Benchmark for Substrate for all pallets", | ||
"repos": ["substrate"] | ||
}, | ||
"polkadot-all": { | ||
"description": "Pallet + Overhead Benchmark for Polkadot", | ||
"repos": ["polkadot"], | ||
"args": { | ||
"runtime": { "label": "Runtime", "type_one_of": ["kusama", "polkadot", "rococo", "westend"] } | ||
} | ||
}, | ||
"cumulus-all": { | ||
"description": "Pallet Benchmark for Cumulus", | ||
"repos": ["cumulus"] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu -o pipefail | ||
shopt -s inherit_errexit | ||
|
||
# this is a fallback for `bench` command running on BM4,5,6 machines | ||
. "$(dirname "${BASH_SOURCE[0]}")/../bench/bench.sh" all "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "../../node_modules/command-bot/src/schema/schema.cmd.json", | ||
"command": { | ||
"description": "This is a testing for `bench` command running on VM machine", | ||
"configuration": { | ||
"gitlab": { | ||
"job": { | ||
"tags": [ | ||
"weights-vm" | ||
], | ||
"variables": {} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu -o pipefail | ||
shopt -s inherit_errexit | ||
|
||
# this is a fallback for `bench` command running on BM3 machine | ||
. "$(dirname "${BASH_SOURCE[0]}")/../bench/bench.sh" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.