|
@@ -1,4 +1,4 @@
|
|
|
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
|
|
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.1
|
|
|
|
|
|
#![allow(unused_parens)]
|
|
|
#![allow(unused_imports)]
|
|
@@ -9,130 +9,136 @@ pub struct WeightInfo;
|
|
|
impl working_group::WeightInfo for WeightInfo {
|
|
|
fn on_initialize_leaving(i: u32) -> Weight {
|
|
|
(0 as Weight)
|
|
|
- .saturating_add((496_301_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ .saturating_add((975_807_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(4 as Weight))
|
|
|
.saturating_add(DbWeight::get().reads((3 as Weight).saturating_mul(i as Weight)))
|
|
|
.saturating_add(DbWeight::get().writes(3 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes((3 as Weight).saturating_mul(i as Weight)))
|
|
|
}
|
|
|
fn on_initialize_rewarding_with_missing_reward(i: u32) -> Weight {
|
|
|
- (32_208_000 as Weight)
|
|
|
- .saturating_add((361_542_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (1_498_708_000 as Weight)
|
|
|
+ .saturating_add((820_440_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(2 as Weight))
|
|
|
.saturating_add(DbWeight::get().reads((2 as Weight).saturating_mul(i as Weight)))
|
|
|
.saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
|
|
}
|
|
|
fn on_initialize_rewarding_with_missing_reward_cant_pay(i: u32) -> Weight {
|
|
|
- (129_133_000 as Weight)
|
|
|
- .saturating_add((233_951_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (217_221_000 as Weight)
|
|
|
+ .saturating_add((471_469_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(2 as Weight))
|
|
|
.saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
|
|
.saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
|
|
|
}
|
|
|
fn on_initialize_rewarding_without_missing_reward(i: u32) -> Weight {
|
|
|
- (82_724_000 as Weight)
|
|
|
- .saturating_add((222_551_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (724_430_000 as Weight)
|
|
|
+ .saturating_add((422_310_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(2 as Weight))
|
|
|
.saturating_add(DbWeight::get().reads((2 as Weight).saturating_mul(i as Weight)))
|
|
|
.saturating_add(DbWeight::get().writes(2 as Weight))
|
|
|
}
|
|
|
fn apply_on_opening(i: u32) -> Weight {
|
|
|
- (532_302_000 as Weight)
|
|
|
- .saturating_add((144_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (807_048_000 as Weight)
|
|
|
+ .saturating_add((212_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(6 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(4 as Weight))
|
|
|
}
|
|
|
fn fill_opening_lead() -> Weight {
|
|
|
- (441_600_000 as Weight)
|
|
|
+ (666_654_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(5 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(6 as Weight))
|
|
|
}
|
|
|
fn fill_opening_worker(i: u32) -> Weight {
|
|
|
- (145_112_000 as Weight)
|
|
|
- .saturating_add((257_669_000 as Weight).saturating_mul(i as Weight))
|
|
|
- .saturating_add(DbWeight::get().reads(5 as Weight))
|
|
|
+ (845_943_000 as Weight)
|
|
|
+ .saturating_add((403_680_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ .saturating_add(DbWeight::get().reads(7 as Weight))
|
|
|
.saturating_add(DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight)))
|
|
|
- .saturating_add(DbWeight::get().writes(3 as Weight))
|
|
|
+ .saturating_add(DbWeight::get().writes(5 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes((2 as Weight).saturating_mul(i as Weight)))
|
|
|
}
|
|
|
fn update_role_account() -> Weight {
|
|
|
- (278_339_000 as Weight)
|
|
|
+ (461_407_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(2 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
}
|
|
|
fn cancel_opening() -> Weight {
|
|
|
- (201_764_000 as Weight)
|
|
|
- .saturating_add(DbWeight::get().reads(3 as Weight))
|
|
|
- .saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
+ (791_805_000 as Weight)
|
|
|
+ .saturating_add(DbWeight::get().reads(5 as Weight))
|
|
|
+ .saturating_add(DbWeight::get().writes(3 as Weight))
|
|
|
}
|
|
|
fn withdraw_application() -> Weight {
|
|
|
- (291_554_000 as Weight)
|
|
|
+ (431_926_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(3 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(3 as Weight))
|
|
|
}
|
|
|
fn slash_stake(i: u32) -> Weight {
|
|
|
- (605_562_000 as Weight)
|
|
|
- .saturating_add((122_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (921_582_000 as Weight)
|
|
|
+ .saturating_add((209_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(5 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(2 as Weight))
|
|
|
}
|
|
|
fn terminate_role_worker(i: u32) -> Weight {
|
|
|
- (961_187_000 as Weight)
|
|
|
- .saturating_add((249_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (1_649_140_000 as Weight)
|
|
|
+ .saturating_add((417_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(7 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(5 as Weight))
|
|
|
}
|
|
|
fn terminate_role_lead(i: u32) -> Weight {
|
|
|
- (986_954_000 as Weight)
|
|
|
- .saturating_add((255_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (1_552_670_000 as Weight)
|
|
|
+ .saturating_add((420_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(6 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(6 as Weight))
|
|
|
}
|
|
|
fn increase_stake() -> Weight {
|
|
|
- (393_177_000 as Weight)
|
|
|
+ (656_124_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(3 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(2 as Weight))
|
|
|
}
|
|
|
fn decrease_stake() -> Weight {
|
|
|
- (456_618_000 as Weight)
|
|
|
+ (778_722_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(5 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(2 as Weight))
|
|
|
}
|
|
|
fn spend_from_budget() -> Weight {
|
|
|
- (227_722_000 as Weight)
|
|
|
+ (351_002_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(4 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
}
|
|
|
fn update_reward_amount() -> Weight {
|
|
|
- (309_008_000 as Weight)
|
|
|
+ (500_618_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(3 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
}
|
|
|
fn set_status_text(i: u32) -> Weight {
|
|
|
- (182_500_000 as Weight)
|
|
|
- .saturating_add((127_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ (270_303_000 as Weight)
|
|
|
+ .saturating_add((215_000 as Weight).saturating_mul(i as Weight))
|
|
|
.saturating_add(DbWeight::get().reads(2 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
}
|
|
|
fn update_reward_account() -> Weight {
|
|
|
- (240_377_000 as Weight)
|
|
|
+ (389_635_000 as Weight)
|
|
|
.saturating_add(DbWeight::get().reads(1 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
}
|
|
|
fn set_budget() -> Weight {
|
|
|
- (66_927_000 as Weight).saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
+ (96_735_000 as Weight).saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
}
|
|
|
fn add_opening(i: u32) -> Weight {
|
|
|
- (233_945_000 as Weight)
|
|
|
- .saturating_add((127_000 as Weight).saturating_mul(i as Weight))
|
|
|
- .saturating_add(DbWeight::get().reads(3 as Weight))
|
|
|
- .saturating_add(DbWeight::get().writes(2 as Weight))
|
|
|
+ (1_178_964_000 as Weight)
|
|
|
+ .saturating_add((211_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ .saturating_add(DbWeight::get().reads(5 as Weight))
|
|
|
+ .saturating_add(DbWeight::get().writes(4 as Weight))
|
|
|
}
|
|
|
fn leave_role(i: u32) -> Weight {
|
|
|
- (221_051_000 as Weight)
|
|
|
- .saturating_add((28_000 as Weight).saturating_mul(i as Weight))
|
|
|
- .saturating_add(DbWeight::get().reads(2 as Weight))
|
|
|
+ (382_723_000 as Weight)
|
|
|
+ .saturating_add((190_000 as Weight).saturating_mul(i as Weight))
|
|
|
+ .saturating_add(DbWeight::get().reads(1 as Weight))
|
|
|
.saturating_add(DbWeight::get().writes(1 as Weight))
|
|
|
}
|
|
|
+ fn lead_remark() -> u64 {
|
|
|
+ todo!()
|
|
|
+ }
|
|
|
+ fn worker_remark() -> u64 {
|
|
|
+ todo!()
|
|
|
+ }
|
|
|
}
|