mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Make availability-recovery-regression-bench a benchmark (#3741)
Closes: https://github.com/paritytech/polkadot-sdk/issues/3704
This commit is contained in:
@@ -502,7 +502,7 @@ subsystem-regression-tests:
|
|||||||
- .common-refs
|
- .common-refs
|
||||||
- .run-immediately
|
- .run-immediately
|
||||||
script:
|
script:
|
||||||
- cargo test --profile=testnet -p polkadot-availability-recovery --test availability-recovery-regression-bench --features subsystem-benchmarks
|
- cargo bench --profile=testnet -p polkadot-availability-recovery --bench availability-recovery-regression-bench --features subsystem-benchmarks
|
||||||
tags:
|
tags:
|
||||||
- benchmark
|
- benchmark
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|||||||
@@ -43,9 +43,9 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
|
|||||||
polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" }
|
polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" }
|
||||||
polkadot-subsystem-bench = { path = "../../subsystem-bench" }
|
polkadot-subsystem-bench = { path = "../../subsystem-bench" }
|
||||||
|
|
||||||
[[test]]
|
[[bench]]
|
||||||
name = "availability-recovery-regression-bench"
|
name = "availability-recovery-regression-bench"
|
||||||
path = "tests/availability-recovery-regression-bench.rs"
|
path = "benches/availability-recovery-regression-bench.rs"
|
||||||
harness = false
|
harness = false
|
||||||
required-features = ["subsystem-benchmarks"]
|
required-features = ["subsystem-benchmarks"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user