update weights (0.9.37) (#6546) (#6555)

* kusama: update weights

* polkadot: update weights

* westend: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-01-19 14:43:19 +01:00
committed by GitHub
parent ad8c2aff5e
commit 8ff50d0fa7
157 changed files with 6297 additions and 6465 deletions
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! DATE: 2023-01-11 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 6_665_440, 6_986_371
/// Average: 6_731_894
/// Median: 6_723_700
/// Std-Dev: 49280.83
/// Min, Max: 8_872_656, 9_367_064
/// Average: 9_022_244
/// Median: 9_011_014
/// Std-Dev: 77136.86
///
/// Percentiles nanoseconds:
/// 99th: 6_876_251
/// 95th: 6_811_463
/// 75th: 6_751_221
/// 99th: 9_180_045
/// 95th: 9_153_403
/// 75th: 9_060_940
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_731_894));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_022_244));
}
#[cfg(test)]
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! DATE: 2023-01-11 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 94_359, 96_436
/// Average: 94_889
/// Median: 94_839
/// Std-Dev: 369.49
/// Min, Max: 94_526, 96_991
/// Average: 95_108
/// Median: 95_054
/// Std-Dev: 353.12
///
/// Percentiles nanoseconds:
/// 99th: 96_279
/// 95th: 95_584
/// 75th: 95_005
/// 99th: 96_446
/// 95th: 95_798
/// 75th: 95_212
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(94_889));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(95_108));
}
#[cfg(test)]
@@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -46,54 +46,54 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
// Minimum execution time: 102 nanoseconds.
Weight::from_ref_time(153_256 as u64)
// Minimum execution time: 99 nanoseconds.
Weight::from_ref_time(132_705)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 104 nanoseconds.
Weight::from_ref_time(159_150 as u64)
// Minimum execution time: 102 nanoseconds.
Weight::from_ref_time(136_587)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(155_325 as u64)
// Minimum execution time: 117 nanoseconds.
Weight::from_ref_time(144_223)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 102 nanoseconds.
Weight::from_ref_time(148_483 as u64)
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(128_859)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 19_966_061 nanoseconds.
Weight::from_ref_time(20_167_025_347 as u64)
// Standard Error: 298_405
.saturating_add(Weight::from_ref_time(1_324_681 as u64).saturating_mul(i as u64))
// Minimum execution time: 20_008_796 nanoseconds.
Weight::from_ref_time(20_231_830_334)
// Standard Error: 222_061
.saturating_add(Weight::from_ref_time(414_640).saturating_mul(i.into()))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 136 nanoseconds.
Weight::from_ref_time(174_000 as u64)
// Standard Error: 17_607
.saturating_add(Weight::from_ref_time(47_209_113 as u64).saturating_mul(i as u64))
// Minimum execution time: 142 nanoseconds.
Weight::from_ref_time(156_000)
// Standard Error: 19_463
.saturating_add(Weight::from_ref_time(47_363_986).saturating_mul(i.into()))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
// Minimum execution time: 145 nanoseconds.
Weight::from_ref_time(154_000 as u64)
// Standard Error: 4_008
.saturating_add(Weight::from_ref_time(1_977_799 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 124 nanoseconds.
Weight::from_ref_time(133_000)
// Standard Error: 3_395
.saturating_add(Weight::from_ref_time(1_924_310).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
// Minimum execution time: 109 nanoseconds.
Weight::from_ref_time(128_000 as u64)
// Standard Error: 804
.saturating_add(Weight::from_ref_time(325_284 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 108 nanoseconds.
Weight::from_ref_time(115_000)
// Standard Error: 831
.saturating_add(Weight::from_ref_time(334_597).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,22 +48,22 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 5_474_633 nanoseconds.
Weight::from_ref_time(5_525_752_000 as u64)
// Standard Error: 135_558
.saturating_add(Weight::from_ref_time(5_545_241 as u64).saturating_mul(v as u64))
// Standard Error: 13_859_031
.saturating_add(Weight::from_ref_time(1_538_596_617 as u64).saturating_mul(d as u64))
// Minimum execution time: 5_575_729 nanoseconds.
Weight::from_ref_time(5_635_611_000)
// Standard Error: 137_628
.saturating_add(Weight::from_ref_time(5_613_642).saturating_mul(v.into()))
// Standard Error: 14_070_666
.saturating_add(Weight::from_ref_time(1_547_260_145).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 4_309_239 nanoseconds.
Weight::from_ref_time(4_353_424_000 as u64)
// Standard Error: 145_409
.saturating_add(Weight::from_ref_time(5_482_164 as u64).saturating_mul(v as u64))
// Standard Error: 14_866_111
.saturating_add(Weight::from_ref_time(1_765_233_611 as u64).saturating_mul(d as u64))
// Minimum execution time: 4_382_327 nanoseconds.
Weight::from_ref_time(4_421_862_000)
// Standard Error: 146_518
.saturating_add(Weight::from_ref_time(5_556_127).saturating_mul(v.into()))
// Standard Error: 14_979_514
.saturating_add(Weight::from_ref_time(1_762_291_888).saturating_mul(d.into()))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -46,51 +46,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_661 nanoseconds.
Weight::from_ref_time(3_719_000 as u64)
// Minimum execution time: 3_354 nanoseconds.
Weight::from_ref_time(3_423_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(412).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_500 nanoseconds.
Weight::from_ref_time(12_792_000 as u64)
// Minimum execution time: 12_040 nanoseconds.
Weight::from_ref_time(12_231_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_770 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_769).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_514 nanoseconds.
Weight::from_ref_time(8_736_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 8_135 nanoseconds.
Weight::from_ref_time(8_306_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_377 nanoseconds.
Weight::from_ref_time(3_436_000 as u64)
// Standard Error: 1_938
.saturating_add(Weight::from_ref_time(603_404 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_380 nanoseconds.
Weight::from_ref_time(3_431_000)
// Standard Error: 2_049
.saturating_add(Weight::from_ref_time(621_323).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_660 nanoseconds.
Weight::from_ref_time(3_741_000 as u64)
// Standard Error: 927
.saturating_add(Weight::from_ref_time(434_412 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_352 nanoseconds.
Weight::from_ref_time(3_440_000)
// Standard Error: 1_087
.saturating_add(Weight::from_ref_time(452_199).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 4_929 nanoseconds.
Weight::from_ref_time(5_084_000 as u64)
// Standard Error: 1_255
.saturating_add(Weight::from_ref_time(978_082 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 4_688 nanoseconds.
Weight::from_ref_time(4_799_000)
// Standard Error: 1_287
.saturating_add(Weight::from_ref_time(973_968).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_bags_list`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -49,20 +49,20 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: VoterList ListBags (r:1 w:1)
fn rebag_non_terminal() -> Weight {
// Minimum execution time: 62_727 nanoseconds.
Weight::from_ref_time(64_215_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 61_115 nanoseconds.
Weight::from_ref_time(61_942_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn rebag_terminal() -> Weight {
// Minimum execution time: 61_907 nanoseconds.
Weight::from_ref_time(64_148_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 61_773 nanoseconds.
Weight::from_ref_time(62_467_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: Staking Bonded (r:2 w:0)
@@ -70,9 +70,9 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: VoterList ListBags (r:1 w:1)
fn put_in_front_of() -> Weight {
// Minimum execution time: 61_775 nanoseconds.
Weight::from_ref_time(62_422_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 60_847 nanoseconds.
Weight::from_ref_time(61_824_000)
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -27,7 +27,7 @@
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet-balances
// --pallet=pallet_balances
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -48,24 +48,24 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 41_890 nanoseconds.
Weight::from_ref_time(42_832_000)
// Minimum execution time: 43_709 nanoseconds.
Weight::from_ref_time(44_814_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 30_130 nanoseconds.
Weight::from_ref_time(31_076_000)
// Minimum execution time: 30_922 nanoseconds.
Weight::from_ref_time(31_412_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn set_balance_creating() -> Weight {
// Minimum execution time: 20_254 nanoseconds.
Weight::from_ref_time(20_956_000)
// Minimum execution time: 21_870 nanoseconds.
Weight::from_ref_time(22_367_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -73,8 +73,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn set_balance_killing() -> Weight {
// Minimum execution time: 27_767 nanoseconds.
Weight::from_ref_time(28_472_000)
// Minimum execution time: 29_018 nanoseconds.
Weight::from_ref_time(29_444_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -82,23 +82,23 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:2 w:2)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn force_transfer() -> Weight {
// Minimum execution time: 41_369 nanoseconds.
Weight::from_ref_time(41_831_000)
// Minimum execution time: 41_960 nanoseconds.
Weight::from_ref_time(43_872_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
// Minimum execution time: 37_413 nanoseconds.
Weight::from_ref_time(38_587_000)
// Minimum execution time: 39_721 nanoseconds.
Weight::from_ref_time(40_854_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
fn force_unreserve() -> Weight {
// Minimum execution time: 19_049 nanoseconds.
Weight::from_ref_time(19_464_000)
// Minimum execution time: 20_092 nanoseconds.
Weight::from_ref_time(20_746_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -50,101 +50,101 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: Bounties Bounties (r:0 w:1)
/// The range of component `d` is `[0, 16384]`.
fn propose_bounty(d: u32, ) -> Weight {
// Minimum execution time: 29_047 nanoseconds.
Weight::from_ref_time(30_003_353 as u64)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(809 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 28_818 nanoseconds.
Weight::from_ref_time(30_093_500)
// Standard Error: 9
.saturating_add(Weight::from_ref_time(807).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
fn approve_bounty() -> Weight {
// Minimum execution time: 11_505 nanoseconds.
Weight::from_ref_time(11_831_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 11_841 nanoseconds.
Weight::from_ref_time(12_229_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Bounties Bounties (r:1 w:1)
fn propose_curator() -> Weight {
// Minimum execution time: 11_422 nanoseconds.
Weight::from_ref_time(11_716_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_645 nanoseconds.
Weight::from_ref_time(11_858_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
// Minimum execution time: 40_028 nanoseconds.
Weight::from_ref_time(40_648_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 40_710 nanoseconds.
Weight::from_ref_time(42_010_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
// Minimum execution time: 27_639 nanoseconds.
Weight::from_ref_time(28_480_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 28_883 nanoseconds.
Weight::from_ref_time(29_564_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
fn award_bounty() -> Weight {
// Minimum execution time: 24_826 nanoseconds.
Weight::from_ref_time(25_281_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 25_090 nanoseconds.
Weight::from_ref_time(25_543_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn claim_bounty() -> Weight {
// Minimum execution time: 67_233 nanoseconds.
Weight::from_ref_time(68_242_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 68_883 nanoseconds.
Weight::from_ref_time(69_767_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_proposed() -> Weight {
// Minimum execution time: 43_779 nanoseconds.
Weight::from_ref_time(44_285_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 44_136 nanoseconds.
Weight::from_ref_time(45_046_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
// Storage: System Account (r:2 w:2)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_active() -> Weight {
// Minimum execution time: 52_893 nanoseconds.
Weight::from_ref_time(53_583_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 53_422 nanoseconds.
Weight::from_ref_time(54_641_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Bounties Bounties (r:1 w:1)
fn extend_bounty_expiry() -> Weight {
// Minimum execution time: 21_030 nanoseconds.
Weight::from_ref_time(21_691_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 21_770 nanoseconds.
Weight::from_ref_time(22_320_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: Bounties Bounties (r:2 w:2)
// Storage: System Account (r:4 w:4)
/// The range of component `b` is `[0, 100]`.
fn spend_funds(b: u32, ) -> Weight {
// Minimum execution time: 7_438 nanoseconds.
Weight::from_ref_time(18_396_001 as u64)
// Standard Error: 26_725
.saturating_add(Weight::from_ref_time(24_975_270 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
// Minimum execution time: 6_996 nanoseconds.
Weight::from_ref_time(10_276_596)
// Standard Error: 25_600
.saturating_add(Weight::from_ref_time(25_215_669).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_child_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -52,57 +52,57 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
// Storage: ChildBounties ChildBounties (r:0 w:1)
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> Weight {
// Minimum execution time: 51_699 nanoseconds.
Weight::from_ref_time(53_278_250 as u64)
// Standard Error: 11
.saturating_add(Weight::from_ref_time(814 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 52_643 nanoseconds.
Weight::from_ref_time(53_541_568)
// Standard Error: 12
.saturating_add(Weight::from_ref_time(794).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
fn propose_curator() -> Weight {
// Minimum execution time: 19_296 nanoseconds.
Weight::from_ref_time(19_776_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 19_663 nanoseconds.
Weight::from_ref_time(20_099_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
// Minimum execution time: 34_816 nanoseconds.
Weight::from_ref_time(35_312_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 33_998 nanoseconds.
Weight::from_ref_time(34_461_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
// Minimum execution time: 46_811 nanoseconds.
Weight::from_ref_time(47_562_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 45_611 nanoseconds.
Weight::from_ref_time(46_248_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
fn award_child_bounty() -> Weight {
// Minimum execution time: 29_189 nanoseconds.
Weight::from_ref_time(29_476_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_253 nanoseconds.
Weight::from_ref_time(28_531_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn claim_child_bounty() -> Weight {
// Minimum execution time: 69_129 nanoseconds.
Weight::from_ref_time(70_082_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 68_029 nanoseconds.
Weight::from_ref_time(68_950_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
@@ -111,10 +111,10 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
// Storage: System Account (r:2 w:2)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn close_child_bounty_added() -> Weight {
// Minimum execution time: 52_958 nanoseconds.
Weight::from_ref_time(54_430_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 51_114 nanoseconds.
Weight::from_ref_time(52_192_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
@@ -123,9 +123,9 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn close_child_bounty_active() -> Weight {
// Minimum execution time: 62_510 nanoseconds.
Weight::from_ref_time(64_138_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 61_337 nanoseconds.
Weight::from_ref_time(62_394_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -55,80 +55,80 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 16_447 nanoseconds.
Weight::from_ref_time(16_856_000 as u64)
// Standard Error: 46_757
.saturating_add(Weight::from_ref_time(5_281_186 as u64).saturating_mul(m as u64))
// Standard Error: 46_757
.saturating_add(Weight::from_ref_time(7_500_991 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 16_856 nanoseconds.
Weight::from_ref_time(17_075_000)
// Standard Error: 48_653
.saturating_add(Weight::from_ref_time(5_587_258).saturating_mul(m.into()))
// Standard Error: 48_653
.saturating_add(Weight::from_ref_time(7_634_546).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: Council Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 19_949 nanoseconds.
Weight::from_ref_time(19_368_834 as u64)
// Standard Error: 22
.saturating_add(Weight::from_ref_time(1_917 as u64).saturating_mul(b as u64))
// Standard Error: 229
.saturating_add(Weight::from_ref_time(13_967 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 19_862 nanoseconds.
Weight::from_ref_time(19_545_547)
// Standard Error: 24
.saturating_add(Weight::from_ref_time(1_742).saturating_mul(b.into()))
// Standard Error: 256
.saturating_add(Weight::from_ref_time(13_090).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 22_295 nanoseconds.
Weight::from_ref_time(21_517_404 as u64)
// Standard Error: 26
.saturating_add(Weight::from_ref_time(1_856 as u64).saturating_mul(b as u64))
// Standard Error: 271
.saturating_add(Weight::from_ref_time(22_820 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
// Minimum execution time: 22_349 nanoseconds.
Weight::from_ref_time(21_968_020)
// Standard Error: 31
.saturating_add(Weight::from_ref_time(1_639).saturating_mul(b.into()))
// Standard Error: 328
.saturating_add(Weight::from_ref_time(19_134).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalCount (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_745 nanoseconds.
Weight::from_ref_time(28_146_412 as u64)
// Minimum execution time: 27_722 nanoseconds.
Weight::from_ref_time(29_381_950)
// Standard Error: 71
.saturating_add(Weight::from_ref_time(3_378 as u64).saturating_mul(b as u64))
// Standard Error: 749
.saturating_add(Weight::from_ref_time(22_179 as u64).saturating_mul(m as u64))
// Standard Error: 739
.saturating_add(Weight::from_ref_time(108_349 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(Weight::from_ref_time(2_758).saturating_mul(b.into()))
// Standard Error: 745
.saturating_add(Weight::from_ref_time(18_974).saturating_mul(m.into()))
// Standard Error: 736
.saturating_add(Weight::from_ref_time(107_381).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 27_772 nanoseconds.
Weight::from_ref_time(28_486_180 as u64)
// Standard Error: 376
.saturating_add(Weight::from_ref_time(38_162 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_909 nanoseconds.
Weight::from_ref_time(30_186_048)
// Standard Error: 541
.saturating_add(Weight::from_ref_time(36_449).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
@@ -139,36 +139,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 30_430 nanoseconds.
Weight::from_ref_time(32_906_376 as u64)
// Standard Error: 538
.saturating_add(Weight::from_ref_time(20_866 as u64).saturating_mul(m as u64))
// Standard Error: 525
.saturating_add(Weight::from_ref_time(84_112 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 30_055 nanoseconds.
Weight::from_ref_time(33_099_605)
// Standard Error: 546
.saturating_add(Weight::from_ref_time(17_961).saturating_mul(m.into()))
// Standard Error: 532
.saturating_add(Weight::from_ref_time(90_493).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 41_328 nanoseconds.
Weight::from_ref_time(41_331_557 as u64)
// Standard Error: 60
.saturating_add(Weight::from_ref_time(1_828 as u64).saturating_mul(b as u64))
// Standard Error: 645
.saturating_add(Weight::from_ref_time(26_460 as u64).saturating_mul(m as u64))
// Minimum execution time: 40_485 nanoseconds.
Weight::from_ref_time(41_628_932)
// Standard Error: 61
.saturating_add(Weight::from_ref_time(2_000).saturating_mul(b.into()))
// Standard Error: 644
.saturating_add(Weight::from_ref_time(14_831).saturating_mul(m.into()))
// Standard Error: 628
.saturating_add(Weight::from_ref_time(96_432 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(Weight::from_ref_time(111_363).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
@@ -180,37 +180,37 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 33_541 nanoseconds.
Weight::from_ref_time(34_963_525 as u64)
// Standard Error: 517
.saturating_add(Weight::from_ref_time(26_814 as u64).saturating_mul(m as u64))
// Standard Error: 505
.saturating_add(Weight::from_ref_time(84_716 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 33_535 nanoseconds.
Weight::from_ref_time(35_864_940)
// Standard Error: 498
.saturating_add(Weight::from_ref_time(19_568).saturating_mul(m.into()))
// Standard Error: 485
.saturating_add(Weight::from_ref_time(85_200).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Prime (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 42_833 nanoseconds.
Weight::from_ref_time(44_229_039 as u64)
// Standard Error: 67
.saturating_add(Weight::from_ref_time(1_742 as u64).saturating_mul(b as u64))
// Standard Error: 713
.saturating_add(Weight::from_ref_time(22_234 as u64).saturating_mul(m as u64))
// Standard Error: 695
.saturating_add(Weight::from_ref_time(96_563 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 42_843 nanoseconds.
Weight::from_ref_time(44_165_033)
// Standard Error: 61
.saturating_add(Weight::from_ref_time(2_060).saturating_mul(b.into()))
// Standard Error: 648
.saturating_add(Weight::from_ref_time(13_211).saturating_mul(m.into()))
// Standard Error: 631
.saturating_add(Weight::from_ref_time(111_071).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Proposals (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
@@ -218,11 +218,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 19_172 nanoseconds.
Weight::from_ref_time(22_273_247 as u64)
// Standard Error: 664
.saturating_add(Weight::from_ref_time(95_163 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 19_072 nanoseconds.
Weight::from_ref_time(22_534_817)
// Standard Error: 727
.saturating_add(Weight::from_ref_time(94_889).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -55,80 +55,80 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 16_808 nanoseconds.
Weight::from_ref_time(17_190_000 as u64)
// Standard Error: 46_506
.saturating_add(Weight::from_ref_time(5_338_165 as u64).saturating_mul(m as u64))
// Standard Error: 46_506
.saturating_add(Weight::from_ref_time(7_515_702 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 17_342 nanoseconds.
Weight::from_ref_time(17_564_000)
// Standard Error: 49_573
.saturating_add(Weight::from_ref_time(5_712_587).saturating_mul(m.into()))
// Standard Error: 49_573
.saturating_add(Weight::from_ref_time(7_832_746).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 20_545 nanoseconds.
Weight::from_ref_time(19_860_961 as u64)
// Standard Error: 18
.saturating_add(Weight::from_ref_time(1_865 as u64).saturating_mul(b as u64))
// Standard Error: 190
.saturating_add(Weight::from_ref_time(13_602 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 20_497 nanoseconds.
Weight::from_ref_time(20_033_132)
// Standard Error: 22
.saturating_add(Weight::from_ref_time(1_704).saturating_mul(b.into()))
// Standard Error: 234
.saturating_add(Weight::from_ref_time(13_358).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 23_052 nanoseconds.
Weight::from_ref_time(22_008_528 as u64)
// Standard Error: 21
.saturating_add(Weight::from_ref_time(1_839 as u64).saturating_mul(b as u64))
// Standard Error: 225
.saturating_add(Weight::from_ref_time(21_080 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
// Minimum execution time: 22_846 nanoseconds.
Weight::from_ref_time(22_541_651)
// Standard Error: 27
.saturating_add(Weight::from_ref_time(1_620).saturating_mul(b.into()))
// Standard Error: 287
.saturating_add(Weight::from_ref_time(17_690).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalCount (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 28_562 nanoseconds.
Weight::from_ref_time(29_261_959 as u64)
// Standard Error: 70
.saturating_add(Weight::from_ref_time(3_503 as u64).saturating_mul(b as u64))
// Standard Error: 733
.saturating_add(Weight::from_ref_time(21_047 as u64).saturating_mul(m as u64))
// Standard Error: 724
.saturating_add(Weight::from_ref_time(113_937 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 28_834 nanoseconds.
Weight::from_ref_time(30_112_596)
// Standard Error: 65
.saturating_add(Weight::from_ref_time(3_263).saturating_mul(b.into()))
// Standard Error: 687
.saturating_add(Weight::from_ref_time(18_198).saturating_mul(m.into()))
// Standard Error: 679
.saturating_add(Weight::from_ref_time(114_530).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 29_024 nanoseconds.
Weight::from_ref_time(30_114_505 as u64)
// Standard Error: 450
.saturating_add(Weight::from_ref_time(39_180 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 29_717 nanoseconds.
Weight::from_ref_time(30_729_357)
// Standard Error: 485
.saturating_add(Weight::from_ref_time(38_834).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
@@ -139,36 +139,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 32_178 nanoseconds.
Weight::from_ref_time(33_614_789 as u64)
// Standard Error: 472
.saturating_add(Weight::from_ref_time(22_479 as u64).saturating_mul(m as u64))
// Standard Error: 461
.saturating_add(Weight::from_ref_time(83_882 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 31_899 nanoseconds.
Weight::from_ref_time(33_903_467)
// Standard Error: 449
.saturating_add(Weight::from_ref_time(18_073).saturating_mul(m.into()))
// Standard Error: 438
.saturating_add(Weight::from_ref_time(89_651).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 41_635 nanoseconds.
Weight::from_ref_time(42_323_834 as u64)
// Standard Error: 55
.saturating_add(Weight::from_ref_time(1_697 as u64).saturating_mul(b as u64))
// Standard Error: 591
.saturating_add(Weight::from_ref_time(24_790 as u64).saturating_mul(m as u64))
// Standard Error: 576
.saturating_add(Weight::from_ref_time(96_009 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 41_512 nanoseconds.
Weight::from_ref_time(42_315_249)
// Standard Error: 56
.saturating_add(Weight::from_ref_time(1_952).saturating_mul(b.into()))
// Standard Error: 595
.saturating_add(Weight::from_ref_time(16_126).saturating_mul(m.into()))
// Standard Error: 580
.saturating_add(Weight::from_ref_time(111_812).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
@@ -180,37 +180,37 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 34_682 nanoseconds.
Weight::from_ref_time(35_559_148 as u64)
// Standard Error: 495
.saturating_add(Weight::from_ref_time(27_860 as u64).saturating_mul(m as u64))
// Standard Error: 483
.saturating_add(Weight::from_ref_time(83_712 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 34_438 nanoseconds.
Weight::from_ref_time(36_368_537)
// Standard Error: 468
.saturating_add(Weight::from_ref_time(20_526).saturating_mul(m.into()))
// Standard Error: 457
.saturating_add(Weight::from_ref_time(88_134).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 43_702 nanoseconds.
Weight::from_ref_time(44_643_929 as u64)
// Standard Error: 62
.saturating_add(Weight::from_ref_time(1_639 as u64).saturating_mul(b as u64))
// Standard Error: 660
.saturating_add(Weight::from_ref_time(23_244 as u64).saturating_mul(m as u64))
// Standard Error: 643
.saturating_add(Weight::from_ref_time(98_321 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 43_212 nanoseconds.
Weight::from_ref_time(44_785_189)
// Standard Error: 55
.saturating_add(Weight::from_ref_time(2_009).saturating_mul(b.into()))
// Standard Error: 590
.saturating_add(Weight::from_ref_time(14_883).saturating_mul(m.into()))
// Standard Error: 575
.saturating_add(Weight::from_ref_time(111_119).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
@@ -218,11 +218,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 20_059 nanoseconds.
Weight::from_ref_time(22_842_572 as u64)
// Standard Error: 625
.saturating_add(Weight::from_ref_time(97_244 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 19_705 nanoseconds.
Weight::from_ref_time(23_044_539)
// Standard Error: 696
.saturating_add(Weight::from_ref_time(96_439).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_conviction_voting`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -50,10 +50,10 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
// Storage: Balances Locks (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn vote_new() -> Weight {
// Minimum execution time: 129_807 nanoseconds.
Weight::from_ref_time(133_007_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 136_956 nanoseconds.
Weight::from_ref_time(140_581_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: ConvictionVoting VotingFor (r:1 w:1)
@@ -61,27 +61,27 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
// Storage: Balances Locks (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn vote_existing() -> Weight {
// Minimum execution time: 154_191 nanoseconds.
Weight::from_ref_time(156_774_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 178_892 nanoseconds.
Weight::from_ref_time(182_315_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: ConvictionVoting VotingFor (r:1 w:1)
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn remove_vote() -> Weight {
// Minimum execution time: 128_599 nanoseconds.
Weight::from_ref_time(131_816_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 156_245 nanoseconds.
Weight::from_ref_time(159_793_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: ConvictionVoting VotingFor (r:1 w:1)
// Storage: Referenda ReferendumInfoFor (r:1 w:0)
fn remove_other_vote() -> Weight {
// Minimum execution time: 71_872 nanoseconds.
Weight::from_ref_time(73_800_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 76_528 nanoseconds.
Weight::from_ref_time(78_713_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ConvictionVoting VotingFor (r:2 w:2)
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
@@ -90,36 +90,36 @@ impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInf
// Storage: Scheduler Agenda (r:2 w:2)
/// The range of component `r` is `[0, 512]`.
fn delegate(r: u32, ) -> Weight {
// Minimum execution time: 77_152 nanoseconds.
Weight::from_ref_time(706_169_111 as u64)
// Standard Error: 59_459
.saturating_add(Weight::from_ref_time(26_675_761 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(6 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 77_221 nanoseconds.
Weight::from_ref_time(1_228_463_979)
// Standard Error: 101_971
.saturating_add(Weight::from_ref_time(27_481_270).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: ConvictionVoting VotingFor (r:2 w:2)
// Storage: Referenda ReferendumInfoFor (r:10 w:10)
// Storage: Scheduler Agenda (r:2 w:2)
/// The range of component `r` is `[0, 512]`.
fn undelegate(r: u32, ) -> Weight {
// Minimum execution time: 57_429 nanoseconds.
Weight::from_ref_time(678_011_885 as u64)
// Standard Error: 59_201
.saturating_add(Weight::from_ref_time(26_729_943 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 55_689 nanoseconds.
Weight::from_ref_time(1_198_555_543)
// Standard Error: 101_907
.saturating_add(Weight::from_ref_time(27_486_586).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: ConvictionVoting VotingFor (r:1 w:1)
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn unlock() -> Weight {
// Minimum execution time: 91_278 nanoseconds.
Weight::from_ref_time(93_505_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 94_867 nanoseconds.
Weight::from_ref_time(96_648_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_democracy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -49,43 +49,43 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy Blacklist (r:1 w:0)
// Storage: Democracy DepositOf (r:0 w:1)
fn propose() -> Weight {
// Minimum execution time: 43_480 nanoseconds.
Weight::from_ref_time(44_439_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 43_766 nanoseconds.
Weight::from_ref_time(44_789_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy DepositOf (r:1 w:1)
fn second() -> Weight {
// Minimum execution time: 40_276 nanoseconds.
Weight::from_ref_time(41_788_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 40_020 nanoseconds.
Weight::from_ref_time(42_074_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_new() -> Weight {
// Minimum execution time: 50_609 nanoseconds.
Weight::from_ref_time(51_581_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 50_321 nanoseconds.
Weight::from_ref_time(50_928_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_existing() -> Weight {
// Minimum execution time: 50_941 nanoseconds.
Weight::from_ref_time(51_356_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 50_195 nanoseconds.
Weight::from_ref_time(51_184_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
fn emergency_cancel() -> Weight {
// Minimum execution time: 21_573 nanoseconds.
Weight::from_ref_time(22_094_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 21_441 nanoseconds.
Weight::from_ref_time(21_819_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
@@ -94,75 +94,75 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Blacklist (r:0 w:1)
fn blacklist() -> Weight {
// Minimum execution time: 78_016 nanoseconds.
Weight::from_ref_time(79_651_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 79_334 nanoseconds.
Weight::from_ref_time(80_956_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
// Minimum execution time: 17_106 nanoseconds.
Weight::from_ref_time(17_287_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 16_586 nanoseconds.
Weight::from_ref_time(16_932_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
// Minimum execution time: 4_801 nanoseconds.
Weight::from_ref_time(4_954_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_679 nanoseconds.
Weight::from_ref_time(4_887_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
// Minimum execution time: 4_671 nanoseconds.
Weight::from_ref_time(4_906_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_554 nanoseconds.
Weight::from_ref_time(4_806_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn fast_track() -> Weight {
// Minimum execution time: 20_734 nanoseconds.
Weight::from_ref_time(21_068_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 20_564 nanoseconds.
Weight::from_ref_time(20_974_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
// Minimum execution time: 26_640 nanoseconds.
Weight::from_ref_time(27_058_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_694 nanoseconds.
Weight::from_ref_time(27_189_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn cancel_proposal() -> Weight {
// Minimum execution time: 66_091 nanoseconds.
Weight::from_ref_time(67_119_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 66_909 nanoseconds.
Weight::from_ref_time(68_127_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
// Minimum execution time: 13_879 nanoseconds.
Weight::from_ref_time(14_107_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 13_513 nanoseconds.
Weight::from_ref_time(13_848_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
// Minimum execution time: 6_375 nanoseconds.
Weight::from_ref_time(9_732_668 as u64)
// Standard Error: 4_002
.saturating_add(Weight::from_ref_time(2_103_987 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 6_296 nanoseconds.
Weight::from_ref_time(9_156_811)
// Standard Error: 4_206
.saturating_add(Weight::from_ref_time(2_075_070).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
@@ -172,91 +172,91 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
// Minimum execution time: 8_604 nanoseconds.
Weight::from_ref_time(12_108_221 as u64)
// Standard Error: 3_740
.saturating_add(Weight::from_ref_time(2_106_843 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_549 nanoseconds.
Weight::from_ref_time(11_646_977)
// Standard Error: 3_819
.saturating_add(Weight::from_ref_time(2_072_455).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:3 w:3)
// Storage: Balances Locks (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
// Minimum execution time: 43_169 nanoseconds.
Weight::from_ref_time(49_050_100 as u64)
// Standard Error: 6_519
.saturating_add(Weight::from_ref_time(3_017_381 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 42_820 nanoseconds.
Weight::from_ref_time(49_145_966)
// Standard Error: 5_841
.saturating_add(Weight::from_ref_time(3_057_103).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: Democracy VotingOf (r:2 w:2)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
// Minimum execution time: 26_214 nanoseconds.
Weight::from_ref_time(31_373_892 as u64)
// Standard Error: 13_107
.saturating_add(Weight::from_ref_time(2_995_678 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 25_555 nanoseconds.
Weight::from_ref_time(28_782_855)
// Standard Error: 5_763
.saturating_add(Weight::from_ref_time(3_056_014).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
// Minimum execution time: 5_062 nanoseconds.
Weight::from_ref_time(5_265_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 5_302 nanoseconds.
Weight::from_ref_time(5_415_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
// Minimum execution time: 25_583 nanoseconds.
Weight::from_ref_time(32_527_820 as u64)
// Standard Error: 1_608
.saturating_add(Weight::from_ref_time(32_882 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 25_866 nanoseconds.
Weight::from_ref_time(32_423_849)
// Standard Error: 1_483
.saturating_add(Weight::from_ref_time(32_233).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
// Minimum execution time: 30_561 nanoseconds.
Weight::from_ref_time(32_558_405 as u64)
// Standard Error: 635
.saturating_add(Weight::from_ref_time(63_267 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 30_900 nanoseconds.
Weight::from_ref_time(32_169_888)
// Standard Error: 549
.saturating_add(Weight::from_ref_time(66_800).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
// Minimum execution time: 16_041 nanoseconds.
Weight::from_ref_time(18_765_906 as u64)
// Standard Error: 833
.saturating_add(Weight::from_ref_time(66_549 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 16_102 nanoseconds.
Weight::from_ref_time(19_188_005)
// Standard Error: 1_134
.saturating_add(Weight::from_ref_time(63_688).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
// Minimum execution time: 15_811 nanoseconds.
Weight::from_ref_time(18_594_645 as u64)
// Standard Error: 940
.saturating_add(Weight::from_ref_time(72_328 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 16_231 nanoseconds.
Weight::from_ref_time(18_895_931)
// Standard Error: 905
.saturating_add(Weight::from_ref_time(70_560).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_election_provider_multi_phase`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -53,40 +53,40 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
// Storage: Staking ForceEra (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
fn on_initialize_nothing() -> Weight {
// Minimum execution time: 15_765 nanoseconds.
Weight::from_ref_time(16_178_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
// Minimum execution time: 16_470 nanoseconds.
Weight::from_ref_time(16_907_000)
.saturating_add(T::DbWeight::get().reads(8))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
fn on_initialize_open_signed() -> Weight {
// Minimum execution time: 15_294 nanoseconds.
Weight::from_ref_time(15_649_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 16_679 nanoseconds.
Weight::from_ref_time(17_027_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
fn on_initialize_open_unsigned() -> Weight {
// Minimum execution time: 14_776 nanoseconds.
Weight::from_ref_time(15_204_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 16_814 nanoseconds.
Weight::from_ref_time(17_359_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
fn finalize_signed_phase_accept_solution() -> Weight {
// Minimum execution time: 29_172 nanoseconds.
Weight::from_ref_time(29_735_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 29_389 nanoseconds.
Weight::from_ref_time(30_318_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn finalize_signed_phase_reject_solution() -> Weight {
// Minimum execution time: 23_324 nanoseconds.
Weight::from_ref_time(23_675_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 23_370 nanoseconds.
Weight::from_ref_time(23_804_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
@@ -94,13 +94,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
// Minimum execution time: 615_137 nanoseconds.
Weight::from_ref_time(17_886_193 as u64)
// Standard Error: 2_263
.saturating_add(Weight::from_ref_time(558_009 as u64).saturating_mul(v as u64))
// Standard Error: 4_524
.saturating_add(Weight::from_ref_time(75_903 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 619_087 nanoseconds.
Weight::from_ref_time(27_737_181)
// Standard Error: 2_383
.saturating_add(Weight::from_ref_time(548_432).saturating_mul(v.into()))
// Standard Error: 4_764
.saturating_add(Weight::from_ref_time(81_013).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
@@ -109,18 +109,18 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
// Storage: System BlockWeight (r:1 w:1)
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn elect_queued(a: u32, _d: u32, ) -> Weight {
// Minimum execution time: 376_033 nanoseconds.
Weight::from_ref_time(379_882_000 as u64)
// Standard Error: 8_877
.saturating_add(Weight::from_ref_time(562_200 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(9 as u64))
// Minimum execution time: 388_320 nanoseconds.
Weight::from_ref_time(394_921_000)
// Standard Error: 8_418
.saturating_add(Weight::from_ref_time(585_951).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(9))
}
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
@@ -129,10 +129,10 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
fn submit() -> Weight {
// Minimum execution time: 50_778 nanoseconds.
Weight::from_ref_time(51_219_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 51_781 nanoseconds.
Weight::from_ref_time(52_592_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
@@ -146,12 +146,12 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn submit_unsigned(_v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
// Minimum execution time: 6_866_951 nanoseconds.
Weight::from_ref_time(6_994_679_000 as u64)
// Standard Error: 59_999
.saturating_add(Weight::from_ref_time(7_093_483 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 6_883_673 nanoseconds.
Weight::from_ref_time(6_913_780_000)
// Standard Error: 58_489
.saturating_add(Weight::from_ref_time(7_045_714).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
@@ -162,12 +162,12 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
// Minimum execution time: 5_710_244 nanoseconds.
Weight::from_ref_time(5_739_503_000 as u64)
// Standard Error: 16_787
.saturating_add(Weight::from_ref_time(131_224 as u64).saturating_mul(v as u64))
// Standard Error: 49_748
.saturating_add(Weight::from_ref_time(5_312_456 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
// Minimum execution time: 5_716_039 nanoseconds.
Weight::from_ref_time(5_777_908_000)
// Standard Error: 18_953
.saturating_add(Weight::from_ref_time(214_561).saturating_mul(v.into()))
// Standard Error: 56_166
.saturating_add(Weight::from_ref_time(5_251_012).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(4))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_elections_phragmen`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -51,12 +51,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[1, 16]`.
fn vote_equal(v: u32, ) -> Weight {
// Minimum execution time: 31_673 nanoseconds.
Weight::from_ref_time(34_361_005 as u64)
// Standard Error: 9_644
.saturating_add(Weight::from_ref_time(93_408 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 32_184 nanoseconds.
Weight::from_ref_time(33_524_447)
// Standard Error: 5_694
.saturating_add(Weight::from_ref_time(175_641).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -65,12 +65,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[2, 16]`.
fn vote_more(v: u32, ) -> Weight {
// Minimum execution time: 41_200 nanoseconds.
Weight::from_ref_time(42_889_832 as u64)
// Standard Error: 4_165
.saturating_add(Weight::from_ref_time(223_881 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 41_542 nanoseconds.
Weight::from_ref_time(43_065_521)
// Standard Error: 5_629
.saturating_add(Weight::from_ref_time(207_494).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -79,42 +79,42 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[2, 16]`.
fn vote_less(v: u32, ) -> Weight {
// Minimum execution time: 42_012 nanoseconds.
Weight::from_ref_time(43_635_852 as u64)
// Standard Error: 4_519
.saturating_add(Weight::from_ref_time(119_706 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 41_667 nanoseconds.
Weight::from_ref_time(43_527_907)
// Standard Error: 6_105
.saturating_add(Weight::from_ref_time(147_625).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn remove_voter() -> Weight {
// Minimum execution time: 40_370 nanoseconds.
Weight::from_ref_time(41_142_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 41_833 nanoseconds.
Weight::from_ref_time(42_243_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// The range of component `c` is `[1, 1000]`.
fn submit_candidacy(c: u32, ) -> Weight {
// Minimum execution time: 37_086 nanoseconds.
Weight::from_ref_time(28_441_305 as u64)
// Standard Error: 1_050
.saturating_add(Weight::from_ref_time(91_457 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 36_995 nanoseconds.
Weight::from_ref_time(29_233_259)
// Standard Error: 981
.saturating_add(Weight::from_ref_time(91_366).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
/// The range of component `c` is `[1, 1000]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
// Minimum execution time: 32_127 nanoseconds.
Weight::from_ref_time(23_789_781 as u64)
// Standard Error: 995
.saturating_add(Weight::from_ref_time(71_601 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 32_434 nanoseconds.
Weight::from_ref_time(24_261_784)
// Standard Error: 1_005
.saturating_add(Weight::from_ref_time(71_813).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: PhragmenElection Members (r:1 w:1)
// Storage: PhragmenElection RunnersUp (r:1 w:1)
@@ -122,22 +122,22 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Members (r:0 w:1)
fn renounce_candidacy_members() -> Weight {
// Minimum execution time: 44_751 nanoseconds.
Weight::from_ref_time(46_264_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 44_822 nanoseconds.
Weight::from_ref_time(46_638_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: PhragmenElection RunnersUp (r:1 w:1)
fn renounce_candidacy_runners_up() -> Weight {
// Minimum execution time: 34_904 nanoseconds.
Weight::from_ref_time(36_139_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 34_508 nanoseconds.
Weight::from_ref_time(35_615_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Benchmark Override (r:0 w:0)
fn remove_member_without_replacement() -> Weight {
// Minimum execution time: 2_000_000_000 nanoseconds.
Weight::from_ref_time(2_000_000_000_000 as u64)
Weight::from_ref_time(2_000_000_000_000)
}
// Storage: PhragmenElection Members (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -146,10 +146,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Members (r:0 w:1)
fn remove_member_with_replacement() -> Weight {
// Minimum execution time: 59_246 nanoseconds.
Weight::from_ref_time(60_848_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 60_039 nanoseconds.
Weight::from_ref_time(61_232_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: PhragmenElection Voting (r:5001 w:5000)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -160,13 +160,13 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
/// The range of component `v` is `[5000, 10000]`.
/// The range of component `d` is `[0, 5000]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
// Minimum execution time: 279_914_581 nanoseconds.
Weight::from_ref_time(280_093_180_000 as u64)
// Standard Error: 242_383
.saturating_add(Weight::from_ref_time(34_902_791 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
// Minimum execution time: 281_919_802 nanoseconds.
Weight::from_ref_time(282_255_830_000)
// Standard Error: 242_808
.saturating_add(Weight::from_ref_time(35_109_040).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:1)
@@ -181,16 +181,16 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
/// The range of component `v` is `[1, 10000]`.
/// The range of component `e` is `[10000, 160000]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
// Minimum execution time: 29_009_063 nanoseconds.
Weight::from_ref_time(29_156_039_000 as u64)
// Standard Error: 553_255
.saturating_add(Weight::from_ref_time(46_221_121 as u64).saturating_mul(v as u64))
// Standard Error: 35_504
.saturating_add(Weight::from_ref_time(2_367_682 as u64).saturating_mul(e as u64))
.saturating_add(T::DbWeight::get().reads(265 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes(6 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
// Minimum execution time: 29_164_087 nanoseconds.
Weight::from_ref_time(29_469_711_000)
// Standard Error: 540_001
.saturating_add(Weight::from_ref_time(45_809_718).saturating_mul(v.into()))
// Standard Error: 34_653
.saturating_add(Weight::from_ref_time(2_347_682).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(265))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_fast_unstake`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -58,10 +58,10 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: Staking Ledger (r:0 w:64)
// Storage: Staking Payee (r:0 w:64)
fn on_idle_unstake() -> Weight {
// Minimum execution time: 2_141_174 nanoseconds.
Weight::from_ref_time(2_204_649_000 as u64)
.saturating_add(T::DbWeight::get().reads(389 as u64))
.saturating_add(T::DbWeight::get().writes(321 as u64))
// Minimum execution time: 2_170_504 nanoseconds.
Weight::from_ref_time(2_236_360_000)
.saturating_add(T::DbWeight::get().reads(389))
.saturating_add(T::DbWeight::get().writes(321))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking ValidatorCount (r:1 w:0)
@@ -73,13 +73,13 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: Staking ErasStakers (r:56 w:0)
/// The range of component `x` is `[28, 3584]`.
fn on_idle_check(x: u32, ) -> Weight {
// Minimum execution time: 21_964_474 nanoseconds.
Weight::from_ref_time(22_227_783_000 as u64)
// Standard Error: 498_921
.saturating_add(Weight::from_ref_time(624_289_713 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(85 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
.saturating_add(T::DbWeight::get().writes(66 as u64))
// Minimum execution time: 21_967_590 nanoseconds.
Weight::from_ref_time(22_194_763_000)
// Standard Error: 528_725
.saturating_add(Weight::from_ref_time(623_346_785).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(85))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().writes(66))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking Ledger (r:1 w:1)
@@ -96,10 +96,10 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: Balances Locks (r:1 w:1)
// Storage: FastUnstake CounterForQueue (r:1 w:1)
fn register_fast_unstake() -> Weight {
// Minimum execution time: 124_637 nanoseconds.
Weight::from_ref_time(126_193_000 as u64)
.saturating_add(T::DbWeight::get().reads(15 as u64))
.saturating_add(T::DbWeight::get().writes(10 as u64))
// Minimum execution time: 125_490 nanoseconds.
Weight::from_ref_time(127_722_000)
.saturating_add(T::DbWeight::get().reads(15))
.saturating_add(T::DbWeight::get().writes(10))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
@@ -107,15 +107,15 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: FastUnstake Head (r:1 w:0)
// Storage: FastUnstake CounterForQueue (r:1 w:1)
fn deregister() -> Weight {
// Minimum execution time: 50_711 nanoseconds.
Weight::from_ref_time(51_537_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 50_331 nanoseconds.
Weight::from_ref_time(51_092_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
fn control() -> Weight {
// Minimum execution time: 4_008 nanoseconds.
Weight::from_ref_time(4_153_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_191 nanoseconds.
Weight::from_ref_time(4_341_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_identity`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -47,52 +47,52 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn add_registrar(r: u32, ) -> Weight {
// Minimum execution time: 16_710 nanoseconds.
Weight::from_ref_time(18_118_559 as u64)
// Standard Error: 3_051
.saturating_add(Weight::from_ref_time(148_040 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 17_152 nanoseconds.
Weight::from_ref_time(18_443_367)
// Standard Error: 3_008
.saturating_add(Weight::from_ref_time(155_875).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn set_identity(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 35_847 nanoseconds.
Weight::from_ref_time(35_393_868 as u64)
// Standard Error: 3_524
.saturating_add(Weight::from_ref_time(75_148 as u64).saturating_mul(r as u64))
// Standard Error: 687
.saturating_add(Weight::from_ref_time(306_971 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 36_778 nanoseconds.
Weight::from_ref_time(36_330_837)
// Standard Error: 3_331
.saturating_add(Weight::from_ref_time(77_113).saturating_mul(r.into()))
// Standard Error: 650
.saturating_add(Weight::from_ref_time(326_328).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:2 w:2)
/// The range of component `s` is `[0, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
// Minimum execution time: 10_340 nanoseconds.
Weight::from_ref_time(28_847_479 as u64)
// Standard Error: 5_014
.saturating_add(Weight::from_ref_time(2_161_226 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
// Minimum execution time: 10_059 nanoseconds.
Weight::from_ref_time(29_024_911)
// Standard Error: 5_024
.saturating_add(Weight::from_ref_time(2_207_732).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:2)
/// The range of component `p` is `[0, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
// Minimum execution time: 10_122 nanoseconds.
Weight::from_ref_time(28_546_493 as u64)
// Standard Error: 4_337
.saturating_add(Weight::from_ref_time(929_288 as u64).saturating_mul(p 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).saturating_mul(p as u64)))
// Minimum execution time: 10_010 nanoseconds.
Weight::from_ref_time(29_188_321)
// Standard Error: 4_688
.saturating_add(Weight::from_ref_time(962_805).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
@@ -101,88 +101,88 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 51_131 nanoseconds.
Weight::from_ref_time(36_991_277 as u64)
// Standard Error: 11_013
.saturating_add(Weight::from_ref_time(75_731 as u64).saturating_mul(r as u64))
// Standard Error: 2_150
.saturating_add(Weight::from_ref_time(900_334 as u64).saturating_mul(s as u64))
// Standard Error: 2_150
.saturating_add(Weight::from_ref_time(161_480 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
// Minimum execution time: 52_785 nanoseconds.
Weight::from_ref_time(37_511_872)
// Standard Error: 5_724
.saturating_add(Weight::from_ref_time(97_761).saturating_mul(r.into()))
// Standard Error: 1_117
.saturating_add(Weight::from_ref_time(920_873).saturating_mul(s.into()))
// Standard Error: 1_117
.saturating_add(Weight::from_ref_time(165_800).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 38_002 nanoseconds.
Weight::from_ref_time(36_848_336 as u64)
// Standard Error: 4_513
.saturating_add(Weight::from_ref_time(100_666 as u64).saturating_mul(r as u64))
// Standard Error: 880
.saturating_add(Weight::from_ref_time(327_085 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 38_167 nanoseconds.
Weight::from_ref_time(36_408_807)
// Standard Error: 5_669
.saturating_add(Weight::from_ref_time(154_785).saturating_mul(r.into()))
// Standard Error: 1_106
.saturating_add(Weight::from_ref_time(351_981).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 34_116 nanoseconds.
Weight::from_ref_time(34_235_732 as u64)
// Standard Error: 3_409
.saturating_add(Weight::from_ref_time(49_426 as u64).saturating_mul(r as u64))
// Standard Error: 665
.saturating_add(Weight::from_ref_time(323_592 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 35_364 nanoseconds.
Weight::from_ref_time(33_959_116)
// Standard Error: 4_066
.saturating_add(Weight::from_ref_time(95_702).saturating_mul(r.into()))
// Standard Error: 793
.saturating_add(Weight::from_ref_time(345_929).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fee(r: u32, ) -> Weight {
// Minimum execution time: 8_678 nanoseconds.
Weight::from_ref_time(9_613_287 as u64)
// Standard Error: 2_285
.saturating_add(Weight::from_ref_time(117_905 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_663 nanoseconds.
Weight::from_ref_time(9_737_079)
// Standard Error: 2_488
.saturating_add(Weight::from_ref_time(123_571).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
// Minimum execution time: 8_892 nanoseconds.
Weight::from_ref_time(9_735_071 as u64)
// Standard Error: 2_239
.saturating_add(Weight::from_ref_time(115_282 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_983 nanoseconds.
Weight::from_ref_time(9_919_670)
// Standard Error: 2_177
.saturating_add(Weight::from_ref_time(121_324).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fields(r: u32, ) -> Weight {
// Minimum execution time: 8_783 nanoseconds.
Weight::from_ref_time(9_686_212 as u64)
// Standard Error: 2_092
.saturating_add(Weight::from_ref_time(107_045 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_917 nanoseconds.
Weight::from_ref_time(9_942_994)
// Standard Error: 2_685
.saturating_add(Weight::from_ref_time(120_895).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
/// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 28_056 nanoseconds.
Weight::from_ref_time(28_240_411 as u64)
// Standard Error: 7_231
.saturating_add(Weight::from_ref_time(61_164 as u64).saturating_mul(r as u64))
// Standard Error: 1_337
.saturating_add(Weight::from_ref_time(546_999 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_482 nanoseconds.
Weight::from_ref_time(27_555_133)
// Standard Error: 5_352
.saturating_add(Weight::from_ref_time(113_219).saturating_mul(r.into()))
// Standard Error: 990
.saturating_add(Weight::from_ref_time(583_860).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
@@ -192,62 +192,62 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 62_459 nanoseconds.
Weight::from_ref_time(47_788_369 as u64)
// Minimum execution time: 64_550 nanoseconds.
Weight::from_ref_time(48_971_026)
// Standard Error: 5_893
.saturating_add(Weight::from_ref_time(100_560 as u64).saturating_mul(r as u64))
.saturating_add(Weight::from_ref_time(106_634).saturating_mul(r.into()))
// Standard Error: 1_150
.saturating_add(Weight::from_ref_time(907_788 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(931_616).saturating_mul(s.into()))
// Standard Error: 1_150
.saturating_add(Weight::from_ref_time(161_942 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
.saturating_add(Weight::from_ref_time(163_283).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[0, 99]`.
fn add_sub(s: u32, ) -> Weight {
// Minimum execution time: 32_735 nanoseconds.
Weight::from_ref_time(37_928_065 as u64)
// Standard Error: 1_523
.saturating_add(Weight::from_ref_time(75_465 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 31_739 nanoseconds.
Weight::from_ref_time(38_608_401)
// Standard Error: 1_946
.saturating_add(Weight::from_ref_time(76_822).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
// Minimum execution time: 14_370 nanoseconds.
Weight::from_ref_time(16_434_826 as u64)
// Standard Error: 665
.saturating_add(Weight::from_ref_time(25_894 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 13_883 nanoseconds.
Weight::from_ref_time(16_485_217)
// Standard Error: 773
.saturating_add(Weight::from_ref_time(27_159).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
// Minimum execution time: 35_617 nanoseconds.
Weight::from_ref_time(39_518_606 as u64)
// Standard Error: 1_088
.saturating_add(Weight::from_ref_time(67_069 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 36_437 nanoseconds.
Weight::from_ref_time(40_441_535)
// Standard Error: 1_253
.saturating_add(Weight::from_ref_time(62_665).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[0, 99]`.
fn quit_sub(s: u32, ) -> Weight {
// Minimum execution time: 26_143 nanoseconds.
Weight::from_ref_time(29_067_018 as u64)
// Standard Error: 1_342
.saturating_add(Weight::from_ref_time(68_986 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 25_981 nanoseconds.
Weight::from_ref_time(29_625_120)
// Standard Error: 1_380
.saturating_add(Weight::from_ref_time(68_779).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_im_online`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -52,13 +52,13 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
/// The range of component `k` is `[1, 1000]`.
/// The range of component `e` is `[1, 100]`.
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
// Minimum execution time: 97_143 nanoseconds.
Weight::from_ref_time(78_523_977 as u64)
// Minimum execution time: 98_409 nanoseconds.
Weight::from_ref_time(78_205_899)
// Standard Error: 267
.saturating_add(Weight::from_ref_time(21_647 as u64).saturating_mul(k as u64))
// Standard Error: 2_698
.saturating_add(Weight::from_ref_time(307_112 as u64).saturating_mul(e as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(Weight::from_ref_time(22_579).saturating_mul(k.into()))
// Standard Error: 2_694
.saturating_add(Weight::from_ref_time(319_572).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_indices`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -46,39 +46,39 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// Storage: Indices Accounts (r:1 w:1)
fn claim() -> Weight {
// Minimum execution time: 26_443 nanoseconds.
Weight::from_ref_time(26_877_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 26_468 nanoseconds.
Weight::from_ref_time(26_843_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 33_704 nanoseconds.
Weight::from_ref_time(34_123_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 32_562 nanoseconds.
Weight::from_ref_time(33_212_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
fn free() -> Weight {
// Minimum execution time: 27_656 nanoseconds.
Weight::from_ref_time(28_641_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 27_037 nanoseconds.
Weight::from_ref_time(27_622_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
// Minimum execution time: 27_860 nanoseconds.
Weight::from_ref_time(28_165_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 27_462 nanoseconds.
Weight::from_ref_time(28_168_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
fn freeze() -> Weight {
// Minimum execution time: 33_354 nanoseconds.
Weight::from_ref_time(33_982_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 32_750 nanoseconds.
Weight::from_ref_time(33_370_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_membership`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -50,12 +50,12 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
// Minimum execution time: 20_534 nanoseconds.
Weight::from_ref_time(21_396_898 as u64)
// Standard Error: 468
.saturating_add(Weight::from_ref_time(38_585 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 20_575 nanoseconds.
Weight::from_ref_time(21_260_761)
// Standard Error: 485
.saturating_add(Weight::from_ref_time(37_409).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -64,12 +64,12 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
// Minimum execution time: 23_322 nanoseconds.
Weight::from_ref_time(24_145_795 as u64)
// Standard Error: 405
.saturating_add(Weight::from_ref_time(34_076 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 23_096 nanoseconds.
Weight::from_ref_time(23_955_196)
// Standard Error: 577
.saturating_add(Weight::from_ref_time(31_297).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -78,12 +78,12 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
// Minimum execution time: 23_397 nanoseconds.
Weight::from_ref_time(24_269_522 as u64)
// Standard Error: 510
.saturating_add(Weight::from_ref_time(45_360 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 23_244 nanoseconds.
Weight::from_ref_time(24_572_165)
// Standard Error: 1_216
.saturating_add(Weight::from_ref_time(39_985).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -93,11 +93,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
// Minimum execution time: 22_278 nanoseconds.
Weight::from_ref_time(24_319_110 as u64)
// Standard Error: 794
.saturating_add(Weight::from_ref_time(148_683 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
Weight::from_ref_time(23_773_492)
// Standard Error: 776
.saturating_add(Weight::from_ref_time(154_940).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -106,33 +106,33 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
// Minimum execution time: 23_217 nanoseconds.
Weight::from_ref_time(24_958_755 as u64)
// Standard Error: 614
.saturating_add(Weight::from_ref_time(43_480 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 23_267 nanoseconds.
Weight::from_ref_time(24_454_632)
// Standard Error: 652
.saturating_add(Weight::from_ref_time(45_984).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: TechnicalMembership Members (r:1 w:0)
// Storage: TechnicalMembership Prime (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn set_prime(m: u32, ) -> Weight {
// Minimum execution time: 8_205 nanoseconds.
Weight::from_ref_time(8_676_301 as u64)
// Standard Error: 188
.saturating_add(Weight::from_ref_time(9_933 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 8_122 nanoseconds.
Weight::from_ref_time(8_675_144)
// Standard Error: 213
.saturating_add(Weight::from_ref_time(10_445).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: TechnicalMembership Prime (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn clear_prime(m: u32, ) -> Weight {
// Minimum execution time: 4_596 nanoseconds.
Weight::from_ref_time(4_956_168 as u64)
// Standard Error: 134
.saturating_add(Weight::from_ref_time(240 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 4_600 nanoseconds.
Weight::from_ref_time(4_924_820)
// Standard Error: 127
.saturating_add(Weight::from_ref_time(632).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -46,81 +46,81 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 14_550 nanoseconds.
Weight::from_ref_time(14_819_772 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(530 as u64).saturating_mul(z as u64))
// Minimum execution time: 14_495 nanoseconds.
Weight::from_ref_time(14_894_910)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(542).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (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(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 44_383 nanoseconds.
Weight::from_ref_time(36_132_121 as u64)
// Standard Error: 1_070
.saturating_add(Weight::from_ref_time(93_918 as u64).saturating_mul(s as u64))
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_528 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 44_113 nanoseconds.
Weight::from_ref_time(37_551_067)
// Standard Error: 1_426
.saturating_add(Weight::from_ref_time(80_890).saturating_mul(s.into()))
// Standard Error: 13
.saturating_add(Weight::from_ref_time(1_496).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 34_110 nanoseconds.
Weight::from_ref_time(26_664_378 as u64)
// Standard Error: 629
.saturating_add(Weight::from_ref_time(83_644 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_504 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 33_439 nanoseconds.
Weight::from_ref_time(26_597_002)
// Standard Error: 600
.saturating_add(Weight::from_ref_time(76_395).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_555).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 48_372 nanoseconds.
Weight::from_ref_time(38_695_552 as u64)
// Standard Error: 1_125
.saturating_add(Weight::from_ref_time(106_455 as u64).saturating_mul(s as u64))
// Standard Error: 11
.saturating_add(Weight::from_ref_time(1_594 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))
// Minimum execution time: 48_213 nanoseconds.
Weight::from_ref_time(39_088_450)
// Standard Error: 660
.saturating_add(Weight::from_ref_time(105_024).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_575).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 32_237 nanoseconds.
Weight::from_ref_time(34_981_368 as u64)
// Standard Error: 1_047
.saturating_add(Weight::from_ref_time(89_105 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 33_742 nanoseconds.
Weight::from_ref_time(35_686_537)
// Standard Error: 1_271
.saturating_add(Weight::from_ref_time(85_116).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 23_708 nanoseconds.
Weight::from_ref_time(25_069_818 as u64)
// Standard Error: 671
.saturating_add(Weight::from_ref_time(81_787 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 23_681 nanoseconds.
Weight::from_ref_time(25_373_443)
// Standard Error: 727
.saturating_add(Weight::from_ref_time(77_966).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 33_396 nanoseconds.
Weight::from_ref_time(35_234_152 as u64)
// Standard Error: 918
.saturating_add(Weight::from_ref_time(88_496 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 33_674 nanoseconds.
Weight::from_ref_time(36_131_117)
// Standard Error: 870
.saturating_add(Weight::from_ref_time(81_902).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,23 +16,21 @@
//! Autogenerated weights for `pallet_nis`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/polkadot
// ./target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet_nis
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
// --pallet=pallet_nis
// --chain=kusama-dev
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/
@@ -50,18 +48,18 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: Nis QueueTotals (r:1 w:1)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
// Minimum execution time: 31_836 nanoseconds.
Weight::from_ref_time(33_284_190)
// Standard Error: 663
.saturating_add(Weight::from_ref_time(70_316).saturating_mul(l.into()))
// Minimum execution time: 33_926 nanoseconds.
Weight::from_ref_time(36_379_155)
// Standard Error: 691
.saturating_add(Weight::from_ref_time(71_498).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Queues (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
fn place_bid_max() -> Weight {
// Minimum execution time: 100_161 nanoseconds.
Weight::from_ref_time(102_736_000)
// Minimum execution time: 105_722 nanoseconds.
Weight::from_ref_time(107_235_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -69,18 +67,18 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: Nis QueueTotals (r:1 w:1)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
// Minimum execution time: 36_993 nanoseconds.
Weight::from_ref_time(34_181_184)
// Standard Error: 634
.saturating_add(Weight::from_ref_time(56_251).saturating_mul(l.into()))
// Minimum execution time: 40_864 nanoseconds.
Weight::from_ref_time(37_489_142)
// Standard Error: 698
.saturating_add(Weight::from_ref_time(60_768).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Summary (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn fund_deficit() -> Weight {
// Minimum execution time: 40_822 nanoseconds.
Weight::from_ref_time(41_752_000)
// Minimum execution time: 41_359 nanoseconds.
Weight::from_ref_time(41_922_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -133,23 +131,23 @@ impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:0)
// Storage: Nis QueueTotals (r:1 w:1)
fn process_queues() -> Weight {
// Minimum execution time: 32_369 nanoseconds.
Weight::from_ref_time(33_715_000)
// Minimum execution time: 37_798 nanoseconds.
Weight::from_ref_time(38_855_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Queues (r:1 w:1)
fn process_queue() -> Weight {
// Minimum execution time: 4_065 nanoseconds.
Weight::from_ref_time(4_212_000)
// Minimum execution time: 4_130 nanoseconds.
Weight::from_ref_time(4_316_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:0)
// Storage: Nis Receipts (r:0 w:1)
fn process_bid() -> Weight {
// Minimum execution time: 12_606 nanoseconds.
Weight::from_ref_time(12_994_000)
// Minimum execution time: 13_335 nanoseconds.
Weight::from_ref_time(13_744_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_nomination_pools`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -58,10 +58,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn join() -> Weight {
// Minimum execution time: 140_322 nanoseconds.
Weight::from_ref_time(142_148_000 as u64)
.saturating_add(T::DbWeight::get().reads(17 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
// Minimum execution time: 140_836 nanoseconds.
Weight::from_ref_time(142_423_000)
.saturating_add(T::DbWeight::get().reads(17))
.saturating_add(T::DbWeight::get().writes(12))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
@@ -73,10 +73,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra_transfer() -> Weight {
// Minimum execution time: 137_788 nanoseconds.
Weight::from_ref_time(138_966_000 as u64)
.saturating_add(T::DbWeight::get().reads(14 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
// Minimum execution time: 138_640 nanoseconds.
Weight::from_ref_time(142_051_000)
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(12))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
@@ -88,20 +88,20 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:2 w:2)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra_reward() -> Weight {
// Minimum execution time: 141_513 nanoseconds.
Weight::from_ref_time(143_360_000 as u64)
.saturating_add(T::DbWeight::get().reads(13 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
// Minimum execution time: 142_128 nanoseconds.
Weight::from_ref_time(143_514_000)
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(12))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: NominationPools RewardPools (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn claim_payout() -> Weight {
// Minimum execution time: 54_447 nanoseconds.
Weight::from_ref_time(54_781_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 54_675 nanoseconds.
Weight::from_ref_time(55_259_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
@@ -118,10 +118,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
fn unbond() -> Weight {
// Minimum execution time: 141_940 nanoseconds.
Weight::from_ref_time(142_725_000 as u64)
.saturating_add(T::DbWeight::get().reads(18 as u64))
.saturating_add(T::DbWeight::get().writes(13 as u64))
// Minimum execution time: 143_235 nanoseconds.
Weight::from_ref_time(146_359_000)
.saturating_add(T::DbWeight::get().reads(18))
.saturating_add(T::DbWeight::get().writes(13))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: Staking Bonded (r:1 w:0)
@@ -130,12 +130,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: Balances Locks (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Minimum execution time: 57_477 nanoseconds.
Weight::from_ref_time(59_023_071 as u64)
// Standard Error: 998
.saturating_add(Weight::from_ref_time(14_190 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 54_065 nanoseconds.
Weight::from_ref_time(55_354_956)
// Standard Error: 853
.saturating_add(Weight::from_ref_time(15_395).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: Staking CurrentEra (r:1 w:0)
@@ -148,12 +148,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Minimum execution time: 96_669 nanoseconds.
Weight::from_ref_time(98_786_656 as u64)
// Standard Error: 1_856
.saturating_add(Weight::from_ref_time(19_127 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 95_904 nanoseconds.
Weight::from_ref_time(97_749_156)
// Standard Error: 1_617
.saturating_add(Weight::from_ref_time(24_583).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: Staking CurrentEra (r:1 w:0)
@@ -176,11 +176,13 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
// Storage: Staking Payee (r:0 w:1)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
// Minimum execution time: 144_438 nanoseconds.
Weight::from_ref_time(148_030_307 as u64)
.saturating_add(T::DbWeight::get().reads(20 as u64))
.saturating_add(T::DbWeight::get().writes(17 as u64))
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Minimum execution time: 144_934 nanoseconds.
Weight::from_ref_time(146_986_596)
// Standard Error: 2_427
.saturating_add(Weight::from_ref_time(19_993).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(17))
}
// Storage: NominationPools LastPoolId (r:1 w:1)
// Storage: Staking MinNominatorBond (r:1 w:0)
@@ -204,10 +206,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: Staking Payee (r:0 w:1)
fn create() -> Weight {
// Minimum execution time: 127_047 nanoseconds.
Weight::from_ref_time(128_199_000 as u64)
.saturating_add(T::DbWeight::get().reads(21 as u64))
.saturating_add(T::DbWeight::get().writes(15 as u64))
// Minimum execution time: 124_988 nanoseconds.
Weight::from_ref_time(126_230_000)
.saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(15))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: Staking Bonded (r:1 w:0)
@@ -223,34 +225,34 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: Staking CounterForNominators (r:1 w:1)
/// The range of component `n` is `[1, 24]`.
fn nominate(n: u32, ) -> Weight {
// Minimum execution time: 62_596 nanoseconds.
Weight::from_ref_time(63_891_149 as u64)
// Standard Error: 4_980
.saturating_add(Weight::from_ref_time(930_710 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(12 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 63_443 nanoseconds.
Weight::from_ref_time(64_198_102)
// Standard Error: 4_527
.saturating_add(Weight::from_ref_time(973_441).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
fn set_state() -> Weight {
// Minimum execution time: 38_503 nanoseconds.
Weight::from_ref_time(38_998_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 37_504 nanoseconds.
Weight::from_ref_time(38_307_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: NominationPools Metadata (r:1 w:1)
// Storage: NominationPools CounterForMetadata (r:1 w:1)
/// The range of component `n` is `[1, 256]`.
fn set_metadata(n: u32, ) -> Weight {
// Minimum execution time: 15_627 nanoseconds.
Weight::from_ref_time(16_164_158 as u64)
// Standard Error: 116
.saturating_add(Weight::from_ref_time(660 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 15_404 nanoseconds.
Weight::from_ref_time(15_933_695)
// Standard Error: 126
.saturating_add(Weight::from_ref_time(1_762).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: NominationPools MinJoinBond (r:0 w:1)
// Storage: NominationPools MaxPoolMembers (r:0 w:1)
@@ -258,16 +260,16 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools MinCreateBond (r:0 w:1)
// Storage: NominationPools MaxPools (r:0 w:1)
fn set_configs() -> Weight {
// Minimum execution time: 6_206 nanoseconds.
Weight::from_ref_time(6_409_000 as u64)
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 6_131 nanoseconds.
Weight::from_ref_time(6_357_000)
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NominationPools BondedPools (r:1 w:1)
fn update_roles() -> Weight {
// Minimum execution time: 25_897 nanoseconds.
Weight::from_ref_time(26_204_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 25_319 nanoseconds.
Weight::from_ref_time(25_847_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: Staking Bonded (r:1 w:0)
@@ -279,9 +281,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
fn chill() -> Weight {
// Minimum execution time: 65_020 nanoseconds.
Weight::from_ref_time(65_744_000 as u64)
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 65_458 nanoseconds.
Weight::from_ref_time(66_062_000)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_preimage`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,99 +48,99 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight {
// Minimum execution time: 29_596 nanoseconds.
Weight::from_ref_time(29_955_000 as u64)
// Minimum execution time: 29_249 nanoseconds.
Weight::from_ref_time(29_667_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_332 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(2_331).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight {
// Minimum execution time: 20_842 nanoseconds.
Weight::from_ref_time(21_120_000 as u64)
// Minimum execution time: 20_493 nanoseconds.
Weight::from_ref_time(20_712_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_333 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(2_328).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight {
// Minimum execution time: 19_634 nanoseconds.
Weight::from_ref_time(20_007_000 as u64)
// Minimum execution time: 19_561 nanoseconds.
Weight::from_ref_time(19_890_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_334 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(2_326).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_preimage() -> Weight {
// Minimum execution time: 42_136 nanoseconds.
Weight::from_ref_time(43_022_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 40_358 nanoseconds.
Weight::from_ref_time(42_231_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_no_deposit_preimage() -> Weight {
// Minimum execution time: 29_924 nanoseconds.
Weight::from_ref_time(30_867_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 28_542 nanoseconds.
Weight::from_ref_time(30_123_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_preimage() -> Weight {
// Minimum execution time: 28_022 nanoseconds.
Weight::from_ref_time(29_699_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 29_477 nanoseconds.
Weight::from_ref_time(30_214_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_no_deposit_preimage() -> Weight {
// Minimum execution time: 14_463 nanoseconds.
Weight::from_ref_time(15_790_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 14_577 nanoseconds.
Weight::from_ref_time(15_426_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_unnoted_preimage() -> Weight {
// Minimum execution time: 17_932 nanoseconds.
Weight::from_ref_time(18_435_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 17_856 nanoseconds.
Weight::from_ref_time(18_542_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_requested_preimage() -> Weight {
// Minimum execution time: 8_460 nanoseconds.
Weight::from_ref_time(8_648_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_718 nanoseconds.
Weight::from_ref_time(8_968_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unrequest_preimage() -> Weight {
// Minimum execution time: 28_702 nanoseconds.
Weight::from_ref_time(29_678_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 28_139 nanoseconds.
Weight::from_ref_time(29_250_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_unnoted_preimage() -> Weight {
// Minimum execution time: 8_322 nanoseconds.
Weight::from_ref_time(8_687_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_513 nanoseconds.
Weight::from_ref_time(8_706_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_multi_referenced_preimage() -> Weight {
// Minimum execution time: 8_678 nanoseconds.
Weight::from_ref_time(8_930_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_647 nanoseconds.
Weight::from_ref_time(8_798_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -47,11 +47,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Minimum execution time: 20_558 nanoseconds.
Weight::from_ref_time(21_610_234 as u64)
// Standard Error: 1_401
.saturating_add(Weight::from_ref_time(54_214 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 20_801 nanoseconds.
Weight::from_ref_time(21_560_080)
// Standard Error: 1_302
.saturating_add(Weight::from_ref_time(44_224).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
@@ -59,40 +59,42 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 38_487 nanoseconds.
Weight::from_ref_time(39_434_103 as u64)
// Standard Error: 2_822
.saturating_add(Weight::from_ref_time(117_580 as u64).saturating_mul(a as u64))
// Standard Error: 2_915
.saturating_add(Weight::from_ref_time(26_206 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 38_685 nanoseconds.
Weight::from_ref_time(39_702_190)
// Standard Error: 3_040
.saturating_add(Weight::from_ref_time(109_577).saturating_mul(a.into()))
// Standard Error: 3_141
.saturating_add(Weight::from_ref_time(33_950).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 26_384 nanoseconds.
Weight::from_ref_time(27_680_801 as u64)
// Standard Error: 1_625
.saturating_add(Weight::from_ref_time(116_271 as u64).saturating_mul(a as u64))
// Standard Error: 1_679
.saturating_add(Weight::from_ref_time(158 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 27_051 nanoseconds.
Weight::from_ref_time(27_757_501)
// Standard Error: 1_470
.saturating_add(Weight::from_ref_time(125_076).saturating_mul(a.into()))
// Standard Error: 1_519
.saturating_add(Weight::from_ref_time(11_510).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, _p: u32, ) -> Weight {
// Minimum execution time: 26_643 nanoseconds.
Weight::from_ref_time(28_099_236 as u64)
// Standard Error: 2_152
.saturating_add(Weight::from_ref_time(122_534 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 26_492 nanoseconds.
Weight::from_ref_time(27_898_436)
// Standard Error: 1_648
.saturating_add(Weight::from_ref_time(126_621).saturating_mul(a.into()))
// Standard Error: 1_703
.saturating_add(Weight::from_ref_time(28).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
@@ -100,64 +102,64 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 34_367 nanoseconds.
Weight::from_ref_time(35_689_576 as u64)
// Standard Error: 1_886
.saturating_add(Weight::from_ref_time(108_160 as u64).saturating_mul(a as u64))
// Standard Error: 1_949
.saturating_add(Weight::from_ref_time(30_216 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 34_689 nanoseconds.
Weight::from_ref_time(35_552_710)
// Standard Error: 2_196
.saturating_add(Weight::from_ref_time(126_812).saturating_mul(a.into()))
// Standard Error: 2_269
.saturating_add(Weight::from_ref_time(45_635).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Minimum execution time: 28_377 nanoseconds.
Weight::from_ref_time(29_837_875 as u64)
// Standard Error: 1_632
.saturating_add(Weight::from_ref_time(56_009 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 27_974 nanoseconds.
Weight::from_ref_time(29_745_940)
// Standard Error: 2_028
.saturating_add(Weight::from_ref_time(69_669).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 28_842 nanoseconds.
Weight::from_ref_time(29_978_693 as u64)
// Standard Error: 1_866
.saturating_add(Weight::from_ref_time(77_845 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_076 nanoseconds.
Weight::from_ref_time(29_852_822)
// Standard Error: 2_338
.saturating_add(Weight::from_ref_time(83_273).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 25_443 nanoseconds.
Weight::from_ref_time(26_221_391 as u64)
// Standard Error: 1_420
.saturating_add(Weight::from_ref_time(41_799 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 24_751 nanoseconds.
Weight::from_ref_time(26_198_385)
// Standard Error: 1_915
.saturating_add(Weight::from_ref_time(44_128).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
// Minimum execution time: 32_184 nanoseconds.
Weight::from_ref_time(33_287_258 as u64)
// Standard Error: 1_669
.saturating_add(Weight::from_ref_time(16_625 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 31_599 nanoseconds.
Weight::from_ref_time(33_127_853)
// Standard Error: 1_912
.saturating_add(Weight::from_ref_time(15_273).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 26_186 nanoseconds.
Weight::from_ref_time(27_561_767 as u64)
// Standard Error: 1_567
.saturating_add(Weight::from_ref_time(35_395 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 26_880 nanoseconds.
Weight::from_ref_time(27_558_719)
// Standard Error: 2_989
.saturating_add(Weight::from_ref_time(60_878).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_ranked_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -49,10 +49,10 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
// Storage: FellowshipCollective IndexToId (r:0 w:1)
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
fn add_member() -> Weight {
// Minimum execution time: 20_091 nanoseconds.
Weight::from_ref_time(20_793_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 20_345 nanoseconds.
Weight::from_ref_time(21_390_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipCollective Members (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:1)
@@ -60,14 +60,14 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
// Storage: FellowshipCollective IndexToId (r:1 w:1)
/// The range of component `r` is `[0, 10]`.
fn remove_member(r: u32, ) -> Weight {
// Minimum execution time: 31_411 nanoseconds.
Weight::from_ref_time(33_650_900 as u64)
// Standard Error: 20_315
.saturating_add(Weight::from_ref_time(9_742_136 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(r as u64)))
// Minimum execution time: 31_490 nanoseconds.
Weight::from_ref_time(34_193_442)
// Standard Error: 21_069
.saturating_add(Weight::from_ref_time(9_818_196).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
}
// Storage: FellowshipCollective Members (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:1)
@@ -75,12 +75,12 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
/// The range of component `r` is `[0, 10]`.
fn promote_member(r: u32, ) -> Weight {
// Minimum execution time: 22_519 nanoseconds.
Weight::from_ref_time(24_202_495 as u64)
// Standard Error: 9_707
.saturating_add(Weight::from_ref_time(404_053 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 23_185 nanoseconds.
Weight::from_ref_time(24_111_583)
// Standard Error: 5_139
.saturating_add(Weight::from_ref_time(435_094).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipCollective Members (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:1)
@@ -88,33 +88,33 @@ impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInf
// Storage: FellowshipCollective IndexToId (r:1 w:1)
/// The range of component `r` is `[0, 10]`.
fn demote_member(r: u32, ) -> Weight {
// Minimum execution time: 30_958 nanoseconds.
Weight::from_ref_time(34_019_871 as u64)
// Standard Error: 15_923
.saturating_add(Weight::from_ref_time(594_745 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 31_250 nanoseconds.
Weight::from_ref_time(34_534_455)
// Standard Error: 16_714
.saturating_add(Weight::from_ref_time(572_989).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipCollective Members (r:1 w:0)
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective Voting (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn vote() -> Weight {
// Minimum execution time: 46_000 nanoseconds.
Weight::from_ref_time(46_496_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 47_463 nanoseconds.
Weight::from_ref_time(48_109_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
// Storage: FellowshipCollective Voting (r:0 w:2)
/// The range of component `n` is `[0, 100]`.
fn cleanup_poll(n: u32, ) -> Weight {
// Minimum execution time: 14_684 nanoseconds.
Weight::from_ref_time(18_793_742 as u64)
// Standard Error: 1_475
.saturating_add(Weight::from_ref_time(908_456 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64)))
// Minimum execution time: 15_195 nanoseconds.
Weight::from_ref_time(19_545_466)
// Standard Error: 1_861
.saturating_add(Weight::from_ref_time(908_694).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_referenda`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -49,248 +49,248 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1)
fn submit() -> Weight {
// Minimum execution time: 32_206 nanoseconds.
Weight::from_ref_time(32_784_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 32_323 nanoseconds.
Weight::from_ref_time(32_846_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn place_decision_deposit_preparing() -> Weight {
// Minimum execution time: 48_362 nanoseconds.
Weight::from_ref_time(48_952_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 49_981 nanoseconds.
Weight::from_ref_time(50_894_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
fn place_decision_deposit_queued() -> Weight {
// Minimum execution time: 85_674 nanoseconds.
Weight::from_ref_time(88_734_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 86_813 nanoseconds.
Weight::from_ref_time(89_421_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
fn place_decision_deposit_not_queued() -> Weight {
// Minimum execution time: 85_794 nanoseconds.
Weight::from_ref_time(88_404_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 85_855 nanoseconds.
Weight::from_ref_time(88_908_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
fn place_decision_deposit_passing() -> Weight {
// Minimum execution time: 175_254 nanoseconds.
Weight::from_ref_time(198_703_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 182_879 nanoseconds.
Weight::from_ref_time(198_825_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
fn place_decision_deposit_failing() -> Weight {
// Minimum execution time: 43_797 nanoseconds.
Weight::from_ref_time(44_532_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 44_349 nanoseconds.
Weight::from_ref_time(45_619_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
fn refund_decision_deposit() -> Weight {
// Minimum execution time: 31_289 nanoseconds.
Weight::from_ref_time(32_447_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 31_259 nanoseconds.
Weight::from_ref_time(32_116_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
fn refund_submission_deposit() -> Weight {
// Minimum execution time: 25_000 nanoseconds.
Weight::from_ref_time(25_000_000)
// Minimum execution time: 20_520 nanoseconds.
Weight::from_ref_time(21_128_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn cancel() -> Weight {
// Minimum execution time: 38_398 nanoseconds.
Weight::from_ref_time(38_965_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 39_124 nanoseconds.
Weight::from_ref_time(39_951_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn kill() -> Weight {
// Minimum execution time: 68_236 nanoseconds.
Weight::from_ref_time(69_049_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 69_061 nanoseconds.
Weight::from_ref_time(70_584_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: FellowshipReferenda TrackQueue (r:1 w:0)
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
fn one_fewer_deciding_queue_empty() -> Weight {
// Minimum execution time: 11_448 nanoseconds.
Weight::from_ref_time(11_631_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_350 nanoseconds.
Weight::from_ref_time(11_622_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
fn one_fewer_deciding_failing() -> Weight {
// Minimum execution time: 118_312 nanoseconds.
Weight::from_ref_time(122_145_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 137_619 nanoseconds.
Weight::from_ref_time(140_816_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
fn one_fewer_deciding_passing() -> Weight {
// Minimum execution time: 120_150 nanoseconds.
Weight::from_ref_time(122_398_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 137_547 nanoseconds.
Weight::from_ref_time(142_280_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_requeued_insertion() -> Weight {
// Minimum execution time: 84_906 nanoseconds.
Weight::from_ref_time(89_371_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 87_802 nanoseconds.
Weight::from_ref_time(89_519_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_requeued_slide() -> Weight {
// Minimum execution time: 85_598 nanoseconds.
Weight::from_ref_time(88_356_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 86_179 nanoseconds.
Weight::from_ref_time(89_381_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_queued() -> Weight {
// Minimum execution time: 89_197 nanoseconds.
Weight::from_ref_time(92_027_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 89_885 nanoseconds.
Weight::from_ref_time(92_361_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_not_queued() -> Weight {
// Minimum execution time: 87_844 nanoseconds.
Weight::from_ref_time(90_542_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 88_558 nanoseconds.
Weight::from_ref_time(91_873_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_no_deposit() -> Weight {
// Minimum execution time: 29_265 nanoseconds.
Weight::from_ref_time(29_798_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 29_644 nanoseconds.
Weight::from_ref_time(30_107_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_preparing() -> Weight {
// Minimum execution time: 30_675 nanoseconds.
Weight::from_ref_time(31_170_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 29_915 nanoseconds.
Weight::from_ref_time(30_384_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
fn nudge_referendum_timed_out() -> Weight {
// Minimum execution time: 22_609 nanoseconds.
Weight::from_ref_time(23_111_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 22_416 nanoseconds.
Weight::from_ref_time(23_004_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_begin_deciding_failing() -> Weight {
// Minimum execution time: 41_801 nanoseconds.
Weight::from_ref_time(42_472_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 40_740 nanoseconds.
Weight::from_ref_time(41_379_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_begin_deciding_passing() -> Weight {
// Minimum execution time: 87_514 nanoseconds.
Weight::from_ref_time(90_499_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 87_692 nanoseconds.
Weight::from_ref_time(91_305_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_begin_confirming() -> Weight {
// Minimum execution time: 162_441 nanoseconds.
Weight::from_ref_time(168_308_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 163_293 nanoseconds.
Weight::from_ref_time(170_568_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_end_confirming() -> Weight {
// Minimum execution time: 160_873 nanoseconds.
Weight::from_ref_time(169_712_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 151_723 nanoseconds.
Weight::from_ref_time(171_294_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_continue_not_confirming() -> Weight {
// Minimum execution time: 153_124 nanoseconds.
Weight::from_ref_time(165_777_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 161_194 nanoseconds.
Weight::from_ref_time(168_043_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_continue_confirming() -> Weight {
// Minimum execution time: 80_850 nanoseconds.
Weight::from_ref_time(84_958_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 80_864 nanoseconds.
Weight::from_ref_time(83_157_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:1 w:1)
fn nudge_referendum_approved() -> Weight {
// Minimum execution time: 173_234 nanoseconds.
Weight::from_ref_time(182_819_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 176_272 nanoseconds.
Weight::from_ref_time(181_738_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
// Storage: FellowshipCollective MemberCount (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_rejected() -> Weight {
// Minimum execution time: 164_370 nanoseconds.
Weight::from_ref_time(169_732_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 147_935 nanoseconds.
Weight::from_ref_time(171_683_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_referenda`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,236 +48,248 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: Referenda ReferendumInfoFor (r:0 w:1)
fn submit() -> Weight {
// Minimum execution time: 36_890 nanoseconds.
Weight::from_ref_time(37_840_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 37_439 nanoseconds.
Weight::from_ref_time(38_195_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn place_decision_deposit_preparing() -> Weight {
// Minimum execution time: 47_353 nanoseconds.
Weight::from_ref_time(48_691_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 49_831 nanoseconds.
Weight::from_ref_time(51_333_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:0)
// Storage: Referenda TrackQueue (r:1 w:1)
fn place_decision_deposit_queued() -> Weight {
// Minimum execution time: 49_607 nanoseconds.
Weight::from_ref_time(50_436_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 50_243 nanoseconds.
Weight::from_ref_time(51_154_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:0)
// Storage: Referenda TrackQueue (r:1 w:1)
fn place_decision_deposit_not_queued() -> Weight {
// Minimum execution time: 49_359 nanoseconds.
Weight::from_ref_time(50_238_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 49_776 nanoseconds.
Weight::from_ref_time(50_531_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
fn place_decision_deposit_passing() -> Weight {
// Minimum execution time: 61_393 nanoseconds.
Weight::from_ref_time(62_632_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 63_262 nanoseconds.
Weight::from_ref_time(63_990_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
fn place_decision_deposit_failing() -> Weight {
// Minimum execution time: 43_290 nanoseconds.
Weight::from_ref_time(43_959_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 44_360 nanoseconds.
Weight::from_ref_time(45_921_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
fn refund_decision_deposit() -> Weight {
// Minimum execution time: 30_398 nanoseconds.
Weight::from_ref_time(31_447_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 31_193 nanoseconds.
Weight::from_ref_time(31_740_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
fn refund_submission_deposit() -> Weight {
// Minimum execution time: 25_000 nanoseconds.
Weight::from_ref_time(25_000_000)
// Minimum execution time: 29_877 nanoseconds.
Weight::from_ref_time(30_774_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn cancel() -> Weight {
// Minimum execution time: 37_690 nanoseconds.
Weight::from_ref_time(38_864_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 38_691 nanoseconds.
Weight::from_ref_time(39_345_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:2 w:2)
fn kill() -> Weight {
// Minimum execution time: 77_496 nanoseconds.
Weight::from_ref_time(79_978_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 79_315 nanoseconds.
Weight::from_ref_time(81_679_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Referenda TrackQueue (r:1 w:0)
// Storage: Referenda DecidingCount (r:1 w:1)
fn one_fewer_deciding_queue_empty() -> Weight {
// Minimum execution time: 11_238 nanoseconds.
Weight::from_ref_time(11_723_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_242 nanoseconds.
Weight::from_ref_time(11_584_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Referenda TrackQueue (r:1 w:1)
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
fn one_fewer_deciding_failing() -> Weight {
// Minimum execution time: 75_823 nanoseconds.
Weight::from_ref_time(77_497_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 95_967 nanoseconds.
Weight::from_ref_time(97_154_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Referenda TrackQueue (r:1 w:1)
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
fn one_fewer_deciding_passing() -> Weight {
// Minimum execution time: 78_698 nanoseconds.
Weight::from_ref_time(79_660_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 97_016 nanoseconds.
Weight::from_ref_time(97_895_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_requeued_insertion() -> Weight {
// Minimum execution time: 53_145 nanoseconds.
Weight::from_ref_time(54_297_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 53_685 nanoseconds.
Weight::from_ref_time(54_431_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_requeued_slide() -> Weight {
// Minimum execution time: 52_893 nanoseconds.
Weight::from_ref_time(53_670_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 53_514 nanoseconds.
Weight::from_ref_time(54_181_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:0)
// Storage: Referenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_queued() -> Weight {
// Minimum execution time: 55_017 nanoseconds.
Weight::from_ref_time(55_775_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 55_599 nanoseconds.
Weight::from_ref_time(56_130_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:0)
// Storage: Referenda TrackQueue (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:0)
fn nudge_referendum_not_queued() -> Weight {
// Minimum execution time: 55_068 nanoseconds.
Weight::from_ref_time(55_545_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 55_211 nanoseconds.
Weight::from_ref_time(55_707_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_no_deposit() -> Weight {
// Minimum execution time: 28_613 nanoseconds.
Weight::from_ref_time(29_017_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 28_809 nanoseconds.
Weight::from_ref_time(29_400_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_preparing() -> Weight {
// Minimum execution time: 30_008 nanoseconds.
Weight::from_ref_time(30_928_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 29_314 nanoseconds.
Weight::from_ref_time(29_876_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
fn nudge_referendum_timed_out() -> Weight {
// Minimum execution time: 21_985 nanoseconds.
Weight::from_ref_time(22_654_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 22_087 nanoseconds.
Weight::from_ref_time(22_496_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_begin_deciding_failing() -> Weight {
// Minimum execution time: 41_155 nanoseconds.
Weight::from_ref_time(42_540_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 41_322 nanoseconds.
Weight::from_ref_time(41_847_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Referenda DecidingCount (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_begin_deciding_passing() -> Weight {
// Minimum execution time: 43_525 nanoseconds.
Weight::from_ref_time(44_193_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 42_616 nanoseconds.
Weight::from_ref_time(43_365_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_begin_confirming() -> Weight {
// Minimum execution time: 39_208 nanoseconds.
Weight::from_ref_time(40_097_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 39_298 nanoseconds.
Weight::from_ref_time(40_047_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_end_confirming() -> Weight {
// Minimum execution time: 40_627 nanoseconds.
Weight::from_ref_time(42_055_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 40_424 nanoseconds.
Weight::from_ref_time(41_300_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_continue_not_confirming() -> Weight {
// Minimum execution time: 37_450 nanoseconds.
Weight::from_ref_time(38_157_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 37_904 nanoseconds.
Weight::from_ref_time(38_626_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_continue_confirming() -> Weight {
// Minimum execution time: 37_800 nanoseconds.
Weight::from_ref_time(38_601_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 37_323 nanoseconds.
Weight::from_ref_time(38_149_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:1 w:1)
fn nudge_referendum_approved() -> Weight {
// Minimum execution time: 49_125 nanoseconds.
Weight::from_ref_time(50_262_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 49_382 nanoseconds.
Weight::from_ref_time(50_865_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:0)
// Storage: Scheduler Agenda (r:1 w:1)
fn nudge_referendum_rejected() -> Weight {
// Minimum execution time: 39_656 nanoseconds.
Weight::from_ref_time(40_908_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 39_760 nanoseconds.
Weight::from_ref_time(40_389_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_scheduler`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -46,95 +46,95 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Storage: Scheduler IncompleteSince (r:1 w:1)
fn service_agendas_base() -> Weight {
// Minimum execution time: 5_067 nanoseconds.
Weight::from_ref_time(5_193_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_621 nanoseconds.
Weight::from_ref_time(4_765_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight {
// Minimum execution time: 4_288 nanoseconds.
Weight::from_ref_time(7_652_085 as u64)
// Standard Error: 1_878
.saturating_add(Weight::from_ref_time(548_847 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_135 nanoseconds.
Weight::from_ref_time(7_336_394)
// Standard Error: 2_453
.saturating_add(Weight::from_ref_time(582_222).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_base() -> Weight {
// Minimum execution time: 9_861 nanoseconds.
Weight::from_ref_time(10_063_000 as u64)
// Minimum execution time: 9_811 nanoseconds.
Weight::from_ref_time(10_054_000)
}
// Storage: Preimage PreimageFor (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
/// The range of component `s` is `[128, 4194304]`.
fn service_task_fetched(s: u32, ) -> Weight {
// Minimum execution time: 21_134 nanoseconds.
Weight::from_ref_time(21_368_000 as u64)
// Minimum execution time: 21_438 nanoseconds.
Weight::from_ref_time(21_830_000)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_280 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(1_283).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:0 w:1)
fn service_task_named() -> Weight {
// Minimum execution time: 11_292 nanoseconds.
Weight::from_ref_time(11_567_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 10_808 nanoseconds.
Weight::from_ref_time(11_078_000)
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_periodic() -> Weight {
// Minimum execution time: 9_974 nanoseconds.
Weight::from_ref_time(10_162_000 as u64)
// Minimum execution time: 9_603 nanoseconds.
Weight::from_ref_time(9_780_000)
}
fn execute_dispatch_signed() -> Weight {
// Minimum execution time: 4_164 nanoseconds.
Weight::from_ref_time(4_266_000 as u64)
// Minimum execution time: 3_902 nanoseconds.
Weight::from_ref_time(4_037_000)
}
fn execute_dispatch_unsigned() -> Weight {
// Minimum execution time: 4_020 nanoseconds.
Weight::from_ref_time(4_116_000 as u64)
// Minimum execution time: 3_961 nanoseconds.
Weight::from_ref_time(4_095_000)
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight {
// Minimum execution time: 18_088 nanoseconds.
Weight::from_ref_time(21_737_123 as u64)
// Standard Error: 2_364
.saturating_add(Weight::from_ref_time(580_581 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 17_386 nanoseconds.
Weight::from_ref_time(21_554_977)
// Standard Error: 2_223
.saturating_add(Weight::from_ref_time(586_294).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel(s: u32, ) -> Weight {
// Minimum execution time: 20_197 nanoseconds.
Weight::from_ref_time(21_901_362 as u64)
// Standard Error: 1_994
.saturating_add(Weight::from_ref_time(571_379 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 21_555 nanoseconds.
Weight::from_ref_time(22_683_383)
// Standard Error: 2_069
.saturating_add(Weight::from_ref_time(960_233).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule_named(s: u32, ) -> Weight {
// Minimum execution time: 20_694 nanoseconds.
Weight::from_ref_time(25_027_021 as u64)
// Standard Error: 2_967
.saturating_add(Weight::from_ref_time(599_640 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 20_035 nanoseconds.
Weight::from_ref_time(25_184_320)
// Standard Error: 3_144
.saturating_add(Weight::from_ref_time(608_285).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel_named(s: u32, ) -> Weight {
// Minimum execution time: 21_231 nanoseconds.
Weight::from_ref_time(23_895_092 as u64)
// Standard Error: 2_733
.saturating_add(Weight::from_ref_time(581_286 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 22_177 nanoseconds.
Weight::from_ref_time(24_886_762)
// Standard Error: 2_500
.saturating_add(Weight::from_ref_time(969_529).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_session`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,18 +48,18 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:6 w:6)
fn set_keys() -> Weight {
// Minimum execution time: 51_779 nanoseconds.
Weight::from_ref_time(53_571_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 51_714 nanoseconds.
Weight::from_ref_time(53_744_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Staking Ledger (r:1 w:0)
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:0 w:6)
fn purge_keys() -> Weight {
// Minimum execution time: 39_411 nanoseconds.
Weight::from_ref_time(40_698_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 39_217 nanoseconds.
Weight::from_ref_time(40_519_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(7))
}
}
@@ -16,23 +16,21 @@
//! Autogenerated weights for `pallet_staking`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/polkadot
// ./target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet_staking
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
// --pallet=pallet_staking
// --chain=kusama-dev
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/
@@ -52,8 +50,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
// Storage: Staking Payee (r:0 w:1)
fn bond() -> Weight {
// Minimum execution time: 46_498 nanoseconds.
Weight::from_ref_time(47_017_000)
// Minimum execution time: 46_225 nanoseconds.
Weight::from_ref_time(46_884_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -63,8 +61,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra() -> Weight {
// Minimum execution time: 83_337 nanoseconds.
Weight::from_ref_time(84_125_000)
// Minimum execution time: 82_086 nanoseconds.
Weight::from_ref_time(82_789_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
@@ -78,8 +76,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking Bonded (r:1 w:0)
// Storage: VoterList ListBags (r:2 w:2)
fn unbond() -> Weight {
// Minimum execution time: 89_555 nanoseconds.
Weight::from_ref_time(90_189_000)
// Minimum execution time: 88_395 nanoseconds.
Weight::from_ref_time(89_030_000)
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -89,10 +87,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Minimum execution time: 39_859 nanoseconds.
Weight::from_ref_time(41_164_480)
// Standard Error: 870
.saturating_add(Weight::from_ref_time(22_362).saturating_mul(s.into()))
// Minimum execution time: 39_108 nanoseconds.
Weight::from_ref_time(41_334_480)
// Standard Error: 2_009
.saturating_add(Weight::from_ref_time(24_723).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -112,10 +110,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking SpanSlash (r:0 w:2)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Minimum execution time: 78_182 nanoseconds.
Weight::from_ref_time(82_653_282)
// Standard Error: 2_211
.saturating_add(Weight::from_ref_time(919_603).saturating_mul(s.into()))
// Minimum execution time: 77_055 nanoseconds.
Weight::from_ref_time(82_323_354)
// Standard Error: 2_448
.saturating_add(Weight::from_ref_time(908_731).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -132,8 +130,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: Staking CounterForValidators (r:1 w:1)
fn validate() -> Weight {
// Minimum execution time: 60_801 nanoseconds.
Weight::from_ref_time(61_461_000)
// Minimum execution time: 59_210 nanoseconds.
Weight::from_ref_time(59_693_000)
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -141,10 +139,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking Nominators (r:1 w:1)
/// The range of component `k` is `[1, 128]`.
fn kick(k: u32, ) -> Weight {
// Minimum execution time: 34_706 nanoseconds.
Weight::from_ref_time(30_155_201)
// Standard Error: 9_801
.saturating_add(Weight::from_ref_time(6_812_249).saturating_mul(k.into()))
// Minimum execution time: 33_792 nanoseconds.
Weight::from_ref_time(32_802_713)
// Standard Error: 10_559
.saturating_add(Weight::from_ref_time(6_723_236).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
@@ -162,10 +160,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking CounterForNominators (r:1 w:1)
/// The range of component `n` is `[1, 24]`.
fn nominate(n: u32, ) -> Weight {
// Minimum execution time: 63_815 nanoseconds.
Weight::from_ref_time(62_277_624)
// Standard Error: 8_020
.saturating_add(Weight::from_ref_time(2_558_933).saturating_mul(n.into()))
// Minimum execution time: 62_794 nanoseconds.
Weight::from_ref_time(62_131_011)
// Standard Error: 8_364
.saturating_add(Weight::from_ref_time(2_489_101).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6))
@@ -178,58 +176,58 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
fn chill() -> Weight {
// Minimum execution time: 59_765 nanoseconds.
Weight::from_ref_time(60_359_000)
// Minimum execution time: 58_444 nanoseconds.
Weight::from_ref_time(59_019_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking Ledger (r:1 w:0)
// Storage: Staking Payee (r:0 w:1)
fn set_payee() -> Weight {
// Minimum execution time: 15_948 nanoseconds.
Weight::from_ref_time(16_331_000)
// Minimum execution time: 15_296 nanoseconds.
Weight::from_ref_time(15_835_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Bonded (r:1 w:1)
// Storage: Staking Ledger (r:2 w:2)
fn set_controller() -> Weight {
// Minimum execution time: 22_707 nanoseconds.
Weight::from_ref_time(23_051_000)
// Minimum execution time: 21_762 nanoseconds.
Weight::from_ref_time(22_572_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Staking ValidatorCount (r:0 w:1)
fn set_validator_count() -> Weight {
// Minimum execution time: 4_236 nanoseconds.
Weight::from_ref_time(4_468_000)
// Minimum execution time: 4_223 nanoseconds.
Weight::from_ref_time(4_391_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_no_eras() -> Weight {
// Minimum execution time: 4_264 nanoseconds.
Weight::from_ref_time(4_397_000)
// Minimum execution time: 16_128 nanoseconds.
Weight::from_ref_time(16_640_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_new_era() -> Weight {
// Minimum execution time: 4_334 nanoseconds.
Weight::from_ref_time(4_478_000)
// Minimum execution time: 16_147 nanoseconds.
Weight::from_ref_time(16_642_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_new_era_always() -> Weight {
// Minimum execution time: 4_429 nanoseconds.
Weight::from_ref_time(4_522_000)
// Minimum execution time: 16_033 nanoseconds.
Weight::from_ref_time(16_465_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Invulnerables (r:0 w:1)
/// The range of component `v` is `[0, 1000]`.
fn set_invulnerables(v: u32, ) -> Weight {
// Minimum execution time: 4_573 nanoseconds.
Weight::from_ref_time(4_979_271)
// Standard Error: 29
.saturating_add(Weight::from_ref_time(10_199).saturating_mul(v.into()))
// Minimum execution time: 4_301 nanoseconds.
Weight::from_ref_time(4_818_792)
// Standard Error: 35
.saturating_add(Weight::from_ref_time(10_479).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Bonded (r:1 w:1)
@@ -247,10 +245,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking SpanSlash (r:0 w:2)
/// The range of component `s` is `[0, 100]`.
fn force_unstake(s: u32, ) -> Weight {
// Minimum execution time: 71_604 nanoseconds.
Weight::from_ref_time(76_356_335)
// Standard Error: 2_128
.saturating_add(Weight::from_ref_time(924_544).saturating_mul(s.into()))
// Minimum execution time: 70_878 nanoseconds.
Weight::from_ref_time(75_949_648)
// Standard Error: 1_704
.saturating_add(Weight::from_ref_time(905_705).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -258,10 +256,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking UnappliedSlashes (r:1 w:1)
/// The range of component `s` is `[1, 1000]`.
fn cancel_deferred_slash(s: u32, ) -> Weight {
// Minimum execution time: 111_696 nanoseconds.
Weight::from_ref_time(919_128_155)
// Standard Error: 58_383
.saturating_add(Weight::from_ref_time(4_917_235).saturating_mul(s.into()))
// Minimum execution time: 119_251 nanoseconds.
Weight::from_ref_time(1_332_578_423)
// Standard Error: 88_242
.saturating_add(Weight::from_ref_time(7_435_300).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -276,10 +274,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
// Minimum execution time: 110_470 nanoseconds.
Weight::from_ref_time(214_513_056)
// Standard Error: 17_132
.saturating_add(Weight::from_ref_time(21_681_392).saturating_mul(n.into()))
// Minimum execution time: 107_162 nanoseconds.
Weight::from_ref_time(211_839_279)
// Standard Error: 17_368
.saturating_add(Weight::from_ref_time(21_497_225).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2))
@@ -297,10 +295,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
// Minimum execution time: 127_623 nanoseconds.
Weight::from_ref_time(71_193_329)
// Standard Error: 104_006
.saturating_add(Weight::from_ref_time(31_734_017).saturating_mul(n.into()))
// Minimum execution time: 123_391 nanoseconds.
Weight::from_ref_time(67_805_421)
// Standard Error: 119_484
.saturating_add(Weight::from_ref_time(32_012_077).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3))
@@ -314,10 +312,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListBags (r:2 w:2)
/// The range of component `l` is `[1, 32]`.
fn rebond(l: u32, ) -> Weight {
// Minimum execution time: 81_989 nanoseconds.
Weight::from_ref_time(84_089_774)
// Standard Error: 3_862
.saturating_add(Weight::from_ref_time(34_551).saturating_mul(l.into()))
// Minimum execution time: 81_605 nanoseconds.
Weight::from_ref_time(84_323_235)
// Standard Error: 6_874
.saturating_add(Weight::from_ref_time(30_456).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -336,10 +334,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking SpanSlash (r:0 w:1)
/// The range of component `s` is `[1, 100]`.
fn reap_stash(s: u32, ) -> Weight {
// Minimum execution time: 81_744 nanoseconds.
Weight::from_ref_time(83_697_917)
// Standard Error: 2_378
.saturating_add(Weight::from_ref_time(928_791).saturating_mul(s.into()))
// Minimum execution time: 83_047 nanoseconds.
Weight::from_ref_time(83_752_107)
// Standard Error: 2_166
.saturating_add(Weight::from_ref_time(904_436).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -365,12 +363,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `v` is `[1, 10]`.
/// The range of component `n` is `[0, 100]`.
fn new_era(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 426_726 nanoseconds.
Weight::from_ref_time(427_956_000)
// Standard Error: 1_694_488
.saturating_add(Weight::from_ref_time(55_297_221).saturating_mul(v.into()))
// Standard Error: 168_846
.saturating_add(Weight::from_ref_time(12_858_483).saturating_mul(n.into()))
// Minimum execution time: 426_412 nanoseconds.
Weight::from_ref_time(429_495_000)
// Standard Error: 1_771_114
.saturating_add(Weight::from_ref_time(58_774_598).saturating_mul(v.into()))
// Standard Error: 176_481
.saturating_add(Weight::from_ref_time(13_025_815).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(173))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -389,12 +387,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `v` is `[500, 1000]`.
/// The range of component `n` is `[500, 1000]`.
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 25_092_560 nanoseconds.
Weight::from_ref_time(25_487_312_000)
// Standard Error: 547_909
.saturating_add(Weight::from_ref_time(4_859_299).saturating_mul(v.into()))
// Standard Error: 547_909
.saturating_add(Weight::from_ref_time(4_082_635).saturating_mul(n.into()))
// Minimum execution time: 25_376_926 nanoseconds.
Weight::from_ref_time(25_562_737_000)
// Standard Error: 572_970
.saturating_add(Weight::from_ref_time(5_264_964).saturating_mul(v.into()))
// Standard Error: 572_970
.saturating_add(Weight::from_ref_time(4_590_215).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(168))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -405,10 +403,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System BlockWeight (r:1 w:1)
/// The range of component `v` is `[500, 1000]`.
fn get_npos_targets(v: u32, ) -> Weight {
// Minimum execution time: 3_516_893 nanoseconds.
Weight::from_ref_time(139_483_001)
// Standard Error: 43_749
.saturating_add(Weight::from_ref_time(7_181_910).saturating_mul(v.into()))
// Minimum execution time: 3_520_129 nanoseconds.
Weight::from_ref_time(3_656_688_000)
// Standard Error: 41_807
.saturating_add(Weight::from_ref_time(2_624_109).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -420,8 +418,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking MaxNominatorsCount (r:0 w:1)
// Storage: Staking MinNominatorBond (r:0 w:1)
fn set_staking_configs_all_set() -> Weight {
// Minimum execution time: 7_596 nanoseconds.
Weight::from_ref_time(7_960_000)
// Minimum execution time: 7_565 nanoseconds.
Weight::from_ref_time(7_798_000)
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking MinCommission (r:0 w:1)
@@ -431,8 +429,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking MaxNominatorsCount (r:0 w:1)
// Storage: Staking MinNominatorBond (r:0 w:1)
fn set_staking_configs_all_remove() -> Weight {
// Minimum execution time: 7_041 nanoseconds.
Weight::from_ref_time(7_258_000)
// Minimum execution time: 6_694 nanoseconds.
Weight::from_ref_time(7_029_000)
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking Ledger (r:1 w:0)
@@ -446,23 +444,23 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
fn chill_other() -> Weight {
// Minimum execution time: 69_602 nanoseconds.
Weight::from_ref_time(71_173_000)
// Minimum execution time: 69_704 nanoseconds.
Weight::from_ref_time(70_564_000)
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking MinCommission (r:1 w:0)
// Storage: Staking Validators (r:1 w:1)
fn force_apply_min_commission() -> Weight {
// Minimum execution time: 15_488 nanoseconds.
Weight::from_ref_time(15_690_000)
// Minimum execution time: 15_092 nanoseconds.
Weight::from_ref_time(15_313_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking MinCommission (r:0 w:1)
fn set_min_commission() -> Weight {
// Minimum execution time: 4_360 nanoseconds.
Weight::from_ref_time(4_617_000)
// Minimum execution time: 4_296 nanoseconds.
Weight::from_ref_time(4_464_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -47,13 +47,13 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Storage: Timestamp Now (r:1 w:1)
// Storage: Babe CurrentSlot (r:1 w:0)
fn set() -> Weight {
// Minimum execution time: 9_352 nanoseconds.
Weight::from_ref_time(9_715_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 9_587 nanoseconds.
Weight::from_ref_time(10_142_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
// Minimum execution time: 4_512 nanoseconds.
Weight::from_ref_time(4_623_000 as u64)
// Minimum execution time: 4_165 nanoseconds.
Weight::from_ref_time(4_343_000)
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_tips`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,20 +48,20 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
// Storage: Tips Tips (r:1 w:1)
/// The range of component `r` is `[0, 16384]`.
fn report_awesome(r: u32, ) -> Weight {
// Minimum execution time: 29_607 nanoseconds.
Weight::from_ref_time(31_236_013 as u64)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_831 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 30_506 nanoseconds.
Weight::from_ref_time(31_359_861)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_841).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
fn retract_tip() -> Weight {
// Minimum execution time: 29_400 nanoseconds.
Weight::from_ref_time(29_797_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 29_698 nanoseconds.
Weight::from_ref_time(30_294_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: Tips Reasons (r:1 w:1)
@@ -69,25 +69,25 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
/// The range of component `r` is `[0, 16384]`.
/// The range of component `t` is `[1, 19]`.
fn tip_new(r: u32, t: u32, ) -> Weight {
// Minimum execution time: 23_060 nanoseconds.
Weight::from_ref_time(21_778_664 as u64)
// Minimum execution time: 22_775 nanoseconds.
Weight::from_ref_time(21_570_049)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_682 as u64).saturating_mul(r as u64))
// Standard Error: 6_497
.saturating_add(Weight::from_ref_time(164_476 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(1_677).saturating_mul(r.into()))
// Standard Error: 6_574
.saturating_add(Weight::from_ref_time(169_683).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: Tips Tips (r:1 w:1)
/// The range of component `t` is `[1, 19]`.
fn tip(t: u32, ) -> Weight {
// Minimum execution time: 14_816 nanoseconds.
Weight::from_ref_time(15_348_469 as u64)
// Standard Error: 1_621
.saturating_add(Weight::from_ref_time(135_014 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 14_844 nanoseconds.
Weight::from_ref_time(15_277_297)
// Standard Error: 1_406
.saturating_add(Weight::from_ref_time(155_900).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -95,22 +95,22 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
// Storage: Tips Reasons (r:0 w:1)
/// The range of component `t` is `[1, 19]`.
fn close_tip(t: u32, ) -> Weight {
// Minimum execution time: 45_047 nanoseconds.
Weight::from_ref_time(47_082_126 as u64)
// Standard Error: 4_737
.saturating_add(Weight::from_ref_time(100_518 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 45_712 nanoseconds.
Weight::from_ref_time(47_373_418)
// Standard Error: 4_566
.saturating_add(Weight::from_ref_time(150_657).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
/// The range of component `t` is `[1, 19]`.
fn slash_tip(t: u32, ) -> Weight {
// Minimum execution time: 19_055 nanoseconds.
Weight::from_ref_time(19_857_862 as u64)
// Standard Error: 1_113
.saturating_add(Weight::from_ref_time(34_263 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 19_389 nanoseconds.
Weight::from_ref_time(20_181_638)
// Standard Error: 1_498
.saturating_add(Weight::from_ref_time(21_878).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_treasury`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,58 +48,60 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Storage: Treasury Approvals (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn spend() -> Weight {
// Minimum execution time: 18_856 nanoseconds.
Weight::from_ref_time(19_144_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 18_312 nanoseconds.
Weight::from_ref_time(18_724_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn propose_spend() -> Weight {
// Minimum execution time: 27_164 nanoseconds.
Weight::from_ref_time(27_790_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_501 nanoseconds.
Weight::from_ref_time(27_087_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_proposal() -> Weight {
// Minimum execution time: 38_257 nanoseconds.
Weight::from_ref_time(38_930_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 39_091 nanoseconds.
Weight::from_ref_time(40_005_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:0)
// Storage: Treasury Approvals (r:1 w:1)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Minimum execution time: 9_729 nanoseconds.
Weight::from_ref_time(13_242_610 as u64)
// Standard Error: 1_133
.saturating_add(Weight::from_ref_time(48_014 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 10_085 nanoseconds.
Weight::from_ref_time(13_530_918)
// Standard Error: 1_076
.saturating_add(Weight::from_ref_time(43_334).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Approvals (r:1 w:1)
fn remove_approval() -> Weight {
// Minimum execution time: 8_151 nanoseconds.
Weight::from_ref_time(8_355_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_105 nanoseconds.
Weight::from_ref_time(8_448_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Deactivated (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Treasury Approvals (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Treasury Proposals (r:2 w:2)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Minimum execution time: 50_854 nanoseconds.
Weight::from_ref_time(63_148_952 as u64)
// Standard Error: 23_228
.saturating_add(Weight::from_ref_time(24_411_714 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64)))
// Minimum execution time: 57_239 nanoseconds.
Weight::from_ref_time(65_014_265)
// Standard Error: 23_853
.saturating_add(Weight::from_ref_time(24_474_796).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(5))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into())))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -46,31 +46,31 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
// Minimum execution time: 11_629 nanoseconds.
Weight::from_ref_time(15_201_709 as u64)
// Standard Error: 2_617
.saturating_add(Weight::from_ref_time(3_430_759 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_832 nanoseconds.
Weight::from_ref_time(12_093_978)
// Standard Error: 2_796
.saturating_add(Weight::from_ref_time(3_505_562).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 5_876 nanoseconds.
Weight::from_ref_time(5_994_000 as u64)
// Minimum execution time: 5_921 nanoseconds.
Weight::from_ref_time(6_089_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 11_541 nanoseconds.
Weight::from_ref_time(18_710_023 as u64)
// Standard Error: 2_936
.saturating_add(Weight::from_ref_time(3_591_842 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_850 nanoseconds.
Weight::from_ref_time(15_542_386)
// Standard Error: 2_818
.saturating_add(Weight::from_ref_time(3_740_846).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 13_664 nanoseconds.
Weight::from_ref_time(14_022_000 as u64)
// Minimum execution time: 13_655 nanoseconds.
Weight::from_ref_time(14_153_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 11_520 nanoseconds.
Weight::from_ref_time(16_718_610 as u64)
// Standard Error: 3_003
.saturating_add(Weight::from_ref_time(3_455_686 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_758 nanoseconds.
Weight::from_ref_time(16_555_360)
// Standard Error: 2_634
.saturating_add(Weight::from_ref_time(3_495_222).saturating_mul(c.into()))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_vesting`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -49,28 +49,28 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_642 nanoseconds.
Weight::from_ref_time(38_226_745 as u64)
// Standard Error: 1_085
.saturating_add(Weight::from_ref_time(37_262 as u64).saturating_mul(l as u64))
// Standard Error: 1_931
.saturating_add(Weight::from_ref_time(61_339 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 39_163 nanoseconds.
Weight::from_ref_time(38_106_713)
// Standard Error: 3_997
.saturating_add(Weight::from_ref_time(50_660).saturating_mul(l.into()))
// Standard Error: 7_112
.saturating_add(Weight::from_ref_time(74_388).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_010 nanoseconds.
Weight::from_ref_time(37_870_524 as u64)
// Standard Error: 1_888
.saturating_add(Weight::from_ref_time(47_214 as u64).saturating_mul(l as u64))
// Standard Error: 3_359
.saturating_add(Weight::from_ref_time(38_374 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 38_417 nanoseconds.
Weight::from_ref_time(38_102_624)
// Standard Error: 1_020
.saturating_add(Weight::from_ref_time(31_848).saturating_mul(l.into()))
// Standard Error: 1_816
.saturating_add(Weight::from_ref_time(54_186).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -78,14 +78,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_389 nanoseconds.
Weight::from_ref_time(37_550_733 as u64)
// Standard Error: 1_060
.saturating_add(Weight::from_ref_time(49_011 as u64).saturating_mul(l as u64))
// Standard Error: 1_886
.saturating_add(Weight::from_ref_time(62_179 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))
// Minimum execution time: 38_612 nanoseconds.
Weight::from_ref_time(37_277_540)
// Standard Error: 1_038
.saturating_add(Weight::from_ref_time(48_913).saturating_mul(l.into()))
// Standard Error: 1_848
.saturating_add(Weight::from_ref_time(83_692).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -93,14 +93,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 37_686 nanoseconds.
Weight::from_ref_time(37_792_534 as u64)
// Standard Error: 1_624
.saturating_add(Weight::from_ref_time(38_716 as u64).saturating_mul(l as u64))
// Standard Error: 2_889
.saturating_add(Weight::from_ref_time(33_810 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))
// Minimum execution time: 38_281 nanoseconds.
Weight::from_ref_time(37_604_718)
// Standard Error: 960
.saturating_add(Weight::from_ref_time(37_709).saturating_mul(l.into()))
// Standard Error: 1_708
.saturating_add(Weight::from_ref_time(56_054).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -108,14 +108,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 52_356 nanoseconds.
Weight::from_ref_time(53_053_813 as u64)
// Standard Error: 1_679
.saturating_add(Weight::from_ref_time(37_518 as u64).saturating_mul(l as u64))
// Standard Error: 2_987
.saturating_add(Weight::from_ref_time(18_617 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))
// Minimum execution time: 52_866 nanoseconds.
Weight::from_ref_time(52_960_624)
// Standard Error: 1_706
.saturating_add(Weight::from_ref_time(40_224).saturating_mul(l.into()))
// Standard Error: 3_035
.saturating_add(Weight::from_ref_time(40_229).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:2 w:2)
@@ -123,14 +123,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 51_625 nanoseconds.
Weight::from_ref_time(51_648_113 as u64)
// Standard Error: 1_712
.saturating_add(Weight::from_ref_time(43_998 as u64).saturating_mul(l as u64))
// Standard Error: 3_047
.saturating_add(Weight::from_ref_time(42_370 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 52_118 nanoseconds.
Weight::from_ref_time(52_610_076)
// Standard Error: 2_143
.saturating_add(Weight::from_ref_time(39_389).saturating_mul(l.into()))
// Standard Error: 3_813
.saturating_add(Weight::from_ref_time(39_238).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -138,14 +138,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_592 nanoseconds.
Weight::from_ref_time(38_624_597 as u64)
// Standard Error: 922
.saturating_add(Weight::from_ref_time(45_973 as u64).saturating_mul(l as u64))
// Standard Error: 1_704
.saturating_add(Weight::from_ref_time(69_427 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))
// Minimum execution time: 39_846 nanoseconds.
Weight::from_ref_time(38_802_475)
// Standard Error: 1_226
.saturating_add(Weight::from_ref_time(51_348).saturating_mul(l.into()))
// Standard Error: 2_265
.saturating_add(Weight::from_ref_time(67_887).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -153,13 +153,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_606 nanoseconds.
Weight::from_ref_time(38_893_122 as u64)
// Standard Error: 1_158
.saturating_add(Weight::from_ref_time(44_023 as u64).saturating_mul(l as u64))
// Standard Error: 2_139
.saturating_add(Weight::from_ref_time(60_243 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))
// Minimum execution time: 39_553 nanoseconds.
Weight::from_ref_time(38_937_442)
// Standard Error: 1_032
.saturating_add(Weight::from_ref_time(44_523).saturating_mul(l.into()))
// Standard Error: 1_906
.saturating_add(Weight::from_ref_time(68_244).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,22 +16,21 @@
//! Autogenerated weights for `pallet_whitelist`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/polkadot
// ./target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet_whitelist
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --pallet=pallet_whitelist
// --chain=kusama-dev
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/
@@ -39,7 +38,7 @@
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight}};
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
/// Weight functions for `pallet_whitelist`.
@@ -48,36 +47,40 @@ impl<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
// Storage: Whitelist WhitelistedCall (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
fn whitelist_call() -> Weight {
Weight::from_ref_time(21_808_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 22_784 nanoseconds.
Weight::from_ref_time(23_417_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Whitelist WhitelistedCall (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn remove_whitelisted_call() -> Weight {
Weight::from_ref_time(24_193_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 21_784 nanoseconds.
Weight::from_ref_time(22_469_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Whitelist WhitelistedCall (r:1 w:1)
// Storage: Preimage PreimageFor (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
// TODO regenerate
fn dispatch_whitelisted_call(_n: u32) -> Weight {
Weight::from_ref_time(7_327_364_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
/// The range of component `n` is `[1, 4194294]`.
fn dispatch_whitelisted_call(n: u32, ) -> Weight {
// Minimum execution time: 31_697 nanoseconds.
Weight::from_ref_time(32_115_000)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_299).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Whitelist WhitelistedCall (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `n` is `[1, 10000]`.
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight {
Weight::from_ref_time(26_992_000 as u64)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_621 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 24_985 nanoseconds.
Weight::from_ref_time(25_743_877)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_588).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_common::auctions`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -47,10 +47,10 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Auctions AuctionCounter (r:1 w:1)
fn new_auction() -> Weight {
// Minimum execution time: 17_589 nanoseconds.
Weight::from_ref_time(17_777_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 16_831 nanoseconds.
Weight::from_ref_time(17_389_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
@@ -60,10 +60,10 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
// Storage: Auctions ReservedAmounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn bid() -> Weight {
// Minimum execution time: 71_154 nanoseconds.
Weight::from_ref_time(72_510_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 72_130 nanoseconds.
Weight::from_ref_time(73_572_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Babe NextRandomness (r:1 w:0)
@@ -78,19 +78,19 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
fn on_initialize() -> Weight {
// Minimum execution time: 15_548_622 nanoseconds.
Weight::from_ref_time(15_867_007_000 as u64)
.saturating_add(T::DbWeight::get().reads(3688 as u64))
.saturating_add(T::DbWeight::get().writes(3683 as u64))
// Minimum execution time: 15_625_499 nanoseconds.
Weight::from_ref_time(15_950_054_000)
.saturating_add(T::DbWeight::get().reads(3688))
.saturating_add(T::DbWeight::get().writes(3683))
}
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Auctions Winning (r:0 w:3600)
// Storage: Auctions AuctionInfo (r:0 w:1)
fn cancel_auction() -> Weight {
// Minimum execution time: 4_637_901 nanoseconds.
Weight::from_ref_time(4_730_879_000 as u64)
.saturating_add(T::DbWeight::get().reads(73 as u64))
.saturating_add(T::DbWeight::get().writes(3673 as u64))
// Minimum execution time: 4_619_056 nanoseconds.
Weight::from_ref_time(4_709_611_000)
.saturating_add(T::DbWeight::get().reads(73))
.saturating_add(T::DbWeight::get().writes(3673))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_common::claims`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -52,20 +52,20 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn claim() -> Weight {
// Minimum execution time: 144_357 nanoseconds.
Weight::from_ref_time(146_222_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 145_585 nanoseconds.
Weight::from_ref_time(147_339_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:0 w:1)
// Storage: Claims Claims (r:0 w:1)
// Storage: Claims Signing (r:0 w:1)
fn mint_claim() -> Weight {
// Minimum execution time: 11_388 nanoseconds.
Weight::from_ref_time(11_833_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 11_575 nanoseconds.
Weight::from_ref_time(11_943_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
@@ -75,10 +75,10 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn claim_attest() -> Weight {
// Minimum execution time: 148_256 nanoseconds.
Weight::from_ref_time(153_700_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 147_561 nanoseconds.
Weight::from_ref_time(152_230_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Preclaims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
@@ -89,19 +89,19 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn attest() -> Weight {
// Minimum execution time: 68_246 nanoseconds.
Weight::from_ref_time(70_821_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 68_437 nanoseconds.
Weight::from_ref_time(70_169_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Claims Claims (r:1 w:2)
// Storage: Claims Vesting (r:1 w:2)
// Storage: Claims Signing (r:1 w:2)
// Storage: Claims Preclaims (r:1 w:1)
fn move_claim() -> Weight {
// Minimum execution time: 21_200 nanoseconds.
Weight::from_ref_time(21_813_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 21_287 nanoseconds.
Weight::from_ref_time(22_289_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(7))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_common::crowdloan`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -49,75 +49,77 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Crowdloan NextFundIndex (r:1 w:1)
fn create() -> Weight {
// Minimum execution time: 47_414 nanoseconds.
Weight::from_ref_time(48_286_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 48_057 nanoseconds.
Weight::from_ref_time(48_727_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: Slots Leases (r:1 w:0)
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Crowdloan EndingsCount (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn contribute() -> Weight {
// Minimum execution time: 116_057 nanoseconds.
Weight::from_ref_time(117_264_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 120_371 nanoseconds.
Weight::from_ref_time(121_594_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
fn withdraw() -> Weight {
// Minimum execution time: 55_684 nanoseconds.
Weight::from_ref_time(56_470_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 59_826 nanoseconds.
Weight::from_ref_time(61_442_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `k` is `[0, 1000]`.
fn refund(k: u32, ) -> Weight {
// Minimum execution time: 50_573 nanoseconds.
Weight::from_ref_time(62_908_000 as u64)
// Standard Error: 13_896
.saturating_add(Weight::from_ref_time(17_794_898 as u64).saturating_mul(k as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(k as u64)))
// Minimum execution time: 63_151 nanoseconds.
Weight::from_ref_time(64_686_000)
// Standard Error: 13_557
.saturating_add(Weight::from_ref_time(18_930_054).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into())))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn dissolve() -> Weight {
// Minimum execution time: 37_873 nanoseconds.
Weight::from_ref_time(38_408_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 36_575 nanoseconds.
Weight::from_ref_time(37_963_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Crowdloan Funds (r:1 w:1)
fn edit() -> Weight {
// Minimum execution time: 26_842 nanoseconds.
Weight::from_ref_time(27_758_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 25_171 nanoseconds.
Weight::from_ref_time(25_945_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn add_memo() -> Weight {
// Minimum execution time: 34_190 nanoseconds.
Weight::from_ref_time(35_145_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 32_979 nanoseconds.
Weight::from_ref_time(33_881_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
fn poke() -> Weight {
// Minimum execution time: 26_873 nanoseconds.
Weight::from_ref_time(27_829_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 25_110 nanoseconds.
Weight::from_ref_time(25_812_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: Crowdloan EndingsCount (r:1 w:1)
@@ -131,13 +133,13 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: System Account (r:2 w:2)
/// The range of component `n` is `[2, 100]`.
fn on_initialize(n: u32, ) -> Weight {
// Minimum execution time: 103_946 nanoseconds.
Weight::from_ref_time(8_539_524 as u64)
// Standard Error: 42_832
.saturating_add(Weight::from_ref_time(40_283_343 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
// Minimum execution time: 102_093 nanoseconds.
Weight::from_ref_time(11_443_657)
// Standard Error: 40_324
.saturating_add(Weight::from_ref_time(40_500_805).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_common::paras_registrar`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,10 +48,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
fn reserve() -> Weight {
// Minimum execution time: 30_852 nanoseconds.
Weight::from_ref_time(31_532_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 31_722 nanoseconds.
Weight::from_ref_time(32_311_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -63,10 +63,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
fn register() -> Weight {
// Minimum execution time: 7_439_882 nanoseconds.
Weight::from_ref_time(7_564_995_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 7_431_346 nanoseconds.
Weight::from_ref_time(7_568_877_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -78,10 +78,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
fn force_register() -> Weight {
// Minimum execution time: 7_412_236 nanoseconds.
Weight::from_ref_time(7_528_657_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 7_394_196 nanoseconds.
Weight::from_ref_time(7_521_358_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -90,10 +90,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar PendingSwap (r:0 w:1)
fn deregister() -> Weight {
// Minimum execution time: 49_031 nanoseconds.
Weight::from_ref_time(50_187_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 50_133 nanoseconds.
Weight::from_ref_time(50_834_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Registrar Paras (r:1 w:0)
// Storage: Paras ParaLifecycles (r:2 w:2)
@@ -103,10 +103,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Crowdloan Funds (r:2 w:2)
// Storage: Slots Leases (r:2 w:2)
fn swap() -> Weight {
// Minimum execution time: 44_366 nanoseconds.
Weight::from_ref_time(45_345_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
// Minimum execution time: 45_078 nanoseconds.
Weight::from_ref_time(46_193_000)
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
@@ -120,20 +120,20 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
/// The range of component `b` is `[1, 3145728]`.
fn schedule_code_upgrade(b: u32, ) -> Weight {
// Minimum execution time: 42_230 nanoseconds.
Weight::from_ref_time(42_587_000 as u64)
// Minimum execution time: 42_266 nanoseconds.
Weight::from_ref_time(42_746_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_333 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
.saturating_add(Weight::from_ref_time(2_329).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras Heads (r:0 w:1)
/// The range of component `b` is `[1, 1048576]`.
fn set_current_head(b: u32, ) -> Weight {
// Minimum execution time: 13_316 nanoseconds.
Weight::from_ref_time(13_675_000 as u64)
// Minimum execution time: 13_670 nanoseconds.
Weight::from_ref_time(13_898_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(Weight::from_ref_time(907).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_common::slots`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -47,40 +47,40 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn force_lease() -> Weight {
// Minimum execution time: 31_674 nanoseconds.
Weight::from_ref_time(32_043_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 32_019 nanoseconds.
Weight::from_ref_time(32_605_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras Parachains (r:1 w:0)
// Storage: Slots Leases (r:101 w:100)
// Storage: Paras ParaLifecycles (r:101 w:101)
// Storage: Paras ParaLifecycles (r:100 w:100)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:100 w:100)
/// The range of component `c` is `[1, 100]`.
/// The range of component `t` is `[1, 100]`.
/// The range of component `c` is `[0, 100]`.
/// The range of component `t` is `[0, 100]`.
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
// Minimum execution time: 569_152 nanoseconds.
Weight::from_ref_time(575_433_000 as u64)
// Standard Error: 71_875
.saturating_add(Weight::from_ref_time(2_060_648 as u64).saturating_mul(c as u64))
// Standard Error: 71_875
.saturating_add(Weight::from_ref_time(11_927_056 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(t as u64)))
// Minimum execution time: 543_632 nanoseconds.
Weight::from_ref_time(549_922_000)
// Standard Error: 69_539
.saturating_add(Weight::from_ref_time(2_286_201).saturating_mul(c.into()))
// Standard Error: 69_539
.saturating_add(Weight::from_ref_time(12_481_379).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into())))
}
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:8 w:8)
fn clear_all_leases() -> Weight {
// Minimum execution time: 92_561 nanoseconds.
Weight::from_ref_time(93_794_000 as u64)
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(9 as u64))
// Minimum execution time: 94_296 nanoseconds.
Weight::from_ref_time(97_468_000)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(9))
}
// Storage: Slots Leases (r:1 w:0)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -88,9 +88,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
fn trigger_onboard() -> Weight {
// Minimum execution time: 28_796 nanoseconds.
Weight::from_ref_time(29_798_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 29_893 nanoseconds.
Weight::from_ref_time(30_727_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::configuration`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,50 +48,50 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_block_number() -> Weight {
// Minimum execution time: 12_075 nanoseconds.
Weight::from_ref_time(12_339_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_786 nanoseconds.
Weight::from_ref_time(12_247_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 12_457 nanoseconds.
Weight::from_ref_time(13_010_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 12_097 nanoseconds.
Weight::from_ref_time(12_485_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_option_u32() -> Weight {
// Minimum execution time: 12_413 nanoseconds.
Weight::from_ref_time(12_701_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 12_294 nanoseconds.
Weight::from_ref_time(12_663_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 12_333 nanoseconds.
Weight::from_ref_time(12_813_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_914 nanoseconds.
Weight::from_ref_time(12_307_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Benchmark Override (r:0 w:0)
fn set_hrmp_open_request_ttl() -> Weight {
// Minimum execution time: 2_000_000_000 nanoseconds.
Weight::from_ref_time(2_000_000_000_000 as u64)
Weight::from_ref_time(2_000_000_000_000)
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_balance() -> Weight {
// Minimum execution time: 12_040 nanoseconds.
Weight::from_ref_time(12_571_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 12_118 nanoseconds.
Weight::from_ref_time(12_634_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::disputes`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -46,8 +46,8 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
// Storage: ParasDisputes Frozen (r:0 w:1)
fn force_unfreeze() -> Weight {
// Minimum execution time: 4_402 nanoseconds.
Weight::from_ref_time(4_492_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_200 nanoseconds.
Weight::from_ref_time(4_360_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::hrmp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_init_open_channel() -> Weight {
// Minimum execution time: 42_278 nanoseconds.
Weight::from_ref_time(42_770_000 as u64)
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 41_559 nanoseconds.
Weight::from_ref_time(42_012_000)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
@@ -65,10 +65,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_accept_open_channel() -> Weight {
// Minimum execution time: 41_471 nanoseconds.
Weight::from_ref_time(42_331_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 41_375 nanoseconds.
Weight::from_ref_time(41_683_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
@@ -76,10 +76,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_close_channel() -> Weight {
// Minimum execution time: 38_134 nanoseconds.
Weight::from_ref_time(38_715_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 37_803 nanoseconds.
Weight::from_ref_time(38_966_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:127)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:1)
@@ -90,18 +90,18 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
/// The range of component `i` is `[0, 127]`.
/// The range of component `e` is `[0, 127]`.
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
// Minimum execution time: 867_577 nanoseconds.
Weight::from_ref_time(874_935_000 as u64)
// Standard Error: 78_897
.saturating_add(Weight::from_ref_time(2_673_773 as u64).saturating_mul(i as u64))
// Standard Error: 78_897
.saturating_add(Weight::from_ref_time(2_683_401 as u64).saturating_mul(e as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64)))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(i as u64)))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(e as u64)))
// Minimum execution time: 887_709 nanoseconds.
Weight::from_ref_time(893_096_000)
// Standard Error: 80_786
.saturating_add(Weight::from_ref_time(2_760_828).saturating_mul(i.into()))
// Standard Error: 80_786
.saturating_add(Weight::from_ref_time(2_839_523).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into())))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
@@ -113,14 +113,14 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpChannels (r:0 w:2)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_open(c: u32, ) -> Weight {
// Minimum execution time: 10_142 nanoseconds.
Weight::from_ref_time(10_319_000 as u64)
// Standard Error: 11_640
.saturating_add(Weight::from_ref_time(15_901_207 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(c as u64)))
// Minimum execution time: 10_161 nanoseconds.
Weight::from_ref_time(2_805_942)
// Standard Error: 19_214
.saturating_add(Weight::from_ref_time(16_198_878).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into())))
}
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:0)
// Storage: Hrmp HrmpChannels (r:2 w:2)
@@ -130,39 +130,39 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_close(c: u32, ) -> Weight {
// Minimum execution time: 6_588 nanoseconds.
Weight::from_ref_time(1_707_852 as u64)
// Standard Error: 11_751
.saturating_add(Weight::from_ref_time(9_612_854 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(c as u64)))
// Minimum execution time: 6_661 nanoseconds.
Weight::from_ref_time(6_707_000)
// Standard Error: 7_204
.saturating_add(Weight::from_ref_time(9_879_458).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into())))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// The range of component `c` is `[0, 128]`.
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
// Minimum execution time: 25_551 nanoseconds.
Weight::from_ref_time(31_335_704 as u64)
// Standard Error: 1_322
.saturating_add(Weight::from_ref_time(98_216 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 25_572 nanoseconds.
Weight::from_ref_time(31_222_401)
// Standard Error: 3_850
.saturating_add(Weight::from_ref_time(123_736).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
/// The range of component `c` is `[0, 128]`.
fn clean_open_channel_requests(c: u32, ) -> Weight {
// Minimum execution time: 4_762 nanoseconds.
Weight::from_ref_time(2_997_588 as u64)
// Standard Error: 3_871
.saturating_add(Weight::from_ref_time(2_566_697 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
// Minimum execution time: 4_728 nanoseconds.
Weight::from_ref_time(2_759_936)
// Standard Error: 3_955
.saturating_add(Weight::from_ref_time(2_620_885).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
}
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
@@ -175,9 +175,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
fn force_open_hrmp_channel() -> Weight {
// Minimum execution time: 53_453 nanoseconds.
Weight::from_ref_time(53_861_000 as u64)
.saturating_add(T::DbWeight::get().reads(13 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
// Minimum execution time: 54_138 nanoseconds.
Weight::from_ref_time(54_945_000)
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(8))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::initializer`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -47,11 +47,11 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
// Storage: System Digest (r:1 w:1)
/// The range of component `d` is `[0, 65536]`.
fn force_approve(d: u32, ) -> Weight {
// Minimum execution time: 7_852 nanoseconds.
Weight::from_ref_time(10_740_573 as u64)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_317 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 7_946 nanoseconds.
Weight::from_ref_time(11_012_462)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_323).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::paras`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -52,21 +52,21 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras CodeByHash (r:0 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn force_set_current_code(c: u32, ) -> Weight {
// Minimum execution time: 35_796 nanoseconds.
Weight::from_ref_time(36_105_000 as u64)
// Minimum execution time: 36_931 nanoseconds.
Weight::from_ref_time(37_260_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_317 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
.saturating_add(Weight::from_ref_time(2_311).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Paras Heads (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_set_current_head(s: u32, ) -> Weight {
// Minimum execution time: 13_374 nanoseconds.
Weight::from_ref_time(13_806_000 as u64)
// Minimum execution time: 13_314 nanoseconds.
Weight::from_ref_time(13_526_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(Weight::from_ref_time(908).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras CurrentCodeHash (r:1 w:0)
@@ -80,60 +80,60 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
// Minimum execution time: 60_701 nanoseconds.
Weight::from_ref_time(61_305_000 as u64)
// Minimum execution time: 63_313 nanoseconds.
Weight::from_ref_time(63_713_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_340 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
.saturating_add(Weight::from_ref_time(2_333).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_note_new_head(s: u32, ) -> Weight {
// Minimum execution time: 19_070 nanoseconds.
Weight::from_ref_time(19_220_000 as u64)
// Minimum execution time: 19_127 nanoseconds.
Weight::from_ref_time(19_287_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(912).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
fn force_queue_action() -> Weight {
// Minimum execution time: 23_946 nanoseconds.
Weight::from_ref_time(24_805_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 24_275 nanoseconds.
Weight::from_ref_time(24_771_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn add_trusted_validation_code(c: u32, ) -> Weight {
// Minimum execution time: 9_055 nanoseconds.
Weight::from_ref_time(9_171_000 as u64)
// Minimum execution time: 9_145 nanoseconds.
Weight::from_ref_time(9_233_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_325 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(Weight::from_ref_time(2_322).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras CodeByHashRefs (r:1 w:0)
// Storage: Paras CodeByHash (r:0 w:1)
fn poke_unused_validation_code() -> Weight {
// Minimum execution time: 7_063 nanoseconds.
Weight::from_ref_time(7_167_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 7_030 nanoseconds.
Weight::from_ref_time(7_286_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
fn include_pvf_check_statement() -> Weight {
// Minimum execution time: 92_634 nanoseconds.
Weight::from_ref_time(94_982_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 93_180 nanoseconds.
Weight::from_ref_time(96_376_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
@@ -143,10 +143,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: System Digest (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
// Minimum execution time: 624_541 nanoseconds.
Weight::from_ref_time(631_251_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(104 as u64))
// Minimum execution time: 647_052 nanoseconds.
Weight::from_ref_time(651_007_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(104))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
@@ -157,10 +157,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras UpgradeGoAheadSignal (r:0 w:100)
// Storage: Paras FutureCodeHash (r:0 w:100)
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
// Minimum execution time: 592_733 nanoseconds.
Weight::from_ref_time(600_415_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(204 as u64))
// Minimum execution time: 616_470 nanoseconds.
Weight::from_ref_time(619_625_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(204))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
@@ -168,10 +168,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras ActionsQueue (r:1 w:1)
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
// Minimum execution time: 491_686 nanoseconds.
Weight::from_ref_time(503_208_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 498_855 nanoseconds.
Weight::from_ref_time(504_047_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
@@ -183,9 +183,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras CurrentCodeHash (r:0 w:100)
// Storage: Paras UpcomingParasGenesis (r:0 w:100)
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
// Minimum execution time: 661_583 nanoseconds.
Weight::from_ref_time(670_694_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(304 as u64))
// Minimum execution time: 681_775 nanoseconds.
Weight::from_ref_time(696_229_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(304))
}
}
@@ -16,7 +16,7 @@
//! Autogenerated weights for `runtime_parachains::paras_inherent`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -49,19 +49,17 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
// Storage: ParaSessionInfo Sessions (r:1 w:0)
// Storage: ParasDisputes Disputes (r:1 w:1)
// Storage: ParasDisputes Included (r:1 w:1)
// Storage: ParasDisputes SpamSlots (r:1 w:1)
// Storage: ParasDisputes Disputes (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// Storage: ParasDisputes Frozen (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
// Storage: Session Validators (r:1 w:0)
// Storage: Staking ActiveEra (r:1 w:0)
// Storage: Staking ErasRewardPoints (r:1 w:1)
// Storage: ParasDisputes Frozen (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
@@ -72,17 +70,18 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `v` is `[10, 200]`.
fn enter_variable_disputes(v: u32, ) -> Weight {
// Minimum execution time: 810_241 nanoseconds.
Weight::from_ref_time(348_752_510 as u64)
// Standard Error: 23_627
.saturating_add(Weight::from_ref_time(48_079_357 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(29 as u64))
.saturating_add(T::DbWeight::get().writes(18 as u64))
// Minimum execution time: 763_387 nanoseconds.
Weight::from_ref_time(300_826_553)
// Standard Error: 27_892
.saturating_add(Weight::from_ref_time(48_308_988).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(27))
.saturating_add(T::DbWeight::get().writes(16))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
@@ -115,10 +114,10 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
fn enter_bitfields() -> Weight {
// Minimum execution time: 332_410 nanoseconds.
Weight::from_ref_time(339_799_000 as u64)
.saturating_add(T::DbWeight::get().reads(26 as u64))
.saturating_add(T::DbWeight::get().writes(17 as u64))
// Minimum execution time: 331_547 nanoseconds.
Weight::from_ref_time(344_794_000)
.saturating_add(T::DbWeight::get().reads(26))
.saturating_add(T::DbWeight::get().writes(17))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
@@ -153,12 +152,12 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `v` is `[101, 200]`.
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
// Minimum execution time: 5_612_242 nanoseconds.
Weight::from_ref_time(858_538_320 as u64)
// Standard Error: 48_385
.saturating_add(Weight::from_ref_time(47_873_187 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(29 as u64))
.saturating_add(T::DbWeight::get().writes(16 as u64))
// Minimum execution time: 5_611_326 nanoseconds.
Weight::from_ref_time(888_558_395)
// Standard Error: 44_447
.saturating_add(Weight::from_ref_time(47_755_070).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(29))
.saturating_add(T::DbWeight::get().writes(16))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
@@ -194,9 +193,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
fn enter_backed_candidate_code_upgrade() -> Weight {
// Minimum execution time: 38_531_556 nanoseconds.
Weight::from_ref_time(38_807_324_000 as u64)
.saturating_add(T::DbWeight::get().reads(31 as u64))
.saturating_add(T::DbWeight::get().writes(16 as u64))
// Minimum execution time: 38_715_051 nanoseconds.
Weight::from_ref_time(39_023_320_000)
.saturating_add(T::DbWeight::get().reads(31))
.saturating_add(T::DbWeight::get().writes(16))
}
}
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 6_019_119, 6_263_448
/// Average: 6_103_588
/// Median: 6_099_366
/// Std-Dev: 50562.05
/// Min, Max: 7_879_909, 8_166_198
/// Average: 7_955_558
/// Median: 7_930_980
/// Std-Dev: 69710.81
///
/// Percentiles nanoseconds:
/// 99th: 6_239_600
/// 95th: 6_178_734
/// 75th: 6_145_812
/// 99th: 8_159_682
/// 95th: 8_114_050
/// 75th: 7_981_631
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_103_588));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(7_955_558));
}
#[cfg(test)]
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 94_862, 96_847
/// Average: 95_479
/// Median: 95_465
/// Std-Dev: 347.27
/// Min, Max: 94_509, 95_932
/// Average: 94_914
/// Median: 94_825
/// Std-Dev: 313.06
///
/// Percentiles nanoseconds:
/// 99th: 96_351
/// 95th: 96_116
/// 75th: 95_639
/// 99th: 95_923
/// 95th: 95_679
/// 75th: 94_974
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(95_479));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(94_914));
}
#[cfg(test)]
@@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,53 +47,51 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
// Minimum execution time: 103 nanoseconds.
Weight::from_ref_time(141_724 as u64)
Weight::from_ref_time(140_916)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 108 nanoseconds.
Weight::from_ref_time(134_768 as u64)
// Minimum execution time: 103 nanoseconds.
Weight::from_ref_time(144_351)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 102 nanoseconds.
Weight::from_ref_time(138_207 as u64)
// Minimum execution time: 105 nanoseconds.
Weight::from_ref_time(146_671)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 104 nanoseconds.
Weight::from_ref_time(142_094 as u64)
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(133_960)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 19_917_370 nanoseconds.
Weight::from_ref_time(20_109_614_680 as u64)
// Standard Error: 118_678
.saturating_add(Weight::from_ref_time(717_597 as u64).saturating_mul(i as u64))
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 20_362_129 nanoseconds.
Weight::from_ref_time(20_578_014_049)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 132 nanoseconds.
Weight::from_ref_time(147_000 as u64)
// Standard Error: 18_267
.saturating_add(Weight::from_ref_time(47_320_328 as u64).saturating_mul(i as u64))
// Minimum execution time: 134 nanoseconds.
Weight::from_ref_time(73_046)
// Standard Error: 19_110
.saturating_add(Weight::from_ref_time(47_134_085).saturating_mul(i.into()))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(114_000 as u64)
// Standard Error: 4_368
.saturating_add(Weight::from_ref_time(1_928_792 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 145 nanoseconds.
Weight::from_ref_time(155_000)
// Standard Error: 4_668
.saturating_add(Weight::from_ref_time(1_972_788).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
// Minimum execution time: 118 nanoseconds.
Weight::from_ref_time(125_000 as u64)
// Standard Error: 833
.saturating_add(Weight::from_ref_time(323_135 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 152 nanoseconds.
Weight::from_ref_time(166_000)
// Standard Error: 851
.saturating_add(Weight::from_ref_time(337_528).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,22 +48,22 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 5_475_839 nanoseconds.
Weight::from_ref_time(5_538_536_000 as u64)
// Standard Error: 135_964
.saturating_add(Weight::from_ref_time(5_556_702 as u64).saturating_mul(v as u64))
// Standard Error: 13_900_513
.saturating_add(Weight::from_ref_time(1_535_237_976 as u64).saturating_mul(d as u64))
// Minimum execution time: 5_572_184 nanoseconds.
Weight::from_ref_time(5_616_944_000)
// Standard Error: 137_083
.saturating_add(Weight::from_ref_time(5_614_012).saturating_mul(v.into()))
// Standard Error: 14_014_923
.saturating_add(Weight::from_ref_time(1_538_990_561).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
// Minimum execution time: 4_279_269 nanoseconds.
Weight::from_ref_time(4_313_963_000 as u64)
// Standard Error: 144_712
.saturating_add(Weight::from_ref_time(5_458_633 as u64).saturating_mul(v as u64))
// Standard Error: 14_794_881
.saturating_add(Weight::from_ref_time(1_759_919_301 as u64).saturating_mul(d as u64))
// Minimum execution time: 4_373_111 nanoseconds.
Weight::from_ref_time(4_393_450_000)
// Standard Error: 146_029
.saturating_add(Weight::from_ref_time(5_530_819).saturating_mul(v.into()))
// Standard Error: 14_929_554
.saturating_add(Weight::from_ref_time(1_771_405_493).saturating_mul(d.into()))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,51 +46,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_533 nanoseconds.
Weight::from_ref_time(3_602_000 as u64)
// Minimum execution time: 3_363 nanoseconds.
Weight::from_ref_time(3_505_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(513 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(409).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_386 nanoseconds.
Weight::from_ref_time(12_695_000 as u64)
// Minimum execution time: 12_272 nanoseconds.
Weight::from_ref_time(12_484_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_871 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_760).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_334 nanoseconds.
Weight::from_ref_time(8_584_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 7_986 nanoseconds.
Weight::from_ref_time(8_301_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_663 nanoseconds.
Weight::from_ref_time(3_735_000 as u64)
// Standard Error: 2_110
.saturating_add(Weight::from_ref_time(621_937 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_433 nanoseconds.
Weight::from_ref_time(3_504_000)
// Standard Error: 2_086
.saturating_add(Weight::from_ref_time(619_204).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_651 nanoseconds.
Weight::from_ref_time(3_780_000 as u64)
// Standard Error: 932
.saturating_add(Weight::from_ref_time(436_723 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_343 nanoseconds.
Weight::from_ref_time(3_466_000)
// Standard Error: 943
.saturating_add(Weight::from_ref_time(443_974).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_442 nanoseconds.
Weight::from_ref_time(5_545_000 as u64)
// Standard Error: 1_291
.saturating_add(Weight::from_ref_time(977_372 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 5_026 nanoseconds.
Weight::from_ref_time(5_183_000)
// Standard Error: 1_227
.saturating_add(Weight::from_ref_time(967_840).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_bags_list`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,20 +49,20 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: VoterList ListBags (r:1 w:1)
fn rebag_non_terminal() -> Weight {
// Minimum execution time: 64_054 nanoseconds.
Weight::from_ref_time(64_863_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 62_167 nanoseconds.
Weight::from_ref_time(64_120_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn rebag_terminal() -> Weight {
// Minimum execution time: 68_386 nanoseconds.
Weight::from_ref_time(74_597_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 62_618 nanoseconds.
Weight::from_ref_time(63_497_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: VoterList ListNodes (r:4 w:4)
// Storage: Staking Bonded (r:2 w:0)
@@ -70,9 +70,9 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: VoterList ListBags (r:1 w:1)
fn put_in_front_of() -> Weight {
// Minimum execution time: 71_132 nanoseconds.
Weight::from_ref_time(79_636_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 62_342 nanoseconds.
Weight::from_ref_time(63_136_000)
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,51 +46,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 41_279 nanoseconds.
Weight::from_ref_time(41_738_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 40_978 nanoseconds.
Weight::from_ref_time(41_721_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 30_237 nanoseconds.
Weight::from_ref_time(30_631_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 31_105 nanoseconds.
Weight::from_ref_time(31_852_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
// Minimum execution time: 22_939 nanoseconds.
Weight::from_ref_time(23_320_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 23_222 nanoseconds.
Weight::from_ref_time(23_720_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
// Minimum execution time: 25_940 nanoseconds.
Weight::from_ref_time(26_584_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 25_975 nanoseconds.
Weight::from_ref_time(26_508_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
// Minimum execution time: 40_393 nanoseconds.
Weight::from_ref_time(40_921_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 41_085 nanoseconds.
Weight::from_ref_time(41_587_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
// Minimum execution time: 35_485 nanoseconds.
Weight::from_ref_time(36_121_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 35_590 nanoseconds.
Weight::from_ref_time(36_284_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
// Minimum execution time: 19_966 nanoseconds.
Weight::from_ref_time(20_434_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 20_796 nanoseconds.
Weight::from_ref_time(21_060_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -50,101 +50,59 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: Bounties Bounties (r:0 w:1)
/// The range of component `d` is `[0, 16384]`.
fn propose_bounty(d: u32, ) -> Weight {
// Minimum execution time: 29_378 nanoseconds.
Weight::from_ref_time(32_175_061 as u64)
// Standard Error: 18
.saturating_add(Weight::from_ref_time(829 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 28_840 nanoseconds.
Weight::from_ref_time(30_503_204)
// Standard Error: 10
.saturating_add(Weight::from_ref_time(786).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
fn approve_bounty() -> Weight {
// Minimum execution time: 12_073 nanoseconds.
Weight::from_ref_time(12_863_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
fn propose_curator() -> Weight {
// Minimum execution time: 11_317 nanoseconds.
Weight::from_ref_time(11_559_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
// Minimum execution time: 40_364 nanoseconds.
Weight::from_ref_time(40_970_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
// Minimum execution time: 28_522 nanoseconds.
Weight::from_ref_time(29_027_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
fn award_bounty() -> Weight {
// Minimum execution time: 24_756 nanoseconds.
Weight::from_ref_time(25_056_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn claim_bounty() -> Weight {
// Minimum execution time: 69_714 nanoseconds.
Weight::from_ref_time(70_332_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_proposed() -> Weight {
// Minimum execution time: 44_853 nanoseconds.
Weight::from_ref_time(45_328_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 45_065 nanoseconds.
Weight::from_ref_time(45_522_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
// Storage: System Account (r:2 w:2)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_active() -> Weight {
// Minimum execution time: 53_131 nanoseconds.
Weight::from_ref_time(53_605_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
fn extend_bounty_expiry() -> Weight {
// Minimum execution time: 21_458 nanoseconds.
Weight::from_ref_time(21_732_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: Bounties Bounties (r:2 w:2)
// Storage: System Account (r:4 w:4)
/// The range of component `b` is `[0, 100]`.
fn spend_funds(b: u32, ) -> Weight {
// Minimum execution time: 7_421 nanoseconds.
Weight::from_ref_time(12_894_197 as u64)
// Standard Error: 22_528
.saturating_add(Weight::from_ref_time(25_161_376 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
fn spend_funds(_b: u32, ) -> Weight {
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(3_346_148)
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_child_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,88 +44,37 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_child_bounties`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T> {
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:2 w:2)
// Storage: ChildBounties ChildBountyCount (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
// Storage: ChildBounties ChildBounties (r:0 w:1)
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> Weight {
// Minimum execution time: 51_343 nanoseconds.
Weight::from_ref_time(53_139_500 as u64)
// Standard Error: 8
.saturating_add(Weight::from_ref_time(950 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
fn add_child_bounty(_d: u32, ) -> Weight {
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
fn propose_curator() -> Weight {
// Minimum execution time: 18_618 nanoseconds.
Weight::from_ref_time(19_241_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
// Minimum execution time: 34_559 nanoseconds.
Weight::from_ref_time(34_899_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
// Minimum execution time: 45_199 nanoseconds.
Weight::from_ref_time(45_846_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
fn award_child_bounty() -> Weight {
// Minimum execution time: 28_459 nanoseconds.
Weight::from_ref_time(28_782_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn claim_child_bounty() -> Weight {
// Minimum execution time: 68_148 nanoseconds.
Weight::from_ref_time(69_069_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn close_child_bounty_added() -> Weight {
// Minimum execution time: 51_256 nanoseconds.
Weight::from_ref_time(51_850_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn close_child_bounty_active() -> Weight {
// Minimum execution time: 62_367 nanoseconds.
Weight::from_ref_time(63_053_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -55,80 +55,80 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 17_210 nanoseconds.
Weight::from_ref_time(17_530_000 as u64)
// Standard Error: 45_117
.saturating_add(Weight::from_ref_time(5_249_798 as u64).saturating_mul(m as u64))
// Standard Error: 45_117
.saturating_add(Weight::from_ref_time(7_324_560 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 17_060 nanoseconds.
Weight::from_ref_time(17_233_000)
// Standard Error: 47_104
.saturating_add(Weight::from_ref_time(5_422_739).saturating_mul(m.into()))
// Standard Error: 47_104
.saturating_add(Weight::from_ref_time(7_478_441).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: Council Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 19_994 nanoseconds.
Weight::from_ref_time(19_549_331 as u64)
// Standard Error: 26
.saturating_add(Weight::from_ref_time(1_853 as u64).saturating_mul(b as u64))
// Standard Error: 269
.saturating_add(Weight::from_ref_time(13_555 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 19_996 nanoseconds.
Weight::from_ref_time(19_039_617)
// Standard Error: 25
.saturating_add(Weight::from_ref_time(2_114).saturating_mul(b.into()))
// Standard Error: 264
.saturating_add(Weight::from_ref_time(16_251).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 22_337 nanoseconds.
Weight::from_ref_time(21_334_737 as u64)
// Standard Error: 89
.saturating_add(Weight::from_ref_time(2_105 as u64).saturating_mul(b as u64))
// Standard Error: 925
.saturating_add(Weight::from_ref_time(26_733 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
// Minimum execution time: 22_212 nanoseconds.
Weight::from_ref_time(21_443_662)
// Standard Error: 24
.saturating_add(Weight::from_ref_time(1_769).saturating_mul(b.into()))
// Standard Error: 251
.saturating_add(Weight::from_ref_time(23_100).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalCount (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_783 nanoseconds.
Weight::from_ref_time(27_684_184 as u64)
// Standard Error: 72
.saturating_add(Weight::from_ref_time(3_800 as u64).saturating_mul(b as u64))
// Standard Error: 761
.saturating_add(Weight::from_ref_time(24_502 as u64).saturating_mul(m as u64))
// Standard Error: 751
.saturating_add(Weight::from_ref_time(115_019 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 28_095 nanoseconds.
Weight::from_ref_time(29_423_700)
// Standard Error: 67
.saturating_add(Weight::from_ref_time(2_791).saturating_mul(b.into()))
// Standard Error: 699
.saturating_add(Weight::from_ref_time(20_889).saturating_mul(m.into()))
// Standard Error: 690
.saturating_add(Weight::from_ref_time(106_245).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 27_444 nanoseconds.
Weight::from_ref_time(28_598_559 as u64)
// Standard Error: 401
.saturating_add(Weight::from_ref_time(39_653 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_991 nanoseconds.
Weight::from_ref_time(30_351_399)
// Standard Error: 530
.saturating_add(Weight::from_ref_time(35_906).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
@@ -139,36 +139,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 30_342 nanoseconds.
Weight::from_ref_time(32_791_699 as u64)
// Standard Error: 528
.saturating_add(Weight::from_ref_time(23_619 as u64).saturating_mul(m as u64))
// Standard Error: 515
.saturating_add(Weight::from_ref_time(84_196 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 30_581 nanoseconds.
Weight::from_ref_time(33_693_155)
// Standard Error: 539
.saturating_add(Weight::from_ref_time(17_810).saturating_mul(m.into()))
// Standard Error: 525
.saturating_add(Weight::from_ref_time(89_518).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 41_134 nanoseconds.
Weight::from_ref_time(41_249_837 as u64)
// Standard Error: 60
.saturating_add(Weight::from_ref_time(2_093 as u64).saturating_mul(b as u64))
// Standard Error: 636
.saturating_add(Weight::from_ref_time(28_014 as u64).saturating_mul(m as u64))
// Standard Error: 620
.saturating_add(Weight::from_ref_time(101_117 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 41_046 nanoseconds.
Weight::from_ref_time(42_136_509)
// Standard Error: 59
.saturating_add(Weight::from_ref_time(2_016).saturating_mul(b.into()))
// Standard Error: 632
.saturating_add(Weight::from_ref_time(16_252).saturating_mul(m.into()))
// Standard Error: 616
.saturating_add(Weight::from_ref_time(109_178).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
@@ -180,37 +180,37 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 33_724 nanoseconds.
Weight::from_ref_time(35_254_396 as u64)
// Standard Error: 517
.saturating_add(Weight::from_ref_time(25_053 as u64).saturating_mul(m as u64))
// Standard Error: 504
.saturating_add(Weight::from_ref_time(83_886 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 34_229 nanoseconds.
Weight::from_ref_time(36_113_266)
// Standard Error: 503
.saturating_add(Weight::from_ref_time(20_851).saturating_mul(m.into()))
// Standard Error: 491
.saturating_add(Weight::from_ref_time(87_433).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Prime (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 43_271 nanoseconds.
Weight::from_ref_time(43_900_162 as u64)
// Standard Error: 61
.saturating_add(Weight::from_ref_time(1_982 as u64).saturating_mul(b as u64))
// Standard Error: 649
.saturating_add(Weight::from_ref_time(25_510 as u64).saturating_mul(m as u64))
// Standard Error: 633
.saturating_add(Weight::from_ref_time(101_004 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 43_246 nanoseconds.
Weight::from_ref_time(44_853_142)
// Standard Error: 60
.saturating_add(Weight::from_ref_time(2_012).saturating_mul(b.into()))
// Standard Error: 635
.saturating_add(Weight::from_ref_time(12_569).saturating_mul(m.into()))
// Standard Error: 619
.saturating_add(Weight::from_ref_time(108_133).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Proposals (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
@@ -218,11 +218,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 19_186 nanoseconds.
Weight::from_ref_time(22_558_610 as u64)
// Standard Error: 701
.saturating_add(Weight::from_ref_time(96_319 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 19_397 nanoseconds.
Weight::from_ref_time(22_825_461)
// Standard Error: 700
.saturating_add(Weight::from_ref_time(95_557).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -55,80 +55,80 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 17_751 nanoseconds.
Weight::from_ref_time(18_047_000 as u64)
// Standard Error: 46_093
.saturating_add(Weight::from_ref_time(5_321_338 as u64).saturating_mul(m as u64))
// Standard Error: 46_093
.saturating_add(Weight::from_ref_time(7_365_838 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 17_843 nanoseconds.
Weight::from_ref_time(17_965_000)
// Standard Error: 48_989
.saturating_add(Weight::from_ref_time(5_657_886).saturating_mul(m.into()))
// Standard Error: 48_989
.saturating_add(Weight::from_ref_time(7_729_433).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 20_410 nanoseconds.
Weight::from_ref_time(19_931_408 as u64)
// Standard Error: 21
.saturating_add(Weight::from_ref_time(1_918 as u64).saturating_mul(b as u64))
// Standard Error: 218
.saturating_add(Weight::from_ref_time(13_235 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 20_892 nanoseconds.
Weight::from_ref_time(19_743_204)
// Standard Error: 25
.saturating_add(Weight::from_ref_time(2_023).saturating_mul(b.into()))
// Standard Error: 259
.saturating_add(Weight::from_ref_time(16_697).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 23_194 nanoseconds.
Weight::from_ref_time(21_888_541 as u64)
// Standard Error: 25
.saturating_add(Weight::from_ref_time(2_039 as u64).saturating_mul(b as u64))
// Standard Error: 259
.saturating_add(Weight::from_ref_time(21_726 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
// Minimum execution time: 22_802 nanoseconds.
Weight::from_ref_time(22_225_305)
// Standard Error: 22
.saturating_add(Weight::from_ref_time(1_623).saturating_mul(b.into()))
// Standard Error: 230
.saturating_add(Weight::from_ref_time(20_096).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalCount (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 28_672 nanoseconds.
Weight::from_ref_time(29_100_596 as u64)
// Standard Error: 69
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
// Standard Error: 724
.saturating_add(Weight::from_ref_time(19_233 as u64).saturating_mul(m as u64))
// Standard Error: 715
.saturating_add(Weight::from_ref_time(119_783 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 28_665 nanoseconds.
Weight::from_ref_time(30_442_498)
// Standard Error: 65
.saturating_add(Weight::from_ref_time(3_080).saturating_mul(b.into()))
// Standard Error: 683
.saturating_add(Weight::from_ref_time(18_467).saturating_mul(m.into()))
// Standard Error: 674
.saturating_add(Weight::from_ref_time(111_919).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 29_125 nanoseconds.
Weight::from_ref_time(30_445_599 as u64)
// Standard Error: 508
.saturating_add(Weight::from_ref_time(39_802 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 29_772 nanoseconds.
Weight::from_ref_time(30_881_808)
// Standard Error: 486
.saturating_add(Weight::from_ref_time(37_906).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
@@ -139,36 +139,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 32_071 nanoseconds.
Weight::from_ref_time(33_525_762 as u64)
// Standard Error: 478
.saturating_add(Weight::from_ref_time(24_412 as u64).saturating_mul(m as u64))
// Standard Error: 466
.saturating_add(Weight::from_ref_time(84_991 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 32_462 nanoseconds.
Weight::from_ref_time(34_147_078)
// Standard Error: 444
.saturating_add(Weight::from_ref_time(18_517).saturating_mul(m.into()))
// Standard Error: 433
.saturating_add(Weight::from_ref_time(88_650).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 41_643 nanoseconds.
Weight::from_ref_time(41_807_491 as u64)
// Standard Error: 60
.saturating_add(Weight::from_ref_time(1_950 as u64).saturating_mul(b as u64))
// Standard Error: 641
.saturating_add(Weight::from_ref_time(26_528 as u64).saturating_mul(m as u64))
// Standard Error: 625
.saturating_add(Weight::from_ref_time(101_337 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 42_125 nanoseconds.
Weight::from_ref_time(42_784_664)
// Standard Error: 56
.saturating_add(Weight::from_ref_time(1_818).saturating_mul(b.into()))
// Standard Error: 601
.saturating_add(Weight::from_ref_time(17_184).saturating_mul(m.into()))
// Standard Error: 586
.saturating_add(Weight::from_ref_time(108_169).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
@@ -180,37 +180,37 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 34_324 nanoseconds.
Weight::from_ref_time(35_486_550 as u64)
// Standard Error: 575
.saturating_add(Weight::from_ref_time(29_066 as u64).saturating_mul(m as u64))
// Standard Error: 561
.saturating_add(Weight::from_ref_time(86_407 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 34_748 nanoseconds.
Weight::from_ref_time(36_507_990)
// Standard Error: 460
.saturating_add(Weight::from_ref_time(21_930).saturating_mul(m.into()))
// Standard Error: 448
.saturating_add(Weight::from_ref_time(89_349).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 43_484 nanoseconds.
Weight::from_ref_time(43_730_713 as u64)
// Standard Error: 61
.saturating_add(Weight::from_ref_time(2_043 as u64).saturating_mul(b as u64))
// Standard Error: 648
.saturating_add(Weight::from_ref_time(28_523 as u64).saturating_mul(m as u64))
// Standard Error: 632
.saturating_add(Weight::from_ref_time(103_704 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 43_758 nanoseconds.
Weight::from_ref_time(45_233_161)
// Standard Error: 56
.saturating_add(Weight::from_ref_time(2_030).saturating_mul(b.into()))
// Standard Error: 594
.saturating_add(Weight::from_ref_time(15_409).saturating_mul(m.into()))
// Standard Error: 579
.saturating_add(Weight::from_ref_time(108_283).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
@@ -218,11 +218,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 19_657 nanoseconds.
Weight::from_ref_time(22_843_773 as u64)
// Standard Error: 713
.saturating_add(Weight::from_ref_time(100_683 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 20_374 nanoseconds.
Weight::from_ref_time(23_458_157)
// Standard Error: 647
.saturating_add(Weight::from_ref_time(96_365).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_democracy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,43 +49,43 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy Blacklist (r:1 w:0)
// Storage: Democracy DepositOf (r:0 w:1)
fn propose() -> Weight {
// Minimum execution time: 42_967 nanoseconds.
Weight::from_ref_time(43_770_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 43_738 nanoseconds.
Weight::from_ref_time(44_556_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy DepositOf (r:1 w:1)
fn second() -> Weight {
// Minimum execution time: 39_741 nanoseconds.
Weight::from_ref_time(41_106_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 39_426 nanoseconds.
Weight::from_ref_time(41_184_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_new() -> Weight {
// Minimum execution time: 50_419 nanoseconds.
Weight::from_ref_time(51_479_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 50_529 nanoseconds.
Weight::from_ref_time(51_228_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_existing() -> Weight {
// Minimum execution time: 51_170 nanoseconds.
Weight::from_ref_time(51_755_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 50_691 nanoseconds.
Weight::from_ref_time(51_487_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
fn emergency_cancel() -> Weight {
// Minimum execution time: 21_378 nanoseconds.
Weight::from_ref_time(21_957_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 21_172 nanoseconds.
Weight::from_ref_time(21_639_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
@@ -94,75 +94,75 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Blacklist (r:0 w:1)
fn blacklist() -> Weight {
// Minimum execution time: 77_526 nanoseconds.
Weight::from_ref_time(79_470_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 78_343 nanoseconds.
Weight::from_ref_time(79_539_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
// Minimum execution time: 16_498 nanoseconds.
Weight::from_ref_time(17_076_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 16_401 nanoseconds.
Weight::from_ref_time(16_540_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
// Minimum execution time: 4_502 nanoseconds.
Weight::from_ref_time(4_690_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_561 nanoseconds.
Weight::from_ref_time(4_737_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
// Minimum execution time: 4_599 nanoseconds.
Weight::from_ref_time(4_750_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_581 nanoseconds.
Weight::from_ref_time(4_755_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn fast_track() -> Weight {
// Minimum execution time: 20_905 nanoseconds.
Weight::from_ref_time(21_387_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 20_722 nanoseconds.
Weight::from_ref_time(21_213_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
// Minimum execution time: 26_946 nanoseconds.
Weight::from_ref_time(27_534_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_625 nanoseconds.
Weight::from_ref_time(27_042_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn cancel_proposal() -> Weight {
// Minimum execution time: 65_837 nanoseconds.
Weight::from_ref_time(66_889_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 66_238 nanoseconds.
Weight::from_ref_time(67_723_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
// Minimum execution time: 13_714 nanoseconds.
Weight::from_ref_time(14_237_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 13_466 nanoseconds.
Weight::from_ref_time(13_788_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
// Minimum execution time: 6_405 nanoseconds.
Weight::from_ref_time(9_620_132 as u64)
// Standard Error: 3_895
.saturating_add(Weight::from_ref_time(2_076_637 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 6_205 nanoseconds.
Weight::from_ref_time(9_288_312)
// Standard Error: 5_188
.saturating_add(Weight::from_ref_time(2_107_010).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
@@ -172,91 +172,91 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
// Minimum execution time: 8_766 nanoseconds.
Weight::from_ref_time(12_133_052 as u64)
// Standard Error: 4_049
.saturating_add(Weight::from_ref_time(2_074_530 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_556 nanoseconds.
Weight::from_ref_time(11_671_235)
// Standard Error: 3_832
.saturating_add(Weight::from_ref_time(2_108_636).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:3 w:3)
// Storage: Balances Locks (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
// Minimum execution time: 42_683 nanoseconds.
Weight::from_ref_time(48_330_501 as u64)
// Standard Error: 7_233
.saturating_add(Weight::from_ref_time(2_994_008 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 42_581 nanoseconds.
Weight::from_ref_time(48_409_148)
// Standard Error: 5_429
.saturating_add(Weight::from_ref_time(3_032_252).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: Democracy VotingOf (r:2 w:2)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
// Minimum execution time: 25_626 nanoseconds.
Weight::from_ref_time(29_036_412 as u64)
// Standard Error: 4_605
.saturating_add(Weight::from_ref_time(2_952_295 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 26_163 nanoseconds.
Weight::from_ref_time(28_577_552)
// Standard Error: 4_330
.saturating_add(Weight::from_ref_time(3_013_080).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
// Minimum execution time: 4_943 nanoseconds.
Weight::from_ref_time(5_130_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 5_234 nanoseconds.
Weight::from_ref_time(5_503_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
// Minimum execution time: 25_894 nanoseconds.
Weight::from_ref_time(32_320_132 as u64)
// Standard Error: 1_445
.saturating_add(Weight::from_ref_time(30_390 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 25_194 nanoseconds.
Weight::from_ref_time(32_463_021)
// Standard Error: 1_637
.saturating_add(Weight::from_ref_time(31_497).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
// Minimum execution time: 30_098 nanoseconds.
Weight::from_ref_time(31_959_025 as u64)
// Standard Error: 673
.saturating_add(Weight::from_ref_time(70_608 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 30_925 nanoseconds.
Weight::from_ref_time(31_918_005)
// Standard Error: 574
.saturating_add(Weight::from_ref_time(70_577).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
// Minimum execution time: 15_813 nanoseconds.
Weight::from_ref_time(18_185_628 as u64)
// Standard Error: 850
.saturating_add(Weight::from_ref_time(78_098 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 16_023 nanoseconds.
Weight::from_ref_time(18_736_345)
// Standard Error: 934
.saturating_add(Weight::from_ref_time(70_826).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
// Minimum execution time: 15_738 nanoseconds.
Weight::from_ref_time(18_380_060 as u64)
// Standard Error: 970
.saturating_add(Weight::from_ref_time(77_708 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 16_237 nanoseconds.
Weight::from_ref_time(18_864_555)
// Standard Error: 921
.saturating_add(Weight::from_ref_time(71_509).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_election_provider_multi_phase`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -53,40 +53,40 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
// Storage: Staking ForceEra (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
fn on_initialize_nothing() -> Weight {
// Minimum execution time: 16_179 nanoseconds.
Weight::from_ref_time(16_599_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
// Minimum execution time: 16_781 nanoseconds.
Weight::from_ref_time(17_343_000)
.saturating_add(T::DbWeight::get().reads(8))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
fn on_initialize_open_signed() -> Weight {
// Minimum execution time: 15_355 nanoseconds.
Weight::from_ref_time(15_840_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 15_970 nanoseconds.
Weight::from_ref_time(16_232_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
fn on_initialize_open_unsigned() -> Weight {
// Minimum execution time: 14_708 nanoseconds.
Weight::from_ref_time(15_094_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 17_037 nanoseconds.
Weight::from_ref_time(17_446_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
fn finalize_signed_phase_accept_solution() -> Weight {
// Minimum execution time: 29_850 nanoseconds.
Weight::from_ref_time(30_766_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 29_511 nanoseconds.
Weight::from_ref_time(30_170_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn finalize_signed_phase_reject_solution() -> Weight {
// Minimum execution time: 25_348 nanoseconds.
Weight::from_ref_time(26_069_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 23_177 nanoseconds.
Weight::from_ref_time(23_738_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
@@ -94,11 +94,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
// Minimum execution time: 431_296 nanoseconds.
Weight::from_ref_time(441_927_000 as u64)
// Standard Error: 2_405
.saturating_add(Weight::from_ref_time(259_124 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 439_331 nanoseconds.
Weight::from_ref_time(450_164_000)
// Standard Error: 2_376
.saturating_add(Weight::from_ref_time(263_986).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
@@ -107,20 +107,20 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
// Storage: System BlockWeight (r:1 w:1)
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
// Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1)
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn elect_queued(a: u32, d: u32, ) -> Weight {
// Minimum execution time: 281_284 nanoseconds.
Weight::from_ref_time(93_886_656 as u64)
// Standard Error: 5_123
.saturating_add(Weight::from_ref_time(305_112 as u64).saturating_mul(a as u64))
// Standard Error: 7_679
.saturating_add(Weight::from_ref_time(150_164 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(9 as u64))
// Minimum execution time: 299_675 nanoseconds.
Weight::from_ref_time(103_061_877)
// Standard Error: 5_998
.saturating_add(Weight::from_ref_time(347_444).saturating_mul(a.into()))
// Standard Error: 8_990
.saturating_add(Weight::from_ref_time(112_738).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(9))
}
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
@@ -129,10 +129,10 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
fn submit() -> Weight {
// Minimum execution time: 49_731 nanoseconds.
Weight::from_ref_time(50_382_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 49_809 nanoseconds.
Weight::from_ref_time(50_541_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
@@ -146,14 +146,14 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
// Minimum execution time: 4_693_663 nanoseconds.
Weight::from_ref_time(4_728_052_000 as u64)
// Standard Error: 14_708
.saturating_add(Weight::from_ref_time(99_516 as u64).saturating_mul(v as u64))
// Standard Error: 43_588
.saturating_add(Weight::from_ref_time(4_479_682 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_739_331 nanoseconds.
Weight::from_ref_time(4_780_908_000)
// Standard Error: 14_409
.saturating_add(Weight::from_ref_time(86_102).saturating_mul(v.into()))
// Standard Error: 42_699
.saturating_add(Weight::from_ref_time(4_360_586).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
@@ -164,12 +164,12 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
// Minimum execution time: 3_895_772 nanoseconds.
Weight::from_ref_time(3_953_808_000 as u64)
// Standard Error: 12_413
.saturating_add(Weight::from_ref_time(233_081 as u64).saturating_mul(v as u64))
// Standard Error: 36_787
.saturating_add(Weight::from_ref_time(3_177_044 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
// Minimum execution time: 3_967_043 nanoseconds.
Weight::from_ref_time(3_984_184_000)
// Standard Error: 13_224
.saturating_add(Weight::from_ref_time(212_405).saturating_mul(v.into()))
// Standard Error: 39_189
.saturating_add(Weight::from_ref_time(3_220_897).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(4))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_elections_phragmen`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -51,12 +51,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[1, 16]`.
fn vote_equal(v: u32, ) -> Weight {
// Minimum execution time: 32_564 nanoseconds.
Weight::from_ref_time(33_571_516 as u64)
// Standard Error: 3_881
.saturating_add(Weight::from_ref_time(223_347 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 33_226 nanoseconds.
Weight::from_ref_time(34_188_522)
// Standard Error: 3_733
.saturating_add(Weight::from_ref_time(141_822).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -65,12 +65,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[2, 16]`.
fn vote_more(v: u32, ) -> Weight {
// Minimum execution time: 42_211 nanoseconds.
Weight::from_ref_time(43_972_399 as u64)
// Standard Error: 5_870
.saturating_add(Weight::from_ref_time(192_313 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 42_792 nanoseconds.
Weight::from_ref_time(43_789_608)
// Standard Error: 4_992
.saturating_add(Weight::from_ref_time(195_492).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -79,42 +79,42 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Balances Locks (r:1 w:1)
/// The range of component `v` is `[2, 16]`.
fn vote_less(v: u32, ) -> Weight {
// Minimum execution time: 42_918 nanoseconds.
Weight::from_ref_time(43_559_758 as u64)
// Standard Error: 30_177
.saturating_add(Weight::from_ref_time(264_050 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 43_516 nanoseconds.
Weight::from_ref_time(44_348_961)
// Standard Error: 10_333
.saturating_add(Weight::from_ref_time(148_783).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn remove_voter() -> Weight {
// Minimum execution time: 42_081 nanoseconds.
Weight::from_ref_time(42_705_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 40_851 nanoseconds.
Weight::from_ref_time(41_477_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// The range of component `c` is `[1, 1000]`.
fn submit_candidacy(c: u32, ) -> Weight {
// Minimum execution time: 38_084 nanoseconds.
Weight::from_ref_time(30_323_420 as u64)
// Standard Error: 1_137
.saturating_add(Weight::from_ref_time(92_216 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 37_507 nanoseconds.
Weight::from_ref_time(29_178_899)
// Standard Error: 1_002
.saturating_add(Weight::from_ref_time(91_171).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
/// The range of component `c` is `[1, 1000]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
// Minimum execution time: 32_052 nanoseconds.
Weight::from_ref_time(23_967_172 as u64)
// Standard Error: 1_006
.saturating_add(Weight::from_ref_time(69_919 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 32_531 nanoseconds.
Weight::from_ref_time(24_641_276)
// Standard Error: 1_002
.saturating_add(Weight::from_ref_time(72_077).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: PhragmenElection Members (r:1 w:1)
// Storage: PhragmenElection RunnersUp (r:1 w:1)
@@ -122,22 +122,22 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Members (r:0 w:1)
fn renounce_candidacy_members() -> Weight {
// Minimum execution time: 44_658 nanoseconds.
Weight::from_ref_time(46_150_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 45_592 nanoseconds.
Weight::from_ref_time(46_747_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: PhragmenElection RunnersUp (r:1 w:1)
fn renounce_candidacy_runners_up() -> Weight {
// Minimum execution time: 34_466 nanoseconds.
Weight::from_ref_time(36_065_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 34_816 nanoseconds.
Weight::from_ref_time(35_768_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Benchmark Override (r:0 w:0)
fn remove_member_without_replacement() -> Weight {
// Minimum execution time: 2_000_000_000 nanoseconds.
Weight::from_ref_time(2_000_000_000_000 as u64)
Weight::from_ref_time(2_000_000_000_000)
}
// Storage: PhragmenElection Members (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -146,10 +146,10 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Members (r:0 w:1)
fn remove_member_with_replacement() -> Weight {
// Minimum execution time: 59_328 nanoseconds.
Weight::from_ref_time(59_980_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 60_224 nanoseconds.
Weight::from_ref_time(61_478_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: PhragmenElection Voting (r:5001 w:5000)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -160,13 +160,13 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
/// The range of component `v` is `[5000, 10000]`.
/// The range of component `d` is `[0, 5000]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
// Minimum execution time: 281_848_917 nanoseconds.
Weight::from_ref_time(282_529_259_000 as u64)
// Standard Error: 244_287
.saturating_add(Weight::from_ref_time(34_643_190 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
// Minimum execution time: 279_584_302 nanoseconds.
Weight::from_ref_time(280_649_731_000)
// Standard Error: 241_122
.saturating_add(Weight::from_ref_time(34_440_123).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:1)
@@ -181,16 +181,16 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
/// The range of component `v` is `[1, 10000]`.
/// The range of component `e` is `[10000, 160000]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
// Minimum execution time: 28_514_414 nanoseconds.
Weight::from_ref_time(28_653_120_000 as u64)
// Standard Error: 451_970
.saturating_add(Weight::from_ref_time(41_012_837 as u64).saturating_mul(v as u64))
// Standard Error: 29_004
.saturating_add(Weight::from_ref_time(2_024_452 as u64).saturating_mul(e as u64))
.saturating_add(T::DbWeight::get().reads(269 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes(6 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
// Minimum execution time: 28_310_285 nanoseconds.
Weight::from_ref_time(28_477_149_000)
// Standard Error: 434_601
.saturating_add(Weight::from_ref_time(39_372_677).saturating_mul(v.into()))
// Standard Error: 27_890
.saturating_add(Weight::from_ref_time(1_908_735).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(269))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_fast_unstake`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -58,10 +58,10 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: Staking Ledger (r:0 w:64)
// Storage: Staking Payee (r:0 w:64)
fn on_idle_unstake() -> Weight {
// Minimum execution time: 2_143_088 nanoseconds.
Weight::from_ref_time(2_180_693_000 as u64)
.saturating_add(T::DbWeight::get().reads(389 as u64))
.saturating_add(T::DbWeight::get().writes(321 as u64))
// Minimum execution time: 2_169_868 nanoseconds.
Weight::from_ref_time(2_203_380_000)
.saturating_add(T::DbWeight::get().reads(389))
.saturating_add(T::DbWeight::get().writes(321))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking ValidatorCount (r:1 w:0)
@@ -73,13 +73,13 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: Staking ErasStakers (r:56 w:0)
/// The range of component `x` is `[28, 3584]`.
fn on_idle_check(x: u32, ) -> Weight {
// Minimum execution time: 28_585_887 nanoseconds.
Weight::from_ref_time(28_897_826_000 as u64)
// Standard Error: 697_438
.saturating_add(Weight::from_ref_time(864_448_829 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(85 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
.saturating_add(T::DbWeight::get().writes(66 as u64))
// Minimum execution time: 28_397_450 nanoseconds.
Weight::from_ref_time(28_593_267_000)
// Standard Error: 637_429
.saturating_add(Weight::from_ref_time(841_629_998).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(85))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().writes(66))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking Ledger (r:1 w:1)
@@ -95,10 +95,10 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: Balances Locks (r:1 w:1)
// Storage: FastUnstake CounterForQueue (r:1 w:1)
fn register_fast_unstake() -> Weight {
// Minimum execution time: 125_199 nanoseconds.
Weight::from_ref_time(127_131_000 as u64)
.saturating_add(T::DbWeight::get().reads(15 as u64))
.saturating_add(T::DbWeight::get().writes(10 as u64))
// Minimum execution time: 126_721 nanoseconds.
Weight::from_ref_time(128_241_000)
.saturating_add(T::DbWeight::get().reads(15))
.saturating_add(T::DbWeight::get().writes(10))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
@@ -106,15 +106,15 @@ impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T>
// Storage: FastUnstake Head (r:1 w:0)
// Storage: FastUnstake CounterForQueue (r:1 w:1)
fn deregister() -> Weight {
// Minimum execution time: 50_373 nanoseconds.
Weight::from_ref_time(51_451_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 50_699 nanoseconds.
Weight::from_ref_time(51_934_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
fn control() -> Weight {
// Minimum execution time: 4_124 nanoseconds.
Weight::from_ref_time(4_273_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_132 nanoseconds.
Weight::from_ref_time(4_323_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_identity`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,52 +47,52 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn add_registrar(r: u32, ) -> Weight {
// Minimum execution time: 17_728 nanoseconds.
Weight::from_ref_time(18_802_571 as u64)
// Standard Error: 2_795
.saturating_add(Weight::from_ref_time(141_858 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 16_751 nanoseconds.
Weight::from_ref_time(19_612_984)
// Standard Error: 9_653
.saturating_add(Weight::from_ref_time(74_854).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn set_identity(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 36_405 nanoseconds.
Weight::from_ref_time(36_175_137 as u64)
// Standard Error: 3_748
.saturating_add(Weight::from_ref_time(79_184 as u64).saturating_mul(r as u64))
// Standard Error: 731
.saturating_add(Weight::from_ref_time(336_404 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 36_677 nanoseconds.
Weight::from_ref_time(35_963_507)
// Standard Error: 3_550
.saturating_add(Weight::from_ref_time(78_247).saturating_mul(r.into()))
// Standard Error: 692
.saturating_add(Weight::from_ref_time(326_840).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:2 w:2)
/// The range of component `s` is `[0, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
// Minimum execution time: 10_420 nanoseconds.
Weight::from_ref_time(29_465_886 as u64)
// Standard Error: 5_250
.saturating_add(Weight::from_ref_time(2_141_877 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
// Minimum execution time: 10_143 nanoseconds.
Weight::from_ref_time(29_119_780)
// Standard Error: 5_188
.saturating_add(Weight::from_ref_time(2_246_226).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:2)
/// The range of component `p` is `[0, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
// Minimum execution time: 10_452 nanoseconds.
Weight::from_ref_time(29_027_753 as u64)
// Standard Error: 4_422
.saturating_add(Weight::from_ref_time(927_954 as u64).saturating_mul(p 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).saturating_mul(p as u64)))
// Minimum execution time: 10_244 nanoseconds.
Weight::from_ref_time(29_469_785)
// Standard Error: 4_540
.saturating_add(Weight::from_ref_time(945_517).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
@@ -101,88 +101,88 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 52_757 nanoseconds.
Weight::from_ref_time(37_480_393 as u64)
// Standard Error: 5_162
.saturating_add(Weight::from_ref_time(74_235 as u64).saturating_mul(r as u64))
// Standard Error: 1_008
.saturating_add(Weight::from_ref_time(889_324 as u64).saturating_mul(s as u64))
// Standard Error: 1_008
.saturating_add(Weight::from_ref_time(175_597 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
// Minimum execution time: 51_622 nanoseconds.
Weight::from_ref_time(37_941_553)
// Standard Error: 5_780
.saturating_add(Weight::from_ref_time(74_317).saturating_mul(r.into()))
// Standard Error: 1_128
.saturating_add(Weight::from_ref_time(914_784).saturating_mul(s.into()))
// Standard Error: 1_128
.saturating_add(Weight::from_ref_time(163_565).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 38_614 nanoseconds.
Weight::from_ref_time(36_952_302 as u64)
// Standard Error: 4_162
.saturating_add(Weight::from_ref_time(117_466 as u64).saturating_mul(r as u64))
// Standard Error: 812
.saturating_add(Weight::from_ref_time(360_113 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 38_465 nanoseconds.
Weight::from_ref_time(38_639_854)
// Standard Error: 8_215
.saturating_add(Weight::from_ref_time(79_982).saturating_mul(r.into()))
// Standard Error: 1_602
.saturating_add(Weight::from_ref_time(331_121).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 34_487 nanoseconds.
Weight::from_ref_time(33_137_826 as u64)
// Standard Error: 4_408
.saturating_add(Weight::from_ref_time(130_256 as u64).saturating_mul(r as u64))
// Standard Error: 860
.saturating_add(Weight::from_ref_time(358_444 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 34_137 nanoseconds.
Weight::from_ref_time(33_586_961)
// Standard Error: 4_330
.saturating_add(Weight::from_ref_time(92_907).saturating_mul(r.into()))
// Standard Error: 844
.saturating_add(Weight::from_ref_time(344_294).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fee(r: u32, ) -> Weight {
// Minimum execution time: 8_981 nanoseconds.
Weight::from_ref_time(9_912_405 as u64)
// Standard Error: 2_270
.saturating_add(Weight::from_ref_time(125_220 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_712 nanoseconds.
Weight::from_ref_time(9_935_522)
// Standard Error: 3_075
.saturating_add(Weight::from_ref_time(122_004).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
// Minimum execution time: 9_134 nanoseconds.
Weight::from_ref_time(10_168_184 as u64)
// Standard Error: 2_481
.saturating_add(Weight::from_ref_time(118_366 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_960 nanoseconds.
Weight::from_ref_time(10_055_462)
// Standard Error: 2_534
.saturating_add(Weight::from_ref_time(111_222).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fields(r: u32, ) -> Weight {
// Minimum execution time: 9_316 nanoseconds.
Weight::from_ref_time(9_969_317 as u64)
// Standard Error: 1_769
.saturating_add(Weight::from_ref_time(120_680 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_694 nanoseconds.
Weight::from_ref_time(9_803_081)
// Standard Error: 2_408
.saturating_add(Weight::from_ref_time(121_959).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
/// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 29_275 nanoseconds.
Weight::from_ref_time(27_614_499 as u64)
// Standard Error: 5_680
.saturating_add(Weight::from_ref_time(111_852 as u64).saturating_mul(r as u64))
// Standard Error: 1_051
.saturating_add(Weight::from_ref_time(603_502 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_355 nanoseconds.
Weight::from_ref_time(27_731_585)
// Standard Error: 5_061
.saturating_add(Weight::from_ref_time(98_244).saturating_mul(r.into()))
// Standard Error: 936
.saturating_add(Weight::from_ref_time(573_767).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
@@ -192,62 +192,62 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 64_116 nanoseconds.
Weight::from_ref_time(48_330_163 as u64)
// Standard Error: 5_125
.saturating_add(Weight::from_ref_time(124_589 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(907_109 as u64).saturating_mul(s as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(166_050 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
// Minimum execution time: 63_940 nanoseconds.
Weight::from_ref_time(46_785_173)
// Standard Error: 6_663
.saturating_add(Weight::from_ref_time(174_752).saturating_mul(r.into()))
// Standard Error: 1_301
.saturating_add(Weight::from_ref_time(939_237).saturating_mul(s.into()))
// Standard Error: 1_301
.saturating_add(Weight::from_ref_time(167_035).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[0, 99]`.
fn add_sub(s: u32, ) -> Weight {
// Minimum execution time: 32_248 nanoseconds.
Weight::from_ref_time(38_740_222 as u64)
// Standard Error: 1_876
.saturating_add(Weight::from_ref_time(78_534 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 32_148 nanoseconds.
Weight::from_ref_time(38_590_604)
// Standard Error: 1_880
.saturating_add(Weight::from_ref_time(72_413).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
// Minimum execution time: 14_319 nanoseconds.
Weight::from_ref_time(16_793_491 as u64)
// Standard Error: 706
.saturating_add(Weight::from_ref_time(25_971 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 14_441 nanoseconds.
Weight::from_ref_time(16_761_822)
// Standard Error: 750
.saturating_add(Weight::from_ref_time(24_756).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
// Minimum execution time: 37_248 nanoseconds.
Weight::from_ref_time(40_083_859 as u64)
// Standard Error: 1_215
.saturating_add(Weight::from_ref_time(66_182 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 36_676 nanoseconds.
Weight::from_ref_time(40_003_252)
// Standard Error: 1_168
.saturating_add(Weight::from_ref_time(60_542).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[0, 99]`.
fn quit_sub(s: u32, ) -> Weight {
// Minimum execution time: 25_792 nanoseconds.
Weight::from_ref_time(29_482_631 as u64)
// Standard Error: 1_182
.saturating_add(Weight::from_ref_time(71_110 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 25_632 nanoseconds.
Weight::from_ref_time(29_263_516)
// Standard Error: 1_145
.saturating_add(Weight::from_ref_time(65_367).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_im_online`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -52,13 +52,13 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
/// The range of component `k` is `[1, 1000]`.
/// The range of component `e` is `[1, 100]`.
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
// Minimum execution time: 96_848 nanoseconds.
Weight::from_ref_time(76_934_215 as u64)
// Standard Error: 356
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(k as u64))
// Standard Error: 3_595
.saturating_add(Weight::from_ref_time(319_684 as u64).saturating_mul(e as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 96_562 nanoseconds.
Weight::from_ref_time(77_795_540)
// Standard Error: 244
.saturating_add(Weight::from_ref_time(23_312).saturating_mul(k.into()))
// Standard Error: 2_460
.saturating_add(Weight::from_ref_time(309_889).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_indices`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,39 +46,39 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// Storage: Indices Accounts (r:1 w:1)
fn claim() -> Weight {
// Minimum execution time: 27_020 nanoseconds.
Weight::from_ref_time(27_507_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 26_870 nanoseconds.
Weight::from_ref_time(27_478_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 32_499 nanoseconds.
Weight::from_ref_time(32_898_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 33_543 nanoseconds.
Weight::from_ref_time(34_288_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
fn free() -> Weight {
// Minimum execution time: 27_796 nanoseconds.
Weight::from_ref_time(28_283_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 27_706 nanoseconds.
Weight::from_ref_time(28_205_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
// Minimum execution time: 28_389 nanoseconds.
Weight::from_ref_time(28_796_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 27_765 nanoseconds.
Weight::from_ref_time(28_224_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
fn freeze() -> Weight {
// Minimum execution time: 33_329 nanoseconds.
Weight::from_ref_time(34_108_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 33_112 nanoseconds.
Weight::from_ref_time(33_554_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_membership`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -50,12 +50,12 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
// Minimum execution time: 20_390 nanoseconds.
Weight::from_ref_time(22_044_878 as u64)
// Standard Error: 797
.saturating_add(Weight::from_ref_time(33_243 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 21_123 nanoseconds.
Weight::from_ref_time(22_173_890)
// Standard Error: 540
.saturating_add(Weight::from_ref_time(32_391).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -64,12 +64,12 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
// Minimum execution time: 23_013 nanoseconds.
Weight::from_ref_time(23_713_008 as u64)
// Standard Error: 481
.saturating_add(Weight::from_ref_time(38_172 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 23_366 nanoseconds.
Weight::from_ref_time(24_519_555)
// Standard Error: 459
.saturating_add(Weight::from_ref_time(34_775).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -78,12 +78,12 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
// Minimum execution time: 23_198 nanoseconds.
Weight::from_ref_time(23_817_539 as u64)
// Standard Error: 644
.saturating_add(Weight::from_ref_time(49_693 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 23_569 nanoseconds.
Weight::from_ref_time(24_669_958)
// Standard Error: 519
.saturating_add(Weight::from_ref_time(46_474).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -92,12 +92,12 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
// Minimum execution time: 22_542 nanoseconds.
Weight::from_ref_time(23_700_365 as u64)
// Standard Error: 776
.saturating_add(Weight::from_ref_time(167_755 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 22_736 nanoseconds.
Weight::from_ref_time(24_532_260)
// Standard Error: 864
.saturating_add(Weight::from_ref_time(154_071).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
@@ -106,33 +106,33 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
// Minimum execution time: 23_375 nanoseconds.
Weight::from_ref_time(24_305_512 as u64)
// Standard Error: 624
.saturating_add(Weight::from_ref_time(49_648 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 24_121 nanoseconds.
Weight::from_ref_time(25_015_230)
// Standard Error: 762
.saturating_add(Weight::from_ref_time(46_215).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: TechnicalMembership Members (r:1 w:0)
// Storage: TechnicalMembership Prime (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn set_prime(m: u32, ) -> Weight {
// Minimum execution time: 8_276 nanoseconds.
Weight::from_ref_time(8_721_388 as u64)
// Standard Error: 211
.saturating_add(Weight::from_ref_time(9_233 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 8_910 nanoseconds.
Weight::from_ref_time(9_420_013)
// Standard Error: 327
.saturating_add(Weight::from_ref_time(4_216).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: TechnicalMembership Prime (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn clear_prime(m: u32, ) -> Weight {
// Minimum execution time: 4_809 nanoseconds.
Weight::from_ref_time(5_110_419 as u64)
// Standard Error: 141
.saturating_add(Weight::from_ref_time(1_010 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 5_011 nanoseconds.
Weight::from_ref_time(5_279_769)
// Standard Error: 139
.saturating_add(Weight::from_ref_time(1_782).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,81 +46,81 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 14_625 nanoseconds.
Weight::from_ref_time(15_168_661 as u64)
// Minimum execution time: 14_299 nanoseconds.
Weight::from_ref_time(14_918_949)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(700 as u64).saturating_mul(z as u64))
.saturating_add(Weight::from_ref_time(537).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (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(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 44_269 nanoseconds.
Weight::from_ref_time(36_420_603 as u64)
// Standard Error: 767
.saturating_add(Weight::from_ref_time(84_830 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_740 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 43_895 nanoseconds.
Weight::from_ref_time(35_638_381)
// Standard Error: 2_022
.saturating_add(Weight::from_ref_time(90_189).saturating_mul(s.into()))
// Standard Error: 19
.saturating_add(Weight::from_ref_time(1_655).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 34_804 nanoseconds.
Weight::from_ref_time(27_400_589 as u64)
// Standard Error: 709
.saturating_add(Weight::from_ref_time(80_170 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_670 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 34_393 nanoseconds.
Weight::from_ref_time(26_164_108)
// Standard Error: 1_261
.saturating_add(Weight::from_ref_time(85_275).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_576).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 48_885 nanoseconds.
Weight::from_ref_time(38_719_746 as u64)
// Standard Error: 740
.saturating_add(Weight::from_ref_time(109_443 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_762 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))
// Minimum execution time: 48_418 nanoseconds.
Weight::from_ref_time(38_640_451)
// Standard Error: 659
.saturating_add(Weight::from_ref_time(110_389).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_572).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 32_918 nanoseconds.
Weight::from_ref_time(35_114_296 as u64)
// Standard Error: 870
.saturating_add(Weight::from_ref_time(88_713 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 32_448 nanoseconds.
Weight::from_ref_time(35_894_652)
// Standard Error: 1_619
.saturating_add(Weight::from_ref_time(79_490).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 23_394 nanoseconds.
Weight::from_ref_time(25_193_425 as u64)
// Standard Error: 766
.saturating_add(Weight::from_ref_time(84_508 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 23_830 nanoseconds.
Weight::from_ref_time(24_968_392)
// Standard Error: 656
.saturating_add(Weight::from_ref_time(86_749).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 33_360 nanoseconds.
Weight::from_ref_time(35_598_264 as u64)
// Standard Error: 855
.saturating_add(Weight::from_ref_time(85_941 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 33_584 nanoseconds.
Weight::from_ref_time(35_428_455)
// Standard Error: 727
.saturating_add(Weight::from_ref_time(87_019).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_nomination_pools`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -58,10 +58,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn join() -> Weight {
// Minimum execution time: 143_368 nanoseconds.
Weight::from_ref_time(147_813_000 as u64)
.saturating_add(T::DbWeight::get().reads(17 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
// Minimum execution time: 138_077 nanoseconds.
Weight::from_ref_time(140_674_000)
.saturating_add(T::DbWeight::get().reads(17))
.saturating_add(T::DbWeight::get().writes(12))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
@@ -73,10 +73,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra_transfer() -> Weight {
// Minimum execution time: 141_294 nanoseconds.
Weight::from_ref_time(142_580_000 as u64)
.saturating_add(T::DbWeight::get().reads(14 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
// Minimum execution time: 139_823 nanoseconds.
Weight::from_ref_time(141_391_000)
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(12))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
@@ -88,20 +88,20 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListNodes (r:2 w:2)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra_reward() -> Weight {
// Minimum execution time: 145_976 nanoseconds.
Weight::from_ref_time(149_745_000 as u64)
.saturating_add(T::DbWeight::get().reads(13 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
// Minimum execution time: 144_482 nanoseconds.
Weight::from_ref_time(147_297_000)
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(12))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: NominationPools RewardPools (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn claim_payout() -> Weight {
// Minimum execution time: 54_743 nanoseconds.
Weight::from_ref_time(55_539_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 55_582 nanoseconds.
Weight::from_ref_time(56_477_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: NominationPools BondedPools (r:1 w:1)
@@ -118,10 +118,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools SubPoolsStorage (r:1 w:1)
// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
fn unbond() -> Weight {
// Minimum execution time: 143_857 nanoseconds.
Weight::from_ref_time(145_751_000 as u64)
.saturating_add(T::DbWeight::get().reads(18 as u64))
.saturating_add(T::DbWeight::get().writes(13 as u64))
// Minimum execution time: 144_110 nanoseconds.
Weight::from_ref_time(145_168_000)
.saturating_add(T::DbWeight::get().reads(18))
.saturating_add(T::DbWeight::get().writes(13))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: Staking Bonded (r:1 w:0)
@@ -130,12 +130,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: Balances Locks (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Minimum execution time: 58_224 nanoseconds.
Weight::from_ref_time(59_802_225 as u64)
// Standard Error: 870
.saturating_add(Weight::from_ref_time(19_208 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 53_694 nanoseconds.
Weight::from_ref_time(55_517_626)
// Standard Error: 1_297
.saturating_add(Weight::from_ref_time(12_614).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: Staking CurrentEra (r:1 w:0)
@@ -148,12 +148,12 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Minimum execution time: 98_968 nanoseconds.
Weight::from_ref_time(100_541_263 as u64)
// Standard Error: 1_330
.saturating_add(Weight::from_ref_time(26_422 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 96_612 nanoseconds.
Weight::from_ref_time(98_934_471)
// Standard Error: 1_764
.saturating_add(Weight::from_ref_time(22_940).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: NominationPools PoolMembers (r:1 w:1)
// Storage: Staking CurrentEra (r:1 w:0)
@@ -176,13 +176,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools CounterForBondedPools (r:1 w:1)
// Storage: Staking Payee (r:0 w:1)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Minimum execution time: 149_053 nanoseconds.
Weight::from_ref_time(152_258_821 as u64)
// Standard Error: 2_471
.saturating_add(Weight::from_ref_time(3_994 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(20 as u64))
.saturating_add(T::DbWeight::get().writes(17 as u64))
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
// Minimum execution time: 145_460 nanoseconds.
Weight::from_ref_time(150_328_923)
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(17))
}
// Storage: NominationPools LastPoolId (r:1 w:1)
// Storage: Staking MinNominatorBond (r:1 w:0)
@@ -206,10 +204,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: Staking Payee (r:0 w:1)
fn create() -> Weight {
// Minimum execution time: 131_307 nanoseconds.
Weight::from_ref_time(131_903_000 as u64)
.saturating_add(T::DbWeight::get().reads(21 as u64))
.saturating_add(T::DbWeight::get().writes(15 as u64))
// Minimum execution time: 125_049 nanoseconds.
Weight::from_ref_time(125_623_000)
.saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(15))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: Staking Bonded (r:1 w:0)
@@ -225,34 +223,34 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: Staking CounterForNominators (r:1 w:1)
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Minimum execution time: 63_797 nanoseconds.
Weight::from_ref_time(64_609_885 as u64)
// Standard Error: 7_244
.saturating_add(Weight::from_ref_time(987_467 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(12 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 62_906 nanoseconds.
Weight::from_ref_time(63_395_815)
// Standard Error: 6_869
.saturating_add(Weight::from_ref_time(1_028_813).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NominationPools BondedPools (r:1 w:1)
// Storage: Staking Bonded (r:1 w:0)
// Storage: Staking Ledger (r:1 w:0)
fn set_state() -> Weight {
// Minimum execution time: 39_822 nanoseconds.
Weight::from_ref_time(40_523_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 38_221 nanoseconds.
Weight::from_ref_time(38_648_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: NominationPools Metadata (r:1 w:1)
// Storage: NominationPools CounterForMetadata (r:1 w:1)
/// The range of component `n` is `[1, 256]`.
fn set_metadata(n: u32, ) -> Weight {
// Minimum execution time: 15_620 nanoseconds.
Weight::from_ref_time(16_509_178 as u64)
// Standard Error: 137
.saturating_add(Weight::from_ref_time(356 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 15_276 nanoseconds.
Weight::from_ref_time(15_968_486)
// Standard Error: 125
.saturating_add(Weight::from_ref_time(1_258).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: NominationPools MinJoinBond (r:0 w:1)
// Storage: NominationPools MaxPoolMembers (r:0 w:1)
@@ -260,16 +258,16 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: NominationPools MinCreateBond (r:0 w:1)
// Storage: NominationPools MaxPools (r:0 w:1)
fn set_configs() -> Weight {
// Minimum execution time: 6_536 nanoseconds.
Weight::from_ref_time(6_677_000 as u64)
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 6_246 nanoseconds.
Weight::from_ref_time(6_481_000)
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NominationPools BondedPools (r:1 w:1)
fn update_roles() -> Weight {
// Minimum execution time: 26_150 nanoseconds.
Weight::from_ref_time(26_682_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 24_921 nanoseconds.
Weight::from_ref_time(25_212_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: NominationPools BondedPools (r:1 w:0)
// Storage: Staking Bonded (r:1 w:0)
@@ -281,9 +279,9 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
fn chill() -> Weight {
// Minimum execution time: 65_307 nanoseconds.
Weight::from_ref_time(66_030_000 as u64)
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 63_529 nanoseconds.
Weight::from_ref_time(64_405_000)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_preimage`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,99 +48,99 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight {
// Minimum execution time: 29_241 nanoseconds.
Weight::from_ref_time(29_702_000 as u64)
// Minimum execution time: 28_741 nanoseconds.
Weight::from_ref_time(29_180_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_485 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(2_318).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight {
// Minimum execution time: 21_209 nanoseconds.
Weight::from_ref_time(21_369_000 as u64)
// Minimum execution time: 20_633 nanoseconds.
Weight::from_ref_time(20_787_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_482 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(2_325).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight {
// Minimum execution time: 19_543 nanoseconds.
Weight::from_ref_time(19_817_000 as u64)
// Minimum execution time: 19_297 nanoseconds.
Weight::from_ref_time(19_499_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_487 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(Weight::from_ref_time(2_318).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_preimage() -> Weight {
// Minimum execution time: 41_035 nanoseconds.
Weight::from_ref_time(42_095_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 38_722 nanoseconds.
Weight::from_ref_time(40_354_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_no_deposit_preimage() -> Weight {
// Minimum execution time: 28_472 nanoseconds.
Weight::from_ref_time(30_030_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_662 nanoseconds.
Weight::from_ref_time(27_761_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_preimage() -> Weight {
// Minimum execution time: 28_034 nanoseconds.
Weight::from_ref_time(30_657_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 25_881 nanoseconds.
Weight::from_ref_time(28_314_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_no_deposit_preimage() -> Weight {
// Minimum execution time: 15_756 nanoseconds.
Weight::from_ref_time(16_707_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 13_357 nanoseconds.
Weight::from_ref_time(13_833_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_unnoted_preimage() -> Weight {
// Minimum execution time: 17_491 nanoseconds.
Weight::from_ref_time(18_540_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 17_757 nanoseconds.
Weight::from_ref_time(18_427_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_requested_preimage() -> Weight {
// Minimum execution time: 8_636 nanoseconds.
Weight::from_ref_time(9_055_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_688 nanoseconds.
Weight::from_ref_time(9_167_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unrequest_preimage() -> Weight {
// Minimum execution time: 28_146 nanoseconds.
Weight::from_ref_time(29_062_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_480 nanoseconds.
Weight::from_ref_time(27_624_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_unnoted_preimage() -> Weight {
// Minimum execution time: 8_541 nanoseconds.
Weight::from_ref_time(8_992_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_652 nanoseconds.
Weight::from_ref_time(9_060_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_multi_referenced_preimage() -> Weight {
// Minimum execution time: 8_558 nanoseconds.
Weight::from_ref_time(8_880_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_503 nanoseconds.
Weight::from_ref_time(8_889_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,11 +47,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Minimum execution time: 20_608 nanoseconds.
Weight::from_ref_time(21_427_971 as u64)
// Standard Error: 1_454
.saturating_add(Weight::from_ref_time(58_755 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 21_009 nanoseconds.
Weight::from_ref_time(22_523_721)
// Standard Error: 2_969
.saturating_add(Weight::from_ref_time(16_347).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
@@ -59,42 +59,42 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 38_933 nanoseconds.
Weight::from_ref_time(38_864_156 as u64)
// Standard Error: 2_331
.saturating_add(Weight::from_ref_time(129_402 as u64).saturating_mul(a as u64))
// Standard Error: 2_409
.saturating_add(Weight::from_ref_time(37_803 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 38_419 nanoseconds.
Weight::from_ref_time(39_050_915)
// Standard Error: 2_043
.saturating_add(Weight::from_ref_time(119_630).saturating_mul(a.into()))
// Standard Error: 2_111
.saturating_add(Weight::from_ref_time(38_459).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 26_663 nanoseconds.
Weight::from_ref_time(28_155_321 as u64)
// Standard Error: 1_876
.saturating_add(Weight::from_ref_time(119_017 as u64).saturating_mul(a as u64))
// Standard Error: 1_939
.saturating_add(Weight::from_ref_time(2_962 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_947 nanoseconds.
Weight::from_ref_time(27_925_099)
// Standard Error: 1_573
.saturating_add(Weight::from_ref_time(115_381).saturating_mul(a.into()))
// Standard Error: 1_625
.saturating_add(Weight::from_ref_time(7_631).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 26_838 nanoseconds.
Weight::from_ref_time(28_201_760 as u64)
// Standard Error: 1_761
.saturating_add(Weight::from_ref_time(111_913 as u64).saturating_mul(a as u64))
// Standard Error: 1_820
.saturating_add(Weight::from_ref_time(3_823 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_918 nanoseconds.
Weight::from_ref_time(27_724_615)
// Standard Error: 1_594
.saturating_add(Weight::from_ref_time(122_890).saturating_mul(a.into()))
// Standard Error: 1_647
.saturating_add(Weight::from_ref_time(11_516).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
@@ -102,64 +102,64 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 34_778 nanoseconds.
Weight::from_ref_time(35_773_772 as u64)
// Standard Error: 2_014
.saturating_add(Weight::from_ref_time(117_292 as u64).saturating_mul(a as u64))
// Standard Error: 2_081
.saturating_add(Weight::from_ref_time(42_008 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 34_759 nanoseconds.
Weight::from_ref_time(36_388_065)
// Standard Error: 1_816
.saturating_add(Weight::from_ref_time(99_052).saturating_mul(a.into()))
// Standard Error: 1_876
.saturating_add(Weight::from_ref_time(26_335).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Minimum execution time: 28_063 nanoseconds.
Weight::from_ref_time(29_792_630 as u64)
// Standard Error: 1_849
.saturating_add(Weight::from_ref_time(68_018 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_504 nanoseconds.
Weight::from_ref_time(29_268_875)
// Standard Error: 8_509
.saturating_add(Weight::from_ref_time(126_721).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 27_939 nanoseconds.
Weight::from_ref_time(29_987_466 as u64)
// Standard Error: 2_039
.saturating_add(Weight::from_ref_time(95_130 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_444 nanoseconds.
Weight::from_ref_time(29_932_920)
// Standard Error: 2_184
.saturating_add(Weight::from_ref_time(74_884).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 24_796 nanoseconds.
Weight::from_ref_time(26_085_767 as u64)
// Standard Error: 1_389
.saturating_add(Weight::from_ref_time(53_192 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 24_627 nanoseconds.
Weight::from_ref_time(25_867_871)
// Standard Error: 1_673
.saturating_add(Weight::from_ref_time(55_025).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
// Minimum execution time: 31_445 nanoseconds.
Weight::from_ref_time(32_982_887 as u64)
// Standard Error: 3_109
.saturating_add(Weight::from_ref_time(47_589 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 31_280 nanoseconds.
Weight::from_ref_time(32_850_966)
// Standard Error: 1_878
.saturating_add(Weight::from_ref_time(35_810).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 26_316 nanoseconds.
Weight::from_ref_time(27_309_864 as u64)
// Standard Error: 1_763
.saturating_add(Weight::from_ref_time(47_640 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 26_909 nanoseconds.
Weight::from_ref_time(27_748_948)
// Standard Error: 1_595
.saturating_add(Weight::from_ref_time(36_320).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_scheduler`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,95 +46,95 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Storage: Scheduler IncompleteSince (r:1 w:1)
fn service_agendas_base() -> Weight {
// Minimum execution time: 4_885 nanoseconds.
Weight::from_ref_time(4_987_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_720 nanoseconds.
Weight::from_ref_time(4_841_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight {
// Minimum execution time: 4_159 nanoseconds.
Weight::from_ref_time(7_592_661 as u64)
// Standard Error: 1_966
.saturating_add(Weight::from_ref_time(686_426 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_167 nanoseconds.
Weight::from_ref_time(7_863_933)
// Standard Error: 2_520
.saturating_add(Weight::from_ref_time(562_355).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_base() -> Weight {
// Minimum execution time: 10_198 nanoseconds.
Weight::from_ref_time(10_441_000 as u64)
// Minimum execution time: 9_574 nanoseconds.
Weight::from_ref_time(9_819_000)
}
// Storage: Preimage PreimageFor (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
/// The range of component `s` is `[128, 4194304]`.
fn service_task_fetched(s: u32, ) -> Weight {
// Minimum execution time: 21_321 nanoseconds.
Weight::from_ref_time(21_555_000 as u64)
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_534 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 21_038 nanoseconds.
Weight::from_ref_time(21_126_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_247).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:0 w:1)
fn service_task_named() -> Weight {
// Minimum execution time: 11_616 nanoseconds.
Weight::from_ref_time(11_798_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 10_881 nanoseconds.
Weight::from_ref_time(11_159_000)
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_periodic() -> Weight {
// Minimum execution time: 9_892 nanoseconds.
Weight::from_ref_time(10_084_000 as u64)
// Minimum execution time: 9_543 nanoseconds.
Weight::from_ref_time(9_703_000)
}
fn execute_dispatch_signed() -> Weight {
// Minimum execution time: 4_250 nanoseconds.
Weight::from_ref_time(4_349_000 as u64)
// Minimum execution time: 3_850 nanoseconds.
Weight::from_ref_time(4_001_000)
}
fn execute_dispatch_unsigned() -> Weight {
// Minimum execution time: 4_195 nanoseconds.
Weight::from_ref_time(4_294_000 as u64)
// Minimum execution time: 4_002 nanoseconds.
Weight::from_ref_time(4_135_000)
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight {
// Minimum execution time: 17_845 nanoseconds.
Weight::from_ref_time(21_966_647 as u64)
// Standard Error: 2_375
.saturating_add(Weight::from_ref_time(709_788 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 17_929 nanoseconds.
Weight::from_ref_time(22_239_592)
// Standard Error: 2_373
.saturating_add(Weight::from_ref_time(580_821).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel(s: u32, ) -> Weight {
// Minimum execution time: 20_576 nanoseconds.
Weight::from_ref_time(22_223_331 as u64)
// Standard Error: 1_893
.saturating_add(Weight::from_ref_time(704_138 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 22_231 nanoseconds.
Weight::from_ref_time(23_385_381)
// Standard Error: 3_296
.saturating_add(Weight::from_ref_time(968_532).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule_named(s: u32, ) -> Weight {
// Minimum execution time: 20_629 nanoseconds.
Weight::from_ref_time(25_733_922 as u64)
// Standard Error: 3_411
.saturating_add(Weight::from_ref_time(730_376 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 20_121 nanoseconds.
Weight::from_ref_time(25_927_324)
// Standard Error: 3_261
.saturating_add(Weight::from_ref_time(606_840).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel_named(s: u32, ) -> Weight {
// Minimum execution time: 21_737 nanoseconds.
Weight::from_ref_time(24_034_587 as u64)
// Standard Error: 2_365
.saturating_add(Weight::from_ref_time(719_777 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 23_173 nanoseconds.
Weight::from_ref_time(25_671_334)
// Standard Error: 2_484
.saturating_add(Weight::from_ref_time(959_278).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_session`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,18 +48,18 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:6 w:6)
fn set_keys() -> Weight {
// Minimum execution time: 51_133 nanoseconds.
Weight::from_ref_time(52_762_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 52_251 nanoseconds.
Weight::from_ref_time(54_081_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Staking Ledger (r:1 w:0)
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:0 w:6)
fn purge_keys() -> Weight {
// Minimum execution time: 38_703 nanoseconds.
Weight::from_ref_time(40_249_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 39_981 nanoseconds.
Weight::from_ref_time(41_947_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(7))
}
}
@@ -16,23 +16,21 @@
//! Autogenerated weights for `pallet_staking`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/polkadot
// ./target/production/polkadot
// benchmark
// pallet
// --chain=polkadot-dev
// --steps=50
// --repeat=20
// --pallet=pallet_staking
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
// --pallet=pallet_staking
// --chain=polkadot-dev
// --header=./file_header.txt
// --output=./runtime/polkadot/src/weights/
@@ -52,8 +50,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
// Storage: Staking Payee (r:0 w:1)
fn bond() -> Weight {
// Minimum execution time: 47_596 nanoseconds.
Weight::from_ref_time(48_262_000)
// Minimum execution time: 45_829 nanoseconds.
Weight::from_ref_time(46_793_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -63,8 +61,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListNodes (r:3 w:3)
// Storage: VoterList ListBags (r:2 w:2)
fn bond_extra() -> Weight {
// Minimum execution time: 85_311 nanoseconds.
Weight::from_ref_time(85_983_000)
// Minimum execution time: 83_411 nanoseconds.
Weight::from_ref_time(85_921_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
@@ -78,8 +76,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking Bonded (r:1 w:0)
// Storage: VoterList ListBags (r:2 w:2)
fn unbond() -> Weight {
// Minimum execution time: 91_155 nanoseconds.
Weight::from_ref_time(92_284_000)
// Minimum execution time: 91_907 nanoseconds.
Weight::from_ref_time(92_682_000)
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -89,10 +87,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Minimum execution time: 40_335 nanoseconds.
Weight::from_ref_time(41_980_327)
// Standard Error: 5_476
.saturating_add(Weight::from_ref_time(22_616).saturating_mul(s.into()))
// Minimum execution time: 39_598 nanoseconds.
Weight::from_ref_time(41_978_673)
// Standard Error: 1_108
.saturating_add(Weight::from_ref_time(18_466).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -112,10 +110,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking SpanSlash (r:0 w:2)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Minimum execution time: 79_780 nanoseconds.
Weight::from_ref_time(83_493_244)
// Standard Error: 2_034
.saturating_add(Weight::from_ref_time(921_312).saturating_mul(s.into()))
// Minimum execution time: 78_409 nanoseconds.
Weight::from_ref_time(83_564_707)
// Standard Error: 2_125
.saturating_add(Weight::from_ref_time(910_195).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -132,8 +130,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList CounterForListNodes (r:1 w:1)
// Storage: Staking CounterForValidators (r:1 w:1)
fn validate() -> Weight {
// Minimum execution time: 60_128 nanoseconds.
Weight::from_ref_time(60_981_000)
// Minimum execution time: 59_534 nanoseconds.
Weight::from_ref_time(60_467_000)
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -141,10 +139,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking Nominators (r:1 w:1)
/// The range of component `k` is `[1, 128]`.
fn kick(k: u32, ) -> Weight {
// Minimum execution time: 32_908 nanoseconds.
Weight::from_ref_time(29_665_429)
// Standard Error: 8_170
.saturating_add(Weight::from_ref_time(6_484_323).saturating_mul(k.into()))
// Minimum execution time: 33_485 nanoseconds.
Weight::from_ref_time(31_332_777)
// Standard Error: 7_071
.saturating_add(Weight::from_ref_time(6_558_466).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
@@ -162,10 +160,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking CounterForNominators (r:1 w:1)
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Minimum execution time: 63_783 nanoseconds.
Weight::from_ref_time(63_455_416)
// Standard Error: 6_146
.saturating_add(Weight::from_ref_time(2_387_675).saturating_mul(n.into()))
// Minimum execution time: 63_984 nanoseconds.
Weight::from_ref_time(64_480_887)
// Standard Error: 8_428
.saturating_add(Weight::from_ref_time(2_331_047).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6))
@@ -178,58 +176,58 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
fn chill() -> Weight {
// Minimum execution time: 59_804 nanoseconds.
Weight::from_ref_time(60_578_000)
// Minimum execution time: 59_692 nanoseconds.
Weight::from_ref_time(60_309_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking Ledger (r:1 w:0)
// Storage: Staking Payee (r:0 w:1)
fn set_payee() -> Weight {
// Minimum execution time: 15_947 nanoseconds.
Weight::from_ref_time(16_220_000)
// Minimum execution time: 15_604 nanoseconds.
Weight::from_ref_time(15_846_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Bonded (r:1 w:1)
// Storage: Staking Ledger (r:2 w:2)
fn set_controller() -> Weight {
// Minimum execution time: 22_585 nanoseconds.
Weight::from_ref_time(23_242_000)
// Minimum execution time: 22_031 nanoseconds.
Weight::from_ref_time(22_390_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Staking ValidatorCount (r:0 w:1)
fn set_validator_count() -> Weight {
// Minimum execution time: 4_303 nanoseconds.
Weight::from_ref_time(4_470_000)
// Minimum execution time: 4_436 nanoseconds.
Weight::from_ref_time(4_567_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_no_eras() -> Weight {
// Minimum execution time: 4_347 nanoseconds.
Weight::from_ref_time(4_522_000)
// Minimum execution time: 16_376 nanoseconds.
Weight::from_ref_time(16_897_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_new_era() -> Weight {
// Minimum execution time: 4_313 nanoseconds.
Weight::from_ref_time(4_548_000)
// Minimum execution time: 16_398 nanoseconds.
Weight::from_ref_time(16_748_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking ForceEra (r:0 w:1)
fn force_new_era_always() -> Weight {
// Minimum execution time: 4_302 nanoseconds.
Weight::from_ref_time(4_487_000)
// Minimum execution time: 16_370 nanoseconds.
Weight::from_ref_time(16_542_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Invulnerables (r:0 w:1)
/// The range of component `v` is `[0, 1000]`.
fn set_invulnerables(v: u32, ) -> Weight {
// Minimum execution time: 4_414 nanoseconds.
Weight::from_ref_time(4_950_256)
// Standard Error: 34
.saturating_add(Weight::from_ref_time(11_147).saturating_mul(v.into()))
// Minimum execution time: 4_609 nanoseconds.
Weight::from_ref_time(5_050_947)
// Standard Error: 54
.saturating_add(Weight::from_ref_time(11_494).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking Bonded (r:1 w:1)
@@ -247,10 +245,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking SpanSlash (r:0 w:2)
/// The range of component `s` is `[0, 100]`.
fn force_unstake(s: u32, ) -> Weight {
// Minimum execution time: 71_586 nanoseconds.
Weight::from_ref_time(76_784_220)
// Standard Error: 2_649
.saturating_add(Weight::from_ref_time(914_345).saturating_mul(s.into()))
// Minimum execution time: 72_562 nanoseconds.
Weight::from_ref_time(77_442_641)
// Standard Error: 2_811
.saturating_add(Weight::from_ref_time(919_483).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -258,10 +256,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking UnappliedSlashes (r:1 w:1)
/// The range of component `s` is `[1, 1000]`.
fn cancel_deferred_slash(s: u32, ) -> Weight {
// Minimum execution time: 113_087 nanoseconds.
Weight::from_ref_time(919_333_329)
// Standard Error: 58_190
.saturating_add(Weight::from_ref_time(4_926_882).saturating_mul(s.into()))
// Minimum execution time: 119_201 nanoseconds.
Weight::from_ref_time(1_333_484_197)
// Standard Error: 87_896
.saturating_add(Weight::from_ref_time(7_357_426).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -276,10 +274,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
// Minimum execution time: 109_456 nanoseconds.
Weight::from_ref_time(218_455_664)
// Standard Error: 16_502
.saturating_add(Weight::from_ref_time(21_415_223).saturating_mul(n.into()))
// Minimum execution time: 107_839 nanoseconds.
Weight::from_ref_time(215_577_396)
// Standard Error: 16_146
.saturating_add(Weight::from_ref_time(21_692_853).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2))
@@ -297,10 +295,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
/// The range of component `n` is `[0, 512]`.
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
// Minimum execution time: 127_355 nanoseconds.
Weight::from_ref_time(183_799_193)
// Standard Error: 31_316
.saturating_add(Weight::from_ref_time(31_085_934).saturating_mul(n.into()))
// Minimum execution time: 127_792 nanoseconds.
Weight::from_ref_time(129_544_000)
// Standard Error: 76_915
.saturating_add(Weight::from_ref_time(32_874_419).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3))
@@ -314,10 +312,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListBags (r:2 w:2)
/// The range of component `l` is `[1, 32]`.
fn rebond(l: u32, ) -> Weight {
// Minimum execution time: 82_240 nanoseconds.
Weight::from_ref_time(84_253_539)
// Standard Error: 4_496
.saturating_add(Weight::from_ref_time(38_336).saturating_mul(l.into()))
// Minimum execution time: 82_543 nanoseconds.
Weight::from_ref_time(85_233_330)
// Standard Error: 5_735
.saturating_add(Weight::from_ref_time(30_759).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -336,10 +334,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking SpanSlash (r:0 w:1)
/// The range of component `s` is `[1, 100]`.
fn reap_stash(s: u32, ) -> Weight {
// Minimum execution time: 81_232 nanoseconds.
Weight::from_ref_time(83_432_135)
// Standard Error: 1_903
.saturating_add(Weight::from_ref_time(920_509).saturating_mul(s.into()))
// Minimum execution time: 83_072 nanoseconds.
Weight::from_ref_time(84_861_454)
// Standard Error: 1_831
.saturating_add(Weight::from_ref_time(905_845).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -365,12 +363,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `v` is `[1, 10]`.
/// The range of component `n` is `[0, 100]`.
fn new_era(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 443_914 nanoseconds.
Weight::from_ref_time(445_239_000)
// Standard Error: 1_702_013
.saturating_add(Weight::from_ref_time(55_886_094).saturating_mul(v.into()))
// Standard Error: 169_596
.saturating_add(Weight::from_ref_time(13_054_062).saturating_mul(n.into()))
// Minimum execution time: 442_274 nanoseconds.
Weight::from_ref_time(446_525_000)
// Standard Error: 1_808_186
.saturating_add(Weight::from_ref_time(58_698_759).saturating_mul(v.into()))
// Standard Error: 180_175
.saturating_add(Weight::from_ref_time(13_066_678).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(185))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -389,12 +387,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `v` is `[500, 1000]`.
/// The range of component `n` is `[500, 1000]`.
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 25_042_404 nanoseconds.
Weight::from_ref_time(25_221_780_000)
// Standard Error: 587_812
.saturating_add(Weight::from_ref_time(6_736_902).saturating_mul(v.into()))
// Standard Error: 587_812
.saturating_add(Weight::from_ref_time(2_992_604).saturating_mul(n.into()))
// Minimum execution time: 25_426_034 nanoseconds.
Weight::from_ref_time(25_608_520_000)
// Standard Error: 625_244
.saturating_add(Weight::from_ref_time(6_436_423).saturating_mul(v.into()))
// Standard Error: 625_244
.saturating_add(Weight::from_ref_time(3_555_516).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(180))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -405,10 +403,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: System BlockWeight (r:1 w:1)
/// The range of component `v` is `[500, 1000]`.
fn get_npos_targets(v: u32, ) -> Weight {
// Minimum execution time: 3_554_519 nanoseconds.
Weight::from_ref_time(111_958_458)
// Standard Error: 51_313
.saturating_add(Weight::from_ref_time(7_328_224).saturating_mul(v.into()))
// Minimum execution time: 3_539_624 nanoseconds.
Weight::from_ref_time(3_644_935_000)
// Standard Error: 42_382
.saturating_add(Weight::from_ref_time(2_701_078).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -420,8 +418,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking MaxNominatorsCount (r:0 w:1)
// Storage: Staking MinNominatorBond (r:0 w:1)
fn set_staking_configs_all_set() -> Weight {
// Minimum execution time: 7_416 nanoseconds.
Weight::from_ref_time(7_844_000)
// Minimum execution time: 7_519 nanoseconds.
Weight::from_ref_time(7_691_000)
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking MinCommission (r:0 w:1)
@@ -431,8 +429,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: Staking MaxNominatorsCount (r:0 w:1)
// Storage: Staking MinNominatorBond (r:0 w:1)
fn set_staking_configs_all_remove() -> Weight {
// Minimum execution time: 6_765 nanoseconds.
Weight::from_ref_time(7_042_000)
// Minimum execution time: 6_849 nanoseconds.
Weight::from_ref_time(7_162_000)
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking Ledger (r:1 w:0)
@@ -446,23 +444,23 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Storage: VoterList ListBags (r:1 w:1)
// Storage: VoterList CounterForListNodes (r:1 w:1)
fn chill_other() -> Weight {
// Minimum execution time: 69_321 nanoseconds.
Weight::from_ref_time(70_413_000)
// Minimum execution time: 71_571 nanoseconds.
Weight::from_ref_time(72_276_000)
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Staking MinCommission (r:1 w:0)
// Storage: Staking Validators (r:1 w:1)
fn force_apply_min_commission() -> Weight {
// Minimum execution time: 14_915 nanoseconds.
Weight::from_ref_time(15_495_000)
// Minimum execution time: 15_121 nanoseconds.
Weight::from_ref_time(15_493_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Staking MinCommission (r:0 w:1)
fn set_min_commission() -> Weight {
// Minimum execution time: 4_184 nanoseconds.
Weight::from_ref_time(4_326_000)
// Minimum execution time: 4_424 nanoseconds.
Weight::from_ref_time(4_594_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,13 +47,13 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Storage: Timestamp Now (r:1 w:1)
// Storage: Babe CurrentSlot (r:1 w:0)
fn set() -> Weight {
// Minimum execution time: 9_473 nanoseconds.
Weight::from_ref_time(9_896_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 9_965 nanoseconds.
Weight::from_ref_time(10_338_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
// Minimum execution time: 4_279 nanoseconds.
Weight::from_ref_time(4_529_000 as u64)
// Minimum execution time: 4_315 nanoseconds.
Weight::from_ref_time(4_501_000)
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_tips`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,20 +48,20 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
// Storage: Tips Tips (r:1 w:1)
/// The range of component `r` is `[0, 16384]`.
fn report_awesome(r: u32, ) -> Weight {
// Minimum execution time: 29_978 nanoseconds.
Weight::from_ref_time(31_596_470 as u64)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(2_012 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 30_778 nanoseconds.
Weight::from_ref_time(32_134_381)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_807).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
fn retract_tip() -> Weight {
// Minimum execution time: 29_917 nanoseconds.
Weight::from_ref_time(30_436_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 29_808 nanoseconds.
Weight::from_ref_time(30_419_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: Tips Reasons (r:1 w:1)
@@ -69,25 +69,25 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
/// The range of component `r` is `[0, 16384]`.
/// The range of component `t` is `[1, 13]`.
fn tip_new(r: u32, t: u32, ) -> Weight {
// Minimum execution time: 22_911 nanoseconds.
Weight::from_ref_time(22_091_512 as u64)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_846 as u64).saturating_mul(r as u64))
// Standard Error: 9_030
.saturating_add(Weight::from_ref_time(210_311 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 23_336 nanoseconds.
Weight::from_ref_time(21_522_122)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_698).saturating_mul(r.into()))
// Standard Error: 9_433
.saturating_add(Weight::from_ref_time(264_684).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: Tips Tips (r:1 w:1)
/// The range of component `t` is `[1, 13]`.
fn tip(t: u32, ) -> Weight {
// Minimum execution time: 14_955 nanoseconds.
Weight::from_ref_time(15_347_933 as u64)
// Standard Error: 2_036
.saturating_add(Weight::from_ref_time(140_987 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 15_456 nanoseconds.
Weight::from_ref_time(15_876_624)
// Standard Error: 2_022
.saturating_add(Weight::from_ref_time(163_576).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:0)
@@ -95,22 +95,22 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
// Storage: Tips Reasons (r:0 w:1)
/// The range of component `t` is `[1, 13]`.
fn close_tip(t: u32, ) -> Weight {
// Minimum execution time: 46_745 nanoseconds.
Weight::from_ref_time(47_775_426 as u64)
// Standard Error: 5_647
.saturating_add(Weight::from_ref_time(149_882 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 46_561 nanoseconds.
Weight::from_ref_time(47_872_499)
// Standard Error: 5_561
.saturating_add(Weight::from_ref_time(161_972).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
/// The range of component `t` is `[1, 13]`.
fn slash_tip(t: u32, ) -> Weight {
// Minimum execution time: 19_411 nanoseconds.
Weight::from_ref_time(20_301_396 as u64)
// Standard Error: 2_075
.saturating_add(Weight::from_ref_time(36_174 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 19_667 nanoseconds.
Weight::from_ref_time(20_341_695)
// Standard Error: 1_645
.saturating_add(Weight::from_ref_time(57_042).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_treasury`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -45,56 +45,58 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn spend() -> Weight {
// Minimum execution time: 140 nanoseconds.
Weight::from_ref_time(192_000 as u64)
// Minimum execution time: 157 nanoseconds.
Weight::from_ref_time(177_000)
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn propose_spend() -> Weight {
// Minimum execution time: 27_339 nanoseconds.
Weight::from_ref_time(27_812_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 27_659 nanoseconds.
Weight::from_ref_time(28_091_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_proposal() -> Weight {
// Minimum execution time: 39_765 nanoseconds.
Weight::from_ref_time(40_401_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 39_522 nanoseconds.
Weight::from_ref_time(39_962_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:0)
// Storage: Treasury Approvals (r:1 w:1)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Minimum execution time: 10_092 nanoseconds.
Weight::from_ref_time(13_612_152 as u64)
// Standard Error: 1_134
.saturating_add(Weight::from_ref_time(45_701 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 9_911 nanoseconds.
Weight::from_ref_time(13_292_079)
// Standard Error: 1_097
.saturating_add(Weight::from_ref_time(48_177).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Approvals (r:1 w:1)
fn remove_approval() -> Weight {
// Minimum execution time: 8_372 nanoseconds.
Weight::from_ref_time(8_582_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_168 nanoseconds.
Weight::from_ref_time(8_438_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Deactivated (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Treasury Approvals (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: Treasury Proposals (r:2 w:2)
// Storage: System Account (r:4 w:4)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Minimum execution time: 35_588 nanoseconds.
Weight::from_ref_time(45_604_897 as u64)
// Standard Error: 24_691
.saturating_add(Weight::from_ref_time(24_665_984 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64)))
// Minimum execution time: 43_354 nanoseconds.
Weight::from_ref_time(50_276_270)
// Standard Error: 17_656
.saturating_add(Weight::from_ref_time(24_817_762).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into())))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,31 +46,31 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
// Minimum execution time: 11_964 nanoseconds.
Weight::from_ref_time(19_427_609 as u64)
// Standard Error: 3_994
.saturating_add(Weight::from_ref_time(3_826_293 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_525 nanoseconds.
Weight::from_ref_time(22_228_990)
// Standard Error: 1_897
.saturating_add(Weight::from_ref_time(3_378_764).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 6_409 nanoseconds.
Weight::from_ref_time(6_892_000 as u64)
// Minimum execution time: 6_099 nanoseconds.
Weight::from_ref_time(6_267_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 12_148 nanoseconds.
Weight::from_ref_time(21_596_151 as u64)
// Standard Error: 2_632
.saturating_add(Weight::from_ref_time(3_977_735 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_597 nanoseconds.
Weight::from_ref_time(20_848_570)
// Standard Error: 1_907
.saturating_add(Weight::from_ref_time(3_527_590).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 14_111 nanoseconds.
Weight::from_ref_time(14_347_000 as u64)
// Minimum execution time: 13_596 nanoseconds.
Weight::from_ref_time(13_849_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 12_114 nanoseconds.
Weight::from_ref_time(16_797_748 as u64)
// Standard Error: 2_468
.saturating_add(Weight::from_ref_time(3_823_041 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_920 nanoseconds.
Weight::from_ref_time(18_385_111)
// Standard Error: 1_741
.saturating_add(Weight::from_ref_time(3_368_132).saturating_mul(c.into()))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_vesting`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,28 +49,28 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_531 nanoseconds.
Weight::from_ref_time(38_955_116 as u64)
// Standard Error: 1_450
.saturating_add(Weight::from_ref_time(41_616 as u64).saturating_mul(l as u64))
// Standard Error: 2_580
.saturating_add(Weight::from_ref_time(69_436 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 38_978 nanoseconds.
Weight::from_ref_time(38_658_412)
// Standard Error: 1_120
.saturating_add(Weight::from_ref_time(39_063).saturating_mul(l.into()))
// Standard Error: 1_993
.saturating_add(Weight::from_ref_time(57_218).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_671 nanoseconds.
Weight::from_ref_time(38_567_314 as u64)
// Standard Error: 1_210
.saturating_add(Weight::from_ref_time(35_143 as u64).saturating_mul(l as u64))
// Standard Error: 2_154
.saturating_add(Weight::from_ref_time(55_568 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 38_183 nanoseconds.
Weight::from_ref_time(38_258_032)
// Standard Error: 1_096
.saturating_add(Weight::from_ref_time(36_400).saturating_mul(l.into()))
// Standard Error: 1_950
.saturating_add(Weight::from_ref_time(40_526).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -78,14 +78,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_295 nanoseconds.
Weight::from_ref_time(38_013_471 as u64)
// Standard Error: 1_321
.saturating_add(Weight::from_ref_time(53_553 as u64).saturating_mul(l as u64))
// Standard Error: 2_351
.saturating_add(Weight::from_ref_time(84_076 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))
// Minimum execution time: 38_643 nanoseconds.
Weight::from_ref_time(38_099_800)
// Standard Error: 1_127
.saturating_add(Weight::from_ref_time(40_061).saturating_mul(l.into()))
// Standard Error: 2_005
.saturating_add(Weight::from_ref_time(63_526).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -93,14 +93,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_769 nanoseconds.
Weight::from_ref_time(38_918_484 as u64)
// Standard Error: 1_194
.saturating_add(Weight::from_ref_time(28_142 as u64).saturating_mul(l as u64))
// Standard Error: 2_126
.saturating_add(Weight::from_ref_time(47_289 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))
// Minimum execution time: 38_202 nanoseconds.
Weight::from_ref_time(38_022_458)
// Standard Error: 1_790
.saturating_add(Weight::from_ref_time(30_523).saturating_mul(l.into()))
// Standard Error: 3_184
.saturating_add(Weight::from_ref_time(48_811).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:1)
@@ -108,14 +108,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 53_331 nanoseconds.
Weight::from_ref_time(53_357_152 as u64)
// Standard Error: 2_054
.saturating_add(Weight::from_ref_time(44_152 as u64).saturating_mul(l as u64))
// Standard Error: 3_654
.saturating_add(Weight::from_ref_time(52_672 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))
// Minimum execution time: 52_692 nanoseconds.
Weight::from_ref_time(53_389_990)
// Standard Error: 1_810
.saturating_add(Weight::from_ref_time(33_831).saturating_mul(l.into()))
// Standard Error: 3_220
.saturating_add(Weight::from_ref_time(32_509).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:2 w:2)
@@ -123,14 +123,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 52_809 nanoseconds.
Weight::from_ref_time(53_497_880 as u64)
// Standard Error: 2_046
.saturating_add(Weight::from_ref_time(29_895 as u64).saturating_mul(l as u64))
// Standard Error: 3_641
.saturating_add(Weight::from_ref_time(41_171 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 52_265 nanoseconds.
Weight::from_ref_time(52_517_809)
// Standard Error: 1_739
.saturating_add(Weight::from_ref_time(40_227).saturating_mul(l.into()))
// Standard Error: 3_094
.saturating_add(Weight::from_ref_time(25_053).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -138,14 +138,14 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 40_643 nanoseconds.
Weight::from_ref_time(39_703_973 as u64)
// Standard Error: 1_240
.saturating_add(Weight::from_ref_time(40_068 as u64).saturating_mul(l as u64))
// Standard Error: 2_291
.saturating_add(Weight::from_ref_time(79_877 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))
// Minimum execution time: 39_790 nanoseconds.
Weight::from_ref_time(39_549_660)
// Standard Error: 1_360
.saturating_add(Weight::from_ref_time(42_384).saturating_mul(l.into()))
// Standard Error: 2_512
.saturating_add(Weight::from_ref_time(51_228).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
@@ -153,13 +153,13 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 40_470 nanoseconds.
Weight::from_ref_time(39_534_878 as u64)
// Standard Error: 1_164
.saturating_add(Weight::from_ref_time(40_286 as u64).saturating_mul(l as u64))
// Standard Error: 2_149
.saturating_add(Weight::from_ref_time(77_107 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))
// Minimum execution time: 39_542 nanoseconds.
Weight::from_ref_time(39_388_575)
// Standard Error: 1_132
.saturating_add(Weight::from_ref_time(40_164).saturating_mul(l.into()))
// Standard Error: 2_091
.saturating_add(Weight::from_ref_time(54_814).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_common::auctions`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,10 +47,10 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Auctions AuctionCounter (r:1 w:1)
fn new_auction() -> Weight {
// Minimum execution time: 17_695 nanoseconds.
Weight::from_ref_time(18_051_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 17_645 nanoseconds.
Weight::from_ref_time(18_101_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
@@ -60,10 +60,10 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
// Storage: Auctions ReservedAmounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn bid() -> Weight {
// Minimum execution time: 73_260 nanoseconds.
Weight::from_ref_time(74_711_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 72_865 nanoseconds.
Weight::from_ref_time(74_588_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Babe NextRandomness (r:1 w:0)
@@ -78,19 +78,19 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
fn on_initialize() -> Weight {
// Minimum execution time: 15_542_084 nanoseconds.
Weight::from_ref_time(15_830_065_000 as u64)
.saturating_add(T::DbWeight::get().reads(3688 as u64))
.saturating_add(T::DbWeight::get().writes(3683 as u64))
// Minimum execution time: 15_996_827 nanoseconds.
Weight::from_ref_time(16_211_051_000)
.saturating_add(T::DbWeight::get().reads(3688))
.saturating_add(T::DbWeight::get().writes(3683))
}
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Auctions Winning (r:0 w:3600)
// Storage: Auctions AuctionInfo (r:0 w:1)
fn cancel_auction() -> Weight {
// Minimum execution time: 4_685_796 nanoseconds.
Weight::from_ref_time(4_784_757_000 as u64)
.saturating_add(T::DbWeight::get().reads(73 as u64))
.saturating_add(T::DbWeight::get().writes(3673 as u64))
// Minimum execution time: 4_668_326 nanoseconds.
Weight::from_ref_time(4_736_727_000)
.saturating_add(T::DbWeight::get().reads(73))
.saturating_add(T::DbWeight::get().writes(3673))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_common::claims`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -52,20 +52,20 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn claim() -> Weight {
// Minimum execution time: 144_499 nanoseconds.
Weight::from_ref_time(146_851_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 144_157 nanoseconds.
Weight::from_ref_time(146_527_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:0 w:1)
// Storage: Claims Claims (r:0 w:1)
// Storage: Claims Signing (r:0 w:1)
fn mint_claim() -> Weight {
// Minimum execution time: 11_557 nanoseconds.
Weight::from_ref_time(12_078_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 11_651 nanoseconds.
Weight::from_ref_time(12_365_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
@@ -75,10 +75,10 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn claim_attest() -> Weight {
// Minimum execution time: 147_154 nanoseconds.
Weight::from_ref_time(150_718_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 145_770 nanoseconds.
Weight::from_ref_time(147_952_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Preclaims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
@@ -89,19 +89,19 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
fn attest() -> Weight {
// Minimum execution time: 68_909 nanoseconds.
Weight::from_ref_time(71_077_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 68_122 nanoseconds.
Weight::from_ref_time(69_747_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Claims Claims (r:1 w:2)
// Storage: Claims Vesting (r:1 w:2)
// Storage: Claims Signing (r:1 w:2)
// Storage: Claims Preclaims (r:1 w:1)
fn move_claim() -> Weight {
// Minimum execution time: 22_310 nanoseconds.
Weight::from_ref_time(23_037_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 21_607 nanoseconds.
Weight::from_ref_time(22_200_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(7))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_common::crowdloan`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,75 +49,77 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Crowdloan NextFundIndex (r:1 w:1)
fn create() -> Weight {
// Minimum execution time: 47_532 nanoseconds.
Weight::from_ref_time(49_107_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 47_510 nanoseconds.
Weight::from_ref_time(49_718_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: Slots Leases (r:1 w:0)
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Crowdloan EndingsCount (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn contribute() -> Weight {
// Minimum execution time: 117_161 nanoseconds.
Weight::from_ref_time(118_612_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 119_065 nanoseconds.
Weight::from_ref_time(120_198_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
fn withdraw() -> Weight {
// Minimum execution time: 56_984 nanoseconds.
Weight::from_ref_time(57_919_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 61_313 nanoseconds.
Weight::from_ref_time(62_564_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `k` is `[0, 1000]`.
fn refund(k: u32, ) -> Weight {
// Minimum execution time: 53_704 nanoseconds.
Weight::from_ref_time(64_956_000 as u64)
// Standard Error: 15_082
.saturating_add(Weight::from_ref_time(18_122_444 as u64).saturating_mul(k as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(k as u64)))
// Minimum execution time: 50_174 nanoseconds.
Weight::from_ref_time(64_924_000)
// Standard Error: 12_549
.saturating_add(Weight::from_ref_time(19_083_739).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into())))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn dissolve() -> Weight {
// Minimum execution time: 37_332 nanoseconds.
Weight::from_ref_time(38_138_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 38_029 nanoseconds.
Weight::from_ref_time(39_036_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Crowdloan Funds (r:1 w:1)
fn edit() -> Weight {
// Minimum execution time: 24_508 nanoseconds.
Weight::from_ref_time(24_887_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 24_959 nanoseconds.
Weight::from_ref_time(26_139_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn add_memo() -> Weight {
// Minimum execution time: 34_804 nanoseconds.
Weight::from_ref_time(35_771_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 35_006 nanoseconds.
Weight::from_ref_time(36_101_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
fn poke() -> Weight {
// Minimum execution time: 26_119 nanoseconds.
Weight::from_ref_time(26_830_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 26_641 nanoseconds.
Weight::from_ref_time(27_367_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: Crowdloan EndingsCount (r:1 w:1)
@@ -131,13 +133,13 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: System Account (r:2 w:2)
/// The range of component `n` is `[2, 100]`.
fn on_initialize(n: u32, ) -> Weight {
// Minimum execution time: 105_872 nanoseconds.
Weight::from_ref_time(6_994_467 as u64)
// Standard Error: 38_723
.saturating_add(Weight::from_ref_time(41_147_156 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
// Minimum execution time: 105_675 nanoseconds.
Weight::from_ref_time(14_009_365)
// Standard Error: 28_305
.saturating_add(Weight::from_ref_time(40_792_529).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_common::paras_registrar`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,10 +48,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
fn reserve() -> Weight {
// Minimum execution time: 31_379 nanoseconds.
Weight::from_ref_time(32_013_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 32_257 nanoseconds.
Weight::from_ref_time(33_023_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -64,10 +64,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
fn register() -> Weight {
// Minimum execution time: 7_838_268 nanoseconds.
Weight::from_ref_time(8_000_048_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 7_438_125 nanoseconds.
Weight::from_ref_time(7_599_520_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -80,10 +80,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
fn force_register() -> Weight {
// Minimum execution time: 7_818_286 nanoseconds.
Weight::from_ref_time(7_962_262_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 7_353_627 nanoseconds.
Weight::from_ref_time(7_436_949_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -92,10 +92,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar PendingSwap (r:0 w:1)
fn deregister() -> Weight {
// Minimum execution time: 49_346 nanoseconds.
Weight::from_ref_time(50_242_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 49_990 nanoseconds.
Weight::from_ref_time(51_027_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Registrar Paras (r:1 w:0)
// Storage: Paras ParaLifecycles (r:2 w:2)
@@ -105,10 +105,10 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Crowdloan Funds (r:2 w:2)
// Storage: Slots Leases (r:2 w:2)
fn swap() -> Weight {
// Minimum execution time: 44_290 nanoseconds.
Weight::from_ref_time(44_983_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
// Minimum execution time: 44_716 nanoseconds.
Weight::from_ref_time(45_958_000)
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
@@ -123,20 +123,20 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
/// The range of component `b` is `[1, 3145728]`.
fn schedule_code_upgrade(b: u32, ) -> Weight {
// Minimum execution time: 41_975 nanoseconds.
Weight::from_ref_time(42_390_000 as u64)
// Minimum execution time: 42_160 nanoseconds.
Weight::from_ref_time(42_465_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_483 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
.saturating_add(Weight::from_ref_time(2_315).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras Heads (r:0 w:1)
/// The range of component `b` is `[1, 1048576]`.
fn set_current_head(b: u32, ) -> Weight {
// Minimum execution time: 14_431 nanoseconds.
Weight::from_ref_time(14_559_000 as u64)
// Minimum execution time: 13_888 nanoseconds.
Weight::from_ref_time(14_157_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(1_072 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(Weight::from_ref_time(909).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_common::slots`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,40 +47,40 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn force_lease() -> Weight {
// Minimum execution time: 32_032 nanoseconds.
Weight::from_ref_time(32_759_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 32_719 nanoseconds.
Weight::from_ref_time(33_396_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras Parachains (r:1 w:0)
// Storage: Slots Leases (r:101 w:100)
// Storage: Paras ParaLifecycles (r:101 w:101)
// Storage: Paras ParaLifecycles (r:100 w:100)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:100 w:100)
/// The range of component `c` is `[1, 100]`.
/// The range of component `t` is `[1, 100]`.
/// The range of component `c` is `[0, 100]`.
/// The range of component `t` is `[0, 100]`.
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
// Minimum execution time: 557_429 nanoseconds.
Weight::from_ref_time(565_348_000 as u64)
// Standard Error: 70_889
.saturating_add(Weight::from_ref_time(2_056_680 as u64).saturating_mul(c as u64))
// Standard Error: 70_889
.saturating_add(Weight::from_ref_time(12_087_471 as u64).saturating_mul(t as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(t as u64)))
// Minimum execution time: 551_483 nanoseconds.
Weight::from_ref_time(554_176_000)
// Standard Error: 68_784
.saturating_add(Weight::from_ref_time(2_287_835).saturating_mul(c.into()))
// Standard Error: 68_784
.saturating_add(Weight::from_ref_time(12_408_505).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into())))
}
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:8 w:8)
fn clear_all_leases() -> Weight {
// Minimum execution time: 94_049 nanoseconds.
Weight::from_ref_time(95_684_000 as u64)
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(9 as u64))
// Minimum execution time: 94_667 nanoseconds.
Weight::from_ref_time(96_293_000)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(9))
}
// Storage: Slots Leases (r:1 w:0)
// Storage: Paras ParaLifecycles (r:1 w:1)
@@ -88,9 +88,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
fn trigger_onboard() -> Weight {
// Minimum execution time: 28_824 nanoseconds.
Weight::from_ref_time(29_892_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 29_200 nanoseconds.
Weight::from_ref_time(30_004_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::configuration`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,54 +49,54 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_block_number() -> Weight {
// Minimum execution time: 11_517 nanoseconds.
Weight::from_ref_time(12_084_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_432 nanoseconds.
Weight::from_ref_time(11_854_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 11_579 nanoseconds.
Weight::from_ref_time(11_966_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_049 nanoseconds.
Weight::from_ref_time(11_452_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_option_u32() -> Weight {
// Minimum execution time: 11_441 nanoseconds.
Weight::from_ref_time(11_834_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_580 nanoseconds.
Weight::from_ref_time(12_028_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 11_406 nanoseconds.
Weight::from_ref_time(11_717_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_452 nanoseconds.
Weight::from_ref_time(11_988_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Benchmark Override (r:0 w:0)
fn set_hrmp_open_request_ttl() -> Weight {
// Minimum execution time: 2_000_000_000 nanoseconds.
Weight::from_ref_time(2_000_000_000_000 as u64)
Weight::from_ref_time(2_000_000_000_000)
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
fn set_config_with_balance() -> Weight {
// Minimum execution time: 11_631 nanoseconds.
Weight::from_ref_time(11_937_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 11_543 nanoseconds.
Weight::from_ref_time(11_919_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::disputes`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,8 +46,8 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
// Storage: ParasDisputes Frozen (r:0 w:1)
fn force_unfreeze() -> Weight {
// Minimum execution time: 4_367 nanoseconds.
Weight::from_ref_time(4_690_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 4_070 nanoseconds.
Weight::from_ref_time(4_205_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::hrmp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -54,10 +54,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_init_open_channel() -> Weight {
// Minimum execution time: 41_505 nanoseconds.
Weight::from_ref_time(42_119_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
// Minimum execution time: 41_263 nanoseconds.
Weight::from_ref_time(42_634_000)
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
@@ -67,10 +67,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_accept_open_channel() -> Weight {
// Minimum execution time: 41_067 nanoseconds.
Weight::from_ref_time(41_634_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 40_816 nanoseconds.
Weight::from_ref_time(41_238_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
@@ -79,10 +79,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_close_channel() -> Weight {
// Minimum execution time: 37_960 nanoseconds.
Weight::from_ref_time(38_224_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 37_415 nanoseconds.
Weight::from_ref_time(38_397_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:127)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:1)
@@ -93,18 +93,18 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
/// The range of component `i` is `[0, 127]`.
/// The range of component `e` is `[0, 127]`.
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
// Minimum execution time: 877_471 nanoseconds.
Weight::from_ref_time(886_196_000 as u64)
// Standard Error: 79_424
.saturating_add(Weight::from_ref_time(2_738_544 as u64).saturating_mul(i as u64))
// Standard Error: 79_424
.saturating_add(Weight::from_ref_time(2_749_789 as u64).saturating_mul(e as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64)))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(i as u64)))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(e as u64)))
// Minimum execution time: 908_294 nanoseconds.
Weight::from_ref_time(915_347_000)
// Standard Error: 84_031
.saturating_add(Weight::from_ref_time(2_773_735).saturating_mul(i.into()))
// Standard Error: 84_031
.saturating_add(Weight::from_ref_time(2_865_363).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into())))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:0)
@@ -117,14 +117,14 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpChannels (r:0 w:2)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_open(c: u32, ) -> Weight {
// Minimum execution time: 9_479 nanoseconds.
Weight::from_ref_time(9_641_000 as u64)
// Standard Error: 9_212
.saturating_add(Weight::from_ref_time(15_726_613 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(c as u64)))
// Minimum execution time: 9_400 nanoseconds.
Weight::from_ref_time(2_253_591)
// Standard Error: 14_651
.saturating_add(Weight::from_ref_time(16_032_631).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into())))
}
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:0)
// Storage: Hrmp HrmpChannels (r:2 w:2)
@@ -134,39 +134,39 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_close(c: u32, ) -> Weight {
// Minimum execution time: 6_452 nanoseconds.
Weight::from_ref_time(6_591_000 as u64)
// Standard Error: 7_889
.saturating_add(Weight::from_ref_time(9_705_589 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(c as u64)))
// Minimum execution time: 6_411 nanoseconds.
Weight::from_ref_time(1_103_485)
// Standard Error: 10_983
.saturating_add(Weight::from_ref_time(9_984_687).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into())))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// The range of component `c` is `[0, 128]`.
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
// Minimum execution time: 26_109 nanoseconds.
Weight::from_ref_time(31_555_015 as u64)
// Standard Error: 1_534
.saturating_add(Weight::from_ref_time(90_940 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 26_287 nanoseconds.
Weight::from_ref_time(32_004_549)
// Standard Error: 1_336
.saturating_add(Weight::from_ref_time(90_823).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
/// The range of component `c` is `[0, 128]`.
fn clean_open_channel_requests(c: u32, ) -> Weight {
// Minimum execution time: 4_551 nanoseconds.
Weight::from_ref_time(2_251_955 as u64)
// Standard Error: 3_808
.saturating_add(Weight::from_ref_time(2_597_436 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
// Minimum execution time: 4_798 nanoseconds.
Weight::from_ref_time(2_580_018)
// Standard Error: 3_885
.saturating_add(Weight::from_ref_time(2_628_552).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
}
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
@@ -180,9 +180,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
fn force_open_hrmp_channel() -> Weight {
// Minimum execution time: 52_512 nanoseconds.
Weight::from_ref_time(53_287_000 as u64)
.saturating_add(T::DbWeight::get().reads(14 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
// Minimum execution time: 53_559 nanoseconds.
Weight::from_ref_time(54_272_000)
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(8))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::initializer`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,11 +47,11 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
// Storage: System Digest (r:1 w:1)
/// The range of component `d` is `[0, 65536]`.
fn force_approve(d: u32, ) -> Weight {
// Minimum execution time: 8_089 nanoseconds.
Weight::from_ref_time(10_807_136 as u64)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_318 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 7_737 nanoseconds.
Weight::from_ref_time(10_242_871)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_335).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::paras`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -52,21 +52,21 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras CodeByHash (r:0 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn force_set_current_code(c: u32, ) -> Weight {
// Minimum execution time: 38_052 nanoseconds.
Weight::from_ref_time(38_343_000 as u64)
// Minimum execution time: 35_327 nanoseconds.
Weight::from_ref_time(35_457_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_470 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
.saturating_add(Weight::from_ref_time(2_301).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Paras Heads (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_set_current_head(s: u32, ) -> Weight {
// Minimum execution time: 12_951 nanoseconds.
Weight::from_ref_time(13_054_000 as u64)
// Minimum execution time: 13_203 nanoseconds.
Weight::from_ref_time(13_433_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(1_071 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(Weight::from_ref_time(906).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Paras FutureCodeHash (r:1 w:1)
@@ -81,61 +81,61 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
// Minimum execution time: 62_248 nanoseconds.
Weight::from_ref_time(62_476_000 as u64)
// Minimum execution time: 59_335 nanoseconds.
Weight::from_ref_time(60_115_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_494 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
.saturating_add(Weight::from_ref_time(2_324).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_note_new_head(s: u32, ) -> Weight {
// Minimum execution time: 18_755 nanoseconds.
Weight::from_ref_time(19_028_000 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(1_069 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 19_244 nanoseconds.
Weight::from_ref_time(19_476_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(907).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
fn force_queue_action() -> Weight {
// Minimum execution time: 24_134 nanoseconds.
Weight::from_ref_time(24_730_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 24_253 nanoseconds.
Weight::from_ref_time(24_940_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn add_trusted_validation_code(c: u32, ) -> Weight {
// Minimum execution time: 8_618 nanoseconds.
Weight::from_ref_time(8_808_000 as u64)
// Minimum execution time: 8_910 nanoseconds.
Weight::from_ref_time(9_107_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_473 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(Weight::from_ref_time(2_309).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras CodeByHashRefs (r:1 w:0)
// Storage: Paras CodeByHash (r:0 w:1)
fn poke_unused_validation_code() -> Weight {
// Minimum execution time: 6_839 nanoseconds.
Weight::from_ref_time(6_966_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 7_002 nanoseconds.
Weight::from_ref_time(7_141_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
fn include_pvf_check_statement() -> Weight {
// Minimum execution time: 92_622 nanoseconds.
Weight::from_ref_time(94_867_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 93_546 nanoseconds.
Weight::from_ref_time(96_258_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
@@ -146,10 +146,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: System Digest (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
// Minimum execution time: 637_636 nanoseconds.
Weight::from_ref_time(647_421_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(104 as u64))
// Minimum execution time: 642_690 nanoseconds.
Weight::from_ref_time(653_726_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(104))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
@@ -161,10 +161,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras UpgradeGoAheadSignal (r:0 w:100)
// Storage: Paras FutureCodeHash (r:0 w:100)
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
// Minimum execution time: 593_660 nanoseconds.
Weight::from_ref_time(601_930_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(204 as u64))
// Minimum execution time: 612_502 nanoseconds.
Weight::from_ref_time(620_510_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(204))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
@@ -173,10 +173,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras ActionsQueue (r:1 w:1)
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
// Minimum execution time: 498_509 nanoseconds.
Weight::from_ref_time(505_284_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 498_810 nanoseconds.
Weight::from_ref_time(502_763_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
@@ -189,9 +189,9 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras CurrentCodeHash (r:0 w:100)
// Storage: Paras UpcomingParasGenesis (r:0 w:100)
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
// Minimum execution time: 669_947 nanoseconds.
Weight::from_ref_time(676_418_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(304 as u64))
// Minimum execution time: 690_026 nanoseconds.
Weight::from_ref_time(695_714_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(304))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::paras_inherent`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -50,14 +50,12 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
// Storage: ParaSessionInfo Sessions (r:1 w:0)
// Storage: ParasDisputes Disputes (r:1 w:1)
// Storage: ParasDisputes Included (r:1 w:1)
// Storage: ParasDisputes SpamSlots (r:1 w:1)
// Storage: ParasDisputes Disputes (r:1 w:0)
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
// Storage: ParasDisputes Frozen (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: Paras Parachains (r:1 w:0)
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
// Storage: Session Validators (r:1 w:0)
@@ -73,17 +71,18 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: ParasDisputes Included (r:0 w:1)
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `v` is `[10, 200]`.
fn enter_variable_disputes(v: u32, ) -> Weight {
// Minimum execution time: 826_168 nanoseconds.
Weight::from_ref_time(364_874_705 as u64)
// Standard Error: 23_955
.saturating_add(Weight::from_ref_time(47_989_024 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(30 as u64))
.saturating_add(T::DbWeight::get().writes(18 as u64))
// Minimum execution time: 765_748 nanoseconds.
Weight::from_ref_time(293_868_774)
// Standard Error: 19_800
.saturating_add(Weight::from_ref_time(47_922_791).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(28))
.saturating_add(T::DbWeight::get().writes(16))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
@@ -117,10 +116,10 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
fn enter_bitfields() -> Weight {
// Minimum execution time: 343_456 nanoseconds.
Weight::from_ref_time(351_684_000 as u64)
.saturating_add(T::DbWeight::get().reads(27 as u64))
.saturating_add(T::DbWeight::get().writes(17 as u64))
// Minimum execution time: 334_917 nanoseconds.
Weight::from_ref_time(341_084_000)
.saturating_add(T::DbWeight::get().reads(27))
.saturating_add(T::DbWeight::get().writes(17))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
@@ -156,12 +155,12 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `v` is `[101, 200]`.
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
// Minimum execution time: 5_667_234 nanoseconds.
Weight::from_ref_time(962_138_267 as u64)
// Standard Error: 46_800
.saturating_add(Weight::from_ref_time(47_508_067 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(30 as u64))
.saturating_add(T::DbWeight::get().writes(16 as u64))
// Minimum execution time: 5_625_962 nanoseconds.
Weight::from_ref_time(881_508_536)
// Standard Error: 45_980
.saturating_add(Weight::from_ref_time(47_387_363).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(30))
.saturating_add(T::DbWeight::get().writes(16))
}
// Storage: ParaInherent Included (r:1 w:1)
// Storage: System ParentHash (r:1 w:0)
@@ -198,9 +197,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
fn enter_backed_candidate_code_upgrade() -> Weight {
// Minimum execution time: 40_991_691 nanoseconds.
Weight::from_ref_time(41_457_004_000 as u64)
.saturating_add(T::DbWeight::get().reads(32 as u64))
.saturating_add(T::DbWeight::get().writes(16 as u64))
// Minimum execution time: 38_489_231 nanoseconds.
Weight::from_ref_time(38_739_572_000)
.saturating_add(T::DbWeight::get().reads(32))
.saturating_add(T::DbWeight::get().writes(16))
}
}
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-12 (Y/M/D)
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 5_285_413, 5_582_840
/// Average: 5_334_883
/// Median: 5_320_357
/// Std-Dev: 54133.56
/// Min, Max: 451_266, 526_881
/// Average: 462_911
/// Median: 455_381
/// Std-Dev: 14524.88
///
/// Percentiles nanoseconds:
/// 99th: 5_495_378
/// 95th: 5_453_765
/// 75th: 5_352_587
/// 99th: 511_784
/// 95th: 487_738
/// 75th: 468_138
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_334_883));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(462_911));
}
#[cfg(test)]
@@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16 (Y/M/D)
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-12 (Y/M/D)
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 86_780, 87_929
/// Average: 87_092
/// Median: 87_029
/// Std-Dev: 244.16
/// Min, Max: 87_483, 89_037
/// Average: 87_942
/// Median: 87_866
/// Std-Dev: 309.87
///
/// Percentiles nanoseconds:
/// 99th: 87_916
/// 95th: 87_727
/// 75th: 87_112
/// 99th: 88_958
/// 95th: 88_774
/// 75th: 87_986
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(87_092));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(87_942));
}
#[cfg(test)]
@@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,52 +46,54 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
// Minimum execution time: 104 nanoseconds.
Weight::from_ref_time(136_098 as u64)
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(129_895)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(141_859 as u64)
// Minimum execution time: 98 nanoseconds.
Weight::from_ref_time(124_048)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(142_767 as u64)
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(125_515)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 107 nanoseconds.
Weight::from_ref_time(145_251 as u64)
// Minimum execution time: 98 nanoseconds.
Weight::from_ref_time(129_039)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 19_899_457 nanoseconds.
Weight::from_ref_time(20_127_184_762 as u64)
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 20_256_129 nanoseconds.
Weight::from_ref_time(20_455_469_142)
// Standard Error: 107_821
.saturating_add(Weight::from_ref_time(552_430).saturating_mul(i.into()))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 140 nanoseconds.
Weight::from_ref_time(160_000 as u64)
// Standard Error: 8_692
.saturating_add(Weight::from_ref_time(47_038_394 as u64).saturating_mul(i as u64))
// Minimum execution time: 128 nanoseconds.
Weight::from_ref_time(147_000)
// Standard Error: 18_388
.saturating_add(Weight::from_ref_time(47_422_896).saturating_mul(i.into()))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
// Minimum execution time: 107 nanoseconds.
Weight::from_ref_time(117_000 as u64)
// Standard Error: 4_352
.saturating_add(Weight::from_ref_time(1_945_080 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(117_000)
// Standard Error: 4_031
.saturating_add(Weight::from_ref_time(1_946_581).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
// Minimum execution time: 112 nanoseconds.
Weight::from_ref_time(118_000 as u64)
// Standard Error: 835
.saturating_add(Weight::from_ref_time(321_096 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 130 nanoseconds.
Weight::from_ref_time(134_000)
// Standard Error: 902
.saturating_add(Weight::from_ref_time(333_197).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,51 +46,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 4_020 nanoseconds.
Weight::from_ref_time(4_086_000 as u64)
// Minimum execution time: 3_771 nanoseconds.
Weight::from_ref_time(3_915_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(412).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 12_989 nanoseconds.
Weight::from_ref_time(13_133_000 as u64)
// Minimum execution time: 12_101 nanoseconds.
Weight::from_ref_time(12_376_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_758 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_772).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_329 nanoseconds.
Weight::from_ref_time(8_576_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 8_271 nanoseconds.
Weight::from_ref_time(8_385_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_069 nanoseconds.
Weight::from_ref_time(4_172_000 as u64)
// Standard Error: 2_158
.saturating_add(Weight::from_ref_time(598_068 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_994 nanoseconds.
Weight::from_ref_time(4_027_000)
// Standard Error: 2_234
.saturating_add(Weight::from_ref_time(620_728).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_023 nanoseconds.
Weight::from_ref_time(4_103_000 as u64)
// Standard Error: 875
.saturating_add(Weight::from_ref_time(427_793 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_936 nanoseconds.
Weight::from_ref_time(4_057_000)
// Standard Error: 836
.saturating_add(Weight::from_ref_time(445_279).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_435 nanoseconds.
Weight::from_ref_time(5_565_000 as u64)
// Standard Error: 1_137
.saturating_add(Weight::from_ref_time(970_252 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 5_440 nanoseconds.
Weight::from_ref_time(5_583_000)
// Standard Error: 1_226
.saturating_add(Weight::from_ref_time(973_568).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -27,7 +27,7 @@
// --chain=rococo-dev
// --steps=50
// --repeat=20
// --pallet=pallet-balances
// --pallet=pallet_balances
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -48,24 +48,24 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 41_176 nanoseconds.
Weight::from_ref_time(42_293_000)
// Minimum execution time: 43_415 nanoseconds.
Weight::from_ref_time(44_821_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 29_743 nanoseconds.
Weight::from_ref_time(30_329_000)
// Minimum execution time: 31_764 nanoseconds.
Weight::from_ref_time(32_495_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn set_balance_creating() -> Weight {
// Minimum execution time: 19_825 nanoseconds.
Weight::from_ref_time(20_774_000)
// Minimum execution time: 21_678 nanoseconds.
Weight::from_ref_time(22_274_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -73,8 +73,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn set_balance_killing() -> Weight {
// Minimum execution time: 27_783 nanoseconds.
Weight::from_ref_time(28_462_000)
// Minimum execution time: 29_206 nanoseconds.
Weight::from_ref_time(30_503_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -82,23 +82,23 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:2 w:2)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
fn force_transfer() -> Weight {
// Minimum execution time: 40_433 nanoseconds.
Weight::from_ref_time(41_444_000)
// Minimum execution time: 42_420 nanoseconds.
Weight::from_ref_time(43_141_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
// Minimum execution time: 37_439 nanoseconds.
Weight::from_ref_time(38_570_000)
// Minimum execution time: 40_181 nanoseconds.
Weight::from_ref_time(40_696_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
fn force_unreserve() -> Weight {
// Minimum execution time: 18_366 nanoseconds.
Weight::from_ref_time(19_170_000)
// Minimum execution time: 20_052 nanoseconds.
Weight::from_ref_time(20_627_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -50,101 +50,59 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: Bounties Bounties (r:0 w:1)
/// The range of component `d` is `[0, 16384]`.
fn propose_bounty(d: u32, ) -> Weight {
// Minimum execution time: 29_250 nanoseconds.
Weight::from_ref_time(39_490_219 as u64)
// Standard Error: 63
.saturating_add(Weight::from_ref_time(127 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 29_438 nanoseconds.
Weight::from_ref_time(30_548_066)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(811).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
fn approve_bounty() -> Weight {
// Minimum execution time: 12_228 nanoseconds.
Weight::from_ref_time(12_490_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
fn propose_curator() -> Weight {
// Minimum execution time: 11_809 nanoseconds.
Weight::from_ref_time(12_202_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
// Minimum execution time: 40_307 nanoseconds.
Weight::from_ref_time(41_570_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
// Minimum execution time: 28_140 nanoseconds.
Weight::from_ref_time(28_829_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
fn award_bounty() -> Weight {
// Minimum execution time: 24_585 nanoseconds.
Weight::from_ref_time(24_912_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn claim_bounty() -> Weight {
// Minimum execution time: 67_397 nanoseconds.
Weight::from_ref_time(67_955_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_proposed() -> Weight {
// Minimum execution time: 44_196 nanoseconds.
Weight::from_ref_time(44_904_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 44_649 nanoseconds.
Weight::from_ref_time(45_277_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
// Storage: System Account (r:2 w:2)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_active() -> Weight {
// Minimum execution time: 52_882 nanoseconds.
Weight::from_ref_time(53_466_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:1)
fn extend_bounty_expiry() -> Weight {
// Minimum execution time: 21_567 nanoseconds.
Weight::from_ref_time(21_852_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: Bounties Bounties (r:2 w:2)
// Storage: System Account (r:4 w:4)
/// The range of component `b` is `[0, 100]`.
fn spend_funds(b: u32, ) -> Weight {
// Minimum execution time: 7_400 nanoseconds.
Weight::from_ref_time(15_331_778 as u64)
// Standard Error: 18_361
.saturating_add(Weight::from_ref_time(24_618_020 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
fn spend_funds(_b: u32, ) -> Weight {
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(3_385_720)
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_child_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,88 +44,37 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_child_bounties`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T> {
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:2 w:2)
// Storage: ChildBounties ChildBountyCount (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
// Storage: ChildBounties ChildBounties (r:0 w:1)
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> Weight {
// Minimum execution time: 51_894 nanoseconds.
Weight::from_ref_time(52_400_296 as u64)
// Standard Error: 9
.saturating_add(Weight::from_ref_time(776 as u64).saturating_mul(d as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
fn add_child_bounty(_d: u32, ) -> Weight {
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
fn propose_curator() -> Weight {
// Minimum execution time: 19_145 nanoseconds.
Weight::from_ref_time(19_689_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
// Minimum execution time: 33_904 nanoseconds.
Weight::from_ref_time(34_574_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
// Minimum execution time: 45_501 nanoseconds.
Weight::from_ref_time(46_140_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
fn award_child_bounty() -> Weight {
// Minimum execution time: 27_533 nanoseconds.
Weight::from_ref_time(27_896_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn claim_child_bounty() -> Weight {
// Minimum execution time: 66_026 nanoseconds.
Weight::from_ref_time(68_035_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn close_child_bounty_added() -> Weight {
// Minimum execution time: 50_711 nanoseconds.
Weight::from_ref_time(51_291_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
fn close_child_bounty_active() -> Weight {
// Minimum execution time: 60_553 nanoseconds.
Weight::from_ref_time(61_323_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -55,80 +55,80 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 16_865 nanoseconds.
Weight::from_ref_time(17_262_000 as u64)
// Standard Error: 47_503
.saturating_add(Weight::from_ref_time(5_429_751 as u64).saturating_mul(m as u64))
// Standard Error: 47_503
.saturating_add(Weight::from_ref_time(7_509_601 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 17_041 nanoseconds.
Weight::from_ref_time(17_399_000)
// Standard Error: 45_756
.saturating_add(Weight::from_ref_time(5_157_770).saturating_mul(m.into()))
// Standard Error: 45_756
.saturating_add(Weight::from_ref_time(7_363_092).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: Council Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 20_387 nanoseconds.
Weight::from_ref_time(19_900_869 as u64)
// Standard Error: 22
.saturating_add(Weight::from_ref_time(1_697 as u64).saturating_mul(b as u64))
// Standard Error: 233
.saturating_add(Weight::from_ref_time(14_085 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 20_147 nanoseconds.
Weight::from_ref_time(19_626_025)
// Standard Error: 20
.saturating_add(Weight::from_ref_time(1_909).saturating_mul(b.into()))
// Standard Error: 215
.saturating_add(Weight::from_ref_time(14_444).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 22_560 nanoseconds.
Weight::from_ref_time(21_438_949 as u64)
// Standard Error: 32
.saturating_add(Weight::from_ref_time(1_831 as u64).saturating_mul(b as u64))
// Standard Error: 335
.saturating_add(Weight::from_ref_time(24_328 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
// Minimum execution time: 22_567 nanoseconds.
Weight::from_ref_time(21_798_103)
// Standard Error: 24
.saturating_add(Weight::from_ref_time(1_736).saturating_mul(b.into()))
// Standard Error: 255
.saturating_add(Weight::from_ref_time(22_316).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalCount (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_735 nanoseconds.
Weight::from_ref_time(28_160_737 as u64)
// Minimum execution time: 27_763 nanoseconds.
Weight::from_ref_time(29_336_364)
// Standard Error: 68
.saturating_add(Weight::from_ref_time(3_381 as u64).saturating_mul(b as u64))
// Standard Error: 715
.saturating_add(Weight::from_ref_time(22_793 as u64).saturating_mul(m as u64))
// Standard Error: 706
.saturating_add(Weight::from_ref_time(106_054 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(Weight::from_ref_time(2_893).saturating_mul(b.into()))
// Standard Error: 710
.saturating_add(Weight::from_ref_time(20_741).saturating_mul(m.into()))
// Standard Error: 701
.saturating_add(Weight::from_ref_time(108_000).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 27_532 nanoseconds.
Weight::from_ref_time(28_330_462 as u64)
// Standard Error: 249
.saturating_add(Weight::from_ref_time(35_761 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 28_793 nanoseconds.
Weight::from_ref_time(30_301_179)
// Standard Error: 656
.saturating_add(Weight::from_ref_time(36_550).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
@@ -139,36 +139,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 30_396 nanoseconds.
Weight::from_ref_time(32_911_535 as u64)
// Standard Error: 631
.saturating_add(Weight::from_ref_time(23_197 as u64).saturating_mul(m as u64))
// Standard Error: 615
.saturating_add(Weight::from_ref_time(80_663 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 30_219 nanoseconds.
Weight::from_ref_time(32_929_628)
// Standard Error: 534
.saturating_add(Weight::from_ref_time(19_257).saturating_mul(m.into()))
// Standard Error: 521
.saturating_add(Weight::from_ref_time(90_818).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 40_839 nanoseconds.
Weight::from_ref_time(41_249_633 as u64)
// Standard Error: 59
.saturating_add(Weight::from_ref_time(1_719 as u64).saturating_mul(b as u64))
// Standard Error: 634
.saturating_add(Weight::from_ref_time(26_287 as u64).saturating_mul(m as u64))
// Standard Error: 618
.saturating_add(Weight::from_ref_time(98_027 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 40_347 nanoseconds.
Weight::from_ref_time(41_721_525)
// Standard Error: 62
.saturating_add(Weight::from_ref_time(2_142).saturating_mul(b.into()))
// Standard Error: 664
.saturating_add(Weight::from_ref_time(16_024).saturating_mul(m.into()))
// Standard Error: 647
.saturating_add(Weight::from_ref_time(109_853).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
@@ -180,37 +180,37 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 33_692 nanoseconds.
Weight::from_ref_time(35_151_605 as u64)
// Standard Error: 473
.saturating_add(Weight::from_ref_time(24_847 as u64).saturating_mul(m as u64))
// Standard Error: 461
.saturating_add(Weight::from_ref_time(81_291 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 33_536 nanoseconds.
Weight::from_ref_time(35_227_171)
// Standard Error: 454
.saturating_add(Weight::from_ref_time(22_527).saturating_mul(m.into()))
// Standard Error: 443
.saturating_add(Weight::from_ref_time(89_705).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Prime (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 42_657 nanoseconds.
Weight::from_ref_time(43_659_226 as u64)
// Standard Error: 63
.saturating_add(Weight::from_ref_time(1_573 as u64).saturating_mul(b as u64))
// Standard Error: 667
.saturating_add(Weight::from_ref_time(25_528 as u64).saturating_mul(m as u64))
// Standard Error: 651
.saturating_add(Weight::from_ref_time(98_052 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 43_047 nanoseconds.
Weight::from_ref_time(44_071_047)
// Standard Error: 58
.saturating_add(Weight::from_ref_time(2_060).saturating_mul(b.into()))
// Standard Error: 615
.saturating_add(Weight::from_ref_time(13_619).saturating_mul(m.into()))
// Standard Error: 599
.saturating_add(Weight::from_ref_time(113_407).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Council Proposals (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
@@ -218,11 +218,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 19_240 nanoseconds.
Weight::from_ref_time(22_570_186 as u64)
// Standard Error: 753
.saturating_add(Weight::from_ref_time(89_467 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 19_144 nanoseconds.
Weight::from_ref_time(22_604_946)
// Standard Error: 749
.saturating_add(Weight::from_ref_time(95_846).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -55,80 +55,80 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 17_568 nanoseconds.
Weight::from_ref_time(17_872_000 as u64)
// Standard Error: 46_117
.saturating_add(Weight::from_ref_time(5_267_225 as u64).saturating_mul(m as u64))
// Standard Error: 46_117
.saturating_add(Weight::from_ref_time(7_440_577 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 17_511 nanoseconds.
Weight::from_ref_time(17_808_000)
// Standard Error: 45_115
.saturating_add(Weight::from_ref_time(5_141_969).saturating_mul(m.into()))
// Standard Error: 45_115
.saturating_add(Weight::from_ref_time(7_396_068).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 20_712 nanoseconds.
Weight::from_ref_time(20_051_871 as u64)
// Standard Error: 20
.saturating_add(Weight::from_ref_time(1_652 as u64).saturating_mul(b as u64))
// Standard Error: 212
.saturating_add(Weight::from_ref_time(14_513 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 20_684 nanoseconds.
Weight::from_ref_time(19_992_425)
// Standard Error: 24
.saturating_add(Weight::from_ref_time(1_758).saturating_mul(b.into()))
// Standard Error: 254
.saturating_add(Weight::from_ref_time(14_385).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 22_790 nanoseconds.
Weight::from_ref_time(21_621_729 as u64)
// Standard Error: 28
.saturating_add(Weight::from_ref_time(1_891 as u64).saturating_mul(b as u64))
// Standard Error: 294
.saturating_add(Weight::from_ref_time(22_852 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
// Minimum execution time: 22_763 nanoseconds.
Weight::from_ref_time(21_861_815)
// Standard Error: 23
.saturating_add(Weight::from_ref_time(1_820).saturating_mul(b.into()))
// Standard Error: 237
.saturating_add(Weight::from_ref_time(21_649).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalCount (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 28_778 nanoseconds.
Weight::from_ref_time(29_237_413 as u64)
// Standard Error: 67
.saturating_add(Weight::from_ref_time(3_589 as u64).saturating_mul(b as u64))
// Standard Error: 703
.saturating_add(Weight::from_ref_time(19_563 as u64).saturating_mul(m as u64))
// Standard Error: 694
.saturating_add(Weight::from_ref_time(112_770 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
// Minimum execution time: 28_785 nanoseconds.
Weight::from_ref_time(29_848_634)
// Standard Error: 71
.saturating_add(Weight::from_ref_time(3_454).saturating_mul(b.into()))
// Standard Error: 742
.saturating_add(Weight::from_ref_time(20_500).saturating_mul(m.into()))
// Standard Error: 732
.saturating_add(Weight::from_ref_time(114_352).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 29_080 nanoseconds.
Weight::from_ref_time(29_820_804 as u64)
// Standard Error: 360
.saturating_add(Weight::from_ref_time(38_547 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 29_481 nanoseconds.
Weight::from_ref_time(30_726_187)
// Standard Error: 469
.saturating_add(Weight::from_ref_time(36_810).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
@@ -139,36 +139,36 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 31_795 nanoseconds.
Weight::from_ref_time(33_507_633 as u64)
// Standard Error: 577
.saturating_add(Weight::from_ref_time(23_944 as u64).saturating_mul(m as u64))
// Standard Error: 563
.saturating_add(Weight::from_ref_time(80_035 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 31_967 nanoseconds.
Weight::from_ref_time(33_643_928)
// Standard Error: 441
.saturating_add(Weight::from_ref_time(19_662).saturating_mul(m.into()))
// Standard Error: 430
.saturating_add(Weight::from_ref_time(90_717).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 41_185 nanoseconds.
Weight::from_ref_time(41_632_745 as u64)
// Standard Error: 58
.saturating_add(Weight::from_ref_time(1_828 as u64).saturating_mul(b as u64))
// Standard Error: 619
.saturating_add(Weight::from_ref_time(27_285 as u64).saturating_mul(m as u64))
// Standard Error: 604
.saturating_add(Weight::from_ref_time(98_702 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 41_255 nanoseconds.
Weight::from_ref_time(42_547_281)
// Standard Error: 61
.saturating_add(Weight::from_ref_time(1_981).saturating_mul(b.into()))
// Standard Error: 648
.saturating_add(Weight::from_ref_time(16_149).saturating_mul(m.into()))
// Standard Error: 631
.saturating_add(Weight::from_ref_time(110_311).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
@@ -180,37 +180,37 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 34_275 nanoseconds.
Weight::from_ref_time(35_453_782 as u64)
// Standard Error: 514
.saturating_add(Weight::from_ref_time(27_212 as u64).saturating_mul(m as u64))
// Standard Error: 501
.saturating_add(Weight::from_ref_time(82_393 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 34_754 nanoseconds.
Weight::from_ref_time(35_754_221)
// Standard Error: 460
.saturating_add(Weight::from_ref_time(23_715).saturating_mul(m.into()))
// Standard Error: 448
.saturating_add(Weight::from_ref_time(90_319).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 43_080 nanoseconds.
Weight::from_ref_time(43_948_612 as u64)
// Standard Error: 62
.saturating_add(Weight::from_ref_time(1_753 as u64).saturating_mul(b as u64))
// Standard Error: 661
.saturating_add(Weight::from_ref_time(27_314 as u64).saturating_mul(m as u64))
// Standard Error: 644
.saturating_add(Weight::from_ref_time(99_583 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 43_911 nanoseconds.
Weight::from_ref_time(44_556_035)
// Standard Error: 55
.saturating_add(Weight::from_ref_time(2_136).saturating_mul(b.into()))
// Standard Error: 591
.saturating_add(Weight::from_ref_time(16_572).saturating_mul(m.into()))
// Standard Error: 576
.saturating_add(Weight::from_ref_time(112_344).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
@@ -218,11 +218,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 19_363 nanoseconds.
Weight::from_ref_time(22_781_553 as u64)
// Standard Error: 763
.saturating_add(Weight::from_ref_time(92_537 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 19_525 nanoseconds.
Weight::from_ref_time(22_958_623)
// Standard Error: 757
.saturating_add(Weight::from_ref_time(97_562).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_democracy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,43 +49,43 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy Blacklist (r:1 w:0)
// Storage: Democracy DepositOf (r:0 w:1)
fn propose() -> Weight {
// Minimum execution time: 41_715 nanoseconds.
Weight::from_ref_time(42_171_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 44_240 nanoseconds.
Weight::from_ref_time(44_753_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy DepositOf (r:1 w:1)
fn second() -> Weight {
// Minimum execution time: 38_899 nanoseconds.
Weight::from_ref_time(39_822_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 40_142 nanoseconds.
Weight::from_ref_time(41_565_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_new() -> Weight {
// Minimum execution time: 50_150 nanoseconds.
Weight::from_ref_time(50_792_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 49_694 nanoseconds.
Weight::from_ref_time(51_077_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_existing() -> Weight {
// Minimum execution time: 50_121 nanoseconds.
Weight::from_ref_time(50_881_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 50_393 nanoseconds.
Weight::from_ref_time(51_452_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
fn emergency_cancel() -> Weight {
// Minimum execution time: 21_124 nanoseconds.
Weight::from_ref_time(21_631_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 21_750 nanoseconds.
Weight::from_ref_time(22_139_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
@@ -94,75 +94,75 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Blacklist (r:0 w:1)
fn blacklist() -> Weight {
// Minimum execution time: 75_761 nanoseconds.
Weight::from_ref_time(76_872_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 79_224 nanoseconds.
Weight::from_ref_time(80_306_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
// Minimum execution time: 17_213 nanoseconds.
Weight::from_ref_time(17_695_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 17_190 nanoseconds.
Weight::from_ref_time(17_810_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
// Minimum execution time: 4_818 nanoseconds.
Weight::from_ref_time(5_020_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 5_098 nanoseconds.
Weight::from_ref_time(5_361_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
// Minimum execution time: 4_924 nanoseconds.
Weight::from_ref_time(5_123_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 5_034 nanoseconds.
Weight::from_ref_time(5_313_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn fast_track() -> Weight {
// Minimum execution time: 20_512 nanoseconds.
Weight::from_ref_time(21_249_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 21_228 nanoseconds.
Weight::from_ref_time(21_649_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
// Minimum execution time: 26_321 nanoseconds.
Weight::from_ref_time(26_795_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_850 nanoseconds.
Weight::from_ref_time(27_409_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn cancel_proposal() -> Weight {
// Minimum execution time: 64_453 nanoseconds.
Weight::from_ref_time(65_189_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 66_728 nanoseconds.
Weight::from_ref_time(67_767_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
// Minimum execution time: 13_447 nanoseconds.
Weight::from_ref_time(14_027_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 13_027 nanoseconds.
Weight::from_ref_time(13_414_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
// Minimum execution time: 6_181 nanoseconds.
Weight::from_ref_time(9_536_223 as u64)
// Standard Error: 5_062
.saturating_add(Weight::from_ref_time(2_030_538 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 6_244 nanoseconds.
Weight::from_ref_time(9_416_246)
// Standard Error: 4_551
.saturating_add(Weight::from_ref_time(2_069_064).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
@@ -172,91 +172,91 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
// Minimum execution time: 8_512 nanoseconds.
Weight::from_ref_time(11_614_712 as u64)
// Standard Error: 3_782
.saturating_add(Weight::from_ref_time(2_035_162 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_659 nanoseconds.
Weight::from_ref_time(11_628_968)
// Standard Error: 4_928
.saturating_add(Weight::from_ref_time(2_068_391).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:3 w:3)
// Storage: Balances Locks (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
// Minimum execution time: 41_739 nanoseconds.
Weight::from_ref_time(48_459_085 as u64)
// Standard Error: 5_092
.saturating_add(Weight::from_ref_time(2_923_424 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 41_958 nanoseconds.
Weight::from_ref_time(49_429_011)
// Standard Error: 6_438
.saturating_add(Weight::from_ref_time(3_062_541).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: Democracy VotingOf (r:2 w:2)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
// Minimum execution time: 25_176 nanoseconds.
Weight::from_ref_time(28_498_205 as u64)
// Standard Error: 4_594
.saturating_add(Weight::from_ref_time(2_897_543 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
// Minimum execution time: 25_374 nanoseconds.
Weight::from_ref_time(29_330_270)
// Standard Error: 5_584
.saturating_add(Weight::from_ref_time(3_039_792).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
// Minimum execution time: 5_512 nanoseconds.
Weight::from_ref_time(5_670_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 5_555 nanoseconds.
Weight::from_ref_time(5_758_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
// Minimum execution time: 24_374 nanoseconds.
Weight::from_ref_time(31_924_026 as u64)
// Standard Error: 2_290
.saturating_add(Weight::from_ref_time(31_545 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 24_073 nanoseconds.
Weight::from_ref_time(31_887_101)
// Standard Error: 1_872
.saturating_add(Weight::from_ref_time(36_737).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
// Minimum execution time: 29_650 nanoseconds.
Weight::from_ref_time(31_448_868 as u64)
// Standard Error: 695
.saturating_add(Weight::from_ref_time(69_392 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 30_457 nanoseconds.
Weight::from_ref_time(31_918_113)
// Standard Error: 566
.saturating_add(Weight::from_ref_time(65_445).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
// Minimum execution time: 16_232 nanoseconds.
Weight::from_ref_time(18_964_852 as u64)
// Standard Error: 896
.saturating_add(Weight::from_ref_time(67_310 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 16_337 nanoseconds.
Weight::from_ref_time(19_433_011)
// Standard Error: 947
.saturating_add(Weight::from_ref_time(71_246).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
// Minimum execution time: 15_817 nanoseconds.
Weight::from_ref_time(18_350_237 as u64)
// Standard Error: 936
.saturating_add(Weight::from_ref_time(76_501 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 16_718 nanoseconds.
Weight::from_ref_time(19_575_066)
// Standard Error: 1_137
.saturating_add(Weight::from_ref_time(71_800).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}

Some files were not shown because too many files have changed in this diff Show More