update weights (sync with 0.9.33) (#6362)

* update weights (0.9.33) (#6299)

* kusama: update weights

* polkadot: update weights

* rococo: update weights

* westend: update weights

* fix deps

* Resolve merge

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

* Reset Kusama whitelist weights

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

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Mara Robin B
2022-12-08 14:23:24 +01:00
committed by GitHub
parent 896d1c2c3b
commit 0185170137
163 changed files with 5178 additions and 3932 deletions
@@ -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-06-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
@@ -46,46 +46,52 @@ 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 {
(126_000 as Weight)
// Minimum execution time: 104 nanoseconds.
Weight::from_ref_time(136_098 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
(117_000 as Weight)
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(141_859 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
(132_000 as Weight)
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(142_767 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
(132_000 as Weight)
// Minimum execution time: 107 nanoseconds.
Weight::from_ref_time(145_251 as u64)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
(19_331_786_000 as Weight)
// Standard Error: 113_000
.saturating_add((410_000 as Weight).saturating_mul(i as Weight))
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 19_899_457 nanoseconds.
Weight::from_ref_time(20_127_184_762 as u64)
}
/// The range of component `i` is `[1, 100]`.
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 15_000
.saturating_add((47_597_000 as Weight).saturating_mul(i as 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))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 3_000
.saturating_add((2_126_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as 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)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 0
.saturating_add((328_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as 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)))
}
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,51 +38,59 @@
#![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 `frame_system`.
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 {
Weight::from_ref_time(0 as u64)
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 4_020 nanoseconds.
Weight::from_ref_time(4_086_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Minimum execution time: 12_989 nanoseconds.
Weight::from_ref_time(13_133_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_758 as u64).saturating_mul(b as u64))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
Weight::from_ref_time(8_025_000 as u64)
// 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))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[1, 1000]`.
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(602_000 as u64).saturating_mul(i as u64))
// 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)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[1, 1000]`.
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(456_000 as u64).saturating_mul(i as u64))
// 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)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[1, 1000]`.
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_010_000 as u64).saturating_mul(p as u64))
// 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)))
}
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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_balances`.
@@ -46,43 +46,50 @@ 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 {
Weight::from_ref_time(40_460_000 as u64)
// Minimum execution time: 40_106 nanoseconds.
Weight::from_ref_time(40_750_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
Weight::from_ref_time(29_508_000 as u64)
// Minimum execution time: 30_737 nanoseconds.
Weight::from_ref_time(31_295_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
Weight::from_ref_time(22_142_000 as u64)
// Minimum execution time: 23_902 nanoseconds.
Weight::from_ref_time(24_338_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
Weight::from_ref_time(25_653_000 as u64)
// Minimum execution time: 26_492 nanoseconds.
Weight::from_ref_time(26_866_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
Weight::from_ref_time(39_913_000 as u64)
// Minimum execution time: 40_384 nanoseconds.
Weight::from_ref_time(41_000_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
Weight::from_ref_time(34_497_000 as u64)
// Minimum execution time: 35_115 nanoseconds.
Weight::from_ref_time(35_696_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
Weight::from_ref_time(19_749_000 as u64)
// Minimum execution time: 20_274 nanoseconds.
Weight::from_ref_time(20_885_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/pallet_bounties.rs
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -50,43 +50,49 @@ 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 {
Weight::from_ref_time(26_654_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
// 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))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
fn approve_bounty() -> Weight {
Weight::from_ref_time(9_776_000 as u64)
// 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))
}
// Storage: Bounties Bounties (r:1 w:1)
fn propose_curator() -> Weight {
Weight::from_ref_time(8_350_000 as u64)
// 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))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
Weight::from_ref_time(34_804_000 as u64)
// 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))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
Weight::from_ref_time(23_414_000 as u64)
// 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))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
fn award_bounty() -> Weight {
Weight::from_ref_time(20_148_000 as u64)
// 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))
}
@@ -95,7 +101,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn claim_bounty() -> Weight {
Weight::from_ref_time(64_115_000 as u64)
// 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))
}
@@ -104,7 +111,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_proposed() -> Weight {
Weight::from_ref_time(39_628_000 as u64)
// 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))
}
@@ -113,24 +121,27 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:2 w:2)
// Storage: Bounties BountyDescriptions (r:0 w:1)
fn close_bounty_active() -> Weight {
Weight::from_ref_time(47_429_000 as u64)
// 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))
}
// Storage: Bounties Bounties (r:1 w:1)
fn extend_bounty_expiry() -> Weight {
Weight::from_ref_time(17_322_000 as u64)
// 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))
}
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:1)
// Storage: System Account (r:2 w:2)
/// The range of component `b` is `[1, 100]`.
// 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 {
Weight::from_ref_time(0 as u64)
// Standard Error: 30_000
.saturating_add(Weight::from_ref_time(30_775_000 as u64).saturating_mul(b as u64))
// 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))
@@ -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-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/pallet_child_bounties.rs
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -52,9 +52,10 @@ 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 {
Weight::from_ref_time(48_890_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
// 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))
}
@@ -62,7 +63,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
fn propose_curator() -> Weight {
Weight::from_ref_time(14_114_000 as u64)
// 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))
}
@@ -70,7 +72,8 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
Weight::from_ref_time(26_807_000 as u64)
// 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))
}
@@ -78,14 +81,16 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
Weight::from_ref_time(39_640_000 as u64)
// 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))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
fn award_child_bounty() -> Weight {
Weight::from_ref_time(21_445_000 as u64)
// 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))
}
@@ -94,7 +99,8 @@ 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 claim_child_bounty() -> Weight {
Weight::from_ref_time(65_771_000 as u64)
// 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))
}
@@ -105,7 +111,8 @@ 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 {
Weight::from_ref_time(46_230_000 as u64)
// 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))
}
@@ -116,7 +123,8 @@ 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 {
Weight::from_ref_time(56_148_000 as u64)
// 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))
}
@@ -1,4 +1,4 @@
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Polkadot is free software: you can redistribute it and/or modify
@@ -16,12 +16,14 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 128
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
// target/release/polkadot
// ./target/production/polkadot
// benchmark
// pallet
// --chain=rococo-dev
// --steps=50
// --repeat=20
@@ -29,11 +31,9 @@
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -44,132 +44,184 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collective`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective Members (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:0)
// Storage: Instance1Collective Voting (r:100 w:100)
// Storage: Instance1Collective Prime (r:0 w:1)
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(14_448_000 as u64).saturating_mul(m as u64))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(n as u64))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(19_620_000 as u64).saturating_mul(p as u64))
// Storage: Council Members (r:1 w:1)
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Prime (r:0 w:1)
// Storage: Council Voting (r:100 w:100)
/// The range of component `m` is `[0, 100]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
/// The range of component `m` is `[0, 100]`.
/// 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)))
}
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Council Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(22_536_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(m as u64))
// 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))
}
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:0)
// 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 `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(27_600_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(m as u64))
// 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))
}
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalCount (r:1 w:1)
// Storage: Instance1Collective Voting (r:0 w:1)
// 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 `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 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 {
Weight::from_ref_time(42_192_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(361_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 27_735 nanoseconds.
Weight::from_ref_time(28_160_737 as u64)
// 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))
}
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Voting (r:1 w:1)
// 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 {
Weight::from_ref_time(32_307_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(m as u64))
// 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))
}
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalOf (r:0 w:1)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// 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 {
Weight::from_ref_time(41_436_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(333_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
// 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 `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 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 {
Weight::from_ref_time(57_836_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Prime (r:1 w:0)
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Prime (r:1 w:0)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalOf (r:0 w:1)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(45_551_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(338_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance1Collective Voting (r:1 w:1)
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Prime (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
// 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 `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 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 {
Weight::from_ref_time(61_497_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(343_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective Voting (r:0 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
// Storage: Council ProposalOf (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(25_573_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(p as u64))
// 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))
}
@@ -1,4 +1,4 @@
// Copyright 2017-2021 Parity Technologies (UK) Ltd.
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Polkadot is free software: you can redistribute it and/or modify
@@ -16,12 +16,14 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 128
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
// target/release/polkadot
// ./target/production/polkadot
// benchmark
// pallet
// --chain=rococo-dev
// --steps=50
// --repeat=20
@@ -29,11 +31,9 @@
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
@@ -44,132 +44,184 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collective`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance2Collective Members (r:1 w:1)
// Storage: Instance2Collective Proposals (r:1 w:0)
// Storage: Instance2Collective Voting (r:100 w:100)
// Storage: Instance2Collective Prime (r:0 w:1)
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(14_473_000 as u64).saturating_mul(m as u64))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(n as u64))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(19_551_000 as u64).saturating_mul(p as u64))
// Storage: TechnicalCommittee Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:0 w:1)
// Storage: TechnicalCommittee Voting (r:100 w:100)
/// The range of component `m` is `[0, 100]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
/// The range of component `m` is `[0, 100]`.
/// 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)))
}
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: TechnicalCommittee Members (r:1 w:0)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(22_690_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(m as u64))
// 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))
}
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: Instance2Collective ProposalOf (r:1 w:0)
// 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 `m` is `[1, 100]`.
/// The range of component `b` is `[1, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(27_473_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(m as u64))
// 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))
}
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: Instance2Collective ProposalOf (r:1 w:1)
// Storage: Instance2Collective Proposals (r:1 w:1)
// Storage: Instance2Collective ProposalCount (r:1 w:1)
// Storage: Instance2Collective Voting (r:0 w:1)
// 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 `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 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 {
Weight::from_ref_time(42_047_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(360_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: Instance2Collective Voting (r:1 w:1)
// 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 {
Weight::from_ref_time(32_023_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(m as u64))
// 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))
}
// Storage: Instance2Collective Voting (r:1 w:1)
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: Instance2Collective Proposals (r:1 w:1)
// Storage: Instance2Collective ProposalOf (r:0 w:1)
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// 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 {
Weight::from_ref_time(41_107_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(332_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance2Collective Voting (r:1 w:1)
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: Instance2Collective ProposalOf (r:1 w:1)
// Storage: Instance2Collective Proposals (r:1 w:1)
// 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 `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 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 {
Weight::from_ref_time(57_783_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(167_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance2Collective Voting (r:1 w:1)
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: Instance2Collective Prime (r:1 w:0)
// Storage: Instance2Collective Proposals (r:1 w:1)
// Storage: Instance2Collective ProposalOf (r:0 w:1)
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:1 w:0)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(45_646_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance2Collective Voting (r:1 w:1)
// Storage: Instance2Collective Members (r:1 w:0)
// Storage: Instance2Collective Prime (r:1 w:0)
// Storage: Instance2Collective ProposalOf (r:1 w:1)
// Storage: Instance2Collective Proposals (r:1 w:1)
// 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 `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `b` is `[1, 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 {
Weight::from_ref_time(61_376_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(m as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64))
// 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))
}
// Storage: Instance2Collective Proposals (r:1 w:1)
// Storage: Instance2Collective Voting (r:0 w:1)
// Storage: Instance2Collective ProposalOf (r:0 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(25_286_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64))
// 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))
}
@@ -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-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -49,13 +49,15 @@ 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 {
Weight::from_ref_time(41_783_000 as u64)
// 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))
}
// Storage: Democracy DepositOf (r:1 w:1)
fn second() -> Weight {
Weight::from_ref_time(38_362_000 as u64)
// 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))
}
@@ -63,7 +65,8 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_new() -> Weight {
Weight::from_ref_time(48_307_000 as u64)
// 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))
}
@@ -71,14 +74,16 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_existing() -> Weight {
Weight::from_ref_time(48_500_000 as u64)
// 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))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
fn emergency_cancel() -> Weight {
Weight::from_ref_time(20_294_000 as u64)
// 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))
}
@@ -89,39 +94,45 @@ 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 {
Weight::from_ref_time(75_191_000 as u64)
// 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))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
Weight::from_ref_time(16_369_000 as u64)
// 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))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
Weight::from_ref_time(4_767_000 as u64)
// Minimum execution time: 4_818 nanoseconds.
Weight::from_ref_time(5_020_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
Weight::from_ref_time(4_866_000 as u64)
// Minimum execution time: 4_924 nanoseconds.
Weight::from_ref_time(5_123_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// 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 {
Weight::from_ref_time(19_986_000 as u64)
// 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))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
Weight::from_ref_time(25_291_000 as u64)
// 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))
}
@@ -129,13 +140,15 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn cancel_proposal() -> Weight {
Weight::from_ref_time(63_703_000 as u64)
// 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))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
Weight::from_ref_time(13_235_000 as u64)
// Minimum execution time: 13_447 nanoseconds.
Weight::from_ref_time(14_027_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
@@ -143,9 +156,10 @@ 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(r: u32, ) -> Weight {
Weight::from_ref_time(5_980_000 as u64)
// Standard Error: 2_131
.saturating_add(Weight::from_ref_time(2_104_197 as u64).saturating_mul(r as u64))
// 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))
@@ -158,9 +172,10 @@ 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 {
Weight::from_ref_time(8_351_000 as u64)
// Standard Error: 2_308
.saturating_add(Weight::from_ref_time(2_117_411 as u64).saturating_mul(r as u64))
// 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))
@@ -170,9 +185,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
Weight::from_ref_time(40_303_000 as u64)
// Standard Error: 3_789
.saturating_add(Weight::from_ref_time(3_031_594 as u64).saturating_mul(r as u64))
// 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))
@@ -182,9 +198,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
Weight::from_ref_time(24_342_000 as u64)
// Standard Error: 2_624
.saturating_add(Weight::from_ref_time(2_962_125 as u64).saturating_mul(r as u64))
// 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))
@@ -192,7 +209,8 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
Weight::from_ref_time(5_811_000 as u64)
// Minimum execution time: 5_512 nanoseconds.
Weight::from_ref_time(5_670_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy VotingOf (r:1 w:1)
@@ -200,9 +218,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
Weight::from_ref_time(22_894_000 as u64)
// Standard Error: 2_967
.saturating_add(Weight::from_ref_time(142_001 as u64).saturating_mul(r as u64))
// 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))
}
@@ -211,9 +230,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
Weight::from_ref_time(28_227_000 as u64)
// Standard Error: 673
.saturating_add(Weight::from_ref_time(87_748 as u64).saturating_mul(r as u64))
// 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))
}
@@ -221,9 +241,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
Weight::from_ref_time(15_578_000 as u64)
// Standard Error: 1_035
.saturating_add(Weight::from_ref_time(105_378 as u64).saturating_mul(r as u64))
// 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))
}
@@ -231,9 +252,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
Weight::from_ref_time(15_542_000 as u64)
// Standard Error: 1_104
.saturating_add(Weight::from_ref_time(109_552 as u64).saturating_mul(r as u64))
// 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))
}
@@ -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-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/pallet_elections_phragmen.rs
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -51,9 +51,10 @@ 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 {
Weight::from_ref_time(24_107_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(v as u64))
// Minimum execution time: 31_116 nanoseconds.
Weight::from_ref_time(33_939_670 as u64)
// Standard Error: 19_880
.saturating_add(Weight::from_ref_time(42_818 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))
}
@@ -64,9 +65,10 @@ 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 {
Weight::from_ref_time(36_869_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(165_000 as u64).saturating_mul(v as u64))
// Minimum execution time: 40_786 nanoseconds.
Weight::from_ref_time(42_128_805 as u64)
// Standard Error: 5_101
.saturating_add(Weight::from_ref_time(160_966 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))
}
@@ -77,16 +79,18 @@ 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 {
Weight::from_ref_time(36_445_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(v as u64))
// Minimum execution time: 40_445 nanoseconds.
Weight::from_ref_time(42_057_705 as u64)
// Standard Error: 5_093
.saturating_add(Weight::from_ref_time(160_580 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))
}
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn remove_voter() -> Weight {
Weight::from_ref_time(33_035_000 as u64)
// Minimum execution time: 39_806 nanoseconds.
Weight::from_ref_time(40_625_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -95,18 +99,20 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// The range of component `c` is `[1, 1000]`.
fn submit_candidacy(c: u32, ) -> Weight {
Weight::from_ref_time(25_946_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(101_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 36_211 nanoseconds.
Weight::from_ref_time(27_335_577 as u64)
// Standard Error: 999
.saturating_add(Weight::from_ref_time(91_839 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))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
/// The range of component `c` is `[1, 1000]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
Weight::from_ref_time(22_945_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 31_700 nanoseconds.
Weight::from_ref_time(22_985_655 as u64)
// Standard Error: 1_045
.saturating_add(Weight::from_ref_time(72_257 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))
}
@@ -116,18 +122,21 @@ 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 {
Weight::from_ref_time(41_502_000 as u64)
// Minimum execution time: 44_808 nanoseconds.
Weight::from_ref_time(45_734_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: PhragmenElection RunnersUp (r:1 w:1)
fn renounce_candidacy_runners_up() -> Weight {
Weight::from_ref_time(30_791_000 as u64)
// Minimum execution time: 34_375 nanoseconds.
Weight::from_ref_time(34_942_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// 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)
}
// Storage: PhragmenElection Members (r:1 w:1)
@@ -137,7 +146,8 @@ 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 {
Weight::from_ref_time(57_184_000 as u64)
// Minimum execution time: 58_977 nanoseconds.
Weight::from_ref_time(59_738_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -148,11 +158,12 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
// Storage: Balances Locks (r:5000 w:5000)
// Storage: System Account (r:5000 w:5000)
/// The range of component `v` is `[5000, 10000]`.
/// The range of component `d` is `[1, 5000]`.
/// The range of component `d` is `[0, 5000]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 85_000
.saturating_add(Weight::from_ref_time(61_507_000 as u64).saturating_mul(v as u64))
// Minimum execution time: 278_968_823 nanoseconds.
Weight::from_ref_time(279_635_200_000 as u64)
// Standard Error: 242_951
.saturating_add(Weight::from_ref_time(34_711_662 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)))
@@ -170,14 +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 {
Weight::from_ref_time(0 as u64)
// Standard Error: 1_864_000
.saturating_add(Weight::from_ref_time(167_385_000 as u64).saturating_mul(v as u64))
// Standard Error: 124_000
.saturating_add(Weight::from_ref_time(9_721_000 as u64).saturating_mul(e as u64))
// Minimum execution time: 28_205_490 nanoseconds.
Weight::from_ref_time(28_372_658_000 as u64)
// Standard Error: 537_591
.saturating_add(Weight::from_ref_time(45_407_497 as u64).saturating_mul(v as u64))
// Standard Error: 34_499
.saturating_add(Weight::from_ref_time(2_313_355 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)))
}
}
@@ -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-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/pallet_identity.rs
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -47,32 +47,35 @@ 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 {
Weight::from_ref_time(16_146_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(r as u64))
// Minimum execution time: 16_590 nanoseconds.
Weight::from_ref_time(18_060_891 as u64)
// Standard Error: 2_851
.saturating_add(Weight::from_ref_time(157_547 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))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
/// The range of component `x` is `[0, 100]`.
fn set_identity(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_556_000 as u64)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(208_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(371_000 as u64).saturating_mul(x as u64))
// Minimum execution time: 35_897 nanoseconds.
Weight::from_ref_time(35_818_211 as u64)
// Standard Error: 4_816
.saturating_add(Weight::from_ref_time(55_596 as u64).saturating_mul(r as u64))
// Standard Error: 939
.saturating_add(Weight::from_ref_time(309_363 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))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
// Storage: Identity SuperOf (r:2 w:2)
/// The range of component `s` is `[0, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
Weight::from_ref_time(25_214_000 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(3_032_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 10_669 nanoseconds.
Weight::from_ref_time(28_317_272 as u64)
// Standard Error: 4_823
.saturating_add(Weight::from_ref_time(2_161_761 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))
@@ -80,12 +83,13 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
// Storage: Identity SuperOf (r:0 w:2)
/// The range of component `p` is `[0, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
Weight::from_ref_time(26_402_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(916_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 10_805 nanoseconds.
Weight::from_ref_time(29_056_548 as u64)
// Standard Error: 4_259
.saturating_add(Weight::from_ref_time(918_046 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)))
@@ -94,16 +98,17 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[1, 100]`.
/// The range of component `x` is `[1, 100]`.
/// 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 {
Weight::from_ref_time(32_822_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(909_000 as u64).saturating_mul(s as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(x as u64))
// Minimum execution time: 50_654 nanoseconds.
Weight::from_ref_time(36_563_794 as u64)
// Standard Error: 4_362
.saturating_add(Weight::from_ref_time(74_110 as u64).saturating_mul(r as u64))
// Standard Error: 851
.saturating_add(Weight::from_ref_time(893_418 as u64).saturating_mul(s as u64))
// Standard Error: 851
.saturating_add(Weight::from_ref_time(161_174 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)))
@@ -111,65 +116,71 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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 `[1, 100]`.
/// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(30_696_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(377_000 as u64).saturating_mul(x as u64))
// Minimum execution time: 38_053 nanoseconds.
Weight::from_ref_time(37_522_807 as u64)
// Standard Error: 5_887
.saturating_add(Weight::from_ref_time(117_945 as u64).saturating_mul(r as u64))
// Standard Error: 1_148
.saturating_add(Weight::from_ref_time(313_445 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))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_144_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(144_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(363_000 as u64).saturating_mul(x as u64))
// Minimum execution time: 33_692 nanoseconds.
Weight::from_ref_time(33_105_581 as u64)
// Standard Error: 3_917
.saturating_add(Weight::from_ref_time(85_654 as u64).saturating_mul(r as u64))
// Standard Error: 764
.saturating_add(Weight::from_ref_time(332_127 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))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fee(r: u32, ) -> Weight {
Weight::from_ref_time(7_135_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(135_000 as u64).saturating_mul(r as u64))
// Minimum execution time: 8_839 nanoseconds.
Weight::from_ref_time(10_041_842 as u64)
// Standard Error: 2_450
.saturating_add(Weight::from_ref_time(114_312 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))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
Weight::from_ref_time(6_861_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(140_000 as u64).saturating_mul(r as u64))
// Minimum execution time: 9_063 nanoseconds.
Weight::from_ref_time(10_186_840 as u64)
// Standard Error: 2_347
.saturating_add(Weight::from_ref_time(121_263 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))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fields(r: u32, ) -> Weight {
Weight::from_ref_time(7_143_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
// Minimum execution time: 9_287 nanoseconds.
Weight::from_ref_time(10_084_760 as u64)
// Standard Error: 1_943
.saturating_add(Weight::from_ref_time(122_485 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))
}
// 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 `[1, 100]`.
/// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(21_902_000 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(378_000 as u64).saturating_mul(x as u64))
// Minimum execution time: 27_944 nanoseconds.
Weight::from_ref_time(27_020_698 as u64)
// Standard Error: 5_224
.saturating_add(Weight::from_ref_time(120_916 as u64).saturating_mul(r as u64))
// Standard Error: 966
.saturating_add(Weight::from_ref_time(553_078 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))
}
@@ -178,12 +189,17 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[1, 100]`.
/// The range of component `x` is `[1, 100]`.
fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight {
Weight::from_ref_time(48_712_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(903_000 as u64).saturating_mul(s as u64))
/// 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_082 nanoseconds.
Weight::from_ref_time(48_030_628 as u64)
// Standard Error: 4_810
.saturating_add(Weight::from_ref_time(81_688 as u64).saturating_mul(r as u64))
// Standard Error: 939
.saturating_add(Weight::from_ref_time(904_592 as u64).saturating_mul(s as u64))
// Standard Error: 939
.saturating_add(Weight::from_ref_time(155_277 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)))
@@ -191,11 +207,12 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// 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, 99]`.
/// The range of component `s` is `[0, 99]`.
fn add_sub(s: u32, ) -> Weight {
Weight::from_ref_time(33_860_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 32_527 nanoseconds.
Weight::from_ref_time(38_498_962 as u64)
// Standard Error: 1_698
.saturating_add(Weight::from_ref_time(67_955 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))
}
@@ -203,9 +220,10 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
Weight::from_ref_time(12_063_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 14_044 nanoseconds.
Weight::from_ref_time(16_801_998 as u64)
// Standard Error: 863
.saturating_add(Weight::from_ref_time(27_046 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))
}
@@ -214,19 +232,21 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
Weight::from_ref_time(34_418_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 35_695 nanoseconds.
Weight::from_ref_time(39_736_997 as u64)
// Standard Error: 1_366
.saturating_add(Weight::from_ref_time(65_000 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))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 99]`.
/// The range of component `s` is `[0, 99]`.
fn quit_sub(s: u32, ) -> Weight {
Weight::from_ref_time(24_186_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 26_079 nanoseconds.
Weight::from_ref_time(29_300_941 as u64)
// Standard Error: 1_147
.saturating_add(Weight::from_ref_time(67_486 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))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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_im_online`.
@@ -53,11 +53,12 @@ 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 {
Weight::from_ref_time(76_995_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(k as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(299_000 as u64).saturating_mul(e as u64))
// Minimum execution time: 97_201 nanoseconds.
Weight::from_ref_time(77_884_363 as u64)
// Standard Error: 218
.saturating_add(Weight::from_ref_time(23_192 as u64).saturating_mul(k as u64))
// Standard Error: 2_200
.saturating_add(Weight::from_ref_time(305_426 as u64).saturating_mul(e as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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_indices`.
@@ -46,33 +46,38 @@ 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 {
Weight::from_ref_time(24_885_000 as u64)
// Minimum execution time: 26_092 nanoseconds.
Weight::from_ref_time(26_602_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
Weight::from_ref_time(31_127_000 as u64)
// Minimum execution time: 33_052 nanoseconds.
Weight::from_ref_time(33_482_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Indices Accounts (r:1 w:1)
fn free() -> Weight {
Weight::from_ref_time(26_683_000 as u64)
// Minimum execution time: 27_445 nanoseconds.
Weight::from_ref_time(27_664_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
Weight::from_ref_time(26_689_000 as u64)
// Minimum execution time: 27_087 nanoseconds.
Weight::from_ref_time(27_630_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Indices Accounts (r:1 w:1)
fn freeze() -> Weight {
Weight::from_ref_time(31_554_000 as u64)
// Minimum execution time: 32_690 nanoseconds.
Weight::from_ref_time(33_186_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_membership`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,94 +38,101 @@
#![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_membership`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: Membership Members (r:1 w:1)
// Storage: Collective Proposals (r:1 w:0)
// Storage: Collective Members (r:0 w:1)
// Storage: Collective Prime (r:0 w:1)
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
Weight::from_ref_time(19_637_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(m as u64))
// Minimum execution time: 20_803 nanoseconds.
Weight::from_ref_time(27_137_568 as u64)
// Standard Error: 5_594
.saturating_add(Weight::from_ref_time(769 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))
}
// Storage: Membership Members (r:1 w:1)
// Storage: Collective Proposals (r:1 w:0)
// Storage: Membership Prime (r:1 w:0)
// Storage: Collective Members (r:0 w:1)
// Storage: Collective Prime (r:0 w:1)
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
Weight::from_ref_time(21_565_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(31_000 as u64).saturating_mul(m as u64))
// Minimum execution time: 22_937 nanoseconds.
Weight::from_ref_time(23_629_924 as u64)
// Standard Error: 546
.saturating_add(Weight::from_ref_time(37_220 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))
}
// Storage: Membership Members (r:1 w:1)
// Storage: Collective Proposals (r:1 w:0)
// Storage: Membership Prime (r:1 w:0)
// Storage: Collective Members (r:0 w:1)
// Storage: Collective Prime (r:0 w:1)
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
Weight::from_ref_time(21_637_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(m as u64))
// Minimum execution time: 23_276 nanoseconds.
Weight::from_ref_time(23_973_749 as u64)
// Standard Error: 529
.saturating_add(Weight::from_ref_time(43_532 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))
}
// Storage: Membership Members (r:1 w:1)
// Storage: Collective Proposals (r:1 w:0)
// Storage: Membership Prime (r:1 w:0)
// Storage: Collective Members (r:0 w:1)
// Storage: Collective Prime (r:0 w:1)
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
Weight::from_ref_time(21_551_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(m as u64))
// Minimum execution time: 21_924 nanoseconds.
Weight::from_ref_time(23_794_804 as u64)
// Standard Error: 847
.saturating_add(Weight::from_ref_time(148_943 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))
}
// Storage: Membership Members (r:1 w:1)
// Storage: Collective Proposals (r:1 w:0)
// Storage: Membership Prime (r:1 w:1)
// Storage: Collective Members (r:0 w:1)
// Storage: Collective Prime (r:0 w:1)
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:1)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
Weight::from_ref_time(22_510_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(m as u64))
// Minimum execution time: 22_826 nanoseconds.
Weight::from_ref_time(24_372_204 as u64)
// Standard Error: 604
.saturating_add(Weight::from_ref_time(44_003 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))
}
// Storage: Membership Members (r:1 w:0)
// Storage: Membership Prime (r:0 w:1)
// Storage: Collective Prime (r:0 w:1)
// 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 {
Weight::from_ref_time(8_828_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(m as u64))
// Minimum execution time: 8_708 nanoseconds.
Weight::from_ref_time(9_108_942 as u64)
// Standard Error: 195
.saturating_add(Weight::from_ref_time(10_532 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))
}
// Storage: Membership Prime (r:0 w:1)
// Storage: Collective Prime (r:0 w:1)
// 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 {
Weight::from_ref_time(5_084_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(m as u64))
// Minimum execution time: 5_226 nanoseconds.
Weight::from_ref_time(5_596_646 as u64)
// Standard Error: 122
.saturating_add(Weight::from_ref_time(249 as u64).saturating_mul(m as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
}
@@ -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-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -28,11 +28,11 @@
// --steps=50
// --repeat=20
// --pallet=pallet_multisig
// --extrinsic=
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=runtime/rococo/src/weights/
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -46,22 +46,22 @@ 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_582 nanoseconds.
Weight::from_ref_time(15_014_888 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(490 as u64).saturating_mul(z as u64))
// Minimum execution time: 15_384 nanoseconds.
Weight::from_ref_time(15_683_204 as u64)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(524 as u64).saturating_mul(z as u64))
}
// 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: 41_651 nanoseconds.
Weight::from_ref_time(34_224_425 as u64)
// Standard Error: 735
.saturating_add(Weight::from_ref_time(80_357 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64))
// Minimum execution time: 42_834 nanoseconds.
Weight::from_ref_time(35_781_153 as u64)
// Standard Error: 893
.saturating_add(Weight::from_ref_time(84_835 as u64).saturating_mul(s as u64))
// Standard Error: 8
.saturating_add(Weight::from_ref_time(1_524 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))
}
@@ -69,12 +69,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// 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: 31_520 nanoseconds.
Weight::from_ref_time(24_283_932 as u64)
// Standard Error: 615
.saturating_add(Weight::from_ref_time(80_034 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_490 as u64).saturating_mul(z as u64))
// Minimum execution time: 33_681 nanoseconds.
Weight::from_ref_time(25_962_089 as u64)
// Standard Error: 580
.saturating_add(Weight::from_ref_time(82_734 as u64).saturating_mul(s as u64))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_524 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))
}
@@ -83,12 +83,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// 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: 44_639 nanoseconds.
Weight::from_ref_time(35_788_014 as u64)
// Standard Error: 655
.saturating_add(Weight::from_ref_time(103_738 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_480 as u64).saturating_mul(z as u64))
// Minimum execution time: 46_485 nanoseconds.
Weight::from_ref_time(37_568_729 as u64)
// Standard Error: 581
.saturating_add(Weight::from_ref_time(95_323 as u64).saturating_mul(s as u64))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_560 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))
}
@@ -96,30 +96,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// 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: 30_092 nanoseconds.
Weight::from_ref_time(32_588_553 as u64)
// Standard Error: 1_203
.saturating_add(Weight::from_ref_time(88_907 as u64).saturating_mul(s as u64))
// Minimum execution time: 31_398 nanoseconds.
Weight::from_ref_time(34_097_049 as u64)
// Standard Error: 1_108
.saturating_add(Weight::from_ref_time(92_698 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))
}
// 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: 21_743 nanoseconds.
Weight::from_ref_time(23_807_430 as u64)
// Standard Error: 828
.saturating_add(Weight::from_ref_time(75_548 as u64).saturating_mul(s as u64))
// Minimum execution time: 22_448 nanoseconds.
Weight::from_ref_time(24_513_833 as u64)
// Standard Error: 869
.saturating_add(Weight::from_ref_time(83_825 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))
}
// 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: 29_786 nanoseconds.
Weight::from_ref_time(32_090_251 as u64)
// Standard Error: 904
.saturating_add(Weight::from_ref_time(84_395 as u64).saturating_mul(s as u64))
// Minimum execution time: 32_022 nanoseconds.
Weight::from_ref_time(33_953_466 as u64)
// Standard Error: 951
.saturating_add(Weight::from_ref_time(83_819 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))
}
@@ -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-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -48,9 +48,10 @@ 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 {
Weight::from_ref_time(29_017_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_113 as u64).saturating_mul(s as u64))
// Minimum execution time: 30_460 nanoseconds.
Weight::from_ref_time(30_792_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_316 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))
}
@@ -58,9 +59,10 @@ 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_requested_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(19_793_000 as u64)
// Minimum execution time: 21_455 nanoseconds.
Weight::from_ref_time(21_546_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(2_319 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))
}
@@ -68,66 +70,76 @@ 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_no_deposit_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(18_854_000 as u64)
// Minimum execution time: 19_753 nanoseconds.
Weight::from_ref_time(20_023_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(2_316 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))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_preimage() -> Weight {
Weight::from_ref_time(38_886_000 as u64)
// Minimum execution time: 40_762 nanoseconds.
Weight::from_ref_time(41_809_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_no_deposit_preimage() -> Weight {
Weight::from_ref_time(27_017_000 as u64)
// Minimum execution time: 28_346 nanoseconds.
Weight::from_ref_time(29_180_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_preimage() -> Weight {
Weight::from_ref_time(25_041_000 as u64)
// Minimum execution time: 26_524 nanoseconds.
Weight::from_ref_time(28_080_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_no_deposit_preimage() -> Weight {
Weight::from_ref_time(13_933_000 as u64)
// Minimum execution time: 13_976 nanoseconds.
Weight::from_ref_time(14_955_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_unnoted_preimage() -> Weight {
Weight::from_ref_time(17_760_000 as u64)
// Minimum execution time: 18_310 nanoseconds.
Weight::from_ref_time(19_036_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_requested_preimage() -> Weight {
Weight::from_ref_time(8_816_000 as u64)
// Minimum execution time: 9_617 nanoseconds.
Weight::from_ref_time(9_815_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unrequest_preimage() -> Weight {
Weight::from_ref_time(25_068_000 as u64)
// Minimum execution time: 26_975 nanoseconds.
Weight::from_ref_time(28_077_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_unnoted_preimage() -> Weight {
Weight::from_ref_time(8_917_000 as u64)
// Minimum execution time: 9_407 nanoseconds.
Weight::from_ref_time(9_773_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_multi_referenced_preimage() -> Weight {
Weight::from_ref_time(8_915_000 as u64)
// Minimum execution time: 9_423 nanoseconds.
Weight::from_ref_time(9_784_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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_proxy`.
@@ -47,9 +47,10 @@ 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 {
Weight::from_ref_time(20_533_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 20_385 nanoseconds.
Weight::from_ref_time(22_155_487 as u64)
// Standard Error: 3_113
.saturating_add(Weight::from_ref_time(30_563 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -58,11 +59,12 @@ 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 {
Weight::from_ref_time(37_599_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 39_432 nanoseconds.
Weight::from_ref_time(39_415_733 as u64)
// Standard Error: 1_929
.saturating_add(Weight::from_ref_time(107_318 as u64).saturating_mul(a as u64))
// Standard Error: 1_993
.saturating_add(Weight::from_ref_time(25_511 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))
}
@@ -71,11 +73,12 @@ 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 remove_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(26_459_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 27_050 nanoseconds.
Weight::from_ref_time(28_070_798 as u64)
// Standard Error: 1_705
.saturating_add(Weight::from_ref_time(113_162 as u64).saturating_mul(a as u64))
// Standard Error: 1_762
.saturating_add(Weight::from_ref_time(12_446 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))
}
@@ -83,12 +86,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// 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 {
Weight::from_ref_time(26_557_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(14_000 as u64).saturating_mul(p as u64))
fn reject_announcement(a: u32, _p: u32, ) -> Weight {
// Minimum execution time: 27_248 nanoseconds.
Weight::from_ref_time(28_158_710 as u64)
// Standard Error: 1_623
.saturating_add(Weight::from_ref_time(115_623 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))
}
@@ -98,38 +100,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 announce(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(34_189_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 35_207 nanoseconds.
Weight::from_ref_time(36_385_483 as u64)
// Standard Error: 1_995
.saturating_add(Weight::from_ref_time(111_408 as u64).saturating_mul(a as u64))
// Standard Error: 2_062
.saturating_add(Weight::from_ref_time(25_567 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))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(28_228_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(65_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 28_888 nanoseconds.
Weight::from_ref_time(30_278_512 as u64)
// Standard Error: 1_804
.saturating_add(Weight::from_ref_time(67_673 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))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(28_161_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 28_480 nanoseconds.
Weight::from_ref_time(30_044_474 as u64)
// Standard Error: 2_395
.saturating_add(Weight::from_ref_time(85_827 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))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
Weight::from_ref_time(24_391_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 25_720 nanoseconds.
Weight::from_ref_time(26_609_505 as u64)
// Standard Error: 1_628
.saturating_add(Weight::from_ref_time(35_399 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))
}
@@ -137,18 +143,20 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
Weight::from_ref_time(30_191_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_956 nanoseconds.
Weight::from_ref_time(33_261_390 as u64)
// Standard Error: 2_137
.saturating_add(Weight::from_ref_time(27_969 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))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
Weight::from_ref_time(25_957_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 26_985 nanoseconds.
Weight::from_ref_time(27_622_324 as u64)
// Standard Error: 1_578
.saturating_add(Weight::from_ref_time(46_357 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))
}
@@ -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-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -46,55 +46,61 @@ 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 {
Weight::from_ref_time(4_700_000 as u64)
// Minimum execution time: 5_124 nanoseconds.
Weight::from_ref_time(5_271_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight {
Weight::from_ref_time(3_868_000 as u64)
// Standard Error: 2_747
.saturating_add(Weight::from_ref_time(629_992 as u64).saturating_mul(s as u64))
// Minimum execution time: 4_528 nanoseconds.
Weight::from_ref_time(7_937_018 as u64)
// Standard Error: 2_323
.saturating_add(Weight::from_ref_time(545_673 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))
}
fn service_task_base() -> Weight {
Weight::from_ref_time(12_316_000 as u64)
// Minimum execution time: 9_413 nanoseconds.
Weight::from_ref_time(9_664_000 as u64)
}
// 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 {
Weight::from_ref_time(24_103_000 as u64)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_154 as u64).saturating_mul(s as u64))
// Minimum execution time: 21_974 nanoseconds.
Weight::from_ref_time(22_234_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_247 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))
}
// Storage: Scheduler Lookup (r:0 w:1)
fn service_task_named() -> Weight {
Weight::from_ref_time(13_408_000 as u64)
// Minimum execution time: 10_371 nanoseconds.
Weight::from_ref_time(10_726_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Scheduler Agenda (r:1 w:1)
fn service_task_periodic() -> Weight {
Weight::from_ref_time(19_302_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 9_409 nanoseconds.
Weight::from_ref_time(9_630_000 as u64)
}
fn execute_dispatch_signed() -> Weight {
Weight::from_ref_time(3_885_000 as u64)
// Minimum execution time: 4_306 nanoseconds.
Weight::from_ref_time(4_607_000 as u64)
}
fn execute_dispatch_unsigned() -> Weight {
Weight::from_ref_time(4_037_000 as u64)
// Minimum execution time: 4_322 nanoseconds.
Weight::from_ref_time(4_513_000 as u64)
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight {
Weight::from_ref_time(16_768_000 as u64)
// Standard Error: 3_650
.saturating_add(Weight::from_ref_time(667_428 as u64).saturating_mul(s as u64))
// Minimum execution time: 17_395 nanoseconds.
Weight::from_ref_time(21_512_944 as u64)
// Standard Error: 2_371
.saturating_add(Weight::from_ref_time(573_170 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))
}
@@ -102,9 +108,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Storage: Scheduler Lookup (r:0 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel(s: u32, ) -> Weight {
Weight::from_ref_time(19_239_000 as u64)
// Standard Error: 1_456
.saturating_add(Weight::from_ref_time(578_125 as u64).saturating_mul(s as u64))
// Minimum execution time: 19_648 nanoseconds.
Weight::from_ref_time(21_662_022 as u64)
// Standard Error: 2_132
.saturating_add(Weight::from_ref_time(564_135 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))
}
@@ -112,9 +119,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule_named(s: u32, ) -> Weight {
Weight::from_ref_time(19_065_000 as u64)
// Standard Error: 4_027
.saturating_add(Weight::from_ref_time(719_766 as u64).saturating_mul(s as u64))
// Minimum execution time: 19_791 nanoseconds.
Weight::from_ref_time(25_057_099 as u64)
// Standard Error: 3_443
.saturating_add(Weight::from_ref_time(593_725 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))
}
@@ -122,9 +130,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel_named(s: u32, ) -> Weight {
Weight::from_ref_time(20_039_000 as u64)
// Standard Error: 2_179
.saturating_add(Weight::from_ref_time(627_335 as u64).saturating_mul(s as u64))
// Minimum execution time: 20_923 nanoseconds.
Weight::from_ref_time(23_562_860 as u64)
// Standard Error: 2_306
.saturating_add(Weight::from_ref_time(582_170 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))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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_timestamp`.
@@ -47,11 +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 {
Weight::from_ref_time(9_814_000 as u64)
// Minimum execution time: 9_895 nanoseconds.
Weight::from_ref_time(10_121_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
fn on_finalize() -> Weight {
Weight::from_ref_time(3_846_000 as u64)
// Minimum execution time: 4_368 nanoseconds.
Weight::from_ref_time(4_472_000 as u64)
}
}
@@ -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-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/pallet_tips.rs
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -48,16 +48,18 @@ 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 {
Weight::from_ref_time(28_045_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
// Minimum execution time: 29_347 nanoseconds.
Weight::from_ref_time(31_426_849 as u64)
// Standard Error: 11
.saturating_add(Weight::from_ref_time(1_804 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))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
fn retract_tip() -> Weight {
Weight::from_ref_time(26_017_000 as u64)
// Minimum execution time: 29_249 nanoseconds.
Weight::from_ref_time(30_138_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -67,11 +69,12 @@ 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 {
Weight::from_ref_time(19_125_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(t as u64))
// Minimum execution time: 23_208 nanoseconds.
Weight::from_ref_time(21_294_796 as u64)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_694 as u64).saturating_mul(r as u64))
// Standard Error: 6_779
.saturating_add(Weight::from_ref_time(186_533 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))
}
@@ -79,9 +82,10 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
// Storage: Tips Tips (r:1 w:1)
/// The range of component `t` is `[1, 19]`.
fn tip(t: u32, ) -> Weight {
Weight::from_ref_time(10_895_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(t as u64))
// Minimum execution time: 15_412 nanoseconds.
Weight::from_ref_time(15_839_203 as u64)
// Standard Error: 1_743
.saturating_add(Weight::from_ref_time(146_279 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))
}
@@ -91,9 +95,10 @@ 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 {
Weight::from_ref_time(42_301_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(154_000 as u64).saturating_mul(t as u64))
// Minimum execution time: 45_039 nanoseconds.
Weight::from_ref_time(46_836_640 as u64)
// Standard Error: 5_083
.saturating_add(Weight::from_ref_time(157_368 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))
}
@@ -101,9 +106,10 @@ 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 slash_tip(t: u32, ) -> Weight {
Weight::from_ref_time(16_548_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(t as u64))
// Minimum execution time: 19_057 nanoseconds.
Weight::from_ref_time(19_894_265 as u64)
// Standard Error: 1_867
.saturating_add(Weight::from_ref_time(36_854 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))
}
@@ -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-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/pallet_treasury.rs
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -45,19 +45,22 @@ 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 {
Weight::from_ref_time(153_000 as u64)
// Minimum execution time: 165 nanoseconds.
Weight::from_ref_time(203_000 as u64)
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn propose_spend() -> Weight {
Weight::from_ref_time(25_149_000 as u64)
// Minimum execution time: 27_032 nanoseconds.
Weight::from_ref_time(27_706_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_proposal() -> Weight {
Weight::from_ref_time(35_748_000 as u64)
// Minimum execution time: 38_448 nanoseconds.
Weight::from_ref_time(39_295_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -65,15 +68,17 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Storage: Treasury Approvals (r:1 w:1)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(10_082_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 10_432 nanoseconds.
Weight::from_ref_time(14_012_693 as u64)
// Standard Error: 1_132
.saturating_add(Weight::from_ref_time(39_879 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))
}
// Storage: Treasury Approvals (r:1 w:1)
fn remove_approval() -> Weight {
Weight::from_ref_time(5_612_000 as u64)
// Minimum execution time: 8_743 nanoseconds.
Weight::from_ref_time(9_030_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -83,9 +88,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Storage: Treasury Proposals (r:2 w:2)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
Weight::from_ref_time(36_270_000 as u64)
// Standard Error: 32_000
.saturating_add(Weight::from_ref_time(30_142_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 49_888 nanoseconds.
Weight::from_ref_time(52_406_081 as u64)
// Standard Error: 17_219
.saturating_add(Weight::from_ref_time(24_168_774 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))
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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_utility`.
@@ -46,26 +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 {
Weight::from_ref_time(12_812_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(3_415_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_953 nanoseconds.
Weight::from_ref_time(18_308_318 as u64)
// Standard Error: 2_253
.saturating_add(Weight::from_ref_time(3_495_583 as u64).saturating_mul(c as u64))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(6_175_000 as u64)
// Minimum execution time: 6_311 nanoseconds.
Weight::from_ref_time(6_502_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(18_462_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_555_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_914 nanoseconds.
Weight::from_ref_time(17_184_352 as u64)
// Standard Error: 2_365
.saturating_add(Weight::from_ref_time(3_634_964 as u64).saturating_mul(c as u64))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(13_444_000 as u64)
// Minimum execution time: 14_094 nanoseconds.
Weight::from_ref_time(14_446_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(18_937_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(3_433_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 11_647 nanoseconds.
Weight::from_ref_time(21_034_042 as u64)
// Standard Error: 2_136
.saturating_add(Weight::from_ref_time(3_488_991 as u64).saturating_mul(c as u64))
}
}
@@ -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-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/pallet_vesting.rs
// --output=./runtime/rococo/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -49,11 +49,12 @@ 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 {
Weight::from_ref_time(29_030_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 38_341 nanoseconds.
Weight::from_ref_time(37_801_522 as u64)
// Standard Error: 1_586
.saturating_add(Weight::from_ref_time(32_423 as u64).saturating_mul(l as u64))
// Standard Error: 2_823
.saturating_add(Weight::from_ref_time(69_168 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))
}
@@ -62,11 +63,12 @@ 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_unlocked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_535_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(l as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_958 nanoseconds.
Weight::from_ref_time(37_872_302 as u64)
// Standard Error: 1_146
.saturating_add(Weight::from_ref_time(33_653 as u64).saturating_mul(l as u64))
// Standard Error: 2_040
.saturating_add(Weight::from_ref_time(47_119 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))
}
@@ -76,11 +78,12 @@ 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 {
Weight::from_ref_time(29_237_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_559 nanoseconds.
Weight::from_ref_time(36_681_424 as u64)
// Standard Error: 1_195
.saturating_add(Weight::from_ref_time(44_728 as u64).saturating_mul(l as u64))
// Standard Error: 2_127
.saturating_add(Weight::from_ref_time(80_573 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))
}
@@ -90,11 +93,12 @@ 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 {
Weight::from_ref_time(29_750_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(l as u64))
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_544 nanoseconds.
Weight::from_ref_time(37_721_468 as u64)
// Standard Error: 1_095
.saturating_add(Weight::from_ref_time(32_382 as u64).saturating_mul(l as u64))
// Standard Error: 1_949
.saturating_add(Weight::from_ref_time(33_071 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))
}
@@ -104,11 +108,12 @@ 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 {
Weight::from_ref_time(44_092_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(l as u64))
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 51_775 nanoseconds.
Weight::from_ref_time(51_992_075 as u64)
// Standard Error: 1_826
.saturating_add(Weight::from_ref_time(37_262 as u64).saturating_mul(l as u64))
// Standard Error: 3_249
.saturating_add(Weight::from_ref_time(37_648 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))
}
@@ -118,11 +123,12 @@ 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 {
Weight::from_ref_time(44_003_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(l as u64))
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(119_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 50_985 nanoseconds.
Weight::from_ref_time(51_452_925 as u64)
// Standard Error: 1_987
.saturating_add(Weight::from_ref_time(43_075 as u64).saturating_mul(l as u64))
// Standard Error: 3_535
.saturating_add(Weight::from_ref_time(27_901 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))
}
@@ -132,11 +138,12 @@ 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 {
Weight::from_ref_time(29_853_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(l as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(153_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 39_288 nanoseconds.
Weight::from_ref_time(38_933_285 as u64)
// Standard Error: 1_173
.saturating_add(Weight::from_ref_time(43_260 as u64).saturating_mul(l as u64))
// Standard Error: 2_167
.saturating_add(Weight::from_ref_time(54_585 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))
}
@@ -146,11 +153,12 @@ 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 {
Weight::from_ref_time(29_466_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(l as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 39_035 nanoseconds.
Weight::from_ref_time(38_181_254 as u64)
// Standard Error: 1_170
.saturating_add(Weight::from_ref_time(48_328 as u64).saturating_mul(l as u64))
// Standard Error: 2_161
.saturating_add(Weight::from_ref_time(76_489 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))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_common::auctions`.
@@ -47,7 +47,8 @@ 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 {
Weight::from_ref_time(16_735_000 as u64)
// Minimum execution time: 17_416 nanoseconds.
Weight::from_ref_time(18_096_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -59,7 +60,8 @@ 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 {
Weight::from_ref_time(71_032_000 as u64)
// Minimum execution time: 72_229 nanoseconds.
Weight::from_ref_time(73_919_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -67,26 +69,28 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
// Storage: Babe NextRandomness (r:1 w:0)
// Storage: Babe EpochStart (r:1 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
// Storage: Auctions Winning (r:600 w:600)
// Storage: Auctions Winning (r:3600 w:3600)
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Slots Leases (r:7 w:7)
// Storage: Slots Leases (r:2 w:2)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
fn on_initialize() -> Weight {
Weight::from_ref_time(2_877_003_000 as u64)
.saturating_add(T::DbWeight::get().reads(688 as u64))
.saturating_add(T::DbWeight::get().writes(683 as u64))
// Minimum execution time: 15_470_596 nanoseconds.
Weight::from_ref_time(15_820_292_000 as u64)
.saturating_add(T::DbWeight::get().reads(3683 as u64))
.saturating_add(T::DbWeight::get().writes(3678 as u64))
}
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Auctions Winning (r:0 w:600)
// Storage: Auctions Winning (r:0 w:3600)
// Storage: Auctions AuctionInfo (r:0 w:1)
fn cancel_auction() -> Weight {
Weight::from_ref_time(1_167_630_000 as u64)
// Minimum execution time: 4_725_156 nanoseconds.
Weight::from_ref_time(4_776_126_000 as u64)
.saturating_add(T::DbWeight::get().reads(73 as u64))
.saturating_add(T::DbWeight::get().writes(673 as u64))
.saturating_add(T::DbWeight::get().writes(3673 as u64))
}
}
@@ -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-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -52,7 +52,8 @@ 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 {
Weight::from_ref_time(139_399_000 as u64)
// Minimum execution time: 141_490 nanoseconds.
Weight::from_ref_time(143_346_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -61,7 +62,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: Claims Claims (r:0 w:1)
// Storage: Claims Signing (r:0 w:1)
fn mint_claim() -> Weight {
Weight::from_ref_time(9_284_000 as u64)
// Minimum execution time: 11_578 nanoseconds.
Weight::from_ref_time(12_009_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -73,7 +75,8 @@ 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 {
Weight::from_ref_time(143_329_000 as u64)
// Minimum execution time: 145_783 nanoseconds.
Weight::from_ref_time(147_533_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -86,7 +89,8 @@ 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 {
Weight::from_ref_time(63_456_000 as u64)
// Minimum execution time: 66_536 nanoseconds.
Weight::from_ref_time(68_172_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
@@ -95,7 +99,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
// Storage: Claims Signing (r:1 w:2)
// Storage: Claims Preclaims (r:1 w:1)
fn move_claim() -> Weight {
Weight::from_ref_time(19_434_000 as u64)
// Minimum execution time: 21_997 nanoseconds.
Weight::from_ref_time(22_443_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_common::crowdloan`.
@@ -49,7 +49,8 @@ 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 {
Weight::from_ref_time(48_864_000 as u64)
// Minimum execution time: 47_458 nanoseconds.
Weight::from_ref_time(48_284_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -61,7 +62,8 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn contribute() -> Weight {
Weight::from_ref_time(117_031_000 as u64)
// Minimum execution time: 115_881 nanoseconds.
Weight::from_ref_time(117_274_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -69,16 +71,18 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: System Account (r:2 w:2)
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
fn withdraw() -> Weight {
Weight::from_ref_time(54_273_000 as u64)
// Minimum execution time: 54_993 nanoseconds.
Weight::from_ref_time(56_432_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `k` is `[0, 500]`.
/// The range of component `k` is `[0, 1000]`.
fn refund(k: u32, ) -> Weight {
Weight::from_ref_time(6_907_000 as u64)
// Standard Error: 12_000
.saturating_add(Weight::from_ref_time(17_220_000 as u64).saturating_mul(k as u64))
// Minimum execution time: 48_376 nanoseconds.
Weight::from_ref_time(62_706_000 as u64)
// Standard Error: 13_183
.saturating_add(Weight::from_ref_time(17_803_069 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))
@@ -87,27 +91,31 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn dissolve() -> Weight {
Weight::from_ref_time(35_254_000 as u64)
// Minimum execution time: 36_619 nanoseconds.
Weight::from_ref_time(37_672_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Crowdloan Funds (r:1 w:1)
fn edit() -> Weight {
Weight::from_ref_time(24_432_000 as u64)
// Minimum execution time: 24_847 nanoseconds.
Weight::from_ref_time(25_990_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn add_memo() -> Weight {
Weight::from_ref_time(30_987_000 as u64)
// Minimum execution time: 33_113 nanoseconds.
Weight::from_ref_time(33_692_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
fn poke() -> Weight {
Weight::from_ref_time(25_181_000 as u64)
// Minimum execution time: 25_008 nanoseconds.
Weight::from_ref_time(25_759_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -123,9 +131,10 @@ 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 {
Weight::from_ref_time(18_891_000 as u64)
// Standard Error: 36_000
.saturating_add(Weight::from_ref_time(39_465_000 as u64).saturating_mul(n as u64))
// Minimum execution time: 101_679 nanoseconds.
Weight::from_ref_time(9_820_927 as u64)
// Standard Error: 31_621
.saturating_add(Weight::from_ref_time(40_221_451 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))
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_common::paras_registrar`.
@@ -48,7 +48,8 @@ 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 {
Weight::from_ref_time(31_235_000 as u64)
// Minimum execution time: 31_954 nanoseconds.
Weight::from_ref_time(32_827_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -63,7 +64,8 @@ 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 {
Weight::from_ref_time(8_138_589_000 as u64)
// Minimum execution time: 7_424_164 nanoseconds.
Weight::from_ref_time(7_467_965_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
@@ -78,7 +80,8 @@ 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 {
Weight::from_ref_time(8_105_111_000 as u64)
// Minimum execution time: 7_388_087 nanoseconds.
Weight::from_ref_time(7_440_577_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
@@ -89,7 +92,8 @@ 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 {
Weight::from_ref_time(50_153_000 as u64)
// Minimum execution time: 49_786 nanoseconds.
Weight::from_ref_time(51_246_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -101,11 +105,14 @@ 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 {
Weight::from_ref_time(44_912_000 as u64)
// Minimum execution time: 44_651 nanoseconds.
Weight::from_ref_time(46_029_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Paras CurrentCodeHash (r:1 w:0)
// Storage: Paras UpgradeCooldowns (r:1 w:1)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
@@ -114,19 +121,22 @@ impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for We
// Storage: System Digest (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// The range of component `b` is `[1, 3145728]`.
fn schedule_code_upgrade(b: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
// Minimum execution time: 41_572 nanoseconds.
Weight::from_ref_time(41_959_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_308 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))
}
// Storage: Paras Heads (r:0 w:1)
/// The range of component `b` is `[1, 1048576]`.
fn set_current_head(b: u32, ) -> Weight {
Weight::from_ref_time(5_494_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
// Minimum execution time: 13_501 nanoseconds.
Weight::from_ref_time(13_655_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(903 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_common::slots`.
@@ -47,7 +47,8 @@ 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 {
Weight::from_ref_time(30_562_000 as u64)
// Minimum execution time: 30_856 nanoseconds.
Weight::from_ref_time(31_310_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -60,11 +61,12 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
/// The range of component `c` is `[1, 100]`.
/// The range of component `t` is `[1, 100]`.
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 23_000
.saturating_add(Weight::from_ref_time(6_071_000 as u64).saturating_mul(c as u64))
// Standard Error: 23_000
.saturating_add(Weight::from_ref_time(15_667_000 as u64).saturating_mul(t as u64))
// Minimum execution time: 568_013 nanoseconds.
Weight::from_ref_time(571_084_000 as u64)
// Standard Error: 70_451
.saturating_add(Weight::from_ref_time(2_049_624 as u64).saturating_mul(c as u64))
// Standard Error: 70_451
.saturating_add(Weight::from_ref_time(12_021_692 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)))
@@ -75,7 +77,8 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:8 w:8)
fn clear_all_leases() -> Weight {
Weight::from_ref_time(92_497_000 as u64)
// Minimum execution time: 93_285 nanoseconds.
Weight::from_ref_time(94_547_000 as u64)
.saturating_add(T::DbWeight::get().reads(9 as u64))
.saturating_add(T::DbWeight::get().writes(9 as u64))
}
@@ -85,7 +88,8 @@ 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 {
Weight::from_ref_time(29_439_000 as u64)
// Minimum execution time: 29_974 nanoseconds.
Weight::from_ref_time(30_875_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_parachains::configuration`.
@@ -49,7 +49,8 @@ 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 {
Weight::from_ref_time(12_392_000 as u64)
// Minimum execution time: 12_888 nanoseconds.
Weight::from_ref_time(13_364_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -58,7 +59,8 @@ 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_u32() -> Weight {
Weight::from_ref_time(11_753_000 as u64)
// Minimum execution time: 12_480 nanoseconds.
Weight::from_ref_time(12_877_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -67,7 +69,8 @@ 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_option_u32() -> Weight {
Weight::from_ref_time(11_682_000 as u64)
// Minimum execution time: 12_415 nanoseconds.
Weight::from_ref_time(12_679_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -76,12 +79,14 @@ 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_weight() -> Weight {
Weight::from_ref_time(12_019_000 as u64)
// Minimum execution time: 12_662 nanoseconds.
Weight::from_ref_time(12_963_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// 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)
}
// Storage: Configuration PendingConfigs (r:1 w:1)
@@ -89,7 +94,8 @@ 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_balance() -> Weight {
Weight::from_ref_time(12_097_000 as u64)
// Minimum execution time: 12_757 nanoseconds.
Weight::from_ref_time(13_102_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_parachains::disputes`.
@@ -46,7 +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 {
Weight::from_ref_time(4_507_000 as u64)
// Minimum execution time: 4_616 nanoseconds.
Weight::from_ref_time(4_769_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_parachains::hrmp`.
@@ -54,7 +54,8 @@ 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 {
Weight::from_ref_time(40_520_000 as u64)
// Minimum execution time: 40_837 nanoseconds.
Weight::from_ref_time(41_080_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -66,7 +67,8 @@ 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 {
Weight::from_ref_time(39_646_000 as u64)
// Minimum execution time: 41_440 nanoseconds.
Weight::from_ref_time(41_921_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -77,7 +79,8 @@ 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 {
Weight::from_ref_time(36_691_000 as u64)
// Minimum execution time: 37_947 nanoseconds.
Weight::from_ref_time(38_595_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -90,11 +93,12 @@ 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 {
Weight::from_ref_time(0 as u64)
// Standard Error: 16_000
.saturating_add(Weight::from_ref_time(7_248_000 as u64).saturating_mul(i as u64))
// Standard Error: 16_000
.saturating_add(Weight::from_ref_time(7_311_000 as u64).saturating_mul(e as u64))
// Minimum execution time: 863_345 nanoseconds.
Weight::from_ref_time(867_570_000 as u64)
// Standard Error: 78_508
.saturating_add(Weight::from_ref_time(2_631_961 as u64).saturating_mul(i as u64))
// Standard Error: 78_508
.saturating_add(Weight::from_ref_time(2_704_438 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)))
@@ -113,9 +117,10 @@ 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 {
Weight::from_ref_time(0 as u64)
// Standard Error: 19_000
.saturating_add(Weight::from_ref_time(15_783_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 10_285 nanoseconds.
Weight::from_ref_time(1_111_560 as u64)
// Standard Error: 13_840
.saturating_add(Weight::from_ref_time(15_680_777 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))
@@ -129,9 +134,10 @@ 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 {
Weight::from_ref_time(0 as u64)
// Standard Error: 12_000
.saturating_add(Weight::from_ref_time(9_624_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 6_692 nanoseconds.
Weight::from_ref_time(856_761 as u64)
// Standard Error: 10_461
.saturating_add(Weight::from_ref_time(9_555_420 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))
@@ -142,9 +148,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// The range of component `c` is `[0, 128]`.
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
Weight::from_ref_time(30_548_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 25_435 nanoseconds.
Weight::from_ref_time(31_235_891 as u64)
// Standard Error: 1_321
.saturating_add(Weight::from_ref_time(90_605 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))
}
@@ -152,15 +159,17 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
/// The range of component `c` is `[0, 128]`.
fn clean_open_channel_requests(c: u32, ) -> Weight {
Weight::from_ref_time(1_732_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_574_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 4_826 nanoseconds.
Weight::from_ref_time(3_062_277 as u64)
// Standard Error: 3_603
.saturating_add(Weight::from_ref_time(2_569_729 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)))
}
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
@@ -171,8 +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 {
Weight::from_ref_time(104_771_000 as u64)
.saturating_add(T::DbWeight::get().reads(13 as u64))
// Minimum execution time: 51_572 nanoseconds.
Weight::from_ref_time(52_378_000 as u64)
.saturating_add(T::DbWeight::get().reads(14 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
}
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_parachains::initializer`.
@@ -47,9 +47,10 @@ 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 {
Weight::from_ref_time(10_731_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64))
// Minimum execution time: 8_142 nanoseconds.
Weight::from_ref_time(10_136_698 as u64)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_311 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))
}
@@ -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-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_parachains::paras`.
@@ -52,18 +52,20 @@ 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 {
Weight::from_ref_time(0 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 35_041 nanoseconds.
Weight::from_ref_time(35_497_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_295 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))
}
// Storage: Paras Heads (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_set_current_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 13_370 nanoseconds.
Weight::from_ref_time(13_609_000 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(903 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
@@ -79,9 +81,10 @@ 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 {
Weight::from_ref_time(0 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 59_941 nanoseconds.
Weight::from_ref_time(60_494_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_326 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))
}
@@ -90,16 +93,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_note_new_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 18_772 nanoseconds.
Weight::from_ref_time(18_957_000 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(904 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))
}
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
fn force_queue_action() -> Weight {
Weight::from_ref_time(24_187_000 as u64)
// Minimum execution time: 24_940 nanoseconds.
Weight::from_ref_time(25_445_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -107,16 +112,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras CodeByHash (r:1 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn add_trusted_validation_code(c: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 8_856 nanoseconds.
Weight::from_ref_time(8_978_000 as u64)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_303 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))
}
// Storage: Paras CodeByHashRefs (r:1 w:0)
// Storage: Paras CodeByHash (r:0 w:1)
fn poke_unused_validation_code() -> Weight {
Weight::from_ref_time(7_273_000 as u64)
// Minimum execution time: 7_165 nanoseconds.
Weight::from_ref_time(7_398_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -125,7 +132,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
fn include_pvf_check_statement() -> Weight {
Weight::from_ref_time(96_047_000 as u64)
// Minimum execution time: 93_512 nanoseconds.
Weight::from_ref_time(97_654_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -138,7 +146,8 @@ 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 {
Weight::from_ref_time(630_640_000 as u64)
// Minimum execution time: 635_584 nanoseconds.
Weight::from_ref_time(644_490_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(104 as u64))
}
@@ -152,7 +161,8 @@ 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 {
Weight::from_ref_time(599_325_000 as u64)
// Minimum execution time: 599_005 nanoseconds.
Weight::from_ref_time(603_141_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(204 as u64))
}
@@ -163,7 +173,8 @@ 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 {
Weight::from_ref_time(505_499_000 as u64)
// Minimum execution time: 501_883 nanoseconds.
Weight::from_ref_time(505_926_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -178,7 +189,8 @@ 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 {
Weight::from_ref_time(668_669_000 as u64)
// Minimum execution time: 661_757 nanoseconds.
Weight::from_ref_time(669_986_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(304 as u64))
}
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::ump`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-16, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -38,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 `runtime_parachains::ump`.
@@ -46,22 +46,25 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 51200]`.
fn process_upward_message(s: u32, ) -> Weight {
Weight::from_ref_time(4_190_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
// Minimum execution time: 10_433 nanoseconds.
Weight::from_ref_time(6_809_084 as u64)
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_973 as u64).saturating_mul(s as u64))
}
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: Ump RelayDispatchQueues (r:0 w:1)
// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
fn clean_ump_after_outgoing() -> Weight {
Weight::from_ref_time(8_658_000 as u64)
// Minimum execution time: 8_932 nanoseconds.
Weight::from_ref_time(9_171_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Ump Overweight (r:1 w:1)
fn service_overweight() -> Weight {
Weight::from_ref_time(24_318_000 as u64)
// Minimum execution time: 25_129 nanoseconds.
Weight::from_ref_time(25_441_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}