-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added short-benchmarks for cumulus #1183
Conversation
|
||
# run short-benchmarks for system parachain runtimes from cumulus | ||
|
||
.short-benchmark-cumulus: &short-bench-cumulus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.short-benchmark-cumulus
and .short-benchmark-polkadot
could be possibly merged to .short-benchmark-template
with some variables parametrization, do we want to do it?
@@ -139,7 +139,7 @@ build-short-benchmark: | |||
- .run-immediately | |||
- .collect-artifacts | |||
script: | |||
- cargo build --profile release --locked --features=runtime-benchmarks | |||
- cargo build --profile release --locked --features=runtime-benchmarks --bin polkadot | |||
- mkdir -p artifacts | |||
- target/release/polkadot --version | |||
- cp ./target/release/polkadot ./artifacts/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also mv ./target/testnet/polkadot ./artifacts/.
in the step build-linux-stable
, so this step overrides that, right?
Possibly we could do something like: cp ./target/release/polkadot ./artifacts/short-benchmarks/
.
Also the same for polkadot-parachain
binary build-linux-stable-cumulus does mv ./target/release/polkadot-parachain ./artifacts/.
but also build-short-benchmark-cumulus
does `cp ./target/release/polkadot-parachain ./artifacts/.
I am not missing anything, there is a possible consequence that later jobs could use binary with --features runtime-benchmarks
.
Given that it's short, could we do it all in one job rather than giving the CI another 10+ jobs to handle? In fact could we do the relay chain ones in the same job (also rococo on the relay jobs is currently missed out fyi)? |
…' into bko-short-benchmarks-for-cumulus
I think separate jobs per runtime is much more clear or transparent. To Roocco, I dont know, it was missing also in old polkadot repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gilescope is correct. Lets use another runners for these benchmarks
Co-authored-by: Alexander Samusev <[email protected]>
* master: (25 commits) fix typos (#1339) Use bandersnatch-vrfs with locked dependencies ref (#1342) Bump bs58 from 0.4.0 to 0.5.0 (#1293) Contracts: `seal0::balance` should return the free balance (#1254) Logs: add extra debug log for negative rep changes (#1205) Added short-benchmarks for cumulus (#1183) [xcm-emulator] Improve hygiene and clean up (#1301) Bump the known_good_semver group with 1 update (#1347) Renames API (#1186) Rename `polkadot-parachain` to `polkadot-parachain-primitives` (#1334) Add README to project root (#1253) Add environmental variable to track decoded instructions (#1320) Fix polkadot-node-core-pvf-prepare-worker build with jemalloc (#1315) Sassafras primitives (#1249) Restructure `dispatch` macro related exports (#1162) backing: move the min votes threshold to the runtime (#1200) Bump zstd from 0.11.2+zstd.1.5.2 to 0.12.4 (#1326) Remove `substrate_test_utils::test` (#1321) remove disable-runtime-api (#1328) [ci] add more jobs for pipeline cancel, cleanup (#1314) ...
* master: (25 commits) Markdown linter (#1309) Update `fmt` file and some authors (#1379) Bump the known_good_semver group with 1 update (#1375) Bump proc-macro-warning from 0.4.1 to 0.4.2 (#1376) feat: add futures api to `TransactionPool` (#1348) Ensure cumulus/bridges is ignored by formatter and run it (#1369) substrate: chain-spec paths corrected in zombienet tests (#1362) contracts: Update to wasmi 0.31 (#1350) [improve docs]: Template pallet (#1280) [xcm-emulator] Unignore cumulus integration tests (#1247) Fix wrong ref counting (#1358) Use cached session index to obtain executor params (#1190) fix typos (#1339) Use bandersnatch-vrfs with locked dependencies ref (#1342) Bump bs58 from 0.4.0 to 0.5.0 (#1293) Contracts: `seal0::balance` should return the free balance (#1254) Logs: add extra debug log for negative rep changes (#1205) Added short-benchmarks for cumulus (#1183) [xcm-emulator] Improve hygiene and clean up (#1301) Bump the known_good_semver group with 1 update (#1347) ...
* Added short-benchmarks for cumulus * Added `--bin` flag for short-benchmarks * fix dependency for short-benchmark-cumulus * Fixed benchmark with new XCM::V3 `MAX_INSTRUCTIONS_TO_DECODE` * Fixed benchmark for bridge messages pallets --------- Co-authored-by: alvicsam <[email protected]> Co-authored-by: Javier Viola <[email protected]> Co-authored-by: Alexander Samusev <[email protected]>
This PR adds new jobs for
short-benchmarks
for system parachain runtimes in cumulus subdirectory which was added to the Cumulus repo here.