mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
pallet benchmarking: Bump default steps and repeat (#14408)
* Bump default steps and repeats to useful values Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add check that scheduler weight depends on component Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add test to whitelist pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add env var to disable checks Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * remove tests --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
d8b18417a0
commit
116b6e65dc
@@ -43,7 +43,7 @@ pub struct PalletCmd {
|
||||
pub extrinsic: Option<String>,
|
||||
|
||||
/// Select how many samples we should take across the variable components.
|
||||
#[arg(short, long, default_value_t = 2)]
|
||||
#[arg(short, long, default_value_t = 50)]
|
||||
pub steps: u32,
|
||||
|
||||
/// Indicates lowest values for each of the component ranges.
|
||||
@@ -55,7 +55,7 @@ pub struct PalletCmd {
|
||||
pub highest_range_values: Vec<u32>,
|
||||
|
||||
/// Select how many repetitions of this benchmark should run from within the wasm.
|
||||
#[arg(short, long, default_value_t = 1)]
|
||||
#[arg(short, long, default_value_t = 20)]
|
||||
pub repeat: u32,
|
||||
|
||||
/// Select how many repetitions of this benchmark should run from the client.
|
||||
|
||||
Reference in New Issue
Block a user