Co #12558: Update pallet-multisig benches (#6188)

* Typo

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add multisig weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update multisig weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"substrate"}

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: parity-processbot <>
This commit is contained in:
Oliver Tale-Yazdi
2022-10-27 00:02:46 +02:00
committed by GitHub
parent d4e3501ec2
commit 586fa42c0b
6 changed files with 354 additions and 488 deletions
+180 -180
View File
File diff suppressed because it is too large Load Diff
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_multisig` //! Autogenerated weights for `pallet_multisig`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command: // Executed Command:
@@ -28,17 +28,17 @@
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_multisig // --pallet=pallet_multisig
// --extrinsic=* // --extrinsic=
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/kusama/src/weights/ // --output=runtime/kusama/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
#![allow(unused_imports)] #![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight}}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for `pallet_multisig`. /// Weight functions for `pallet_multisig`.
@@ -46,115 +46,81 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight { fn as_multi_threshold_1(z: u32, ) -> Weight {
Weight::from_ref_time(14_892_000 as u64) // Minimum execution time: 14_233 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(14_763_390 as u64)
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 2
.saturating_add(Weight::from_ref_time(479 as u64).saturating_mul(z as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight { fn as_multi_create(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(36_762_000 as u64) // Minimum execution time: 42_837 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(34_846_149 as u64)
.saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(s as u64)) // Standard Error: 646
// Standard Error: 0 .saturating_add(Weight::from_ref_time(89_482 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 6
.saturating_add(Weight::from_ref_time(1_465 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(38_454_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[3, 100]`. /// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight { fn as_multi_approve(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(27_278_000 as u64) // Minimum execution time: 32_269 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(25_447_784 as u64)
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64)) // Standard Error: 499
// Standard Error: 0 .saturating_add(Weight::from_ref_time(74_525 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 4
.saturating_add(Weight::from_ref_time(1_457 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(39_820_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1) // Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight { fn as_multi_complete(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(48_748_000 as u64) // Minimum execution time: 46_096 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(37_139_587 as u64)
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(s as u64)) // Standard Error: 602
// Standard Error: 0 .saturating_add(Weight::from_ref_time(104_199 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) // Standard Error: 5
.saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(Weight::from_ref_time(1_478 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight { fn approve_as_multi_create(s: u32, ) -> Weight {
Weight::from_ref_time(32_837_000 as u64) // Minimum execution time: 31_572 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(33_475_485 as u64)
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64)) // Standard Error: 972
.saturating_add(Weight::from_ref_time(91_041 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight { fn approve_as_multi_approve(s: u32, ) -> Weight {
Weight::from_ref_time(23_222_000 as u64) // Minimum execution time: 21_861 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(23_986_670 as u64)
.saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(s as u64)) // Standard Error: 660
.saturating_add(Weight::from_ref_time(79_765 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_complete(s: u32, ) -> Weight {
Weight::from_ref_time(60_799_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight { fn cancel_as_multi(s: u32, ) -> Weight {
Weight::from_ref_time(49_388_000 as u64) // Minimum execution time: 31_375 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(33_657_765 as u64)
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64)) // Standard Error: 931
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(Weight::from_ref_time(84_177 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
} }
} }
+1 -1
View File
@@ -377,7 +377,7 @@ std::thread_local! {
static PROCESSED: RefCell<Vec<(ParaId, UpwardMessage)>> = RefCell::new(vec![]); static PROCESSED: RefCell<Vec<(ParaId, UpwardMessage)>> = RefCell::new(vec![]);
} }
/// Return which messages have been processed by `pocess_upward_message` and clear the buffer. /// Return which messages have been processed by `process_upward_message` and clear the buffer.
pub fn take_processed() -> Vec<(ParaId, UpwardMessage)> { pub fn take_processed() -> Vec<(ParaId, UpwardMessage)> {
PROCESSED.with(|opt_hook| std::mem::take(&mut *opt_hook.borrow_mut())) PROCESSED.with(|opt_hook| std::mem::take(&mut *opt_hook.borrow_mut()))
} }
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_multisig` //! Autogenerated weights for `pallet_multisig`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command: // Executed Command:
@@ -28,17 +28,17 @@
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_multisig // --pallet=pallet_multisig
// --extrinsic=* // --extrinsic=
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/polkadot/src/weights/ // --output=runtime/polkadot/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
#![allow(unused_imports)] #![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight}}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for `pallet_multisig`. /// Weight functions for `pallet_multisig`.
@@ -46,115 +46,81 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight { fn as_multi_threshold_1(z: u32, ) -> Weight {
Weight::from_ref_time(14_564_000 as u64) // Minimum execution time: 14_333 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(14_680_513 as u64)
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 3
.saturating_add(Weight::from_ref_time(478 as u64).saturating_mul(z as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight { fn as_multi_create(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(36_007_000 as u64) // Minimum execution time: 41_940 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(34_164_952 as u64)
.saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(s as u64)) // Standard Error: 758
// Standard Error: 0 .saturating_add(Weight::from_ref_time(84_361 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 7
.saturating_add(Weight::from_ref_time(1_515 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(37_644_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[3, 100]`. /// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight { fn as_multi_approve(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(26_146_000 as u64) // Minimum execution time: 32_061 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(25_242_175 as u64)
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64)) // Standard Error: 488
// Standard Error: 0 .saturating_add(Weight::from_ref_time(74_544 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 4
.saturating_add(Weight::from_ref_time(1_451 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(38_712_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1) // Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight { fn as_multi_complete(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(47_690_000 as u64) // Minimum execution time: 45_799 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(36_673_371 as u64)
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64)) // Standard Error: 602
// Standard Error: 0 .saturating_add(Weight::from_ref_time(105_602 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) // Standard Error: 5
.saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight { fn approve_as_multi_create(s: u32, ) -> Weight {
Weight::from_ref_time(32_053_000 as u64) // Minimum execution time: 30_746 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(33_495_066 as u64)
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64)) // Standard Error: 1_027
.saturating_add(Weight::from_ref_time(85_901 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight { fn approve_as_multi_approve(s: u32, ) -> Weight {
Weight::from_ref_time(22_641_000 as u64) // Minimum execution time: 21_939 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(23_359_812 as u64)
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(s as u64)) // Standard Error: 626
.saturating_add(Weight::from_ref_time(86_183 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_complete(s: u32, ) -> Weight {
Weight::from_ref_time(57_308_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight { fn cancel_as_multi(s: u32, ) -> Weight {
Weight::from_ref_time(47_050_000 as u64) // Minimum execution time: 32_246 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(33_400_827 as u64)
.saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(s as u64)) // Standard Error: 746
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(Weight::from_ref_time(85_743 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
} }
} }
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_multisig` //! Autogenerated weights for `pallet_multisig`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command: // Executed Command:
@@ -28,131 +28,99 @@
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_multisig // --pallet=pallet_multisig
// --extrinsic=* // --extrinsic=
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/rococo/src/weights/ // --output=runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
#![allow(unused_imports)] #![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight}}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for `pallet_multisig`. /// Weight functions for `pallet_multisig`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(_z: u32, ) -> Weight { fn as_multi_threshold_1(z: u32, ) -> Weight {
Weight::from_ref_time(15_357_000 as u64) // Minimum execution time: 14_582 nanoseconds.
Weight::from_ref_time(15_014_888 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(490 as u64).saturating_mul(z as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight { fn as_multi_create(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(34_635_000 as u64) // Minimum execution time: 41_651 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(34_224_425 as u64)
.saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(s as u64)) // Standard Error: 735
// Standard Error: 0 .saturating_add(Weight::from_ref_time(80_357 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 7
.saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(35_863_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[3, 100]`. /// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight { fn as_multi_approve(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(26_665_000 as u64) // Minimum execution time: 31_520 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(24_283_932 as u64)
.saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(s as u64)) // Standard Error: 615
// Standard Error: 0 .saturating_add(Weight::from_ref_time(80_034 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 6
.saturating_add(Weight::from_ref_time(1_490 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(37_789_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1) // Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight { fn as_multi_complete(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(46_827_000 as u64) // Minimum execution time: 44_639 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(35_788_014 as u64)
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(s as u64)) // Standard Error: 655
// Standard Error: 0 .saturating_add(Weight::from_ref_time(103_738 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) // Standard Error: 6
.saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(Weight::from_ref_time(1_480 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight { fn approve_as_multi_create(s: u32, ) -> Weight {
Weight::from_ref_time(31_062_000 as u64) // Minimum execution time: 30_092 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(32_588_553 as u64)
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64)) // Standard Error: 1_203
.saturating_add(Weight::from_ref_time(88_907 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight { fn approve_as_multi_approve(s: u32, ) -> Weight {
Weight::from_ref_time(22_903_000 as u64) // Minimum execution time: 21_743 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(23_807_430 as u64)
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64)) // Standard Error: 828
.saturating_add(Weight::from_ref_time(75_548 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_complete(s: u32, ) -> Weight {
Weight::from_ref_time(55_802_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight { fn cancel_as_multi(s: u32, ) -> Weight {
Weight::from_ref_time(48_468_000 as u64) // Minimum execution time: 29_786 nanoseconds.
// Standard Error: 4_000 Weight::from_ref_time(32_090_251 as u64)
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64)) // Standard Error: 904
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(Weight::from_ref_time(84_395 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
} }
} }
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_multisig` //! Autogenerated weights for `pallet_multisig`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
// Executed Command: // Executed Command:
@@ -28,17 +28,17 @@
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=pallet_multisig // --pallet=pallet_multisig
// --extrinsic=* // --extrinsic=
// --execution=wasm // --execution=wasm
// --wasm-execution=compiled // --wasm-execution=compiled
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/westend/src/weights/ // --output=runtime/westend/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
#![allow(unused_imports)] #![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight}}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for `pallet_multisig`. /// Weight functions for `pallet_multisig`.
@@ -46,115 +46,81 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight { fn as_multi_threshold_1(z: u32, ) -> Weight {
Weight::from_ref_time(15_026_000 as u64) // Minimum execution time: 14_417 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(14_932_092 as u64)
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 2
.saturating_add(Weight::from_ref_time(482 as u64).saturating_mul(z as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight { fn as_multi_create(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(35_447_000 as u64) // Minimum execution time: 41_482 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(34_353_792 as u64)
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64)) // Standard Error: 791
// Standard Error: 0 .saturating_add(Weight::from_ref_time(81_017 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 7
.saturating_add(Weight::from_ref_time(1_468 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(37_226_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[3, 100]`. /// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight { fn as_multi_approve(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(26_727_000 as u64) // Minimum execution time: 32_410 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(25_806_543 as u64)
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(s as u64)) // Standard Error: 602
// Standard Error: 0 .saturating_add(Weight::from_ref_time(74_253 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) // Standard Error: 5
.saturating_add(Weight::from_ref_time(1_463 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(39_863_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1) // Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`. /// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight { fn as_multi_complete(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(48_095_000 as u64) // Minimum execution time: 46_059 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(37_295_248 as u64)
.saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(s as u64)) // Standard Error: 604
// Standard Error: 0 .saturating_add(Weight::from_ref_time(104_164 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) // Standard Error: 5
.saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight { fn approve_as_multi_create(s: u32, ) -> Weight {
Weight::from_ref_time(31_927_000 as u64) // Minimum execution time: 29_952 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(32_697_678 as u64)
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(s as u64)) // Standard Error: 857
.saturating_add(Weight::from_ref_time(86_644 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:0)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight { fn approve_as_multi_approve(s: u32, ) -> Weight {
Weight::from_ref_time(23_774_000 as u64) // Minimum execution time: 22_298 nanoseconds.
// Standard Error: 0 Weight::from_ref_time(23_997_404 as u64)
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(s as u64)) // Standard Error: 855
.saturating_add(Weight::from_ref_time(82_455 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64))
} }
// Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_complete(s: u32, ) -> Weight {
Weight::from_ref_time(58_611_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: Multisig Calls (r:1 w:1)
/// The range of component `s` is `[2, 100]`. /// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight { fn cancel_as_multi(s: u32, ) -> Weight {
Weight::from_ref_time(47_858_000 as u64) // Minimum execution time: 31_615 nanoseconds.
// Standard Error: 1_000 Weight::from_ref_time(33_932_527 as u64)
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(s as u64)) // Standard Error: 823
.saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(Weight::from_ref_time(87_873 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
} }
} }