mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
[ci] Return benchmark to bm machines (#2225)
* [WIP][ci] Return benchmark to bm machines * run build on docker machines * restart pipeline * rm docker runner * fix refs * add weights * return ci * fix asset benchmark
This commit is contained in:
committed by
GitHub
parent
26b109bb82
commit
7e811c2c2f
+340
-167
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_alliance`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! 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
|
||||
|
||||
// Executed Command:
|
||||
@@ -46,273 +47,445 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_alliance`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion ProposalCount (r:1 w:1)
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// Storage: Alliance Members (r:1 w:0)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion ProposalCount (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// 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 {
|
||||
// Minimum execution time: 38_288 nanoseconds.
|
||||
Weight::from_ref_time(38_207_884)
|
||||
// Standard Error: 143
|
||||
.saturating_add(Weight::from_ref_time(1_163).saturating_mul(b.into()))
|
||||
// Standard Error: 1_497
|
||||
.saturating_add(Weight::from_ref_time(49_809).saturating_mul(m.into()))
|
||||
// Standard Error: 1_478
|
||||
.saturating_add(Weight::from_ref_time(157_329).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `502 + m * (32 ±0) + p * (36 ±0)`
|
||||
// Estimated: `10983 + m * (128 ±0) + p * (144 ±0)`
|
||||
// Minimum execution time: 26_997 nanoseconds.
|
||||
Weight::from_ref_time(28_875_691)
|
||||
.saturating_add(Weight::from_proof_size(10983))
|
||||
// Standard Error: 65
|
||||
.saturating_add(Weight::from_ref_time(235).saturating_mul(b.into()))
|
||||
// Standard Error: 683
|
||||
.saturating_add(Weight::from_ref_time(17_740).saturating_mul(m.into()))
|
||||
// Standard Error: 675
|
||||
.saturating_add(Weight::from_ref_time(88_731).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// Storage: Alliance Members (r:1 w:0)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_846 nanoseconds.
|
||||
Weight::from_ref_time(38_931_188)
|
||||
// Standard Error: 1_204
|
||||
.saturating_add(Weight::from_ref_time(75_325).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `932 + m * (64 ±0)`
|
||||
// Estimated: `9092 + m * (64 ±0)`
|
||||
// Minimum execution time: 23_241 nanoseconds.
|
||||
Weight::from_ref_time(23_786_275)
|
||||
.saturating_add(Weight::from_proof_size(9092))
|
||||
// Standard Error: 563
|
||||
.saturating_add(Weight::from_ref_time(44_164).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion ProposalOf (r:0 w:1)
|
||||
/// Storage: Alliance Members (r:1 w:0)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion ProposalOf (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// 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: 45_595 nanoseconds.
|
||||
Weight::from_ref_time(41_968_843)
|
||||
// Standard Error: 1_471
|
||||
.saturating_add(Weight::from_ref_time(78_046).saturating_mul(m.into()))
|
||||
// Standard Error: 1_434
|
||||
.saturating_add(Weight::from_ref_time(140_858).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `438 + m * (96 ±0) + p * (36 ±0)`
|
||||
// Estimated: `11067 + m * (388 ±0) + p * (144 ±0)`
|
||||
// Minimum execution time: 32_551 nanoseconds.
|
||||
Weight::from_ref_time(30_322_236)
|
||||
.saturating_add(Weight::from_proof_size(11067))
|
||||
// Standard Error: 695
|
||||
.saturating_add(Weight::from_ref_time(44_336).saturating_mul(m.into()))
|
||||
// Standard Error: 678
|
||||
.saturating_add(Weight::from_ref_time(83_273).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(388).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// Storage: Alliance Members (r:1 w:0)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// 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 {
|
||||
// Minimum execution time: 56_903 nanoseconds.
|
||||
Weight::from_ref_time(55_838_779)
|
||||
// Standard Error: 1_463
|
||||
.saturating_add(Weight::from_ref_time(76_732).saturating_mul(m.into()))
|
||||
// Standard Error: 1_426
|
||||
.saturating_add(Weight::from_ref_time(147_104).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `923 + m * (96 ±0) + p * (41 ±0)`
|
||||
// Estimated: `15422 + m * (388 ±0) + p * (160 ±0)`
|
||||
// Minimum execution time: 42_592 nanoseconds.
|
||||
Weight::from_ref_time(42_349_696)
|
||||
.saturating_add(Weight::from_proof_size(15422))
|
||||
// Standard Error: 1_776
|
||||
.saturating_add(Weight::from_ref_time(53_830).saturating_mul(m.into()))
|
||||
// Standard Error: 1_731
|
||||
.saturating_add(Weight::from_ref_time(94_827).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(388).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(160).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// 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)
|
||||
/// Storage: Alliance Members (r:1 w:0)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Prime (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Alliance Rule (r:0 w:1)
|
||||
/// Proof: Alliance Rule (max_values: Some(1), max_size: Some(87), added: 582, mode: MaxEncodedLen)
|
||||
/// 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: 55_524 nanoseconds.
|
||||
Weight::from_ref_time(54_973_604)
|
||||
// Standard Error: 4_178
|
||||
.saturating_add(Weight::from_ref_time(137_799).saturating_mul(m.into()))
|
||||
// Standard Error: 4_127
|
||||
.saturating_add(Weight::from_ref_time(181_776).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `677 + m * (96 ±0) + p * (41 ±0)`
|
||||
// Estimated: `14232 + m * (507 ±0) + p * (202 ±0)`
|
||||
// Minimum execution time: 39_735 nanoseconds.
|
||||
Weight::from_ref_time(42_276_266)
|
||||
.saturating_add(Weight::from_proof_size(14232))
|
||||
// Standard Error: 3_451
|
||||
.saturating_add(Weight::from_ref_time(94_755).saturating_mul(m.into()))
|
||||
// Standard Error: 3_409
|
||||
.saturating_add(Weight::from_ref_time(108_485).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(Weight::from_proof_size(507).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(202).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Prime (r:1 w:0)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion ProposalOf (r:0 w:1)
|
||||
/// Storage: Alliance Members (r:1 w:0)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Prime (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion ProposalOf (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// 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: 47_385 nanoseconds.
|
||||
Weight::from_ref_time(43_221_021)
|
||||
// Standard Error: 125
|
||||
.saturating_add(Weight::from_ref_time(670).saturating_mul(b.into()))
|
||||
// Standard Error: 1_346
|
||||
.saturating_add(Weight::from_ref_time(74_996).saturating_mul(m.into()))
|
||||
// Standard Error: 1_298
|
||||
.saturating_add(Weight::from_ref_time(139_287).saturating_mul(p.into()))
|
||||
fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `545 + m * (96 ±0) + p * (36 ±0)`
|
||||
// Estimated: `12436 + m * (480 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 33_604 nanoseconds.
|
||||
Weight::from_ref_time(32_382_610)
|
||||
.saturating_add(Weight::from_proof_size(12436))
|
||||
// Standard Error: 564
|
||||
.saturating_add(Weight::from_ref_time(41_625).saturating_mul(m.into()))
|
||||
// Standard Error: 544
|
||||
.saturating_add(Weight::from_ref_time(80_954).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(480).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Members (r:1 w:1)
|
||||
/// Storage: Alliance Members (r:2 w:2)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Members (r:1 w:1)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// 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: 39_193 nanoseconds.
|
||||
Weight::from_ref_time(26_044_549)
|
||||
// Standard Error: 1_185
|
||||
.saturating_add(Weight::from_ref_time(173_356).saturating_mul(m.into()))
|
||||
// Standard Error: 1_171
|
||||
.saturating_add(Weight::from_ref_time(150_180).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `12`
|
||||
// Estimated: `11879`
|
||||
// Minimum execution time: 27_970 nanoseconds.
|
||||
Weight::from_ref_time(16_763_631)
|
||||
.saturating_add(Weight::from_proof_size(11879))
|
||||
// Standard Error: 496
|
||||
.saturating_add(Weight::from_ref_time(130_747).saturating_mul(m.into()))
|
||||
// Standard Error: 490
|
||||
.saturating_add(Weight::from_ref_time(112_074).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)
|
||||
// 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)
|
||||
/// Storage: Alliance Members (r:2 w:2)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Alliance DepositOf (r:200 w:50)
|
||||
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:50 w:50)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Members (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// 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: 269_952 nanoseconds.
|
||||
Weight::from_ref_time(273_268_000)
|
||||
// Standard Error: 21_296
|
||||
.saturating_add(Weight::from_ref_time(520_494).saturating_mul(x.into()))
|
||||
// Standard Error: 21_193
|
||||
.saturating_add(Weight::from_ref_time(517_860).saturating_mul(y.into()))
|
||||
// Standard Error: 42_349
|
||||
.saturating_add(Weight::from_ref_time(10_726_990).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + x * (52 ±0) + y * (53 ±0) + z * (282 ±0)`
|
||||
// Estimated: `31580 + x * (2590 ±0) + y * (2590 ±0) + z * (3200 ±1)`
|
||||
// Minimum execution time: 221_464 nanoseconds.
|
||||
Weight::from_ref_time(223_114_000)
|
||||
.saturating_add(Weight::from_proof_size(31580))
|
||||
// Standard Error: 19_600
|
||||
.saturating_add(Weight::from_ref_time(471_527).saturating_mul(x.into()))
|
||||
// Standard Error: 19_506
|
||||
.saturating_add(Weight::from_ref_time(424_033).saturating_mul(y.into()))
|
||||
// Standard Error: 38_976
|
||||
.saturating_add(Weight::from_ref_time(9_666_599).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())))
|
||||
.saturating_add(Weight::from_proof_size(2590).saturating_mul(x.into()))
|
||||
.saturating_add(Weight::from_proof_size(2590).saturating_mul(y.into()))
|
||||
.saturating_add(Weight::from_proof_size(3200).saturating_mul(z.into()))
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
/// Storage: Alliance Rule (r:0 w:1)
|
||||
/// Proof: Alliance Rule (max_values: Some(1), max_size: Some(87), added: 582, mode: MaxEncodedLen)
|
||||
fn set_rule() -> Weight {
|
||||
// Minimum execution time: 15_647 nanoseconds.
|
||||
Weight::from_ref_time(16_092_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_585 nanoseconds.
|
||||
Weight::from_ref_time(8_746_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
/// Storage: Alliance Announcements (r:1 w:1)
|
||||
/// Proof: Alliance Announcements (max_values: Some(1), max_size: Some(8702), added: 9197, mode: MaxEncodedLen)
|
||||
fn announce() -> Weight {
|
||||
// Minimum execution time: 17_905 nanoseconds.
|
||||
Weight::from_ref_time(18_333_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `9197`
|
||||
// Minimum execution time: 10_728 nanoseconds.
|
||||
Weight::from_ref_time(10_974_000)
|
||||
.saturating_add(Weight::from_proof_size(9197))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
/// Storage: Alliance Announcements (r:1 w:1)
|
||||
/// Proof: Alliance Announcements (max_values: Some(1), max_size: Some(8702), added: 9197, mode: MaxEncodedLen)
|
||||
fn remove_announcement() -> Weight {
|
||||
// Minimum execution time: 19_189 nanoseconds.
|
||||
Weight::from_ref_time(19_714_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `181`
|
||||
// Estimated: `9197`
|
||||
// Minimum execution time: 11_751 nanoseconds.
|
||||
Weight::from_ref_time(12_205_000)
|
||||
.saturating_add(Weight::from_proof_size(9197))
|
||||
.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)
|
||||
/// Storage: Alliance Members (r:3 w:1)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Alliance DepositOf (r:0 w:1)
|
||||
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
|
||||
fn join_alliance() -> Weight {
|
||||
// Minimum execution time: 46_828 nanoseconds.
|
||||
Weight::from_ref_time(48_341_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `388`
|
||||
// Estimated: `23358`
|
||||
// Minimum execution time: 38_798 nanoseconds.
|
||||
Weight::from_ref_time(39_255_000)
|
||||
.saturating_add(Weight::from_proof_size(23358))
|
||||
.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)
|
||||
/// Storage: Alliance Members (r:3 w:1)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
|
||||
fn nominate_ally() -> Weight {
|
||||
// Minimum execution time: 33_512 nanoseconds.
|
||||
Weight::from_ref_time(34_557_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `255`
|
||||
// Estimated: `20755`
|
||||
// Minimum execution time: 27_702 nanoseconds.
|
||||
Weight::from_ref_time(28_189_000)
|
||||
.saturating_add(Weight::from_proof_size(20755))
|
||||
.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)
|
||||
/// Storage: Alliance Members (r:2 w:2)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn elevate_ally() -> Weight {
|
||||
// Minimum execution time: 29_986 nanoseconds.
|
||||
Weight::from_ref_time(30_647_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `298`
|
||||
// Estimated: `12761`
|
||||
// Minimum execution time: 23_033 nanoseconds.
|
||||
Weight::from_ref_time(23_589_000)
|
||||
.saturating_add(Weight::from_proof_size(12761))
|
||||
.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)
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
/// Storage: Alliance Members (r:4 w:2)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
/// Proof: Alliance RetiringMembers (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
// Minimum execution time: 36_997 nanoseconds.
|
||||
Weight::from_ref_time(38_347_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `298`
|
||||
// Estimated: `24133`
|
||||
// Minimum execution time: 31_352 nanoseconds.
|
||||
Weight::from_ref_time(31_848_000)
|
||||
.saturating_add(Weight::from_proof_size(24133))
|
||||
.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)
|
||||
/// Storage: Alliance RetiringMembers (r:1 w:1)
|
||||
/// Proof: Alliance RetiringMembers (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
/// Storage: Alliance Members (r:1 w:1)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: Alliance DepositOf (r:1 w:1)
|
||||
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn retire() -> Weight {
|
||||
// Minimum execution time: 40_467 nanoseconds.
|
||||
Weight::from_ref_time(41_405_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `580`
|
||||
// Estimated: `13355`
|
||||
// Minimum execution time: 31_872 nanoseconds.
|
||||
Weight::from_ref_time(32_156_000)
|
||||
.saturating_add(Weight::from_proof_size(13355))
|
||||
.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: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 Members (r:3 w:1)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Alliance DepositOf (r:1 w:1)
|
||||
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
/// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn kick_member() -> Weight {
|
||||
// Minimum execution time: 130_704 nanoseconds.
|
||||
Weight::from_ref_time(135_795_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `716`
|
||||
// Estimated: `35980`
|
||||
// Minimum execution time: 115_869 nanoseconds.
|
||||
Weight::from_ref_time(116_954_000)
|
||||
.saturating_add(Weight::from_proof_size(35980))
|
||||
.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)
|
||||
/// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
|
||||
/// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// Proof: Alliance UnscrupulousWebsites (max_values: Some(1), max_size: Some(25702), added: 26197, mode: MaxEncodedLen)
|
||||
/// 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: 14_157 nanoseconds.
|
||||
Weight::from_ref_time(14_298_000)
|
||||
// Standard Error: 3_498
|
||||
.saturating_add(Weight::from_ref_time(1_345_686).saturating_mul(n.into()))
|
||||
// Standard Error: 1_370
|
||||
.saturating_add(Weight::from_ref_time(69_753).saturating_mul(l.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `29894`
|
||||
// Minimum execution time: 6_956 nanoseconds.
|
||||
Weight::from_ref_time(7_074_000)
|
||||
.saturating_add(Weight::from_proof_size(29894))
|
||||
// Standard Error: 2_782
|
||||
.saturating_add(Weight::from_ref_time(1_178_647).saturating_mul(n.into()))
|
||||
// Standard Error: 1_089
|
||||
.saturating_add(Weight::from_ref_time(65_684).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)
|
||||
/// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
|
||||
/// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// Proof: Alliance UnscrupulousWebsites (max_values: Some(1), max_size: Some(25702), added: 26197, mode: MaxEncodedLen)
|
||||
/// 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: 14_045 nanoseconds.
|
||||
Weight::from_ref_time(14_470_000)
|
||||
// Standard Error: 192_627
|
||||
.saturating_add(Weight::from_ref_time(14_774_889).saturating_mul(n.into()))
|
||||
// Standard Error: 75_441
|
||||
.saturating_add(Weight::from_ref_time(609_306).saturating_mul(l.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + n * (289 ±0) + l * (100 ±0)`
|
||||
// Estimated: `29894`
|
||||
// Minimum execution time: 6_939 nanoseconds.
|
||||
Weight::from_ref_time(7_100_000)
|
||||
.saturating_add(Weight::from_proof_size(29894))
|
||||
// Standard Error: 170_977
|
||||
.saturating_add(Weight::from_ref_time(13_668_797).saturating_mul(n.into()))
|
||||
// Standard Error: 66_962
|
||||
.saturating_add(Weight::from_ref_time(451_782).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)
|
||||
/// Storage: Alliance Members (r:3 w:2)
|
||||
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
|
||||
/// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Members (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn abdicate_fellow_status() -> Weight {
|
||||
// Minimum execution time: 35_464 nanoseconds.
|
||||
Weight::from_ref_time(37_038_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `298`
|
||||
// Estimated: `18447`
|
||||
// Minimum execution time: 29_564 nanoseconds.
|
||||
Weight::from_ref_time(30_313_000)
|
||||
.saturating_add(Weight::from_proof_size(18447))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user