mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 06:41:02 +00:00
[CI] Disable runtime logging for benchmarks (#1463)
Changes: - Disable runtime logging in benchmarks by building with a specific profile --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
f5ca403af9
commit
fea7bcd625
@@ -146,7 +146,7 @@ build-short-benchmark:
|
|||||||
- .run-immediately
|
- .run-immediately
|
||||||
- .collect-artifacts
|
- .collect-artifacts
|
||||||
script:
|
script:
|
||||||
- cargo build --profile release --locked --features=runtime-benchmarks --bin polkadot --workspace
|
- cargo build --profile release --locked --features=runtime-benchmarks,on-chain-release-build --bin polkadot --workspace
|
||||||
- mkdir -p artifacts
|
- mkdir -p artifacts
|
||||||
- target/release/polkadot --version
|
- target/release/polkadot --version
|
||||||
- cp ./target/release/polkadot ./artifacts/
|
- cp ./target/release/polkadot ./artifacts/
|
||||||
@@ -273,7 +273,7 @@ build-short-benchmark-cumulus:
|
|||||||
- .run-immediately
|
- .run-immediately
|
||||||
- .collect-artifacts
|
- .collect-artifacts
|
||||||
script:
|
script:
|
||||||
- cargo build --profile release --locked --features=runtime-benchmarks -p polkadot-parachain-bin --bin polkadot-parachain
|
- cargo build --profile release --locked --features=runtime-benchmarks,on-chain-release-build -p polkadot-parachain-bin --bin polkadot-parachain --workspace
|
||||||
- mkdir -p artifacts
|
- mkdir -p artifacts
|
||||||
- target/release/polkadot-parachain --version
|
- target/release/polkadot-parachain --version
|
||||||
- cp ./target/release/polkadot-parachain ./artifacts/
|
- cp ./target/release/polkadot-parachain ./artifacts/
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ short-benchmark-polkadot: &short-bench
|
|||||||
tags:
|
tags:
|
||||||
- benchmark
|
- benchmark
|
||||||
script:
|
script:
|
||||||
- ./artifacts/polkadot benchmark pallet --execution wasm --wasm-execution compiled --chain $RUNTIME-dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
- ./artifacts/polkadot benchmark pallet --chain $RUNTIME-dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
||||||
|
|
||||||
short-benchmark-kusama:
|
short-benchmark-kusama:
|
||||||
<<: *short-bench
|
<<: *short-bench
|
||||||
@@ -45,7 +45,7 @@ short-benchmark-westend:
|
|||||||
tags:
|
tags:
|
||||||
- benchmark
|
- benchmark
|
||||||
script:
|
script:
|
||||||
- ./artifacts/polkadot-parachain benchmark pallet --wasm-execution compiled --chain $RUNTIME_CHAIN --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
- ./artifacts/polkadot-parachain benchmark pallet --chain $RUNTIME_CHAIN --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
||||||
|
|
||||||
short-benchmark-asset-hub-polkadot:
|
short-benchmark-asset-hub-polkadot:
|
||||||
<<: *short-bench-cumulus
|
<<: *short-bench-cumulus
|
||||||
|
|||||||
Reference in New Issue
Block a user