Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
apply suggestions
  • Loading branch information
alvicsam committed Jul 5, 2022
commit 09560740a0b03ece5dbe0c044f5ac699d93a7aad
6 changes: 3 additions & 3 deletions scripts/benchmarks-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ benchmarkRuntimeName="$runtimeName-dev"

pallets=(
pallet_alliance
pallet_assets
pallet_assets
pallet_balances
pallet_collator_selection
pallet_collective
Expand All @@ -25,7 +25,7 @@ pallets=(
frame_system
)

for p in ${pallets[@]}
for pallet in ${pallets[@]}
do
$artifactsDir/polkadot-parachain benchmark pallet \
--chain=$benchmarkRuntimeName \
Expand All @@ -37,5 +37,5 @@ do
--repeat=$repeat \
--json \
--header=./file_header.txt \
--output=$benchmarkOutput
--output=$benchmarkOutput >> ./artifacts/${pallet}_benchmark.json
done
2 changes: 1 addition & 1 deletion scripts/benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
${__dir}/benchmarks-ci.sh assets statemine target/production
${__dir}/benchmarks-ci.sh assets statemint target/production
${__dir}/benchmarks-ci.sh assets westmint target/production
${__dir}/benchmarks-ci.sh assets westmint target/production