mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Backport weights from 9360 (#2038)
* [benchmarks] pr with weights (#2026) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights Collectives (#2025) * [benchmarks] pr with weights * provide veto method for trait Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com> * [benchmarks] pr with weights (#2027) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com>
This commit is contained in:
+136
-129
@@ -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-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-12-21, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -55,27 +55,27 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_000 nanoseconds.
|
||||
Weight::from_ref_time(24_357_172 as u64)
|
||||
// Standard Error: 428
|
||||
.saturating_add(Weight::from_ref_time(233 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 4_474
|
||||
.saturating_add(Weight::from_ref_time(48_024 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 4_418
|
||||
.saturating_add(Weight::from_ref_time(97_604 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 35_162 nanoseconds.
|
||||
Weight::from_ref_time(36_412_712)
|
||||
// Standard Error: 71
|
||||
.saturating_add(Weight::from_ref_time(381).saturating_mul(b.into()))
|
||||
// Standard Error: 745
|
||||
.saturating_add(Weight::from_ref_time(22_365).saturating_mul(m.into()))
|
||||
// Standard Error: 735
|
||||
.saturating_add(Weight::from_ref_time(104_171).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_000 nanoseconds.
|
||||
Weight::from_ref_time(26_617_201 as u64)
|
||||
// Standard Error: 4_280
|
||||
.saturating_add(Weight::from_ref_time(43_152 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 31_249 nanoseconds.
|
||||
Weight::from_ref_time(32_188_065)
|
||||
// Standard Error: 832
|
||||
.saturating_add(Weight::from_ref_time(54_591).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -85,14 +85,14 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 30_000 nanoseconds.
|
||||
Weight::from_ref_time(25_697_866 as u64)
|
||||
// Standard Error: 3_827
|
||||
.saturating_add(Weight::from_ref_time(48_360 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_731
|
||||
.saturating_add(Weight::from_ref_time(116_922 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 40_517 nanoseconds.
|
||||
Weight::from_ref_time(37_804_735)
|
||||
// Standard Error: 724
|
||||
.saturating_add(Weight::from_ref_time(46_629).saturating_mul(m.into()))
|
||||
// Standard Error: 706
|
||||
.saturating_add(Weight::from_ref_time(96_011).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -103,16 +103,16 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_000 nanoseconds.
|
||||
Weight::from_ref_time(30_725_464 as u64)
|
||||
// Standard Error: 370
|
||||
.saturating_add(Weight::from_ref_time(2_367 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 3_920
|
||||
.saturating_add(Weight::from_ref_time(40_710 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_822
|
||||
.saturating_add(Weight::from_ref_time(111_866 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 50_587 nanoseconds.
|
||||
Weight::from_ref_time(49_483_170)
|
||||
// Standard Error: 79
|
||||
.saturating_add(Weight::from_ref_time(12).saturating_mul(b.into()))
|
||||
// Standard Error: 845
|
||||
.saturating_add(Weight::from_ref_time(46_955).saturating_mul(m.into()))
|
||||
// Standard Error: 824
|
||||
.saturating_add(Weight::from_ref_time(99_511).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -120,17 +120,18 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Prime (r:1 w:0)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion ProposalOf (r:0 w:1)
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 31_000 nanoseconds.
|
||||
Weight::from_ref_time(29_444_599 as u64)
|
||||
// Standard Error: 4_043
|
||||
.saturating_add(Weight::from_ref_time(48_928 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_994
|
||||
.saturating_add(Weight::from_ref_time(76_527 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 47_785 nanoseconds.
|
||||
Weight::from_ref_time(49_064_492)
|
||||
// Standard Error: 3_243
|
||||
.saturating_add(Weight::from_ref_time(96_267).saturating_mul(m.into()))
|
||||
// Standard Error: 3_203
|
||||
.saturating_add(Weight::from_ref_time(121_736).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -142,28 +143,28 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(32_315_075 as u64)
|
||||
// Standard Error: 4_502
|
||||
.saturating_add(Weight::from_ref_time(43_205 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 4_340
|
||||
.saturating_add(Weight::from_ref_time(101_872 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 41_807 nanoseconds.
|
||||
Weight::from_ref_time(40_124_977)
|
||||
// Standard Error: 665
|
||||
.saturating_add(Weight::from_ref_time(40_824).saturating_mul(m.into()))
|
||||
// Standard Error: 641
|
||||
.saturating_add(Weight::from_ref_time(89_499).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Members (r:1 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `z` is `[0, 100]`.
|
||||
fn init_members(m: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_000 nanoseconds.
|
||||
Weight::from_ref_time(13_523_882 as u64)
|
||||
// Standard Error: 1_823
|
||||
.saturating_add(Weight::from_ref_time(91_625 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_802
|
||||
.saturating_add(Weight::from_ref_time(98_184 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 37_806 nanoseconds.
|
||||
Weight::from_ref_time(26_654_829)
|
||||
// Standard Error: 571
|
||||
.saturating_add(Weight::from_ref_time(131_979).saturating_mul(m.into()))
|
||||
// Standard Error: 564
|
||||
.saturating_add(Weight::from_ref_time(114_315).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -175,68 +176,68 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// 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: 249_184 nanoseconds.
|
||||
Weight::from_ref_time(250_681_000 as u64)
|
||||
// Standard Error: 19_667
|
||||
.saturating_add(Weight::from_ref_time(455_603 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 19_572
|
||||
.saturating_add(Weight::from_ref_time(495_179 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 39_109
|
||||
.saturating_add(Weight::from_ref_time(9_510_054 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(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(z as u64)))
|
||||
// Minimum execution time: 226_805 nanoseconds.
|
||||
Weight::from_ref_time(228_436_000)
|
||||
// Standard Error: 18_416
|
||||
.saturating_add(Weight::from_ref_time(484_425).saturating_mul(x.into()))
|
||||
// Standard Error: 18_327
|
||||
.saturating_add(Weight::from_ref_time(384_513).saturating_mul(y.into()))
|
||||
// Standard Error: 36_622
|
||||
.saturating_add(Weight::from_ref_time(8_974_720).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(z.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(z.into())))
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
// Minimum execution time: 19_428 nanoseconds.
|
||||
Weight::from_ref_time(19_751_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 16_471 nanoseconds.
|
||||
Weight::from_ref_time(16_726_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn announce() -> Weight {
|
||||
// Minimum execution time: 21_318 nanoseconds.
|
||||
Weight::from_ref_time(21_687_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 17_782 nanoseconds.
|
||||
Weight::from_ref_time(18_057_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn remove_announcement() -> Weight {
|
||||
// Minimum execution time: 23_694 nanoseconds.
|
||||
Weight::from_ref_time(24_344_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 20_072 nanoseconds.
|
||||
Weight::from_ref_time(20_395_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 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 {
|
||||
// Minimum execution time: 56_749 nanoseconds.
|
||||
Weight::from_ref_time(57_576_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 47_327 nanoseconds.
|
||||
Weight::from_ref_time(47_908_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
fn nominate_ally() -> Weight {
|
||||
// Minimum execution time: 42_096 nanoseconds.
|
||||
Weight::from_ref_time(43_313_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 34_263 nanoseconds.
|
||||
Weight::from_ref_time(34_687_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
// Minimum execution time: 38_364 nanoseconds.
|
||||
Weight::from_ref_time(38_849_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 29_783 nanoseconds.
|
||||
Weight::from_ref_time(30_668_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:4 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -244,69 +245,75 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
// Minimum execution time: 40_735 nanoseconds.
|
||||
Weight::from_ref_time(42_445_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 37_967 nanoseconds.
|
||||
Weight::from_ref_time(38_605_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// 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_591 nanoseconds.
|
||||
Weight::from_ref_time(46_041_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 40_362 nanoseconds.
|
||||
Weight::from_ref_time(41_038_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// 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)
|
||||
fn kick_member() -> Weight {
|
||||
// Minimum execution time: 127_782 nanoseconds.
|
||||
Weight::from_ref_time(129_150_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
// Minimum execution time: 118_050 nanoseconds.
|
||||
Weight::from_ref_time(119_080_000)
|
||||
.saturating_add(T::DbWeight::get().reads(13))
|
||||
.saturating_add(T::DbWeight::get().writes(8))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// 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 {
|
||||
// Minimum execution time: 17_614 nanoseconds.
|
||||
Weight::from_ref_time(17_734_000 as u64)
|
||||
// Standard Error: 3_794
|
||||
.saturating_add(Weight::from_ref_time(1_353_109 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_486
|
||||
.saturating_add(Weight::from_ref_time(81_145 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))
|
||||
// Minimum execution time: 14_919 nanoseconds.
|
||||
Weight::from_ref_time(15_135_000)
|
||||
// Standard Error: 3_921
|
||||
.saturating_add(Weight::from_ref_time(1_221_966).saturating_mul(n.into()))
|
||||
// Standard Error: 1_535
|
||||
.saturating_add(Weight::from_ref_time(80_157).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// 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 {
|
||||
// Minimum execution time: 17_483 nanoseconds.
|
||||
Weight::from_ref_time(17_695_000 as u64)
|
||||
// Standard Error: 212_194
|
||||
.saturating_add(Weight::from_ref_time(14_853_347 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 83_104
|
||||
.saturating_add(Weight::from_ref_time(740_176 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))
|
||||
// Minimum execution time: 14_606 nanoseconds.
|
||||
Weight::from_ref_time(14_847_000)
|
||||
// Standard Error: 218_175
|
||||
.saturating_add(Weight::from_ref_time(15_210_084).saturating_mul(n.into()))
|
||||
// Standard Error: 85_447
|
||||
.saturating_add(Weight::from_ref_time(717_495).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn abdicate_fellow_status() -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(30_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 36_974 nanoseconds.
|
||||
Weight::from_ref_time(37_428_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user