From 418f38c335b51dbf0ebc9982dbd102dc9353487b Mon Sep 17 00:00:00 2001 From: Martin Pugh Date: Thu, 10 Dec 2020 10:13:40 +0100 Subject: [PATCH] [WIP] Update weights in prep for v0.8.27 (#2097) * Update weights for polkadot * add Kusama weights * add westend weights * remove claims weight files claims still uses in-line weights which is fine cause it is a polkadot specific pallet Co-authored-by: Parity Benchmarking Bot Co-authored-by: Shawn Tabrizi --- .../kusama/src/weights/pallet_balances.rs | 23 ++-- .../kusama/src/weights/pallet_collective.rs | 87 ++++++++----- .../kusama/src/weights/pallet_democracy.rs | 111 +++++++++------- .../src/weights/pallet_elections_phragmen.rs | 53 ++++---- .../kusama/src/weights/pallet_identity.rs | 116 ++++++++++------- .../kusama/src/weights/pallet_im_online.rs | 21 +-- .../kusama/src/weights/pallet_indices.rs | 23 ++-- .../kusama/src/weights/pallet_multisig.rs | 64 ++++++---- .../kusama/src/weights/pallet_proxy.rs | 95 ++++++++------ .../kusama/src/weights/pallet_scheduler.rs | 33 ++--- .../kusama/src/weights/pallet_session.rs | 9 +- .../kusama/src/weights/pallet_staking.rs | 104 ++++++++------- .../kusama/src/weights/pallet_timestamp.rs | 17 ++- .../kusama/src/weights/pallet_treasury.rs | 69 +++++----- .../kusama/src/weights/pallet_utility.rs | 25 ++-- .../kusama/src/weights/pallet_vesting.rs | 43 ++++--- .../polkadot/src/weights/pallet_balances.rs | 20 +-- .../polkadot/src/weights/pallet_collective.rs | 86 ++++++++----- .../polkadot/src/weights/pallet_democracy.rs | 120 ++++++++++-------- .../src/weights/pallet_elections_phragmen.rs | 52 ++++---- .../polkadot/src/weights/pallet_identity.rs | 114 ++++++++++------- .../polkadot/src/weights/pallet_im_online.rs | 18 +-- .../polkadot/src/weights/pallet_indices.rs | 20 +-- .../polkadot/src/weights/pallet_multisig.rs | 61 +++++---- .../polkadot/src/weights/pallet_proxy.rs | 78 +++++++----- .../polkadot/src/weights/pallet_scheduler.rs | 30 +++-- .../polkadot/src/weights/pallet_session.rs | 9 +- .../polkadot/src/weights/pallet_staking.rs | 103 ++++++++------- .../polkadot/src/weights/pallet_timestamp.rs | 14 +- .../polkadot/src/weights/pallet_treasury.rs | 66 +++++----- .../polkadot/src/weights/pallet_utility.rs | 22 ++-- .../polkadot/src/weights/pallet_vesting.rs | 40 +++--- .../westend/src/weights/pallet_balances.rs | 17 +-- .../westend/src/weights/pallet_identity.rs | 111 +++++++++------- .../westend/src/weights/pallet_im_online.rs | 15 ++- .../westend/src/weights/pallet_indices.rs | 17 +-- .../westend/src/weights/pallet_multisig.rs | 56 +++++--- .../westend/src/weights/pallet_proxy.rs | 65 ++++++---- .../westend/src/weights/pallet_scheduler.rs | 23 ++-- .../westend/src/weights/pallet_session.rs | 9 +- .../westend/src/weights/pallet_staking.rs | 100 +++++++++------ .../westend/src/weights/pallet_timestamp.rs | 11 +- .../westend/src/weights/pallet_utility.rs | 19 +-- .../westend/src/weights/pallet_vesting.rs | 35 +++-- 44 files changed, 1293 insertions(+), 931 deletions(-) diff --git a/polkadot/runtime/kusama/src/weights/pallet_balances.rs b/polkadot/runtime/kusama/src/weights/pallet_balances.rs index 4ee5687e7e..7e6848c2fb 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_balances.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_balances.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_balances +//! Autogenerated weights for pallet_balances +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_balances @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,27 +44,27 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { fn transfer() -> Weight { - (91_625_000 as Weight) + (93_087_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn transfer_keep_alive() -> Weight { - (62_431_000 as Weight) + (63_971_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_balance_creating() -> Weight { - (34_599_000 as Weight) + (35_018_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_balance_killing() -> Weight { - (43_308_000 as Weight) + (44_144_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_transfer() -> Weight { - (90_578_000 as Weight) + (91_707_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_collective.rs b/polkadot/runtime/kusama/src/weights/pallet_collective.rs index 5ee9f949f4..678d3c3168 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_collective.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_collective.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_collective +//! Autogenerated weights for pallet_collective +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_collective @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -46,73 +45,95 @@ pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - .saturating_add((20_744_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((71_000 as Weight).saturating_mul(n as Weight)) - .saturating_add((27_804_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 9_000 + .saturating_add((20_739_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 9_000 + .saturating_add((50_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 9_000 + .saturating_add((28_199_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (29_512_000 as Weight) - .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((112_000 as Weight).saturating_mul(m as Weight)) + (30_949_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((111_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (36_554_000 as Weight) + (37_904_000 as Weight) + // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 .saturating_add((220_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (60_010_000 as Weight) + (62_075_000 as Weight) + // Standard Error: 0 .saturating_add((5_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 .saturating_add((115_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((565_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 0 + .saturating_add((588_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (43_161_000 as Weight) - .saturating_add((277_000 as Weight).saturating_mul(m as Weight)) + (43_811_000 as Weight) + // Standard Error: 0 + .saturating_add((281_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (57_179_000 as Weight) - .saturating_add((215_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((527_000 as Weight).saturating_mul(p as Weight)) + (59_086_000 as Weight) + // Standard Error: 1_000 + .saturating_add((222_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 1_000 + .saturating_add((542_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (82_532_000 as Weight) + (84_535_000 as Weight) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((220_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((532_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 0 + .saturating_add((221_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((557_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (63_597_000 as Weight) - .saturating_add((219_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((526_000 as Weight).saturating_mul(p as Weight)) + (65_098_000 as Weight) + // Standard Error: 0 + .saturating_add((221_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((552_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (88_919_000 as Weight) - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((220_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((532_000 as Weight).saturating_mul(p as Weight)) + (90_884_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((221_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((558_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (33_674_000 as Weight) - .saturating_add((527_000 as Weight).saturating_mul(p as Weight)) + (34_674_000 as Weight) + // Standard Error: 0 + .saturating_add((552_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_democracy.rs b/polkadot/runtime/kusama/src/weights/pallet_democracy.rs index 7f12bc7559..d6ee82eb95 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_democracy.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_democracy.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_democracy +//! Autogenerated weights for pallet_democracy +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_democracy @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,145 +44,163 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { - (73_769_000 as Weight) + (76_513_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn second(s: u32, ) -> Weight { - (48_621_000 as Weight) - .saturating_add((191_000 as Weight).saturating_mul(s as Weight)) + (50_536_000 as Weight) + // Standard Error: 0 + .saturating_add((194_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn vote_new(r: u32, ) -> Weight { - (58_568_000 as Weight) - .saturating_add((224_000 as Weight).saturating_mul(r as Weight)) + (60_328_000 as Weight) + // Standard Error: 0 + .saturating_add((227_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn vote_existing(r: u32, ) -> Weight { - (58_374_000 as Weight) - .saturating_add((229_000 as Weight).saturating_mul(r as Weight)) + (60_063_000 as Weight) + // Standard Error: 0 + .saturating_add((232_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn emergency_cancel() -> Weight { - (35_851_000 as Weight) + (37_941_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn blacklist(p: u32, ) -> Weight { - (117_822_000 as Weight) - .saturating_add((802_000 as Weight).saturating_mul(p as Weight)) + (121_082_000 as Weight) + // Standard Error: 7_000 + .saturating_add((816_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } fn external_propose(v: u32, ) -> Weight { - (17_593_000 as Weight) - .saturating_add((110_000 as Weight).saturating_mul(v as Weight)) + (18_656_000 as Weight) + // Standard Error: 0 + .saturating_add((107_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn external_propose_majority() -> Weight { - (4_225_000 as Weight) + (4_291_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn external_propose_default() -> Weight { - (4_148_000 as Weight) + (4_484_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn fast_track() -> Weight { - (36_860_000 as Weight) + (38_722_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn veto_external(v: u32, ) -> Weight { - (38_043_000 as Weight) - .saturating_add((178_000 as Weight).saturating_mul(v as Weight)) + (39_271_000 as Weight) + // Standard Error: 0 + .saturating_add((187_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn cancel_proposal(p: u32, ) -> Weight { - (81_567_000 as Weight) - .saturating_add((876_000 as Weight).saturating_mul(p as Weight)) + (84_923_000 as Weight) + // Standard Error: 0 + .saturating_add((879_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn cancel_referendum() -> Weight { - (21_906_000 as Weight) + (22_591_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel_queued(r: u32, ) -> Weight { - (41_109_000 as Weight) - .saturating_add((3_388_000 as Weight).saturating_mul(r as Weight)) + (42_351_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_421_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn on_initialize_base(r: u32, ) -> Weight { - (13_877_000 as Weight) - .saturating_add((6_543_000 as Weight).saturating_mul(r as Weight)) + (16_859_000 as Weight) + // Standard Error: 3_000 + .saturating_add((6_940_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) } fn delegate(r: u32, ) -> Weight { - (76_902_000 as Weight) - .saturating_add((9_605_000 as Weight).saturating_mul(r as Weight)) + (81_043_000 as Weight) + // Standard Error: 2_000 + .saturating_add((10_032_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) } fn undelegate(r: u32, ) -> Weight { - (39_807_000 as Weight) - .saturating_add((9_502_000 as Weight).saturating_mul(r as Weight)) + (40_537_000 as Weight) + // Standard Error: 2_000 + .saturating_add((10_019_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) } fn clear_public_proposals() -> Weight { - (3_443_000 as Weight) + (3_649_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn note_preimage(b: u32, ) -> Weight { - (55_525_000 as Weight) + (57_601_000 as Weight) + // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn note_imminent_preimage(b: u32, ) -> Weight { - (37_807_000 as Weight) + (39_448_000 as Weight) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn reap_preimage(b: u32, ) -> Weight { - (51_485_000 as Weight) + (53_441_000 as Weight) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn unlock_remove(r: u32, ) -> Weight { - (49_585_000 as Weight) - .saturating_add((37_000 as Weight).saturating_mul(r as Weight)) + (50_814_000 as Weight) + // Standard Error: 0 + .saturating_add((39_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn unlock_set(r: u32, ) -> Weight { - (44_824_000 as Weight) - .saturating_add((220_000 as Weight).saturating_mul(r as Weight)) + (46_171_000 as Weight) + // Standard Error: 0 + .saturating_add((222_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn remove_vote(r: u32, ) -> Weight { - (27_128_000 as Weight) - .saturating_add((213_000 as Weight).saturating_mul(r as Weight)) + (28_134_000 as Weight) + // Standard Error: 0 + .saturating_add((217_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn remove_other_vote(r: u32, ) -> Weight { - (27_306_000 as Weight) - .saturating_add((214_000 as Weight).saturating_mul(r as Weight)) + (28_233_000 as Weight) + // Standard Error: 0 + .saturating_add((219_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs b/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs index 38d37ea631..93342c2266 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_elections_phragmen.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_elections_phragmen +//! Autogenerated weights for pallet_elections_phragmen +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_elections_phragmen @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,65 +44,73 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { fn vote(v: u32, ) -> Weight { - (83_050_000 as Weight) - .saturating_add((124_000 as Weight).saturating_mul(v as Weight)) + (86_473_000 as Weight) + // Standard Error: 9_000 + .saturating_add((199_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vote_update(v: u32, ) -> Weight { - (50_510_000 as Weight) - .saturating_add((116_000 as Weight).saturating_mul(v as Weight)) + (53_531_000 as Weight) + // Standard Error: 8_000 + .saturating_add((126_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn remove_voter() -> Weight { - (67_489_000 as Weight) + (69_725_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn report_defunct_voter_correct(c: u32, v: u32, ) -> Weight { (0 as Weight) - .saturating_add((1_722_000 as Weight).saturating_mul(c as Weight)) - .saturating_add((34_302_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 2_000 + .saturating_add((1_673_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 53_000 + .saturating_add((33_921_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn report_defunct_voter_incorrect(c: u32, v: u32, ) -> Weight { (0 as Weight) - .saturating_add((1_724_000 as Weight).saturating_mul(c as Weight)) - .saturating_add((34_226_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 0 + .saturating_add((1_696_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 12_000 + .saturating_add((33_906_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn submit_candidacy(c: u32, ) -> Weight { - (67_828_000 as Weight) - .saturating_add((278_000 as Weight).saturating_mul(c as Weight)) + (70_603_000 as Weight) + // Standard Error: 0 + .saturating_add((276_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (41_519_000 as Weight) + (42_985_000 as Weight) + // Standard Error: 0 .saturating_add((140_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn renounce_candidacy_members() -> Weight { - (74_609_000 as Weight) + (76_320_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn renounce_candidacy_runners_up() -> Weight { - (45_458_000 as Weight) + (46_198_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_member_with_replacement() -> Weight { - (112_762_000 as Weight) + (115_357_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } fn remove_member_wrong_refund() -> Weight { - (8_355_000 as Weight) + (8_869_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } } diff --git a/polkadot/runtime/kusama/src/weights/pallet_identity.rs b/polkadot/runtime/kusama/src/weights/pallet_identity.rs index 09e63ae501..86d5e5261c 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_identity.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_identity.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_identity +//! Autogenerated weights for pallet_identity +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_identity @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,110 +44,135 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { fn add_registrar(r: u32, ) -> Weight { - (26_618_000 as Weight) - .saturating_add((318_000 as Weight).saturating_mul(r as Weight)) + (28_419_000 as Weight) + // Standard Error: 2_000 + .saturating_add((289_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_identity(r: u32, x: u32, ) -> Weight { - (71_033_000 as Weight) - .saturating_add((297_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_751_000 as Weight).saturating_mul(x as Weight)) + (73_891_000 as Weight) + // Standard Error: 19_000 + .saturating_add((279_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 2_000 + .saturating_add((1_819_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_subs_new(s: u32, ) -> Weight { - (51_338_000 as Weight) - .saturating_add((9_514_000 as Weight).saturating_mul(s as Weight)) + (52_415_000 as Weight) + // Standard Error: 1_000 + .saturating_add((9_876_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn set_subs_old(p: u32, ) -> Weight { - (47_288_000 as Weight) - .saturating_add((3_313_000 as Weight).saturating_mul(p as Weight)) + (48_406_000 as Weight) + // Standard Error: 0 + .saturating_add((3_392_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (60_350_000 as Weight) - .saturating_add((187_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((3_328_000 as Weight).saturating_mul(s as Weight)) - .saturating_add((1_009_000 as Weight).saturating_mul(x as Weight)) + (61_817_000 as Weight) + // Standard Error: 8_000 + .saturating_add((202_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((3_417_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 1_000 + .saturating_add((1_075_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn request_judgement(r: u32, x: u32, ) -> Weight { - (72_162_000 as Weight) - .saturating_add((338_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((2_007_000 as Weight).saturating_mul(x as Weight)) + (73_843_000 as Weight) + // Standard Error: 9_000 + .saturating_add((348_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_085_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel_request(r: u32, x: u32, ) -> Weight { - (62_007_000 as Weight) - .saturating_add((199_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_985_000 as Weight).saturating_mul(x as Weight)) + (63_423_000 as Weight) + // Standard Error: 11_000 + .saturating_add((237_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_067_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_fee(r: u32, ) -> Weight { - (10_371_000 as Weight) - .saturating_add((261_000 as Weight).saturating_mul(r as Weight)) + (10_954_000 as Weight) + // Standard Error: 1_000 + .saturating_add((255_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_account_id(r: u32, ) -> Weight { - (11_728_000 as Weight) - .saturating_add((262_000 as Weight).saturating_mul(r as Weight)) + (12_327_000 as Weight) + // Standard Error: 1_000 + .saturating_add((263_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_fields(r: u32, ) -> Weight { - (10_565_000 as Weight) - .saturating_add((246_000 as Weight).saturating_mul(r as Weight)) + (11_006_000 as Weight) + // Standard Error: 1_000 + .saturating_add((255_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn provide_judgement(r: u32, x: u32, ) -> Weight { - (48_013_000 as Weight) - .saturating_add((281_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_996_000 as Weight).saturating_mul(x as Weight)) + (49_635_000 as Weight) + // Standard Error: 9_000 + .saturating_add((296_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_075_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight { - (101_578_000 as Weight) - .saturating_add((98_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((3_347_000 as Weight).saturating_mul(s as Weight)) + fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { + (101_563_000 as Weight) + // Standard Error: 6_000 + .saturating_add((207_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 + .saturating_add((3_404_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 + .saturating_add((8_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn add_sub(s: u32, ) -> Weight { - (71_638_000 as Weight) - .saturating_add((188_000 as Weight).saturating_mul(s as Weight)) + (73_298_000 as Weight) + // Standard Error: 0 + .saturating_add((183_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn rename_sub(s: u32, ) -> Weight { - (23_054_000 as Weight) + (23_667_000 as Weight) + // Standard Error: 0 .saturating_add((25_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_sub(s: u32, ) -> Weight { - (67_962_000 as Weight) - .saturating_add((163_000 as Weight).saturating_mul(s as Weight)) + (69_636_000 as Weight) + // Standard Error: 0 + .saturating_add((160_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn quit_sub(s: u32, ) -> Weight { - (44_825_000 as Weight) - .saturating_add((158_000 as Weight).saturating_mul(s as Weight)) + (45_890_000 as Weight) + // Standard Error: 0 + .saturating_add((156_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_im_online.rs b/polkadot/runtime/kusama/src/weights/pallet_im_online.rs index 53073f641e..9281292314 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_im_online.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_im_online.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_im_online +//! Autogenerated weights for pallet_im_online +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_im_online @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,9 +44,11 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - (108_140_000 as Weight) - .saturating_add((217_000 as Weight).saturating_mul(k as Weight)) - .saturating_add((478_000 as Weight).saturating_mul(e as Weight)) + (112_814_000 as Weight) + // Standard Error: 0 + .saturating_add((215_000 as Weight).saturating_mul(k as Weight)) + // Standard Error: 2_000 + .saturating_add((491_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_indices.rs b/polkadot/runtime/kusama/src/weights/pallet_indices.rs index 07773fe8b4..1f52749461 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_indices.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_indices.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_indices +//! Autogenerated weights for pallet_indices +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_indices @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,27 +44,27 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { fn claim() -> Weight { - (51_086_000 as Weight) + (53_201_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn transfer() -> Weight { - (57_319_000 as Weight) + (59_579_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn free() -> Weight { - (45_971_000 as Weight) + (47_496_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_transfer() -> Weight { - (47_039_000 as Weight) + (49_084_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn freeze() -> Weight { - (42_620_000 as Weight) + (44_478_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_multisig.rs b/polkadot/runtime/kusama/src/weights/pallet_multisig.rs index 14def1b77b..0cd3cf1968 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_multisig.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_multisig.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_multisig +//! Autogenerated weights for pallet_multisig +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_multisig @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,64 +44,79 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { - (12_168_000 as Weight) + (12_476_000 as Weight) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } fn as_multi_create(s: u32, z: u32, ) -> Weight { - (66_343_000 as Weight) - .saturating_add((87_000 as Weight).saturating_mul(s as Weight)) + (69_580_000 as Weight) + // Standard Error: 0 + .saturating_add((89_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (73_923_000 as Weight) - .saturating_add((91_000 as Weight).saturating_mul(s as Weight)) + (78_436_000 as Weight) + // Standard Error: 0 + .saturating_add((92_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (40_235_000 as Weight) - .saturating_add((109_000 as Weight).saturating_mul(s as Weight)) + (41_554_000 as Weight) + // Standard Error: 0 + .saturating_add((108_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (71_596_000 as Weight) - .saturating_add((122_000 as Weight).saturating_mul(s as Weight)) + (74_444_000 as Weight) + // Standard Error: 0 + .saturating_add((124_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (82_197_000 as Weight) - .saturating_add((248_000 as Weight).saturating_mul(s as Weight)) + (85_497_000 as Weight) + // Standard Error: 0 + .saturating_add((245_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((5_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn approve_as_multi_create(s: u32, ) -> Weight { - (65_473_000 as Weight) - .saturating_add((89_000 as Weight).saturating_mul(s as Weight)) + (69_232_000 as Weight) + // Standard Error: 0 + .saturating_add((86_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn approve_as_multi_approve(s: u32, ) -> Weight { - (38_965_000 as Weight) - .saturating_add((108_000 as Weight).saturating_mul(s as Weight)) + (40_932_000 as Weight) + // Standard Error: 0 + .saturating_add((107_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn approve_as_multi_complete(s: u32, ) -> Weight { - (153_044_000 as Weight) - .saturating_add((251_000 as Weight).saturating_mul(s as Weight)) + (157_594_000 as Weight) + // Standard Error: 0 + .saturating_add((245_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn cancel_as_multi(s: u32, ) -> Weight { - (107_171_000 as Weight) + (109_613_000 as Weight) + // Standard Error: 0 .saturating_add((89_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/polkadot/runtime/kusama/src/weights/pallet_proxy.rs b/polkadot/runtime/kusama/src/weights/pallet_proxy.rs index 5a520577e3..8943f9ef74 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_proxy.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_proxy.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_proxy +//! Autogenerated weights for pallet_proxy +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_proxy @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,66 +44,80 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { fn proxy(p: u32, ) -> Weight { - (30_797_000 as Weight) - .saturating_add((182_000 as Weight).saturating_mul(p as Weight)) + (30_904_000 as Weight) + // Standard Error: 1_000 + .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn proxy_announced(a: u32, p: u32, ) -> Weight { - (65_387_000 as Weight) - .saturating_add((849_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((183_000 as Weight).saturating_mul(p as Weight)) + (65_146_000 as Weight) + // Standard Error: 1_000 + .saturating_add((825_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((185_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn remove_announcement(a: u32, p: u32, ) -> Weight { - (41_839_000 as Weight) - .saturating_add((832_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((7_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) - } - fn reject_announcement(a: u32, p: u32, ) -> Weight { - (41_701_000 as Weight) - .saturating_add((835_000 as Weight).saturating_mul(a as Weight)) + (41_395_000 as Weight) + // Standard Error: 1_000 + .saturating_add((818_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 .saturating_add((11_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + fn reject_announcement(a: u32, p: u32, ) -> Weight { + (41_431_000 as Weight) + // Standard Error: 1_000 + .saturating_add((820_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((13_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } fn announce(a: u32, p: u32, ) -> Weight { - (66_233_000 as Weight) - .saturating_add((741_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + (65_751_000 as Weight) + // Standard Error: 1_000 + .saturating_add((703_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((186_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn add_proxy(p: u32, ) -> Weight { - (45_088_000 as Weight) - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + (44_708_000 as Weight) + // Standard Error: 1_000 + .saturating_add((196_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_proxy(p: u32, ) -> Weight { - (40_241_000 as Weight) - .saturating_add((226_000 as Weight).saturating_mul(p as Weight)) + (40_043_000 as Weight) + // Standard Error: 1_000 + .saturating_add((235_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_proxies(p: u32, ) -> Weight { - (38_268_000 as Weight) - .saturating_add((183_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - } - fn anonymous(p: u32, ) -> Weight { - (63_718_000 as Weight) - .saturating_add((29_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - } - fn kill_anonymous(p: u32, ) -> Weight { - (40_839_000 as Weight) + (38_286_000 as Weight) + // Standard Error: 1_000 .saturating_add((189_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + fn anonymous(p: u32, ) -> Weight { + (63_581_000 as Weight) + // Standard Error: 1_000 + .saturating_add((25_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn kill_anonymous(p: u32, ) -> Weight { + (41_113_000 as Weight) + // Standard Error: 1_000 + .saturating_add((187_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } } diff --git a/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs b/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs index 4ecddb8d5e..f4bdbbfaf7 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_scheduler.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_scheduler +//! Autogenerated weights for pallet_scheduler +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_scheduler @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,26 +44,30 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule(s: u32, ) -> Weight { - (33_450_000 as Weight) - .saturating_add((48_000 as Weight).saturating_mul(s as Weight)) + (34_006_000 as Weight) + // Standard Error: 0 + .saturating_add((47_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel(s: u32, ) -> Weight { - (30_190_000 as Weight) - .saturating_add((3_043_000 as Weight).saturating_mul(s as Weight)) + (30_954_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_073_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn schedule_named(s: u32, ) -> Weight { - (42_823_000 as Weight) - .saturating_add((69_000 as Weight).saturating_mul(s as Weight)) + (44_217_000 as Weight) + // Standard Error: 1_000 + .saturating_add((66_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn cancel_named(s: u32, ) -> Weight { - (34_212_000 as Weight) - .saturating_add((3_053_000 as Weight).saturating_mul(s as Weight)) + (35_521_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_084_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_session.rs b/polkadot/runtime/kusama/src/weights/pallet_session.rs index 5c2d95a53e..1304deb445 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_session.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_session.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_session +//! Autogenerated weights for pallet_session +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-11-03, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: @@ -43,12 +44,12 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { fn set_keys() -> Weight { - (89_426_000 as Weight) + (91_470_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } fn purge_keys() -> Weight { - (53_670_000 as Weight) + (53_966_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/polkadot/runtime/kusama/src/weights/pallet_staking.rs b/polkadot/runtime/kusama/src/weights/pallet_staking.rs index 43316a4236..7f19219ac5 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_staking.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_staking.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_staking +//! Autogenerated weights for pallet_staking +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_staking @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,134 +44,147 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { fn bond() -> Weight { - (91_974_000 as Weight) + (97_060_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn bond_extra() -> Weight { - (72_427_000 as Weight) + (76_691_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn unbond() -> Weight { - (65_703_000 as Weight) + (69_501_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_update(s: u32, ) -> Weight { - (66_099_000 as Weight) - .saturating_add((30_000 as Weight).saturating_mul(s as Weight)) + (69_487_000 as Weight) + // Standard Error: 0 + .saturating_add((28_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (109_170_000 as Weight) - .saturating_add((3_844_000 as Weight).saturating_mul(s as Weight)) + (113_859_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_977_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn validate() -> Weight { - (22_484_000 as Weight) + (23_991_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn nominate(n: u32, ) -> Weight { - (29_194_000 as Weight) - .saturating_add((396_000 as Weight).saturating_mul(n as Weight)) + (31_051_000 as Weight) + // Standard Error: 12_000 + .saturating_add((398_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn chill() -> Weight { - (22_054_000 as Weight) + (23_608_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn set_payee() -> Weight { - (14_987_000 as Weight) + (16_106_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_controller() -> Weight { - (32_629_000 as Weight) + (35_097_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_validator_count() -> Weight { - (3_079_000 as Weight) + (3_247_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_no_eras() -> Weight { - (3_482_000 as Weight) + (3_667_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era() -> Weight { - (3_459_000 as Weight) + (3_661_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era_always() -> Weight { - (3_459_000 as Weight) + (3_619_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_invulnerables(v: u32, ) -> Weight { - (3_548_000 as Weight) + (3_787_000 as Weight) + // Standard Error: 0 .saturating_add((9_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_unstake(s: u32, ) -> Weight { - (74_819_000 as Weight) - .saturating_add((3_815_000 as Weight).saturating_mul(s as Weight)) + (77_193_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_980_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn cancel_deferred_slash(s: u32, ) -> Weight { - (5_845_830_000 as Weight) - .saturating_add((34_687_000 as Weight).saturating_mul(s as Weight)) + (5_838_529_000 as Weight) + // Standard Error: 388_000 + .saturating_add((34_638_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (134_981_000 as Weight) - .saturating_add((57_170_000 as Weight).saturating_mul(n as Weight)) + (134_866_000 as Weight) + // Standard Error: 13_000 + .saturating_add((59_407_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) } fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (163_572_000 as Weight) - .saturating_add((74_648_000 as Weight).saturating_mul(n as Weight)) + (169_692_000 as Weight) + // Standard Error: 14_000 + .saturating_add((77_518_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) } fn rebond(l: u32, ) -> Weight { - (44_834_000 as Weight) + (47_084_000 as Weight) + // Standard Error: 2_000 .saturating_add((103_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - .saturating_add((36_157_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 63_000 + .saturating_add((38_667_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) } fn reap_stash(s: u32, ) -> Weight { - (94_156_000 as Weight) - .saturating_add((3_813_000 as Weight).saturating_mul(s as Weight)) + (97_545_000 as Weight) + // Standard Error: 0 + .saturating_add((3_988_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - .saturating_add((1_016_231_000 as Weight).saturating_mul(v as Weight)) - .saturating_add((117_899_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(10 as Weight)) + // Standard Error: 672_000 + .saturating_add((735_440_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 33_000 + .saturating_add((104_408_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(8 as Weight)) @@ -180,10 +192,14 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { (0 as Weight) - .saturating_add((873_000 as Weight).saturating_mul(v as Weight)) - .saturating_add((499_000 as Weight).saturating_mul(n as Weight)) - .saturating_add((95_179_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((7_721_000 as Weight).saturating_mul(w as Weight)) + // Standard Error: 45_000 + .saturating_add((1_479_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 18_000 + .saturating_add((630_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 45_000 + .saturating_add((99_647_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 94_000 + .saturating_add((8_674_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) diff --git a/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs b/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs index 61a54a44e5..e4173ab5f9 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_timestamp.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_timestamp +//! Autogenerated weights for pallet_timestamp +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_timestamp @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,11 +44,11 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { - (10_514_000 as Weight) + (11_338_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (5_950_000 as Weight) + (6_080_000 as Weight) } } diff --git a/polkadot/runtime/kusama/src/weights/pallet_treasury.rs b/polkadot/runtime/kusama/src/weights/pallet_treasury.rs index a9a85c2ff5..73e1b6a82a 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_treasury.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_treasury.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_treasury +//! Autogenerated weights for pallet_treasury +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_treasury @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,112 +44,120 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn propose_spend() -> Weight { - (52_217_000 as Weight) + (53_899_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn reject_proposal() -> Weight { - (83_066_000 as Weight) + (84_208_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn approve_proposal() -> Weight { - (11_351_000 as Weight) + (11_576_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn report_awesome(r: u32, ) -> Weight { - (64_348_000 as Weight) + (66_679_000 as Weight) + // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn retract_tip() -> Weight { - (54_445_000 as Weight) + (56_703_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn tip_new(r: u32, t: u32, ) -> Weight { - (40_044_000 as Weight) + (42_139_000 as Weight) + // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((145_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 0 + .saturating_add((144_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn tip(t: u32, ) -> Weight { - (27_277_000 as Weight) - .saturating_add((688_000 as Weight).saturating_mul(t as Weight)) + (27_980_000 as Weight) + // Standard Error: 1_000 + .saturating_add((691_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_tip(t: u32, ) -> Weight { - (102_574_000 as Weight) + (105_039_000 as Weight) + // Standard Error: 0 .saturating_add((360_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn propose_bounty(d: u32, ) -> Weight { - (55_563_000 as Weight) + (57_452_000 as Weight) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn approve_bounty() -> Weight { - (15_019_000 as Weight) + (15_509_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn propose_curator() -> Weight { - (11_849_000 as Weight) + (12_403_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn unassign_curator() -> Weight { - (66_601_000 as Weight) + (68_535_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn accept_curator() -> Weight { - (46_454_000 as Weight) + (48_001_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn award_bounty() -> Weight { - (32_599_000 as Weight) + (33_291_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn claim_bounty() -> Weight { - (155_219_000 as Weight) + (159_266_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } fn close_bounty_proposed() -> Weight { - (65_443_000 as Weight) + (67_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_bounty_active() -> Weight { - (102_931_000 as Weight) + (105_482_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn extend_bounty_expiry() -> Weight { - (31_483_000 as Weight) + (32_502_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_initialize_proposals(p: u32, ) -> Weight { - (110_747_000 as Weight) - .saturating_add((69_650_000 as Weight).saturating_mul(p as Weight)) + (108_437_000 as Weight) + // Standard Error: 16_000 + .saturating_add((70_932_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(p as Weight))) } fn on_initialize_bounties(b: u32, ) -> Weight { - (102_988_000 as Weight) - .saturating_add((69_250_000 as Weight).saturating_mul(b as Weight)) + (105_767_000 as Weight) + // Standard Error: 17_000 + .saturating_add((70_197_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) diff --git a/polkadot/runtime/kusama/src/weights/pallet_utility.rs b/polkadot/runtime/kusama/src/weights/pallet_utility.rs index d4201cd2cf..10d6f0ac5a 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_utility.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_utility.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_utility +//! Autogenerated weights for pallet_utility +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_utility @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,14 +44,16 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (18_717_000 as Weight) - .saturating_add((1_995_000 as Weight).saturating_mul(c as Weight)) + (19_612_000 as Weight) + // Standard Error: 0 + .saturating_add((1_988_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (5_548_000 as Weight) + (5_849_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (19_735_000 as Weight) - .saturating_add((1_990_000 as Weight).saturating_mul(c as Weight)) + (21_934_000 as Weight) + // Standard Error: 0 + .saturating_add((1_503_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/polkadot/runtime/kusama/src/weights/pallet_vesting.rs b/polkadot/runtime/kusama/src/weights/pallet_vesting.rs index 59ffb2f975..398b4da678 100644 --- a/polkadot/runtime/kusama/src/weights/pallet_vesting.rs +++ b/polkadot/runtime/kusama/src/weights/pallet_vesting.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_vesting +//! Autogenerated weights for pallet_vesting +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark -// --chain -// kusama-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_vesting @@ -30,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -45,38 +44,44 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { fn vest_locked(l: u32, ) -> Weight { - (54_477_000 as Weight) - .saturating_add((129_000 as Weight).saturating_mul(l as Weight)) + (54_809_000 as Weight) + // Standard Error: 0 + .saturating_add((133_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn vest_unlocked(l: u32, ) -> Weight { - (58_567_000 as Weight) - .saturating_add((106_000 as Weight).saturating_mul(l as Weight)) + (59_001_000 as Weight) + // Standard Error: 2_000 + .saturating_add((107_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vest_other_locked(l: u32, ) -> Weight { - (54_059_000 as Weight) - .saturating_add((135_000 as Weight).saturating_mul(l as Weight)) + (54_779_000 as Weight) + // Standard Error: 0 + .saturating_add((130_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vest_other_unlocked(l: u32, ) -> Weight { - (58_515_000 as Weight) - .saturating_add((104_000 as Weight).saturating_mul(l as Weight)) + (58_762_000 as Weight) + // Standard Error: 2_000 + .saturating_add((109_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn vested_transfer(l: u32, ) -> Weight { - (120_227_000 as Weight) - .saturating_add((168_000 as Weight).saturating_mul(l as Weight)) + (119_976_000 as Weight) + // Standard Error: 8_000 + .saturating_add((174_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn force_vested_transfer(l: u32, ) -> Weight { - (119_321_000 as Weight) - .saturating_add((167_000 as Weight).saturating_mul(l as Weight)) + (119_342_000 as Weight) + // Standard Error: 8_000 + .saturating_add((168_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_balances.rs b/polkadot/runtime/polkadot/src/weights/pallet_balances.rs index 20ef0a7f27..c1998eafcb 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_balances.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_balances.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_balances +//! Autogenerated weights for pallet_balances +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,27 +44,27 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { fn transfer() -> Weight { - (90_334_000 as Weight) + (93_434_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn transfer_keep_alive() -> Weight { - (61_839_000 as Weight) + (64_060_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_balance_creating() -> Weight { - (34_411_000 as Weight) + (35_345_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_balance_killing() -> Weight { - (43_124_000 as Weight) + (44_679_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_transfer() -> Weight { - (88_850_000 as Weight) + (92_521_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_collective.rs b/polkadot/runtime/polkadot/src/weights/pallet_collective.rs index acd43e0e92..52e58a91e0 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_collective.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_collective.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_collective +//! Autogenerated weights for pallet_collective +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -45,73 +45,95 @@ pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - .saturating_add((20_942_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((124_000 as Weight).saturating_mul(n as Weight)) - .saturating_add((27_863_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 9_000 + .saturating_add((20_774_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 9_000 + .saturating_add((140_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 9_000 + .saturating_add((28_269_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (29_288_000 as Weight) + (31_199_000 as Weight) + // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((107_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((112_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (36_744_000 as Weight) - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((215_000 as Weight).saturating_mul(m as Weight)) + (38_299_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((226_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (59_415_000 as Weight) + (62_096_000 as Weight) + // Standard Error: 0 .saturating_add((5_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((119_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((573_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 0 + .saturating_add((120_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((595_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (42_965_000 as Weight) - .saturating_add((277_000 as Weight).saturating_mul(m as Weight)) + (44_252_000 as Weight) + // Standard Error: 0 + .saturating_add((286_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (56_592_000 as Weight) - .saturating_add((219_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((539_000 as Weight).saturating_mul(p as Weight)) + (59_479_000 as Weight) + // Standard Error: 0 + .saturating_add((221_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((549_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (82_480_000 as Weight) + (85_690_000 as Weight) + // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((220_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((539_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 0 + .saturating_add((223_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((555_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (63_358_000 as Weight) - .saturating_add((220_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((543_000 as Weight).saturating_mul(p as Weight)) + (65_935_000 as Weight) + // Standard Error: 0 + .saturating_add((225_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((554_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (88_301_000 as Weight) + (92_386_000 as Weight) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - .saturating_add((223_000 as Weight).saturating_mul(m as Weight)) - .saturating_add((554_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 0 + .saturating_add((224_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((562_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (33_338_000 as Weight) - .saturating_add((543_000 as Weight).saturating_mul(p as Weight)) + (34_916_000 as Weight) + // Standard Error: 0 + .saturating_add((557_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs b/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs index 963ac269dd..156e30c16c 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_democracy.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_democracy +//! Autogenerated weights for pallet_democracy +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,145 +44,163 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { fn propose() -> Weight { - (73_078_000 as Weight) + (78_090_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn second(s: u32, ) -> Weight { - (48_015_000 as Weight) - .saturating_add((189_000 as Weight).saturating_mul(s as Weight)) + (51_177_000 as Weight) + // Standard Error: 0 + .saturating_add((192_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn vote_new(r: u32, ) -> Weight { - (57_512_000 as Weight) - .saturating_add((224_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn vote_existing(r: u32, ) -> Weight { - (57_230_000 as Weight) + (60_433_000 as Weight) + // Standard Error: 0 .saturating_add((232_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + fn vote_existing(r: u32, ) -> Weight { + (60_023_000 as Weight) + // Standard Error: 0 + .saturating_add((238_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } fn emergency_cancel() -> Weight { - (35_343_000 as Weight) + (38_461_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn blacklist(p: u32, ) -> Weight { - (116_283_000 as Weight) - .saturating_add((795_000 as Weight).saturating_mul(p as Weight)) + (121_984_000 as Weight) + // Standard Error: 7_000 + .saturating_add((836_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } fn external_propose(v: u32, ) -> Weight { - (17_593_000 as Weight) - .saturating_add((107_000 as Weight).saturating_mul(v as Weight)) + (18_730_000 as Weight) + // Standard Error: 0 + .saturating_add((108_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn external_propose_majority() -> Weight { - (4_194_000 as Weight) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - } - fn external_propose_default() -> Weight { (4_251_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + fn external_propose_default() -> Weight { + (4_239_000 as Weight) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } fn fast_track() -> Weight { - (36_616_000 as Weight) + (38_645_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn veto_external(v: u32, ) -> Weight { - (37_973_000 as Weight) - .saturating_add((179_000 as Weight).saturating_mul(v as Weight)) + (39_490_000 as Weight) + // Standard Error: 0 + .saturating_add((184_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn cancel_proposal(p: u32, ) -> Weight { - (80_686_000 as Weight) - .saturating_add((868_000 as Weight).saturating_mul(p as Weight)) + (84_238_000 as Weight) + // Standard Error: 0 + .saturating_add((913_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn cancel_referendum() -> Weight { - (21_630_000 as Weight) + (22_688_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel_queued(r: u32, ) -> Weight { - (40_264_000 as Weight) - .saturating_add((3_366_000 as Weight).saturating_mul(r as Weight)) + (42_080_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_577_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn on_initialize_base(r: u32, ) -> Weight { - (12_654_000 as Weight) - .saturating_add((6_431_000 as Weight).saturating_mul(r as Weight)) + (16_213_000 as Weight) + // Standard Error: 2_000 + .saturating_add((7_057_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) } fn delegate(r: u32, ) -> Weight { - (74_755_000 as Weight) - .saturating_add((9_558_000 as Weight).saturating_mul(r as Weight)) + (79_864_000 as Weight) + // Standard Error: 2_000 + .saturating_add((10_135_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) } fn undelegate(r: u32, ) -> Weight { - (38_083_000 as Weight) - .saturating_add((9_501_000 as Weight).saturating_mul(r as Weight)) + (40_868_000 as Weight) + // Standard Error: 2_000 + .saturating_add((10_138_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) } fn clear_public_proposals() -> Weight { - (3_453_000 as Weight) + (3_574_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn note_preimage(b: u32, ) -> Weight { - (54_883_000 as Weight) + (57_683_000 as Weight) + // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn note_imminent_preimage(b: u32, ) -> Weight { - (37_558_000 as Weight) - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + (39_299_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn reap_preimage(b: u32, ) -> Weight { - (51_340_000 as Weight) + (53_857_000 as Weight) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn unlock_remove(r: u32, ) -> Weight { - (48_671_000 as Weight) - .saturating_add((39_000 as Weight).saturating_mul(r as Weight)) + (51_271_000 as Weight) + // Standard Error: 0 + .saturating_add((38_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn unlock_set(r: u32, ) -> Weight { - (44_076_000 as Weight) - .saturating_add((222_000 as Weight).saturating_mul(r as Weight)) + (46_362_000 as Weight) + // Standard Error: 0 + .saturating_add((228_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn remove_vote(r: u32, ) -> Weight { - (26_536_000 as Weight) - .saturating_add((218_000 as Weight).saturating_mul(r as Weight)) + (27_825_000 as Weight) + // Standard Error: 0 + .saturating_add((223_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn remove_other_vote(r: u32, ) -> Weight { - (26_723_000 as Weight) - .saturating_add((219_000 as Weight).saturating_mul(r as Weight)) + (27_987_000 as Weight) + // Standard Error: 0 + .saturating_add((223_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_elections_phragmen.rs b/polkadot/runtime/polkadot/src/weights/pallet_elections_phragmen.rs index e5316b3492..0407fe84dd 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_elections_phragmen.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_elections_phragmen.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_elections_phragmen +//! Autogenerated weights for pallet_elections_phragmen +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,65 +44,73 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_elections_phragmen::WeightInfo for WeightInfo { fn vote(v: u32, ) -> Weight { - (85_361_000 as Weight) - .saturating_add((113_000 as Weight).saturating_mul(v as Weight)) + (88_644_000 as Weight) + // Standard Error: 7_000 + .saturating_add((130_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vote_update(v: u32, ) -> Weight { - (52_021_000 as Weight) - .saturating_add((104_000 as Weight).saturating_mul(v as Weight)) + (54_456_000 as Weight) + // Standard Error: 3_000 + .saturating_add((133_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn remove_voter() -> Weight { - (69_513_000 as Weight) + (71_138_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn report_defunct_voter_correct(c: u32, v: u32, ) -> Weight { (0 as Weight) - .saturating_add((1_693_000 as Weight).saturating_mul(c as Weight)) - .saturating_add((33_480_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 0 + .saturating_add((1_749_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 12_000 + .saturating_add((34_327_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn report_defunct_voter_incorrect(c: u32, v: u32, ) -> Weight { (0 as Weight) - .saturating_add((1_703_000 as Weight).saturating_mul(c as Weight)) - .saturating_add((33_396_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 0 + .saturating_add((1_755_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 9_000 + .saturating_add((34_280_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn submit_candidacy(c: u32, ) -> Weight { - (68_017_000 as Weight) - .saturating_add((279_000 as Weight).saturating_mul(c as Weight)) + (70_892_000 as Weight) + // Standard Error: 0 + .saturating_add((292_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (42_371_000 as Weight) - .saturating_add((138_000 as Weight).saturating_mul(c as Weight)) + (43_358_000 as Weight) + // Standard Error: 0 + .saturating_add((143_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn renounce_candidacy_members() -> Weight { - (74_022_000 as Weight) + (75_956_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn renounce_candidacy_runners_up() -> Weight { - (45_752_000 as Weight) + (46_888_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_member_with_replacement() -> Weight { - (113_257_000 as Weight) + (116_053_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } fn remove_member_wrong_refund() -> Weight { - (8_688_000 as Weight) + (9_093_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_identity.rs b/polkadot/runtime/polkadot/src/weights/pallet_identity.rs index 5fa965c6d7..d4e21417b9 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_identity.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_identity.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_identity +//! Autogenerated weights for pallet_identity +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-08, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,111 +44,135 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { fn add_registrar(r: u32, ) -> Weight { - (26_935_000 as Weight) - .saturating_add((309_000 as Weight).saturating_mul(r as Weight)) + (28_261_000 as Weight) + // Standard Error: 3_000 + .saturating_add((318_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_identity(r: u32, x: u32, ) -> Weight { - (70_594_000 as Weight) - .saturating_add((235_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_750_000 as Weight).saturating_mul(x as Weight)) + (73_360_000 as Weight) + // Standard Error: 19_000 + .saturating_add((234_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 2_000 + .saturating_add((1_863_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_subs_new(s: u32, ) -> Weight { - (50_502_000 as Weight) - .saturating_add((9_345_000 as Weight).saturating_mul(s as Weight)) + (52_544_000 as Weight) + // Standard Error: 1_000 + .saturating_add((9_959_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn set_subs_old(p: u32, ) -> Weight { - (46_961_000 as Weight) - .saturating_add((3_260_000 as Weight).saturating_mul(p as Weight)) + (48_351_000 as Weight) + // Standard Error: 0 + .saturating_add((3_391_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (60_066_000 as Weight) - .saturating_add((197_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((3_271_000 as Weight).saturating_mul(s as Weight)) - .saturating_add((1_002_000 as Weight).saturating_mul(x as Weight)) + (62_001_000 as Weight) + // Standard Error: 8_000 + .saturating_add((171_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 + .saturating_add((3_390_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 + .saturating_add((1_089_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn request_judgement(r: u32, x: u32, ) -> Weight { - (71_756_000 as Weight) - .saturating_add((307_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((2_001_000 as Weight).saturating_mul(x as Weight)) + (74_257_000 as Weight) + // Standard Error: 8_000 + .saturating_add((334_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_141_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel_request(r: u32, x: u32, ) -> Weight { - (61_102_000 as Weight) - .saturating_add((228_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_985_000 as Weight).saturating_mul(x as Weight)) + (62_893_000 as Weight) + // Standard Error: 11_000 + .saturating_add((231_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_117_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_fee(r: u32, ) -> Weight { - (10_296_000 as Weight) - .saturating_add((263_000 as Weight).saturating_mul(r as Weight)) + (10_890_000 as Weight) + // Standard Error: 1_000 + .saturating_add((268_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_account_id(r: u32, ) -> Weight { - (11_809_000 as Weight) - .saturating_add((260_000 as Weight).saturating_mul(r as Weight)) + (12_410_000 as Weight) + // Standard Error: 1_000 + .saturating_add((268_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_fields(r: u32, ) -> Weight { - (10_415_000 as Weight) - .saturating_add((260_000 as Weight).saturating_mul(r as Weight)) + (10_855_000 as Weight) + // Standard Error: 1_000 + .saturating_add((269_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn provide_judgement(r: u32, x: u32, ) -> Weight { - (47_818_000 as Weight) - .saturating_add((293_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_996_000 as Weight).saturating_mul(x as Weight)) + (49_519_000 as Weight) + // Standard Error: 9_000 + .saturating_add((299_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_127_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - (99_904_000 as Weight) - .saturating_add((118_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((3_280_000 as Weight).saturating_mul(s as Weight)) - .saturating_add((2_000 as Weight).saturating_mul(x as Weight)) + (103_419_000 as Weight) + // Standard Error: 5_000 + .saturating_add((120_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 + .saturating_add((3_400_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn add_sub(s: u32, ) -> Weight { - (70_179_000 as Weight) - .saturating_add((189_000 as Weight).saturating_mul(s as Weight)) + (72_490_000 as Weight) + // Standard Error: 0 + .saturating_add((191_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn rename_sub(s: u32, ) -> Weight { - (22_891_000 as Weight) - .saturating_add((27_000 as Weight).saturating_mul(s as Weight)) + (23_454_000 as Weight) + // Standard Error: 0 + .saturating_add((25_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_sub(s: u32, ) -> Weight { - (66_924_000 as Weight) - .saturating_add((163_000 as Weight).saturating_mul(s as Weight)) + (69_012_000 as Weight) + // Standard Error: 0 + .saturating_add((164_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn quit_sub(s: u32, ) -> Weight { - (44_243_000 as Weight) - .saturating_add((160_000 as Weight).saturating_mul(s as Weight)) + (45_725_000 as Weight) + // Standard Error: 0 + .saturating_add((158_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_im_online.rs b/polkadot/runtime/polkadot/src/weights/pallet_im_online.rs index e8dfb1b85f..1e9a2b2f20 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_im_online.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_im_online.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_im_online +//! Autogenerated weights for pallet_im_online +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,9 +44,11 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - (107_274_000 as Weight) - .saturating_add((218_000 as Weight).saturating_mul(k as Weight)) - .saturating_add((482_000 as Weight).saturating_mul(e as Weight)) + (111_740_000 as Weight) + // Standard Error: 0 + .saturating_add((217_000 as Weight).saturating_mul(k as Weight)) + // Standard Error: 1_000 + .saturating_add((510_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_indices.rs b/polkadot/runtime/polkadot/src/weights/pallet_indices.rs index 1e7149497e..28bd0c88a7 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_indices.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_indices.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_indices +//! Autogenerated weights for pallet_indices +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,27 +44,27 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { fn claim() -> Weight { - (50_502_000 as Weight) + (52_777_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn transfer() -> Weight { - (57_428_000 as Weight) + (59_482_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn free() -> Weight { - (46_204_000 as Weight) + (48_062_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_transfer() -> Weight { - (46_938_000 as Weight) + (49_541_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn freeze() -> Weight { - (42_857_000 as Weight) + (45_151_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_multisig.rs b/polkadot/runtime/polkadot/src/weights/pallet_multisig.rs index a18dd7f57a..c7582995d0 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_multisig.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_multisig.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_multisig +//! Autogenerated weights for pallet_multisig +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,65 +44,80 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { - (12_023_000 as Weight) + (12_532_000 as Weight) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } fn as_multi_create(s: u32, z: u32, ) -> Weight { - (66_415_000 as Weight) - .saturating_add((87_000 as Weight).saturating_mul(s as Weight)) + (70_460_000 as Weight) + // Standard Error: 0 + .saturating_add((86_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (74_404_000 as Weight) + (79_056_000 as Weight) + // Standard Error: 0 .saturating_add((90_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (40_458_000 as Weight) - .saturating_add((110_000 as Weight).saturating_mul(s as Weight)) + (42_175_000 as Weight) + // Standard Error: 0 + .saturating_add((113_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (71_982_000 as Weight) - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + (75_726_000 as Weight) + // Standard Error: 0 + .saturating_add((126_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (82_738_000 as Weight) - .saturating_add((250_000 as Weight).saturating_mul(s as Weight)) + (87_543_000 as Weight) + // Standard Error: 0 + .saturating_add((247_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((5_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn approve_as_multi_create(s: u32, ) -> Weight { - (65_612_000 as Weight) - .saturating_add((86_000 as Weight).saturating_mul(s as Weight)) + (69_831_000 as Weight) + // Standard Error: 0 + .saturating_add((89_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn approve_as_multi_approve(s: u32, ) -> Weight { - (39_315_000 as Weight) - .saturating_add((108_000 as Weight).saturating_mul(s as Weight)) + (41_395_000 as Weight) + // Standard Error: 0 + .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn approve_as_multi_complete(s: u32, ) -> Weight { - (153_804_000 as Weight) - .saturating_add((248_000 as Weight).saturating_mul(s as Weight)) + (162_511_000 as Weight) + // Standard Error: 0 + .saturating_add((249_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn cancel_as_multi(s: u32, ) -> Weight { - (107_136_000 as Weight) - .saturating_add((91_000 as Weight).saturating_mul(s as Weight)) + (112_698_000 as Weight) + // Standard Error: 0 + .saturating_add((90_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_proxy.rs b/polkadot/runtime/polkadot/src/weights/pallet_proxy.rs index 466c380f9b..0ea750d212 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_proxy.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_proxy.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_proxy +//! Autogenerated weights for pallet_proxy +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,65 +44,79 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { fn proxy(p: u32, ) -> Weight { - (30_511_000 as Weight) - .saturating_add((189_000 as Weight).saturating_mul(p as Weight)) + (31_560_000 as Weight) + // Standard Error: 1_000 + .saturating_add((190_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn proxy_announced(a: u32, p: u32, ) -> Weight { - (64_299_000 as Weight) - .saturating_add((817_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((187_000 as Weight).saturating_mul(p as Weight)) + (65_555_000 as Weight) + // Standard Error: 1_000 + .saturating_add((843_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn remove_announcement(a: u32, p: u32, ) -> Weight { - (41_168_000 as Weight) - .saturating_add((811_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((8_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) - } - fn reject_announcement(a: u32, p: u32, ) -> Weight { - (41_014_000 as Weight) - .saturating_add((806_000 as Weight).saturating_mul(a as Weight)) + (41_808_000 as Weight) + // Standard Error: 1_000 + .saturating_add((842_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 .saturating_add((10_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + fn reject_announcement(a: u32, p: u32, ) -> Weight { + (41_713_000 as Weight) + // Standard Error: 1_000 + .saturating_add((847_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((12_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + } fn announce(a: u32, p: u32, ) -> Weight { - (65_203_000 as Weight) - .saturating_add((699_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((189_000 as Weight).saturating_mul(p as Weight)) + (66_579_000 as Weight) + // Standard Error: 1_000 + .saturating_add((730_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((199_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn add_proxy(p: u32, ) -> Weight { - (44_036_000 as Weight) - .saturating_add((198_000 as Weight).saturating_mul(p as Weight)) + (44_930_000 as Weight) + // Standard Error: 1_000 + .saturating_add((206_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_proxy(p: u32, ) -> Weight { - (39_313_000 as Weight) - .saturating_add((240_000 as Weight).saturating_mul(p as Weight)) + (40_436_000 as Weight) + // Standard Error: 1_000 + .saturating_add((241_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_proxies(p: u32, ) -> Weight { - (37_828_000 as Weight) - .saturating_add((185_000 as Weight).saturating_mul(p as Weight)) + (38_695_000 as Weight) + // Standard Error: 1_000 + .saturating_add((191_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn anonymous(p: u32, ) -> Weight { - (62_488_000 as Weight) - .saturating_add((24_000 as Weight).saturating_mul(p as Weight)) + (64_695_000 as Weight) + // Standard Error: 1_000 + .saturating_add((13_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn kill_anonymous(p: u32, ) -> Weight { - (40_311_000 as Weight) - .saturating_add((190_000 as Weight).saturating_mul(p as Weight)) + (41_503_000 as Weight) + // Standard Error: 1_000 + .saturating_add((192_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_scheduler.rs b/polkadot/runtime/polkadot/src/weights/pallet_scheduler.rs index a8395ee2d4..d3fb9ff8b4 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_scheduler +//! Autogenerated weights for pallet_scheduler +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,26 +44,30 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule(s: u32, ) -> Weight { - (33_070_000 as Weight) - .saturating_add((43_000 as Weight).saturating_mul(s as Weight)) + (34_190_000 as Weight) + // Standard Error: 0 + .saturating_add((41_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel(s: u32, ) -> Weight { - (29_962_000 as Weight) - .saturating_add((3_080_000 as Weight).saturating_mul(s as Weight)) + (31_368_000 as Weight) + // Standard Error: 7_000 + .saturating_add((3_230_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn schedule_named(s: u32, ) -> Weight { - (42_402_000 as Weight) - .saturating_add((60_000 as Weight).saturating_mul(s as Weight)) + (44_444_000 as Weight) + // Standard Error: 1_000 + .saturating_add((55_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn cancel_named(s: u32, ) -> Weight { - (33_800_000 as Weight) - .saturating_add((3_093_000 as Weight).saturating_mul(s as Weight)) + (35_660_000 as Weight) + // Standard Error: 7_000 + .saturating_add((3_238_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_session.rs b/polkadot/runtime/polkadot/src/weights/pallet_session.rs index b8084ef7bc..f496e32ba5 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_session.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_session.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_session +//! Autogenerated weights for pallet_session +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-11-03, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -43,12 +44,12 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { fn set_keys() -> Weight { - (93_498_000 as Weight) + (95_877_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } fn purge_keys() -> Weight { - (55_508_000 as Weight) + (56_080_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_staking.rs b/polkadot/runtime/polkadot/src/weights/pallet_staking.rs index be296fb924..134f87b140 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_staking.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_staking.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_staking +//! Autogenerated weights for pallet_staking +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,134 +44,147 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { fn bond() -> Weight { - (92_188_000 as Weight) + (98_601_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn bond_extra() -> Weight { - (73_699_000 as Weight) + (78_522_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn unbond() -> Weight { - (66_184_000 as Weight) + (70_546_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_update(s: u32, ) -> Weight { - (66_448_000 as Weight) - .saturating_add((29_000 as Weight).saturating_mul(s as Weight)) + (71_228_000 as Weight) + // Standard Error: 0 + .saturating_add((33_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (109_546_000 as Weight) - .saturating_add((3_844_000 as Weight).saturating_mul(s as Weight)) + (116_427_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_046_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn validate() -> Weight { - (22_866_000 as Weight) + (24_212_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn nominate(n: u32, ) -> Weight { - (29_442_000 as Weight) - .saturating_add((393_000 as Weight).saturating_mul(n as Weight)) + (31_922_000 as Weight) + // Standard Error: 12_000 + .saturating_add((418_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn chill() -> Weight { - (22_437_000 as Weight) + (24_183_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn set_payee() -> Weight { - (15_252_000 as Weight) + (16_569_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_controller() -> Weight { - (33_072_000 as Weight) + (35_580_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_validator_count() -> Weight { - (3_200_000 as Weight) + (3_217_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_no_eras() -> Weight { - (3_567_000 as Weight) + (3_688_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era() -> Weight { - (3_622_000 as Weight) + (3_739_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era_always() -> Weight { - (3_593_000 as Weight) + (3_611_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_invulnerables(v: u32, ) -> Weight { - (3_877_000 as Weight) + (3_864_000 as Weight) + // Standard Error: 0 .saturating_add((9_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_unstake(s: u32, ) -> Weight { - (75_041_000 as Weight) - .saturating_add((3_835_000 as Weight).saturating_mul(s as Weight)) + (78_757_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_037_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn cancel_deferred_slash(s: u32, ) -> Weight { - (5_851_773_000 as Weight) - .saturating_add((34_696_000 as Weight).saturating_mul(s as Weight)) + (5_845_293_000 as Weight) + // Standard Error: 388_000 + .saturating_add((34_621_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (132_866_000 as Weight) - .saturating_add((57_254_000 as Weight).saturating_mul(n as Weight)) + (142_251_000 as Weight) + // Standard Error: 11_000 + .saturating_add((60_125_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) } fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (164_346_000 as Weight) - .saturating_add((75_078_000 as Weight).saturating_mul(n as Weight)) + (172_317_000 as Weight) + // Standard Error: 17_000 + .saturating_add((78_585_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) } fn rebond(l: u32, ) -> Weight { - (45_428_000 as Weight) - .saturating_add((101_000 as Weight).saturating_mul(l as Weight)) + (48_379_000 as Weight) + // Standard Error: 1_000 + .saturating_add((109_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - .saturating_add((36_273_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 64_000 + .saturating_add((39_072_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) } fn reap_stash(s: u32, ) -> Weight { - (94_854_000 as Weight) - .saturating_add((3_827_000 as Weight).saturating_mul(s as Weight)) + (100_021_000 as Weight) + // Standard Error: 1_000 + .saturating_add((4_046_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - .saturating_add((1_006_982_000 as Weight).saturating_mul(v as Weight)) - .saturating_add((117_552_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(10 as Weight)) + // Standard Error: 759_000 + .saturating_add((751_624_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 38_000 + .saturating_add((106_491_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(8 as Weight)) @@ -179,10 +192,14 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { (0 as Weight) - .saturating_add((914_000 as Weight).saturating_mul(v as Weight)) - .saturating_add((378_000 as Weight).saturating_mul(n as Weight)) - .saturating_add((96_533_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((7_530_000 as Weight).saturating_mul(w as Weight)) + // Standard Error: 44_000 + .saturating_add((1_321_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 17_000 + .saturating_add((535_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 44_000 + .saturating_add((102_449_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 91_000 + .saturating_add((7_907_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) diff --git a/polkadot/runtime/polkadot/src/weights/pallet_timestamp.rs b/polkadot/runtime/polkadot/src/weights/pallet_timestamp.rs index 0f3642e768..4ebf6c1988 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_timestamp.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_timestamp.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_timestamp +//! Autogenerated weights for pallet_timestamp +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,11 +44,11 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { - (10_868_000 as Weight) + (11_397_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (6_135_000 as Weight) + (6_096_000 as Weight) } } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_treasury.rs b/polkadot/runtime/polkadot/src/weights/pallet_treasury.rs index f6fe477e10..1075855224 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_treasury.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_treasury.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_treasury +//! Autogenerated weights for pallet_treasury +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,112 +44,120 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn propose_spend() -> Weight { - (52_150_000 as Weight) + (54_574_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn reject_proposal() -> Weight { - (82_349_000 as Weight) + (85_554_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn approve_proposal() -> Weight { - (11_101_000 as Weight) + (11_791_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn report_awesome(r: u32, ) -> Weight { - (64_551_000 as Weight) + (67_174_000 as Weight) + // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn retract_tip() -> Weight { - (54_970_000 as Weight) + (56_466_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn tip_new(r: u32, t: u32, ) -> Weight { - (40_231_000 as Weight) + (42_193_000 as Weight) + // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 .saturating_add((149_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn tip(t: u32, ) -> Weight { - (27_369_000 as Weight) - .saturating_add((695_000 as Weight).saturating_mul(t as Weight)) + (28_405_000 as Weight) + // Standard Error: 1_000 + .saturating_add((705_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_tip(t: u32, ) -> Weight { - (102_827_000 as Weight) - .saturating_add((362_000 as Weight).saturating_mul(t as Weight)) + (106_075_000 as Weight) + // Standard Error: 0 + .saturating_add((361_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn propose_bounty(d: u32, ) -> Weight { - (55_764_000 as Weight) + (58_025_000 as Weight) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn approve_bounty() -> Weight { - (15_335_000 as Weight) + (15_338_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn propose_curator() -> Weight { - (11_888_000 as Weight) + (12_080_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn unassign_curator() -> Weight { - (67_124_000 as Weight) + (69_557_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn accept_curator() -> Weight { - (46_414_000 as Weight) + (47_745_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn award_bounty() -> Weight { - (32_393_000 as Weight) + (33_468_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn claim_bounty() -> Weight { - (156_140_000 as Weight) + (161_390_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } fn close_bounty_proposed() -> Weight { - (65_931_000 as Weight) + (68_016_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_bounty_active() -> Weight { - (102_999_000 as Weight) + (106_292_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn extend_bounty_expiry() -> Weight { - (31_493_000 as Weight) + (32_515_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_initialize_proposals(p: u32, ) -> Weight { - (65_761_000 as Weight) - .saturating_add((69_596_000 as Weight).saturating_mul(p as Weight)) + (72_159_000 as Weight) + // Standard Error: 26_000 + .saturating_add((72_167_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(p as Weight))) } fn on_initialize_bounties(b: u32, ) -> Weight { - (61_158_000 as Weight) - .saturating_add((69_154_000 as Weight).saturating_mul(b as Weight)) + (66_526_000 as Weight) + // Standard Error: 18_000 + .saturating_add((71_398_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/polkadot/runtime/polkadot/src/weights/pallet_utility.rs b/polkadot/runtime/polkadot/src/weights/pallet_utility.rs index 2f42858106..fd10a605de 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_utility.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_utility.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_utility +//! Autogenerated weights for pallet_utility +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,14 +44,16 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (18_624_000 as Weight) - .saturating_add((1_986_000 as Weight).saturating_mul(c as Weight)) + (19_701_000 as Weight) + // Standard Error: 0 + .saturating_add((2_118_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (5_576_000 as Weight) + (5_534_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (19_708_000 as Weight) - .saturating_add((1_988_000 as Weight).saturating_mul(c as Weight)) + (20_354_000 as Weight) + // Standard Error: 0 + .saturating_add((2_124_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/polkadot/runtime/polkadot/src/weights/pallet_vesting.rs b/polkadot/runtime/polkadot/src/weights/pallet_vesting.rs index e3f859d7e4..ba41d013d1 100644 --- a/polkadot/runtime/polkadot/src/weights/pallet_vesting.rs +++ b/polkadot/runtime/polkadot/src/weights/pallet_vesting.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_vesting +//! Autogenerated weights for pallet_vesting +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-29, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=polkadot-dev // --steps=50 @@ -29,8 +30,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --header -// ./file_header.txt +// --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -44,38 +44,44 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { fn vest_locked(l: u32, ) -> Weight { - (53_484_000 as Weight) - .saturating_add((134_000 as Weight).saturating_mul(l as Weight)) + (55_961_000 as Weight) + // Standard Error: 0 + .saturating_add((138_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn vest_unlocked(l: u32, ) -> Weight { - (57_798_000 as Weight) - .saturating_add((109_000 as Weight).saturating_mul(l as Weight)) + (60_522_000 as Weight) + // Standard Error: 2_000 + .saturating_add((107_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vest_other_locked(l: u32, ) -> Weight { - (53_265_000 as Weight) - .saturating_add((130_000 as Weight).saturating_mul(l as Weight)) + (55_712_000 as Weight) + // Standard Error: 0 + .saturating_add((135_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vest_other_unlocked(l: u32, ) -> Weight { - (57_589_000 as Weight) - .saturating_add((107_000 as Weight).saturating_mul(l as Weight)) + (59_981_000 as Weight) + // Standard Error: 2_000 + .saturating_add((113_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn vested_transfer(l: u32, ) -> Weight { - (118_226_000 as Weight) - .saturating_add((164_000 as Weight).saturating_mul(l as Weight)) + (122_684_000 as Weight) + // Standard Error: 8_000 + .saturating_add((171_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn force_vested_transfer(l: u32, ) -> Weight { - (117_385_000 as Weight) - .saturating_add((166_000 as Weight).saturating_mul(l as Weight)) + (121_973_000 as Weight) + // Standard Error: 8_000 + .saturating_add((165_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } diff --git a/polkadot/runtime/westend/src/weights/pallet_balances.rs b/polkadot/runtime/westend/src/weights/pallet_balances.rs index c3aedc45e7..361ad5a6f8 100644 --- a/polkadot/runtime/westend/src/weights/pallet_balances.rs +++ b/polkadot/runtime/westend/src/weights/pallet_balances.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_balances +//! Autogenerated weights for pallet_balances +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,27 +44,27 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { fn transfer() -> Weight { - (92_296_000 as Weight) + (95_429_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn transfer_keep_alive() -> Weight { - (63_382_000 as Weight) + (66_088_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_balance_creating() -> Weight { - (34_643_000 as Weight) + (35_936_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_balance_killing() -> Weight { - (43_941_000 as Weight) + (45_397_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_transfer() -> Weight { - (91_214_000 as Weight) + (93_993_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/westend/src/weights/pallet_identity.rs b/polkadot/runtime/westend/src/weights/pallet_identity.rs index 9747999ebc..c69428f780 100644 --- a/polkadot/runtime/westend/src/weights/pallet_identity.rs +++ b/polkadot/runtime/westend/src/weights/pallet_identity.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_identity +//! Autogenerated weights for pallet_identity +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,111 +44,135 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_identity::WeightInfo for WeightInfo { fn add_registrar(r: u32, ) -> Weight { - (26_425_000 as Weight) - .saturating_add((296_000 as Weight).saturating_mul(r as Weight)) + (27_481_000 as Weight) + // Standard Error: 2_000 + .saturating_add((300_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_identity(r: u32, x: u32, ) -> Weight { - (70_695_000 as Weight) - .saturating_add((212_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_791_000 as Weight).saturating_mul(x as Weight)) + (71_220_000 as Weight) + // Standard Error: 19_000 + .saturating_add((269_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 2_000 + .saturating_add((1_814_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_subs_new(s: u32, ) -> Weight { - (49_871_000 as Weight) - .saturating_add((9_385_000 as Weight).saturating_mul(s as Weight)) + (52_505_000 as Weight) + // Standard Error: 1_000 + .saturating_add((9_913_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn set_subs_old(p: u32, ) -> Weight { - (46_330_000 as Weight) - .saturating_add((3_280_000 as Weight).saturating_mul(p as Weight)) + (47_853_000 as Weight) + // Standard Error: 0 + .saturating_add((3_432_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (59_768_000 as Weight) - .saturating_add((153_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((3_301_000 as Weight).saturating_mul(s as Weight)) - .saturating_add((1_020_000 as Weight).saturating_mul(x as Weight)) + (62_074_000 as Weight) + // Standard Error: 8_000 + .saturating_add((169_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 + .saturating_add((3_436_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 + .saturating_add((1_058_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn request_judgement(r: u32, x: u32, ) -> Weight { - (71_397_000 as Weight) - .saturating_add((279_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_999_000 as Weight).saturating_mul(x as Weight)) + (72_697_000 as Weight) + // Standard Error: 8_000 + .saturating_add((316_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_064_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel_request(r: u32, x: u32, ) -> Weight { - (60_690_000 as Weight) - .saturating_add((212_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((2_000_000 as Weight).saturating_mul(x as Weight)) + (62_349_000 as Weight) + // Standard Error: 11_000 + .saturating_add((203_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_048_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_fee(r: u32, ) -> Weight { - (10_265_000 as Weight) - .saturating_add((256_000 as Weight).saturating_mul(r as Weight)) + (10_602_000 as Weight) + // Standard Error: 1_000 + .saturating_add((265_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_account_id(r: u32, ) -> Weight { - (11_662_000 as Weight) - .saturating_add((263_000 as Weight).saturating_mul(r as Weight)) + (12_087_000 as Weight) + // Standard Error: 2_000 + .saturating_add((264_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_fields(r: u32, ) -> Weight { - (10_270_000 as Weight) - .saturating_add((256_000 as Weight).saturating_mul(r as Weight)) + (10_578_000 as Weight) + // Standard Error: 1_000 + .saturating_add((268_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn provide_judgement(r: u32, x: u32, ) -> Weight { - (47_477_000 as Weight) - .saturating_add((276_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((1_994_000 as Weight).saturating_mul(x as Weight)) + (48_552_000 as Weight) + // Standard Error: 8_000 + .saturating_add((279_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((2_067_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - (57_410_000 as Weight) - .saturating_add((138_000 as Weight).saturating_mul(r as Weight)) - .saturating_add((3_291_000 as Weight).saturating_mul(s as Weight)) - .saturating_add((6_000 as Weight).saturating_mul(x as Weight)) + (60_031_000 as Weight) + // Standard Error: 4_000 + .saturating_add((140_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 + .saturating_add((3_423_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn add_sub(s: u32, ) -> Weight { - (69_549_000 as Weight) - .saturating_add((188_000 as Weight).saturating_mul(s as Weight)) + (71_751_000 as Weight) + // Standard Error: 0 + .saturating_add((185_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn rename_sub(s: u32, ) -> Weight { - (22_557_000 as Weight) - .saturating_add((26_000 as Weight).saturating_mul(s as Weight)) + (23_607_000 as Weight) + // Standard Error: 0 + .saturating_add((23_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_sub(s: u32, ) -> Weight { - (66_423_000 as Weight) - .saturating_add((169_000 as Weight).saturating_mul(s as Weight)) + (68_696_000 as Weight) + // Standard Error: 0 + .saturating_add((160_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn quit_sub(s: u32, ) -> Weight { - (43_572_000 as Weight) - .saturating_add((159_000 as Weight).saturating_mul(s as Weight)) + (45_448_000 as Weight) + // Standard Error: 0 + .saturating_add((155_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot/runtime/westend/src/weights/pallet_im_online.rs b/polkadot/runtime/westend/src/weights/pallet_im_online.rs index aa61f58ffa..6bcb46d94e 100644 --- a/polkadot/runtime/westend/src/weights/pallet_im_online.rs +++ b/polkadot/runtime/westend/src/weights/pallet_im_online.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_im_online +//! Autogenerated weights for pallet_im_online +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,9 +44,11 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - (108_057_000 as Weight) - .saturating_add((217_000 as Weight).saturating_mul(k as Weight)) - .saturating_add((499_000 as Weight).saturating_mul(e as Weight)) + (112_311_000 as Weight) + // Standard Error: 0 + .saturating_add((216_000 as Weight).saturating_mul(k as Weight)) + // Standard Error: 1_000 + .saturating_add((497_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/westend/src/weights/pallet_indices.rs b/polkadot/runtime/westend/src/weights/pallet_indices.rs index a4638dfa82..db2555c63c 100644 --- a/polkadot/runtime/westend/src/weights/pallet_indices.rs +++ b/polkadot/runtime/westend/src/weights/pallet_indices.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_indices +//! Autogenerated weights for pallet_indices +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,27 +44,27 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { fn claim() -> Weight { - (51_356_000 as Weight) + (52_389_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn transfer() -> Weight { - (57_368_000 as Weight) + (58_943_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn free() -> Weight { - (46_042_000 as Weight) + (47_207_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_transfer() -> Weight { - (47_337_000 as Weight) + (48_696_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn freeze() -> Weight { - (42_906_000 as Weight) + (44_096_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/westend/src/weights/pallet_multisig.rs b/polkadot/runtime/westend/src/weights/pallet_multisig.rs index 781c200034..ebd9e865d8 100644 --- a/polkadot/runtime/westend/src/weights/pallet_multisig.rs +++ b/polkadot/runtime/westend/src/weights/pallet_multisig.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_multisig +//! Autogenerated weights for pallet_multisig +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,64 +44,79 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { - (12_253_000 as Weight) + (12_182_000 as Weight) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } fn as_multi_create(s: u32, z: u32, ) -> Weight { - (66_480_000 as Weight) - .saturating_add((89_000 as Weight).saturating_mul(s as Weight)) + (68_501_000 as Weight) + // Standard Error: 0 + .saturating_add((85_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (74_333_000 as Weight) - .saturating_add((92_000 as Weight).saturating_mul(s as Weight)) + (76_757_000 as Weight) + // Standard Error: 0 + .saturating_add((90_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (40_631_000 as Weight) - .saturating_add((109_000 as Weight).saturating_mul(s as Weight)) + (40_987_000 as Weight) + // Standard Error: 0 + .saturating_add((110_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (71_642_000 as Weight) - .saturating_add((125_000 as Weight).saturating_mul(s as Weight)) + (73_764_000 as Weight) + // Standard Error: 0 + .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (82_286_000 as Weight) - .saturating_add((250_000 as Weight).saturating_mul(s as Weight)) + (85_252_000 as Weight) + // Standard Error: 0 + .saturating_add((241_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 .saturating_add((5_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn approve_as_multi_create(s: u32, ) -> Weight { - (65_874_000 as Weight) + (67_717_000 as Weight) + // Standard Error: 0 .saturating_add((88_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn approve_as_multi_approve(s: u32, ) -> Weight { - (39_522_000 as Weight) - .saturating_add((109_000 as Weight).saturating_mul(s as Weight)) + (40_372_000 as Weight) + // Standard Error: 0 + .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn approve_as_multi_complete(s: u32, ) -> Weight { - (153_553_000 as Weight) - .saturating_add((255_000 as Weight).saturating_mul(s as Weight)) + (157_866_000 as Weight) + // Standard Error: 0 + .saturating_add((243_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn cancel_as_multi(s: u32, ) -> Weight { - (108_049_000 as Weight) + (109_344_000 as Weight) + // Standard Error: 0 .saturating_add((90_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/polkadot/runtime/westend/src/weights/pallet_proxy.rs b/polkadot/runtime/westend/src/weights/pallet_proxy.rs index dfcf34db3e..8965ccb200 100644 --- a/polkadot/runtime/westend/src/weights/pallet_proxy.rs +++ b/polkadot/runtime/westend/src/weights/pallet_proxy.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_proxy +//! Autogenerated weights for pallet_proxy +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,65 +44,77 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { fn proxy(p: u32, ) -> Weight { - (29_891_000 as Weight) - .saturating_add((182_000 as Weight).saturating_mul(p as Weight)) + (31_451_000 as Weight) + // Standard Error: 1_000 + .saturating_add((190_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn proxy_announced(a: u32, p: u32, ) -> Weight { - (63_230_000 as Weight) - .saturating_add((813_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((187_000 as Weight).saturating_mul(p as Weight)) + (65_914_000 as Weight) + // Standard Error: 1_000 + .saturating_add((822_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((183_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn remove_announcement(a: u32, p: u32, ) -> Weight { - (40_140_000 as Weight) - .saturating_add((812_000 as Weight).saturating_mul(a as Weight)) + (41_597_000 as Weight) + // Standard Error: 1_000 + .saturating_add((821_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 .saturating_add((11_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } - fn reject_announcement(a: u32, p: u32, ) -> Weight { - (40_219_000 as Weight) - .saturating_add((810_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((9_000 as Weight).saturating_mul(p as Weight)) + fn reject_announcement(a: u32, _p: u32, ) -> Weight { + (46_884_000 as Weight) + // Standard Error: 12_000 + .saturating_add((886_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn announce(a: u32, p: u32, ) -> Weight { - (63_882_000 as Weight) - .saturating_add((705_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((185_000 as Weight).saturating_mul(p as Weight)) + (66_635_000 as Weight) + // Standard Error: 1_000 + .saturating_add((716_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((188_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn add_proxy(p: u32, ) -> Weight { - (42_991_000 as Weight) - .saturating_add((200_000 as Weight).saturating_mul(p as Weight)) + (44_921_000 as Weight) + // Standard Error: 1_000 + .saturating_add((193_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_proxy(p: u32, ) -> Weight { - (38_502_000 as Weight) - .saturating_add((232_000 as Weight).saturating_mul(p as Weight)) + (40_276_000 as Weight) + // Standard Error: 1_000 + .saturating_add((230_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn remove_proxies(p: u32, ) -> Weight { - (36_781_000 as Weight) + (38_385_000 as Weight) + // Standard Error: 1_000 .saturating_add((187_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn anonymous(p: u32, ) -> Weight { - (60_757_000 as Weight) - .saturating_add((26_000 as Weight).saturating_mul(p as Weight)) + (63_987_000 as Weight) + // Standard Error: 1_000 + .saturating_add((29_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn kill_anonymous(p: u32, ) -> Weight { - (39_333_000 as Weight) - .saturating_add((187_000 as Weight).saturating_mul(p as Weight)) + (41_015_000 as Weight) + // Standard Error: 2_000 + .saturating_add((189_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot/runtime/westend/src/weights/pallet_scheduler.rs b/polkadot/runtime/westend/src/weights/pallet_scheduler.rs index e72370710b..acef5c9420 100644 --- a/polkadot/runtime/westend/src/weights/pallet_scheduler.rs +++ b/polkadot/runtime/westend/src/weights/pallet_scheduler.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_scheduler +//! Autogenerated weights for pallet_scheduler +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,25 +44,29 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule(s: u32, ) -> Weight { - (33_042_000 as Weight) + (33_809_000 as Weight) + // Standard Error: 0 .saturating_add((43_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn cancel(s: u32, ) -> Weight { - (29_682_000 as Weight) - .saturating_add((3_053_000 as Weight).saturating_mul(s as Weight)) + (30_493_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_041_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn schedule_named(s: u32, ) -> Weight { - (42_397_000 as Weight) - .saturating_add((57_000 as Weight).saturating_mul(s as Weight)) + (43_391_000 as Weight) + // Standard Error: 1_000 + .saturating_add((62_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn cancel_named(s: u32, ) -> Weight { - (33_595_000 as Weight) + (34_735_000 as Weight) + // Standard Error: 6_000 .saturating_add((3_058_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/polkadot/runtime/westend/src/weights/pallet_session.rs b/polkadot/runtime/westend/src/weights/pallet_session.rs index 3a5d99ab65..c5bf1d72eb 100644 --- a/polkadot/runtime/westend/src/weights/pallet_session.rs +++ b/polkadot/runtime/westend/src/weights/pallet_session.rs @@ -13,9 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_session +//! Autogenerated weights for pallet_session +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-11-03, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: @@ -43,12 +44,12 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { fn set_keys() -> Weight { - (89_357_000 as Weight) + (91_654_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } fn purge_keys() -> Weight { - (53_020_000 as Weight) + (54_360_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/polkadot/runtime/westend/src/weights/pallet_staking.rs b/polkadot/runtime/westend/src/weights/pallet_staking.rs index 5ee9fc92ae..680fe3dac8 100644 --- a/polkadot/runtime/westend/src/weights/pallet_staking.rs +++ b/polkadot/runtime/westend/src/weights/pallet_staking.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_staking +//! Autogenerated weights for pallet_staking +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,134 +44,147 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { fn bond() -> Weight { - (92_588_000 as Weight) + (97_009_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn bond_extra() -> Weight { - (72_845_000 as Weight) + (76_157_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn unbond() -> Weight { - (66_211_000 as Weight) + (69_106_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_update(s: u32, ) -> Weight { - (66_421_000 as Weight) - .saturating_add((30_000 as Weight).saturating_mul(s as Weight)) + (69_753_000 as Weight) + // Standard Error: 0 + .saturating_add((28_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (108_435_000 as Weight) - .saturating_add((3_792_000 as Weight).saturating_mul(s as Weight)) + (114_294_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_968_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn validate() -> Weight { - (23_187_000 as Weight) + (24_191_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn nominate(n: u32, ) -> Weight { - (30_124_000 as Weight) - .saturating_add((396_000 as Weight).saturating_mul(n as Weight)) + (31_373_000 as Weight) + // Standard Error: 12_000 + .saturating_add((393_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn chill() -> Weight { - (22_762_000 as Weight) + (23_668_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn set_payee() -> Weight { - (15_397_000 as Weight) + (16_126_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_controller() -> Weight { - (33_456_000 as Weight) + (35_127_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_validator_count() -> Weight { - (3_088_000 as Weight) + (3_249_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_no_eras() -> Weight { - (3_539_000 as Weight) + (3_644_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era() -> Weight { - (3_475_000 as Weight) + (3_647_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_new_era_always() -> Weight { - (3_521_000 as Weight) + (3_604_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn set_invulnerables(v: u32, ) -> Weight { - (3_557_000 as Weight) + (3_825_000 as Weight) + // Standard Error: 0 .saturating_add((9_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn force_unstake(s: u32, ) -> Weight { - (73_984_000 as Weight) - .saturating_add((3_774_000 as Weight).saturating_mul(s as Weight)) + (77_182_000 as Weight) + // Standard Error: 1_000 + .saturating_add((3_957_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn cancel_deferred_slash(s: u32, ) -> Weight { - (5_827_544_000 as Weight) - .saturating_add((34_637_000 as Weight).saturating_mul(s as Weight)) + (5_828_506_000 as Weight) + // Standard Error: 388_000 + .saturating_add((34_623_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (125_455_000 as Weight) - .saturating_add((56_788_000 as Weight).saturating_mul(n as Weight)) + (131_768_000 as Weight) + // Standard Error: 13_000 + .saturating_add((59_048_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight))) } fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (153_217_000 as Weight) - .saturating_add((73_829_000 as Weight).saturating_mul(n as Weight)) + (166_310_000 as Weight) + // Standard Error: 24_000 + .saturating_add((76_868_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight))) } fn rebond(l: u32, ) -> Weight { - (46_731_000 as Weight) - .saturating_add((102_000 as Weight).saturating_mul(l as Weight)) + (47_420_000 as Weight) + // Standard Error: 2_000 + .saturating_add((99_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - .saturating_add((37_029_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 60_000 + .saturating_add((39_014_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) } fn reap_stash(s: u32, ) -> Weight { - (93_424_000 as Weight) - .saturating_add((3_786_000 as Weight).saturating_mul(s as Weight)) + (97_591_000 as Weight) + // Standard Error: 0 + .saturating_add((3_953_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - .saturating_add((1_006_190_000 as Weight).saturating_mul(v as Weight)) - .saturating_add((118_065_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(10 as Weight)) + // Standard Error: 808_000 + .saturating_add((741_132_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 40_000 + .saturating_add((105_169_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(8 as Weight)) @@ -178,10 +192,14 @@ impl pallet_staking::WeightInfo for WeightInfo { } fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight { (0 as Weight) - .saturating_add((958_000 as Weight).saturating_mul(v as Weight)) - .saturating_add((453_000 as Weight).saturating_mul(n as Weight)) - .saturating_add((97_725_000 as Weight).saturating_mul(a as Weight)) - .saturating_add((7_355_000 as Weight).saturating_mul(w as Weight)) + // Standard Error: 49_000 + .saturating_add((1_163_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 19_000 + .saturating_add((484_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 49_000 + .saturating_add((101_948_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 103_000 + .saturating_add((7_810_000 as Weight).saturating_mul(w as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight))) diff --git a/polkadot/runtime/westend/src/weights/pallet_timestamp.rs b/polkadot/runtime/westend/src/weights/pallet_timestamp.rs index edc53ac47b..1f7fc5e488 100644 --- a/polkadot/runtime/westend/src/weights/pallet_timestamp.rs +++ b/polkadot/runtime/westend/src/weights/pallet_timestamp.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_timestamp +//! Autogenerated weights for pallet_timestamp +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,11 +44,11 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { - (9_830_000 as Weight) + (11_097_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (5_571_000 as Weight) + (6_159_000 as Weight) } } diff --git a/polkadot/runtime/westend/src/weights/pallet_utility.rs b/polkadot/runtime/westend/src/weights/pallet_utility.rs index 9b9f149766..06cca4364b 100644 --- a/polkadot/runtime/westend/src/weights/pallet_utility.rs +++ b/polkadot/runtime/westend/src/weights/pallet_utility.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_utility +//! Autogenerated weights for pallet_utility +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,14 +44,16 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (18_268_000 as Weight) - .saturating_add((1_504_000 as Weight).saturating_mul(c as Weight)) + (19_122_000 as Weight) + // Standard Error: 0 + .saturating_add((1_497_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (5_419_000 as Weight) + (5_668_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (18_951_000 as Weight) - .saturating_add((1_495_000 as Weight).saturating_mul(c as Weight)) + (19_623_000 as Weight) + // Standard Error: 0 + .saturating_add((1_497_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/polkadot/runtime/westend/src/weights/pallet_vesting.rs b/polkadot/runtime/westend/src/weights/pallet_vesting.rs index c18845df33..0afc4e98f7 100644 --- a/polkadot/runtime/westend/src/weights/pallet_vesting.rs +++ b/polkadot/runtime/westend/src/weights/pallet_vesting.rs @@ -13,13 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Weights for pallet_vesting +//! Autogenerated weights for pallet_vesting +//! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 -//! DATE: 2020-10-31, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] +//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/polkadot +// target/release/polkadot // benchmark // --chain=westend-dev // --steps=50 @@ -43,38 +44,44 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { fn vest_locked(l: u32, ) -> Weight { - (52_570_000 as Weight) + (55_027_000 as Weight) + // Standard Error: 0 .saturating_add((130_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn vest_unlocked(l: u32, ) -> Weight { - (56_501_000 as Weight) - .saturating_add((107_000 as Weight).saturating_mul(l as Weight)) + (59_131_000 as Weight) + // Standard Error: 2_000 + .saturating_add((110_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vest_other_locked(l: u32, ) -> Weight { - (52_276_000 as Weight) - .saturating_add((130_000 as Weight).saturating_mul(l as Weight)) + (54_746_000 as Weight) + // Standard Error: 0 + .saturating_add((126_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } fn vest_other_unlocked(l: u32, ) -> Weight { - (56_159_000 as Weight) - .saturating_add((111_000 as Weight).saturating_mul(l as Weight)) + (58_988_000 as Weight) + // Standard Error: 2_000 + .saturating_add((106_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn vested_transfer(l: u32, ) -> Weight { - (115_671_000 as Weight) - .saturating_add((171_000 as Weight).saturating_mul(l as Weight)) + (120_685_000 as Weight) + // Standard Error: 8_000 + .saturating_add((167_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn force_vested_transfer(l: u32, ) -> Weight { - (115_068_000 as Weight) - .saturating_add((167_000 as Weight).saturating_mul(l as Weight)) + (119_814_000 as Weight) + // Standard Error: 8_000 + .saturating_add((172_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) }