mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Run subsystem-benchmark without network latency (#4068)
Implements the idea from https://github.com/paritytech/polkadot-sdk/pull/3899 - Removed latencies - Number of runs reduced from 50 to 5, according to local runs it's quite enough - Network message is always sent in a spawned task, even if latency is zero. Without it, CPU time sometimes spikes. - Removed the `testnet` profile because we probably don't need that debug additions. After the local tests I can't say that it brings a significant improvement in the stability of the results. However, I belive it is worth trying and looking at the results over time.
This commit is contained in:
@@ -524,7 +524,7 @@ subsystem-benchmark-availability-recovery:
|
||||
- .common-refs
|
||||
- .run-immediately
|
||||
script:
|
||||
- cargo bench --profile=testnet -p polkadot-availability-recovery --bench availability-recovery-regression-bench --features subsystem-benchmarks
|
||||
- cargo bench -p polkadot-availability-recovery --bench availability-recovery-regression-bench --features subsystem-benchmarks
|
||||
tags:
|
||||
- benchmark
|
||||
allow_failure: true
|
||||
@@ -542,7 +542,7 @@ subsystem-benchmark-availability-distribution:
|
||||
- .common-refs
|
||||
- .run-immediately
|
||||
script:
|
||||
- cargo bench --profile=testnet -p polkadot-availability-distribution --bench availability-distribution-regression-bench --features subsystem-benchmarks
|
||||
- cargo bench -p polkadot-availability-distribution --bench availability-distribution-regression-bench --features subsystem-benchmarks
|
||||
tags:
|
||||
- benchmark
|
||||
allow_failure: true
|
||||
|
||||
Reference in New Issue
Block a user