[benchmarks] pr with weights (#1857)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
Paritytech CI
2022-11-11 10:38:29 +01:00
committed by GitHub
parent 6abd385ce4
commit abe4de3799
9 changed files with 333 additions and 236 deletions
@@ -17,7 +17,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -47,44 +47,52 @@ use sp_std::marker::PhantomData;
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: 3_986 nanoseconds.
Weight::from_ref_time(4_150_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(411 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: 13_573 nanoseconds.
Weight::from_ref_time(13_750_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_495 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(5_069_000 as u64)
// Minimum execution time: 8_715 nanoseconds.
Weight::from_ref_time(9_111_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: 1_000
.saturating_add(Weight::from_ref_time(624_000 as u64).saturating_mul(i as u64))
// Minimum execution time: 4_152 nanoseconds.
Weight::from_ref_time(4_243_000 as u64)
// Standard Error: 813
.saturating_add(Weight::from_ref_time(642_493 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: 1_000
.saturating_add(Weight::from_ref_time(530_000 as u64).saturating_mul(i as u64))
// Minimum execution time: 4_182 nanoseconds.
Weight::from_ref_time(4_325_000 as u64)
// Standard Error: 1_070
.saturating_add(Weight::from_ref_time(557_187 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_059_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 5_669 nanoseconds.
Weight::from_ref_time(5_722_000 as u64)
// Standard Error: 1_384
.saturating_add(Weight::from_ref_time(1_165_138 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_alliance`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -55,10 +55,13 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
/// The range of component `x` is `[2, 10]`.
/// The range of component `y` is `[0, 90]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(_b: u32, _x: u32, _y: u32, p: u32, ) -> Weight {
Weight::from_ref_time(53_023_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(132_000 as u64).saturating_mul(p as u64))
fn propose_proposed(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
// Minimum execution time: 43_327 nanoseconds.
Weight::from_ref_time(47_831_441 as u64)
// Standard Error: 2_335
.saturating_add(Weight::from_ref_time(49_915 as u64).saturating_mul(y as u64))
// Standard Error: 2_131
.saturating_add(Weight::from_ref_time(167_914 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))
}
@@ -67,11 +70,12 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
/// The range of component `x` is `[3, 10]`.
/// The range of component `y` is `[2, 90]`.
fn vote(x: u32, y: u32, ) -> Weight {
Weight::from_ref_time(33_003_000 as u64)
// Standard Error: 106_000
.saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(x as u64))
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(y as u64))
// Minimum execution time: 46_818 nanoseconds.
Weight::from_ref_time(48_355_703 as u64)
// Standard Error: 38_083
.saturating_add(Weight::from_ref_time(199_036 as u64).saturating_mul(x as u64))
// Standard Error: 3_223
.saturating_add(Weight::from_ref_time(54_377 as u64).saturating_mul(y as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -81,9 +85,10 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
// Storage: AllianceMotion Voting (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
fn veto(p: u32, ) -> Weight {
Weight::from_ref_time(27_289_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_781 nanoseconds.
Weight::from_ref_time(37_103_051 as u64)
// Standard Error: 1_592
.saturating_add(Weight::from_ref_time(181_767 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))
}
@@ -96,13 +101,14 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
/// The range of component `y` is `[2, 90]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
Weight::from_ref_time(31_884_000 as u64)
// Standard Error: 72_000
.saturating_add(Weight::from_ref_time(358_000 as u64).saturating_mul(x as u64))
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(y as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 48_244 nanoseconds.
Weight::from_ref_time(47_895_181 as u64)
// Standard Error: 31_033
.saturating_add(Weight::from_ref_time(233_652 as u64).saturating_mul(x as u64))
// Standard Error: 3_023
.saturating_add(Weight::from_ref_time(34_551 as u64).saturating_mul(y as u64))
// Standard Error: 2_701
.saturating_add(Weight::from_ref_time(124_837 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))
}
@@ -116,15 +122,16 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
/// The range of component `y` is `[2, 90]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
Weight::from_ref_time(43_205_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
// Standard Error: 73_000
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(x as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(y as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 61_015 nanoseconds.
Weight::from_ref_time(57_149_992 as u64)
// Standard Error: 246
.saturating_add(Weight::from_ref_time(2_998 as u64).saturating_mul(b as u64))
// Standard Error: 29_174
.saturating_add(Weight::from_ref_time(14_515 as u64).saturating_mul(x as u64))
// Standard Error: 2_847
.saturating_add(Weight::from_ref_time(38_233 as u64).saturating_mul(y as u64))
// Standard Error: 2_543
.saturating_add(Weight::from_ref_time(174_542 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))
}
@@ -138,14 +145,13 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
/// The range of component `x` is `[2, 10]`.
/// The range of component `y` is `[2, 90]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
Weight::from_ref_time(49_769_000 as u64)
// Standard Error: 69_000
.saturating_add(Weight::from_ref_time(352_000 as u64).saturating_mul(x as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(y as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(p as u64))
fn close_disapproved(_x: u32, y: u32, p: u32, ) -> Weight {
// Minimum execution time: 67_605 nanoseconds.
Weight::from_ref_time(66_773_651 as u64)
// Standard Error: 3_250
.saturating_add(Weight::from_ref_time(58_552 as u64).saturating_mul(y as u64))
// Standard Error: 2_903
.saturating_add(Weight::from_ref_time(183_936 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -159,61 +165,93 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
/// The range of component `x` is `[2, 10]`.
/// The range of component `y` is `[2, 90]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
Weight::from_ref_time(40_901_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(y as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(p as u64))
fn close_approved(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
// Minimum execution time: 51_748 nanoseconds.
Weight::from_ref_time(48_865_836 as u64)
// Standard Error: 2_633
.saturating_add(Weight::from_ref_time(75_701 as u64).saturating_mul(y as u64))
// Standard Error: 2_351
.saturating_add(Weight::from_ref_time(194_721 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: Alliance Members (r:3 w:3)
// Storage: AllianceMotion Members (r:1 w:1)
/// The range of component `x` is `[2, 10]`.
/// The range of component `x` is `[1, 10]`.
/// The range of component `y` is `[0, 90]`.
/// The range of component `z` is `[0, 100]`.
fn init_members(_x: u32, y: u32, z: u32, ) -> Weight {
Weight::from_ref_time(39_647_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(y as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(116_000 as u64).saturating_mul(z as u64))
fn init_members(x: u32, y: u32, z: u32, ) -> Weight {
// Minimum execution time: 48_081 nanoseconds.
Weight::from_ref_time(31_894_957 as u64)
// Standard Error: 8_667
.saturating_add(Weight::from_ref_time(160_266 as u64).saturating_mul(x as u64))
// Standard Error: 917
.saturating_add(Weight::from_ref_time(186_970 as u64).saturating_mul(y as u64))
// Standard Error: 827
.saturating_add(Weight::from_ref_time(155_921 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Alliance Members (r:3 w:3)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: Alliance DepositOf (r:101 w:50)
// Storage: System Account (r:50 w:50)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
/// The range of component `x` is `[1, 100]`.
/// The range of component `y` is `[0, 100]`.
/// The range of component `z` is `[0, 50]`.
fn disband(x: u32, y: u32, z: u32, ) -> Weight {
// Minimum execution time: 256_705 nanoseconds.
Weight::from_ref_time(257_735_000 as u64)
// Standard Error: 20_427
.saturating_add(Weight::from_ref_time(442_424 as u64).saturating_mul(x as u64))
// Standard Error: 20_329
.saturating_add(Weight::from_ref_time(508_022 as u64).saturating_mul(y as u64))
// Standard Error: 40_620
.saturating_add(Weight::from_ref_time(9_490_608 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(y as u64)))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(z as u64)))
.saturating_add(T::DbWeight::get().writes(5 as u64))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(z as u64)))
}
// Storage: Alliance Rule (r:0 w:1)
fn set_rule() -> Weight {
Weight::from_ref_time(14_689_000 as u64)
// Minimum execution time: 19_171 nanoseconds.
Weight::from_ref_time(19_395_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Alliance Announcements (r:1 w:1)
fn announce() -> Weight {
Weight::from_ref_time(15_988_000 as u64)
// Minimum execution time: 21_640 nanoseconds.
Weight::from_ref_time(21_983_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Alliance Announcements (r:1 w:1)
fn remove_announcement() -> Weight {
Weight::from_ref_time(16_823_000 as u64)
// Minimum execution time: 23_224 nanoseconds.
Weight::from_ref_time(23_606_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
// Storage: Alliance Members (r:4 w:1)
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Alliance DepositOf (r:0 w:1)
fn join_alliance() -> Weight {
Weight::from_ref_time(46_340_000 as u64)
// Minimum execution time: 57_718 nanoseconds.
Weight::from_ref_time(58_601_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Alliance Members (r:4 w:1)
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
fn nominate_ally() -> Weight {
Weight::from_ref_time(36_225_000 as u64)
// Minimum execution time: 42_740 nanoseconds.
Weight::from_ref_time(44_169_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -222,57 +260,75 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
fn elevate_ally() -> Weight {
Weight::from_ref_time(30_236_000 as u64)
// Minimum execution time: 38_511 nanoseconds.
Weight::from_ref_time(39_563_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Alliance UpForKicking (r:1 w:0)
// Storage: Alliance Members (r:3 w:1)
// Storage: Alliance Members (r:4 w:2)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: Alliance DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
fn retire() -> Weight {
Weight::from_ref_time(44_311_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
// Storage: Alliance RetiringMembers (r:0 w:1)
fn give_retirement_notice() -> Weight {
// Minimum execution time: 41_316 nanoseconds.
Weight::from_ref_time(42_071_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Alliance RetiringMembers (r:1 w:1)
// Storage: Alliance Members (r:1 w:1)
// Storage: Alliance DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn retire() -> Weight {
// Minimum execution time: 45_235 nanoseconds.
Weight::from_ref_time(45_813_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Alliance Members (r:3 w:1)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: Alliance DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
// Storage: Alliance UpForKicking (r:0 w:1)
fn kick_member() -> Weight {
Weight::from_ref_time(46_112_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
// Minimum execution time: 123_722 nanoseconds.
Weight::from_ref_time(127_594_000 as u64)
.saturating_add(T::DbWeight::get().reads(13 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
}
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
/// The range of component `n` is `[1, 100]`.
/// The range of component `l` is `[1, 255]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `l` is `[0, 255]`.
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_300_000 as u64).saturating_mul(n as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(125_000 as u64).saturating_mul(l as u64))
// Minimum execution time: 17_548 nanoseconds.
Weight::from_ref_time(17_664_000 as u64)
// Standard Error: 2_843
.saturating_add(Weight::from_ref_time(1_306_867 as u64).saturating_mul(n as u64))
// Standard Error: 1_113
.saturating_add(Weight::from_ref_time(69_708 as u64).saturating_mul(l as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
/// The range of component `n` is `[1, 100]`.
/// The range of component `l` is `[1, 255]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `l` is `[0, 255]`.
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 197_000
.saturating_add(Weight::from_ref_time(34_156_000 as u64).saturating_mul(n as u64))
// Standard Error: 87_000
.saturating_add(Weight::from_ref_time(7_042_000 as u64).saturating_mul(l as u64))
// Minimum execution time: 17_220 nanoseconds.
Weight::from_ref_time(17_391_000 as u64)
// Standard Error: 177_554
.saturating_add(Weight::from_ref_time(13_714_190 as u64).saturating_mul(n as u64))
// Standard Error: 69_538
.saturating_add(Weight::from_ref_time(526_760 as u64).saturating_mul(l as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -48,43 +48,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(39_576_000 as u64)
// Minimum execution time: 47_430 nanoseconds.
Weight::from_ref_time(48_117_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(30_212_000 as u64)
// Minimum execution time: 35_634 nanoseconds.
Weight::from_ref_time(36_363_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(19_428_000 as u64)
// Minimum execution time: 26_905 nanoseconds.
Weight::from_ref_time(27_293_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(22_526_000 as u64)
// Minimum execution time: 30_211 nanoseconds.
Weight::from_ref_time(30_724_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(38_737_000 as u64)
// Minimum execution time: 47_361 nanoseconds.
Weight::from_ref_time(47_881_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(35_648_000 as u64)
// Minimum execution time: 41_548 nanoseconds.
Weight::from_ref_time(42_436_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(17_197_000 as u64)
// Minimum execution time: 22_925 nanoseconds.
Weight::from_ref_time(23_318_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_collator_selection`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -50,20 +50,23 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: CollatorSelection Invulnerables (r:0 w:1)
/// The range of component `b` is `[1, 100]`.
fn set_invulnerables(b: u32, ) -> Weight {
Weight::from_ref_time(7_128_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(3_105_000 as u64).saturating_mul(b as u64))
// Minimum execution time: 23_322 nanoseconds.
Weight::from_ref_time(24_348_106 as u64)
// Standard Error: 3_151
.saturating_add(Weight::from_ref_time(2_541_981 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
Weight::from_ref_time(7_922_000 as u64)
// Minimum execution time: 14_089 nanoseconds.
Weight::from_ref_time(14_453_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
Weight::from_ref_time(8_226_000 as u64)
// Minimum execution time: 14_560 nanoseconds.
Weight::from_ref_time(14_887_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
@@ -72,11 +75,12 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: Session NextKeys (r:1 w:0)
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// The range of component `c` is `[1, 1000]`.
/// The range of component `c` is `[1, 999]`.
fn register_as_candidate(c: u32, ) -> Weight {
Weight::from_ref_time(56_086_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 50_116 nanoseconds.
Weight::from_ref_time(64_624_914 as u64)
// Standard Error: 883
.saturating_add(Weight::from_ref_time(167_758 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -84,9 +88,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// The range of component `c` is `[6, 1000]`.
fn leave_intent(c: u32, ) -> Weight {
Weight::from_ref_time(58_436_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 39_267 nanoseconds.
Weight::from_ref_time(65_255_254 as u64)
// Standard Error: 1_596
.saturating_add(Weight::from_ref_time(154_305 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -94,7 +99,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: System BlockWeight (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn note_author() -> Weight {
Weight::from_ref_time(29_654_000 as u64)
// Minimum execution time: 34_247 nanoseconds.
Weight::from_ref_time(34_780_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -105,14 +111,14 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: System BlockWeight (r:1 w:1)
/// The range of component `r` is `[1, 1000]`.
/// The range of component `c` is `[1, 1000]`.
fn new_session(r: u32, c: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 1_911_000
.saturating_add(Weight::from_ref_time(9_907_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_911_000
.saturating_add(Weight::from_ref_time(50_916_000 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
fn new_session(_r: u32, c: u32, ) -> Weight {
// Minimum execution time: 23_505 nanoseconds.
Weight::from_ref_time(23_716_000 as u64)
// Standard Error: 654_150
.saturating_add(Weight::from_ref_time(22_632_829 as u64).saturating_mul(c 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().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
}
}
@@ -17,21 +17,22 @@
//! 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-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --chain=collectives-polkadot-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_multisig
// --extrinsic=
// --extrinsic=*
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs
@@ -47,22 +48,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: 20_960 nanoseconds.
Weight::from_ref_time(21_224_051 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(562 as u64).saturating_mul(z as u64))
// Minimum execution time: 21_375 nanoseconds.
Weight::from_ref_time(22_118_304 as u64)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(584 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: 49_994 nanoseconds.
Weight::from_ref_time(38_168_401 as u64)
// Standard Error: 639
.saturating_add(Weight::from_ref_time(128_549 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_496 as u64).saturating_mul(z as u64))
// Minimum execution time: 53_482 nanoseconds.
Weight::from_ref_time(41_399_699 as u64)
// Standard Error: 959
.saturating_add(Weight::from_ref_time(133_568 as u64).saturating_mul(s as u64))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_527 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))
}
@@ -70,12 +71,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: 38_218 nanoseconds.
Weight::from_ref_time(27_858_769 as u64)
// Standard Error: 787
.saturating_add(Weight::from_ref_time(125_710 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_500 as u64).saturating_mul(z as u64))
// Minimum execution time: 40_666 nanoseconds.
Weight::from_ref_time(30_384_195 as u64)
// Standard Error: 1_027
.saturating_add(Weight::from_ref_time(127_961 as u64).saturating_mul(s as u64))
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_572 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))
}
@@ -84,12 +85,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: 52_270 nanoseconds.
Weight::from_ref_time(39_676_905 as u64)
// Standard Error: 921
.saturating_add(Weight::from_ref_time(149_819 as u64).saturating_mul(s as u64))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_580 as u64).saturating_mul(z as u64))
// Minimum execution time: 56_337 nanoseconds.
Weight::from_ref_time(44_163_779 as u64)
// Standard Error: 1_031
.saturating_add(Weight::from_ref_time(150_104 as u64).saturating_mul(s as u64))
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_568 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))
}
@@ -97,30 +98,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: 33_994 nanoseconds.
Weight::from_ref_time(36_875_310 as u64)
// Standard Error: 1_099
.saturating_add(Weight::from_ref_time(129_680 as u64).saturating_mul(s as u64))
// Minimum execution time: 36_552 nanoseconds.
Weight::from_ref_time(39_678_753 as u64)
// Standard Error: 972
.saturating_add(Weight::from_ref_time(137_305 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: 24_546 nanoseconds.
Weight::from_ref_time(26_469_862 as u64)
// Standard Error: 882
.saturating_add(Weight::from_ref_time(127_818 as u64).saturating_mul(s as u64))
// Minimum execution time: 27_419 nanoseconds.
Weight::from_ref_time(29_059_332 as u64)
// Standard Error: 753
.saturating_add(Weight::from_ref_time(131_180 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: 33_795 nanoseconds.
Weight::from_ref_time(36_427_405 as u64)
// Standard Error: 994
.saturating_add(Weight::from_ref_time(139_272 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_335 nanoseconds.
Weight::from_ref_time(39_940_097 as u64)
// Standard Error: 1_233
.saturating_add(Weight::from_ref_time(139_766 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))
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -49,9 +49,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(16_628_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 23_916 nanoseconds.
Weight::from_ref_time(25_298_186 as u64)
// Standard Error: 1_962
.saturating_add(Weight::from_ref_time(56_777 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -60,11 +61,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(33_846_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(a as u64))
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 45_550 nanoseconds.
Weight::from_ref_time(45_001_780 as u64)
// Standard Error: 1_797
.saturating_add(Weight::from_ref_time(129_179 as u64).saturating_mul(a as u64))
// Standard Error: 1_857
.saturating_add(Weight::from_ref_time(61_524 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))
}
@@ -73,11 +75,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(23_633_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_911 nanoseconds.
Weight::from_ref_time(32_105_074 as u64)
// Standard Error: 1_675
.saturating_add(Weight::from_ref_time(133_673 as u64).saturating_mul(a as u64))
// Standard Error: 1_730
.saturating_add(Weight::from_ref_time(8_634 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))
}
@@ -86,11 +89,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 reject_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(24_121_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(177_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_191 nanoseconds.
Weight::from_ref_time(31_504_964 as u64)
// Standard Error: 1_327
.saturating_add(Weight::from_ref_time(138_900 as u64).saturating_mul(a as u64))
// Standard Error: 1_371
.saturating_add(Weight::from_ref_time(25_702 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))
}
@@ -100,38 +104,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(31_509_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 40_563 nanoseconds.
Weight::from_ref_time(40_977_387 as u64)
// Standard Error: 1_852
.saturating_add(Weight::from_ref_time(127_040 as u64).saturating_mul(a as u64))
// Standard Error: 1_914
.saturating_add(Weight::from_ref_time(69_759 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(26_168_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(127_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_574 nanoseconds.
Weight::from_ref_time(34_501_973 as u64)
// Standard Error: 2_447
.saturating_add(Weight::from_ref_time(70_006 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(26_306_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 32_661 nanoseconds.
Weight::from_ref_time(34_427_585 as u64)
// Standard Error: 2_414
.saturating_add(Weight::from_ref_time(94_991 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(22_287_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 28_650 nanoseconds.
Weight::from_ref_time(29_749_222 as u64)
// Standard Error: 1_766
.saturating_add(Weight::from_ref_time(46_612 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))
}
@@ -139,18 +147,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(29_260_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 35_910 nanoseconds.
Weight::from_ref_time(37_454_353 as u64)
// Standard Error: 1_783
.saturating_add(Weight::from_ref_time(493 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(23_012_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 29_942 nanoseconds.
Weight::from_ref_time(31_390_903 as u64)
// Standard Error: 1_992
.saturating_add(Weight::from_ref_time(42_745 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))
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_session`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -49,14 +49,16 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:1 w:1)
fn set_keys() -> Weight {
Weight::from_ref_time(15_802_000 as u64)
// Minimum execution time: 24_755 nanoseconds.
Weight::from_ref_time(25_389_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:0 w:1)
fn purge_keys() -> Weight {
Weight::from_ref_time(12_925_000 as u64)
// Minimum execution time: 20_645 nanoseconds.
Weight::from_ref_time(21_233_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -48,11 +48,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Storage: Timestamp Now (r:1 w:1)
fn set() -> Weight {
Weight::from_ref_time(6_170_000 as u64)
// Minimum execution time: 8_080 nanoseconds.
Weight::from_ref_time(8_314_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
fn on_finalize() -> Weight {
Weight::from_ref_time(2_177_000 as u64)
// Minimum execution time: 4_574 nanoseconds.
Weight::from_ref_time(4_704_000 as u64)
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -48,26 +48,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(13_398_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_159_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 13_238 nanoseconds.
Weight::from_ref_time(15_145_125 as u64)
// Standard Error: 2_535
.saturating_add(Weight::from_ref_time(3_962_627 as u64).saturating_mul(c as u64))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(4_668_000 as u64)
// Minimum execution time: 6_888 nanoseconds.
Weight::from_ref_time(7_176_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(10_742_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_375_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 13_696 nanoseconds.
Weight::from_ref_time(18_030_261 as u64)
// Standard Error: 2_621
.saturating_add(Weight::from_ref_time(4_096_976 as u64).saturating_mul(c as u64))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(11_022_000 as u64)
// Minimum execution time: 15_188 nanoseconds.
Weight::from_ref_time(15_682_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(14_280_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_150_000 as u64).saturating_mul(c as u64))
// Minimum execution time: 13_264 nanoseconds.
Weight::from_ref_time(23_406_948 as u64)
// Standard Error: 2_736
.saturating_add(Weight::from_ref_time(3_949_653 as u64).saturating_mul(c as u64))
}
}