This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 372
Bench alliance #1427
Merged
Merged
Bench alliance #1427
Changes from 4 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
55ae9c3
add benchmarks
gilescope 2a62a31
update lock file
gilescope 506e281
call one script from the othe
gilescope ee32838
shebang changes so works on nixos too.
gilescope 0956074
apply suggestions
alvicsam 554e9fe
enable benchmarks
alvicsam f5487bc
fix typos
alvicsam 5968705
disable long jobs
alvicsam 6041da6
disable docker jobs
alvicsam ae683e4
disable cancel pipeline
alvicsam 25145f9
fix mkdir
alvicsam c29bd8c
bench in parallel as separate jobs
gilescope 7a8fb2c
Merge branch 'alliance-bench' of github.com:paritytech/cumulus into a…
gilescope 5725c16
remove output redirect
alvicsam a93769f
disable all but benches
alvicsam 4a48895
disable publish-s3
alvicsam 4d7de47
fix condition
alvicsam ae04818
fix strings comparement
alvicsam 2f4da3e
hyphens can turn into undersores
gilescope 124a655
Merge branch 'alliance-bench' of github.com:paritytech/cumulus into a…
gilescope 13d67d4
cargo fmt
gilescope 679b21e
Merge branch 'joe-alliance' into alliance-bench
gilescope e0d8fc5
disable publish-benchmarks-s3 job
alvicsam f7a293b
[benchmarks] pr with weights (#1438)
gilescope 78893db
remove workaround to trigger bench
gilescope File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,65 +1,5 @@ | ||
| #!/bin/bash | ||
|
|
||
| steps=50 | ||
| repeat=20 | ||
|
|
||
| statemineOutput=./parachains/runtimes/assets/statemine/src/weights | ||
| statemintOutput=./parachains/runtimes/assets/statemint/src/weights | ||
| westmintOutput=./parachains/runtimes/assets/westmint/src/weights | ||
|
|
||
| statemineChain=statemine-dev | ||
| statemintChain=statemint-dev | ||
| westmintChain=westmint-dev | ||
|
|
||
| pallets=( | ||
| pallet_assets | ||
| pallet_balances | ||
| pallet_collator_selection | ||
| pallet_multisig | ||
| pallet_proxy | ||
| pallet_session | ||
| pallet_timestamp | ||
| pallet_utility | ||
| pallet_uniques | ||
| cumulus_pallet_xcmp_queue | ||
| frame_system | ||
| ) | ||
|
|
||
| for p in ${pallets[@]} | ||
| do | ||
| ./target/production/polkadot-parachain benchmark pallet \ | ||
| --chain=$statemineChain \ | ||
| --execution=wasm \ | ||
| --wasm-execution=compiled \ | ||
| --pallet=$p \ | ||
| --extrinsic='*' \ | ||
| --steps=$steps \ | ||
| --repeat=$repeat \ | ||
| --json-file=./bench-statemine.json \ | ||
| --header=./file_header.txt \ | ||
| --output=$statemineOutput | ||
|
|
||
| ./target/production/polkadot-parachain benchmark pallet \ | ||
| --chain=$statemintChain \ | ||
| --execution=wasm \ | ||
| --wasm-execution=compiled \ | ||
| --pallet=$p \ | ||
| --extrinsic='*' \ | ||
| --steps=$steps \ | ||
| --repeat=$repeat \ | ||
| --json-file=./bench-statemint.json \ | ||
| --header=./file_header.txt \ | ||
| --output=$statemintOutput | ||
|
|
||
| ./target/production/polkadot-parachain benchmark pallet \ | ||
| --chain=$westmintChain \ | ||
| --execution=wasm \ | ||
| --wasm-execution=compiled \ | ||
| --pallet=$p \ | ||
| --extrinsic='*' \ | ||
| --steps=$steps \ | ||
| --repeat=$repeat \ | ||
| --json-file=./bench-westmint.json \ | ||
| --header=./file_header.txt \ | ||
| --output=$westmintOutput | ||
| done | ||
| #!/usr/bin/env bash | ||
| __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 | ||
alvicsam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.