mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
New Weights for All Pallets (#12325)
* new weights for everything * fix * fmt * new batch * fmt * new batch * Update run_all_benchmarks.sh * add headers * update weights * Update lib.rs * block and extrinsic weight
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,24 @@
|
||||
//! Autogenerated weights for pallet_alliance
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-09-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_alliance
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_alliance
|
||||
// --chain=dev
|
||||
// --output=./frame/alliance/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -80,14 +81,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<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(34_420_000 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(145_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(197_000 as u64).saturating_mul(p as u64))
|
||||
fn propose_proposed(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 43_720 nanoseconds.
|
||||
Weight::from_ref_time(44_766_307 as u64)
|
||||
// Standard Error: 2_522
|
||||
.saturating_add(Weight::from_ref_time(54_721 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_301
|
||||
.saturating_add(Weight::from_ref_time(173_300 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))
|
||||
}
|
||||
@@ -95,10 +95,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// 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(48_443_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(y as u64))
|
||||
fn vote(x: u32, y: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_984 nanoseconds.
|
||||
Weight::from_ref_time(46_837_255 as u64)
|
||||
// Standard Error: 32_860
|
||||
.saturating_add(Weight::from_ref_time(273_691 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_781
|
||||
.saturating_add(Weight::from_ref_time(126_964 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))
|
||||
}
|
||||
@@ -108,9 +111,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<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(35_056_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_734 nanoseconds.
|
||||
Weight::from_ref_time(37_652_708 as u64)
|
||||
// Standard Error: 1_270
|
||||
.saturating_add(Weight::from_ref_time(183_078 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))
|
||||
}
|
||||
@@ -123,13 +127,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<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(36_929_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(287_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 50_147 nanoseconds.
|
||||
Weight::from_ref_time(42_719_616 as u64)
|
||||
// Standard Error: 19_981
|
||||
.saturating_add(Weight::from_ref_time(188_796 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_947
|
||||
.saturating_add(Weight::from_ref_time(95_998 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_739
|
||||
.saturating_add(Weight::from_ref_time(177_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))
|
||||
}
|
||||
@@ -142,14 +147,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<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_early_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_085_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(210_000 as u64).saturating_mul(p as u64))
|
||||
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 59_495 nanoseconds.
|
||||
Weight::from_ref_time(53_137_721 as u64)
|
||||
// Standard Error: 138
|
||||
.saturating_add(Weight::from_ref_time(1_979 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 16_388
|
||||
.saturating_add(Weight::from_ref_time(8_198 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_599
|
||||
.saturating_add(Weight::from_ref_time(86_577 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_428
|
||||
.saturating_add(Weight::from_ref_time(215_905 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))
|
||||
}
|
||||
@@ -163,11 +171,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// 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(43_377_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 52_405 nanoseconds.
|
||||
Weight::from_ref_time(44_494_732 as u64)
|
||||
// Standard Error: 1_759
|
||||
.saturating_add(Weight::from_ref_time(118_517 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_572
|
||||
.saturating_add(Weight::from_ref_time(198_256 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))
|
||||
}
|
||||
@@ -181,14 +190,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<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(41_417_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(196_000 as u64).saturating_mul(p as u64))
|
||||
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 52_737 nanoseconds.
|
||||
Weight::from_ref_time(45_874_458 as u64)
|
||||
// Standard Error: 140
|
||||
.saturating_add(Weight::from_ref_time(601 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_623
|
||||
.saturating_add(Weight::from_ref_time(88_372 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_449
|
||||
.saturating_add(Weight::from_ref_time(197_595 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))
|
||||
}
|
||||
@@ -197,12 +207,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// 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(37_202_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(z as u64))
|
||||
fn init_members(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_821 nanoseconds.
|
||||
Weight::from_ref_time(32_972_152 as u64)
|
||||
// Standard Error: 17_618
|
||||
.saturating_add(Weight::from_ref_time(230_451 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_865
|
||||
.saturating_add(Weight::from_ref_time(172_532 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_682
|
||||
.saturating_add(Weight::from_ref_time(145_258 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))
|
||||
}
|
||||
@@ -216,13 +229,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_447_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_512_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(10_760_000 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 256_235 nanoseconds.
|
||||
Weight::from_ref_time(258_695_000 as u64)
|
||||
// Standard Error: 19_643
|
||||
.saturating_add(Weight::from_ref_time(436_821 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 19_549
|
||||
.saturating_add(Weight::from_ref_time(496_858 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 39_062
|
||||
.saturating_add(Weight::from_ref_time(9_169_692 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)))
|
||||
@@ -232,18 +246,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
Weight::from_ref_time(18_101_000 as u64)
|
||||
// Minimum execution time: 19_205 nanoseconds.
|
||||
Weight::from_ref_time(19_502_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(21_090_000 as u64)
|
||||
// Minimum execution time: 22_562 nanoseconds.
|
||||
Weight::from_ref_time(22_842_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(22_118_000 as u64)
|
||||
// Minimum execution time: 23_773 nanoseconds.
|
||||
Weight::from_ref_time(24_212_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -252,14 +269,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:0 w:1)
|
||||
fn join_alliance() -> Weight {
|
||||
Weight::from_ref_time(53_446_000 as u64)
|
||||
// Minimum execution time: 57_709 nanoseconds.
|
||||
Weight::from_ref_time(59_155_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(42_690_000 as u64)
|
||||
// Minimum execution time: 44_576 nanoseconds.
|
||||
Weight::from_ref_time(45_162_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -268,7 +287,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
Weight::from_ref_time(37_396_000 as u64)
|
||||
// Minimum execution time: 38_913 nanoseconds.
|
||||
Weight::from_ref_time(39_637_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -278,7 +298,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
Weight::from_ref_time(40_644_000 as u64)
|
||||
// Minimum execution time: 42_947 nanoseconds.
|
||||
Weight::from_ref_time(43_414_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -287,7 +308,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Alliance DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn retire() -> Weight {
|
||||
Weight::from_ref_time(43_440_000 as u64)
|
||||
// Minimum execution time: 46_281 nanoseconds.
|
||||
Weight::from_ref_time(46_703_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -298,33 +320,36 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn kick_member() -> Weight {
|
||||
Weight::from_ref_time(61_060_000 as u64)
|
||||
// Minimum execution time: 65_274 nanoseconds.
|
||||
Weight::from_ref_time(65_762_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 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_362_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_396 nanoseconds.
|
||||
Weight::from_ref_time(17_638_000 as u64)
|
||||
// Standard Error: 2_602
|
||||
.saturating_add(Weight::from_ref_time(1_286_177 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_019
|
||||
.saturating_add(Weight::from_ref_time(70_947 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: 147_000
|
||||
.saturating_add(Weight::from_ref_time(21_060_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 57_000
|
||||
.saturating_add(Weight::from_ref_time(3_683_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_446 nanoseconds.
|
||||
Weight::from_ref_time(17_725_000 as u64)
|
||||
// Standard Error: 163_579
|
||||
.saturating_add(Weight::from_ref_time(12_823_232 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 64_064
|
||||
.saturating_add(Weight::from_ref_time(496_642 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))
|
||||
}
|
||||
@@ -341,14 +366,13 @@ impl WeightInfo for () {
|
||||
/// 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(34_420_000 as u64)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(145_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(197_000 as u64).saturating_mul(p as u64))
|
||||
fn propose_proposed(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 43_720 nanoseconds.
|
||||
Weight::from_ref_time(44_766_307 as u64)
|
||||
// Standard Error: 2_522
|
||||
.saturating_add(Weight::from_ref_time(54_721 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_301
|
||||
.saturating_add(Weight::from_ref_time(173_300 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -356,10 +380,13 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// 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(48_443_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(y as u64))
|
||||
fn vote(x: u32, y: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_984 nanoseconds.
|
||||
Weight::from_ref_time(46_837_255 as u64)
|
||||
// Standard Error: 32_860
|
||||
.saturating_add(Weight::from_ref_time(273_691 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_781
|
||||
.saturating_add(Weight::from_ref_time(126_964 as u64).saturating_mul(y as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -369,9 +396,10 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn veto(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(35_056_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 34_734 nanoseconds.
|
||||
Weight::from_ref_time(37_652_708 as u64)
|
||||
// Standard Error: 1_270
|
||||
.saturating_add(Weight::from_ref_time(183_078 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -384,13 +412,14 @@ impl WeightInfo for () {
|
||||
/// 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(36_929_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(287_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 50_147 nanoseconds.
|
||||
Weight::from_ref_time(42_719_616 as u64)
|
||||
// Standard Error: 19_981
|
||||
.saturating_add(Weight::from_ref_time(188_796 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_947
|
||||
.saturating_add(Weight::from_ref_time(95_998 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_739
|
||||
.saturating_add(Weight::from_ref_time(177_837 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -403,14 +432,17 @@ impl WeightInfo for () {
|
||||
/// 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_early_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(48_085_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(210_000 as u64).saturating_mul(p as u64))
|
||||
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 59_495 nanoseconds.
|
||||
Weight::from_ref_time(53_137_721 as u64)
|
||||
// Standard Error: 138
|
||||
.saturating_add(Weight::from_ref_time(1_979 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 16_388
|
||||
.saturating_add(Weight::from_ref_time(8_198 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_599
|
||||
.saturating_add(Weight::from_ref_time(86_577 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_428
|
||||
.saturating_add(Weight::from_ref_time(215_905 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -424,11 +456,12 @@ impl WeightInfo for () {
|
||||
/// 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(43_377_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 52_405 nanoseconds.
|
||||
Weight::from_ref_time(44_494_732 as u64)
|
||||
// Standard Error: 1_759
|
||||
.saturating_add(Weight::from_ref_time(118_517 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_572
|
||||
.saturating_add(Weight::from_ref_time(198_256 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -442,14 +475,15 @@ impl WeightInfo for () {
|
||||
/// 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(41_417_000 as u64)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(196_000 as u64).saturating_mul(p as u64))
|
||||
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 52_737 nanoseconds.
|
||||
Weight::from_ref_time(45_874_458 as u64)
|
||||
// Standard Error: 140
|
||||
.saturating_add(Weight::from_ref_time(601 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_623
|
||||
.saturating_add(Weight::from_ref_time(88_372 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_449
|
||||
.saturating_add(Weight::from_ref_time(197_595 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -458,12 +492,15 @@ impl WeightInfo for () {
|
||||
/// 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(37_202_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(z as u64))
|
||||
fn init_members(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_821 nanoseconds.
|
||||
Weight::from_ref_time(32_972_152 as u64)
|
||||
// Standard Error: 17_618
|
||||
.saturating_add(Weight::from_ref_time(230_451 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_865
|
||||
.saturating_add(Weight::from_ref_time(172_532 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_682
|
||||
.saturating_add(Weight::from_ref_time(145_258 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -477,13 +514,14 @@ impl WeightInfo for () {
|
||||
/// 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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_447_000 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 9_000
|
||||
.saturating_add(Weight::from_ref_time(1_512_000 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(10_760_000 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 256_235 nanoseconds.
|
||||
Weight::from_ref_time(258_695_000 as u64)
|
||||
// Standard Error: 19_643
|
||||
.saturating_add(Weight::from_ref_time(436_821 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 19_549
|
||||
.saturating_add(Weight::from_ref_time(496_858 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 39_062
|
||||
.saturating_add(Weight::from_ref_time(9_169_692 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(y as u64)))
|
||||
@@ -493,18 +531,21 @@ impl WeightInfo for () {
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
Weight::from_ref_time(18_101_000 as u64)
|
||||
// Minimum execution time: 19_205 nanoseconds.
|
||||
Weight::from_ref_time(19_502_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn announce() -> Weight {
|
||||
Weight::from_ref_time(21_090_000 as u64)
|
||||
// Minimum execution time: 22_562 nanoseconds.
|
||||
Weight::from_ref_time(22_842_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn remove_announcement() -> Weight {
|
||||
Weight::from_ref_time(22_118_000 as u64)
|
||||
// Minimum execution time: 23_773 nanoseconds.
|
||||
Weight::from_ref_time(24_212_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -513,14 +554,16 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:0 w:1)
|
||||
fn join_alliance() -> Weight {
|
||||
Weight::from_ref_time(53_446_000 as u64)
|
||||
// Minimum execution time: 57_709 nanoseconds.
|
||||
Weight::from_ref_time(59_155_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::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(42_690_000 as u64)
|
||||
// Minimum execution time: 44_576 nanoseconds.
|
||||
Weight::from_ref_time(45_162_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -529,7 +572,8 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
Weight::from_ref_time(37_396_000 as u64)
|
||||
// Minimum execution time: 38_913 nanoseconds.
|
||||
Weight::from_ref_time(39_637_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -539,7 +583,8 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
Weight::from_ref_time(40_644_000 as u64)
|
||||
// Minimum execution time: 42_947 nanoseconds.
|
||||
Weight::from_ref_time(43_414_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -548,7 +593,8 @@ impl WeightInfo for () {
|
||||
// Storage: Alliance DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn retire() -> Weight {
|
||||
Weight::from_ref_time(43_440_000 as u64)
|
||||
// Minimum execution time: 46_281 nanoseconds.
|
||||
Weight::from_ref_time(46_703_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -559,33 +605,36 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn kick_member() -> Weight {
|
||||
Weight::from_ref_time(61_060_000 as u64)
|
||||
// Minimum execution time: 65_274 nanoseconds.
|
||||
Weight::from_ref_time(65_762_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 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_362_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_396 nanoseconds.
|
||||
Weight::from_ref_time(17_638_000 as u64)
|
||||
// Standard Error: 2_602
|
||||
.saturating_add(Weight::from_ref_time(1_286_177 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_019
|
||||
.saturating_add(Weight::from_ref_time(70_947 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::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: 147_000
|
||||
.saturating_add(Weight::from_ref_time(21_060_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 57_000
|
||||
.saturating_add(Weight::from_ref_time(3_683_000 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_446 nanoseconds.
|
||||
Weight::from_ref_time(17_725_000 as u64)
|
||||
// Standard Error: 163_579
|
||||
.saturating_add(Weight::from_ref_time(12_823_232 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 64_064
|
||||
.saturating_add(Weight::from_ref_time(496_642 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user