From 4a20e2de4efad3c31025339e2ff8e72e6cafd4e7 Mon Sep 17 00:00:00 2001 From: Kai <7630809+Kailai-Wang@users.noreply.github.com> Date: Thu, 9 Jun 2022 14:03:57 +0200 Subject: [PATCH] Update litentry weights (#632) * [benchmarking bot] Auto commit generated weights files (#628) Co-authored-by: Kailai-Wang * update weights usage * bump spec_version for litentry runtime Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Kailai-Wang --- runtime/litentry/src/lib.rs | 10 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 61 ++++++++++ runtime/litentry/src/weights/frame_system.rs | 15 +-- runtime/litentry/src/weights/mod.rs | 5 +- .../litentry/src/weights/pallet_balances.rs | 17 +-- .../src/weights/pallet_collator_selection.rs | 59 ++++++---- .../litentry/src/weights/pallet_collective.rs | 79 +++++++------ .../litentry/src/weights/pallet_democracy.rs | 111 +++++++++--------- runtime/litentry/src/weights/pallet_drop3.rs | 23 ++-- .../src/weights/pallet_extrinsic_filter.rs | 21 ++-- .../litentry/src/weights/pallet_membership.rs | 33 +++--- .../litentry/src/weights/pallet_multisig.rs | 55 ++++----- .../litentry/src/weights/pallet_preimage.rs | 21 ++-- runtime/litentry/src/weights/pallet_proxy.rs | 73 ++++++------ .../litentry/src/weights/pallet_scheduler.rs | 85 +++++++------- .../litentry/src/weights/pallet_session.rs | 7 +- .../litentry/src/weights/pallet_timestamp.rs | 7 +- .../litentry/src/weights/pallet_treasury.rs | 21 ++-- .../litentry/src/weights/pallet_utility.rs | 31 +++-- 19 files changed, 423 insertions(+), 311 deletions(-) create mode 100644 runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs diff --git a/runtime/litentry/src/lib.rs b/runtime/litentry/src/lib.rs index dc0c04d14b..fdd4606f5b 100644 --- a/runtime/litentry/src/lib.rs +++ b/runtime/litentry/src/lib.rs @@ -134,7 +134,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { authoring_version: 1, // same versioning-mechanism as polkadot: // last digit is used for minor updates, like 9110 -> 9111 in polkadot - spec_version: 9070, + spec_version: 9071, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -435,7 +435,7 @@ impl pallet_utility::Config for Runtime { type Event = Event; type Call = Call; type PalletsOrigin = OriginCaller; - type WeightInfo = (); + type WeightInfo = weights::pallet_utility::WeightInfo; } parameter_types! { @@ -612,7 +612,7 @@ impl pallet_treasury::Config for Runtime { type Burn = Burn; type BurnDestination = (); type SpendFunds = (); - type WeightInfo = (); + type WeightInfo = weights::pallet_treasury::WeightInfo; type MaxApprovals = MaxApprovals; } @@ -650,7 +650,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = (); + type WeightInfo = weights::cumulus_pallet_xcmp_queue::WeightInfo; } impl cumulus_pallet_dmp_queue::Config for Runtime { @@ -1041,7 +1041,7 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey}; + use frame_benchmarking::{Benchmarking, BenchmarkBatch, TrackedStorageKey}; use frame_system_benchmarking::Pallet as SystemBench; impl frame_system_benchmarking::Config for Runtime {} diff --git a/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs new file mode 100644 index 0000000000..14a7541b36 --- /dev/null +++ b/runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs @@ -0,0 +1,61 @@ +// Copyright 2020-2022 Litentry Technologies GmbH. +// This file is part of Litentry. +// +// Litentry is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Litentry is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Litentry. If not, see . + +//! Autogenerated weights for `cumulus_pallet_xcmp_queue` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 + +// Executed Command: +// ./litentry-collator +// benchmark +// pallet +// --chain=litentry-dev +// --execution=wasm +// --db-cache=20 +// --wasm-execution=compiled +// --pallet=cumulus_pallet_xcmp_queue +// --extrinsic=* +// --heap-pages=4096 +// --steps=20 +// --repeat=50 +// --header=./LICENSE_HEADER +// --output=./runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `cumulus_pallet_xcmp_queue`. +pub struct WeightInfo(PhantomData); +impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { + // Storage: XcmpQueue QueueConfig (r:1 w:1) + fn set_config_with_u32() -> Weight { + (3_831_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + // Storage: XcmpQueue QueueConfig (r:1 w:1) + fn set_config_with_weight() -> Weight { + (3_767_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } +} diff --git a/runtime/litentry/src/weights/frame_system.rs b/runtime/litentry/src/weights/frame_system.rs index 03bfe7fa54..bcc8903893 100644 --- a/runtime/litentry/src/weights/frame_system.rs +++ b/runtime/litentry/src/weights/frame_system.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -58,7 +59,7 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_255_000 as Weight) + (3_324_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -66,21 +67,21 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((817_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((626_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { - (0 as Weight) + (2_216_000 as Weight) // Standard Error: 1_000 - .saturating_add((564_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((454_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 2_000 - .saturating_add((1_186_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 1_000 + .saturating_add((1_063_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/litentry/src/weights/mod.rs b/runtime/litentry/src/weights/mod.rs index 4a35c2be7e..f033eaac5a 100644 --- a/runtime/litentry/src/weights/mod.rs +++ b/runtime/litentry/src/weights/mod.rs @@ -16,6 +16,7 @@ #![allow(clippy::unnecessary_cast)] +pub mod cumulus_pallet_xcmp_queue; pub mod frame_system; pub mod pallet_balances; pub mod pallet_collator_selection; @@ -30,5 +31,5 @@ pub mod pallet_proxy; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_timestamp; -// pub mod pallet_treasury; -// pub mod pallet_utility; +pub mod pallet_treasury; +pub mod pallet_utility; diff --git a/runtime/litentry/src/weights/pallet_balances.rs b/runtime/litentry/src/weights/pallet_balances.rs index 85658ab17b..92898e9478 100644 --- a/runtime/litentry/src/weights/pallet_balances.rs +++ b/runtime/litentry/src/weights/pallet_balances.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -47,43 +48,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (66_868_000 as Weight) + (50_720_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (49_980_000 as Weight) + (37_357_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (29_805_000 as Weight) + (22_565_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (35_154_000 as Weight) + (27_141_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (65_891_000 as Weight) + (48_615_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (60_083_000 as Weight) + (44_163_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (26_143_000 as Weight) + (19_784_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/litentry/src/weights/pallet_collator_selection.rs b/runtime/litentry/src/weights/pallet_collator_selection.rs index 73a742d884..6c4af26970 100644 --- a/runtime/litentry/src/weights/pallet_collator_selection.rs +++ b/runtime/litentry/src/weights/pallet_collator_selection.rs @@ -1,14 +1,30 @@ +// Copyright 2020-2022 Litentry Technologies GmbH. +// This file is part of Litentry. +// +// Litentry is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Litentry is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Litentry. If not, see . //! Autogenerated weights for `pallet_collator_selection` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-12-09, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 20 +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark -// --chain=dev +// pallet +// --chain=litentry-dev // --execution=wasm // --db-cache=20 // --wasm-execution=compiled @@ -17,7 +33,8 @@ // --heap-pages=4096 // --steps=20 // --repeat=50 -// --output=./runtime/src/weights/pallet_collator_selection.rs +// --header=./LICENSE_HEADER +// --output=./runtime/litentry/src/weights/pallet_collator_selection.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -29,21 +46,23 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collator_selection`. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:0) // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (17_993_000 as Weight) - // Standard Error: 0 - .saturating_add((44_000 as Weight).saturating_mul(b as Weight)) + (10_261_000 as Weight) + // Standard Error: 7_000 + .saturating_add((4_552_000 as Weight).saturating_mul(b as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (19_656_000 as Weight) + (13_645_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (16_394_000 as Weight) + (11_437_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) @@ -53,18 +72,18 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: CollatorSelection CandidacyBond (r:1 w:0) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (77_219_000 as Weight) - // Standard Error: 6_000 - .saturating_add((423_000 as Weight).saturating_mul(c as Weight)) + (54_805_000 as Weight) + // Standard Error: 4_000 + .saturating_add((385_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CollatorSelection Candidates (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn leave_intent(c: u32, ) -> Weight { - (55_689_000 as Weight) - // Standard Error: 6_000 - .saturating_add((498_000 as Weight).saturating_mul(c as Weight)) + (40_074_000 as Weight) + // Standard Error: 5_000 + .saturating_add((246_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -72,7 +91,7 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (73_539_000 as Weight) + (44_906_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -83,10 +102,10 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_353_000 - .saturating_add((11_095_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 1_353_000 - .saturating_add((44_435_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 744_000 + .saturating_add((6_278_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 744_000 + .saturating_add((25_101_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) diff --git a/runtime/litentry/src/weights/pallet_collective.rs b/runtime/litentry/src/weights/pallet_collective.rs index 3708e599c1..b25ab5ee96 100644 --- a/runtime/litentry/src/weights/pallet_collective.rs +++ b/runtime/litentry/src/weights/pallet_collective.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -51,12 +52,12 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Prime (r:0 w:1) fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 13_000 - .saturating_add((22_178_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 13_000 - .saturating_add((292_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 13_000 - .saturating_add((27_796_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 14_000 + .saturating_add((17_257_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 14_000 + .saturating_add((4_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 14_000 + .saturating_add((20_992_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)) @@ -66,11 +67,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (31_745_000 as Weight) + (22_784_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((139_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((50_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -78,11 +79,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (35_375_000 as Weight) + (26_446_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((235_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((80_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) } // Storage: Council Members (r:1 w:0) @@ -91,22 +92,22 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (31_660_000 as Weight) + (27_278_000 as Weight) // Standard Error: 0 .saturating_add((10_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 3_000 + .saturating_add((34_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 2_000 - .saturating_add((151_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 2_000 - .saturating_add((466_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((260_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)) } // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (45_104_000 as Weight) + (37_269_000 as Weight) // Standard Error: 3_000 - .saturating_add((338_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((132_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)) } @@ -115,11 +116,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (42_657_000 as Weight) + (34_016_000 as Weight) // Standard Error: 3_000 - .saturating_add((262_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((374_000 as Weight).saturating_mul(p as Weight)) + .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(3 as Weight)) } @@ -130,13 +131,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (48_869_000 as Weight) + (44_957_000 as Weight) // Standard Error: 0 - .saturating_add((12_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((9_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 3_000 - .saturating_add((344_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((99_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000 - .saturating_add((550_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((290_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -146,11 +147,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (45_219_000 as Weight) - // Standard Error: 3_000 - .saturating_add((284_000 as Weight).saturating_mul(m as Weight)) + (38_244_000 as Weight) // Standard Error: 3_000 - .saturating_add((387_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((84_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((194_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)) } @@ -162,13 +163,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (50_546_000 as Weight) + (42_192_000 as Weight) // Standard Error: 0 - .saturating_add((13_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((357_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 3_000 - .saturating_add((547_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((14_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 2_000 + .saturating_add((127_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 2_000 + .saturating_add((294_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -176,9 +177,9 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (26_287_000 as Weight) + (21_505_000 as Weight) // Standard Error: 2_000 - .saturating_add((420_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((253_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/runtime/litentry/src/weights/pallet_democracy.rs b/runtime/litentry/src/weights/pallet_democracy.rs index 8195837500..3007080c9f 100644 --- a/runtime/litentry/src/weights/pallet_democracy.rs +++ b/runtime/litentry/src/weights/pallet_democracy.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -50,15 +51,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (80_496_000 as Weight) + (61_840_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) fn second(s: u32, ) -> Weight { - (48_776_000 as Weight) + (35_370_000 as Weight) // Standard Error: 1_000 - .saturating_add((290_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((185_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)) } @@ -66,9 +67,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32, ) -> Weight { - (63_739_000 as Weight) - // Standard Error: 2_000 - .saturating_add((251_000 as Weight).saturating_mul(r as Weight)) + (45_957_000 as Weight) + // Standard Error: 1_000 + .saturating_add((265_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)) } @@ -76,16 +77,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32, ) -> Weight { - (64_384_000 as Weight) - // Standard Error: 4_000 - .saturating_add((236_000 as Weight).saturating_mul(r as Weight)) + (46_841_000 as Weight) + // Standard Error: 3_000 + .saturating_add((218_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)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (27_777_000 as Weight) + (20_129_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -96,45 +97,45 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32, ) -> Weight { - (86_614_000 as Weight) - // Standard Error: 14_000 - .saturating_add((669_000 as Weight).saturating_mul(p as Weight)) + (66_745_000 as Weight) + // Standard Error: 11_000 + .saturating_add((398_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose(v: u32, ) -> Weight { - (14_195_000 as Weight) + (9_852_000 as Weight) // Standard Error: 0 - .saturating_add((130_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((44_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)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (2_779_000 as Weight) + (1_524_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (2_846_000 as Weight) + (1_672_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (28_396_000 as Weight) + (20_164_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external(v: u32, ) -> Weight { - (30_164_000 as Weight) - // Standard Error: 0 - .saturating_add((157_000 as Weight).saturating_mul(v as Weight)) + (22_832_000 as Weight) + // Standard Error: 2_000 + .saturating_add((76_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)) } @@ -142,23 +143,23 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32, ) -> Weight { - (68_000_000 as Weight) - // Standard Error: 3_000 - .saturating_add((563_000 as Weight).saturating_mul(p as Weight)) + (51_692_000 as Weight) + // Standard Error: 4_000 + .saturating_add((330_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)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (16_735_000 as Weight) + (12_403_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_queued(r: u32, ) -> Weight { - (34_894_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_923_000 as Weight).saturating_mul(r as Weight)) + (30_604_000 as Weight) + // Standard Error: 13_000 + .saturating_add((1_432_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)) } @@ -166,9 +167,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base(r: u32, ) -> Weight { - (4_683_000 as Weight) - // Standard Error: 6_000 - .saturating_add((6_161_000 as Weight).saturating_mul(r as Weight)) + (3_405_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_429_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(1 as Weight)) @@ -180,9 +181,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - (13_239_000 as Weight) - // Standard Error: 6_000 - .saturating_add((6_167_000 as Weight).saturating_mul(r as Weight)) + (10_960_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_406_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))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -191,9 +192,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32, ) -> Weight { - (59_318_000 as Weight) - // Standard Error: 9_000 - .saturating_add((7_728_000 as Weight).saturating_mul(r as Weight)) + (47_792_000 as Weight) + // Standard Error: 10_000 + .saturating_add((5_698_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)) @@ -202,9 +203,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32, ) -> Weight { - (26_203_000 as Weight) - // Standard Error: 8_000 - .saturating_add((7_787_000 as Weight).saturating_mul(r as Weight)) + (20_588_000 as Weight) + // Standard Error: 4_000 + .saturating_add((5_653_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)) @@ -212,12 +213,12 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (3_116_000 as Weight) + (2_116_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_preimage(b: u32, ) -> Weight { - (39_979_000 as Weight) + (30_163_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)) @@ -225,7 +226,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32, ) -> Weight { - (28_596_000 as Weight) + (21_233_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)) @@ -234,9 +235,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32, ) -> Weight { - (40_554_000 as Weight) + (30_728_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((1_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)) } @@ -244,9 +245,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32, ) -> Weight { - (38_532_000 as Weight) + (29_864_000 as Weight) // Standard Error: 2_000 - .saturating_add((100_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((72_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)) } @@ -254,27 +255,27 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32, ) -> Weight { - (37_572_000 as Weight) + (28_324_000 as Weight) // Standard Error: 2_000 - .saturating_add((205_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((184_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)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32, ) -> Weight { - (22_412_000 as Weight) + (15_901_000 as Weight) // Standard Error: 2_000 - .saturating_add((192_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((179_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)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32, ) -> Weight { - (22_985_000 as Weight) - // Standard Error: 2_000 - .saturating_add((189_000 as Weight).saturating_mul(r as Weight)) + (16_932_000 as Weight) + // Standard Error: 3_000 + .saturating_add((183_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/runtime/litentry/src/weights/pallet_drop3.rs b/runtime/litentry/src/weights/pallet_drop3.rs index f83bc0d2b6..0a7f5f8321 100644 --- a/runtime/litentry/src/weights/pallet_drop3.rs +++ b/runtime/litentry/src/weights/pallet_drop3.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_drop3` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -47,14 +48,14 @@ pub struct WeightInfo(PhantomData); impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 Admin (r:1 w:1) fn set_admin() -> Weight { - (17_882_000 as Weight) + (13_802_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 Admin (r:1 w:0) // Storage: Drop3 RewardPools (r:1 w:1) fn approve_reward_pool() -> Weight { - (28_485_000 as Weight) + (21_365_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -63,21 +64,21 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn reject_reward_pool() -> Weight { - (82_015_000 as Weight) + (61_735_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn start_reward_pool() -> Weight { - (27_829_000 as Weight) + (21_074_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: Drop3 Admin (r:1 w:0) fn stop_reward_pool() -> Weight { - (29_180_000 as Weight) + (22_019_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -86,7 +87,7 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Drop3 RewardPoolOwners (r:0 w:1) fn close_reward_pool() -> Weight { - (52_540_000 as Weight) + (39_742_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -95,16 +96,16 @@ impl pallet_drop3::WeightInfo for WeightInfo { // Storage: Drop3 RewardPoolOwners (r:0 w:1) // Storage: Drop3 RewardPools (r:0 w:1) fn propose_reward_pool(n: u32, ) -> Weight { - (45_577_000 as Weight) - // Standard Error: 5_000 - .saturating_add((23_000 as Weight).saturating_mul(n as Weight)) + (34_408_000 as Weight) + // Standard Error: 2_000 + .saturating_add((5_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Drop3 RewardPools (r:1 w:1) // Storage: System Account (r:2 w:2) fn send_reward() -> Weight { - (53_520_000 as Weight) + (41_409_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/litentry/src/weights/pallet_extrinsic_filter.rs b/runtime/litentry/src/weights/pallet_extrinsic_filter.rs index 58f426f0ed..c14fcf619a 100644 --- a/runtime/litentry/src/weights/pallet_extrinsic_filter.rs +++ b/runtime/litentry/src/weights/pallet_extrinsic_filter.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_extrinsic_filter` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -45,24 +46,26 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_extrinsic_filter`. pub struct WeightInfo(PhantomData); impl pallet_extrinsic_filter::WeightInfo for WeightInfo { + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn block_extrinsics(p: u32, f: u32, ) -> Weight { - (21_728_000 as Weight) + (20_097_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(f as Weight)) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter BlockedExtrinsics (r:1 w:1) fn unblock_extrinsics(p: u32, f: u32, ) -> Weight { - (23_619_000 as Weight) + (20_891_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((10_000 as Weight).saturating_mul(p as Weight)) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(f as Weight)) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add((10_000 as Weight).saturating_mul(f as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/litentry/src/weights/pallet_membership.rs b/runtime/litentry/src/weights/pallet_membership.rs index eebdd81a1f..0b3456ec7e 100644 --- a/runtime/litentry/src/weights/pallet_membership.rs +++ b/runtime/litentry/src/weights/pallet_membership.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -50,9 +51,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - (24_931_000 as Weight) + (19_025_000 as Weight) // Standard Error: 0 - .saturating_add((156_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((72_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -62,9 +63,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - (29_256_000 as Weight) + (22_448_000 as Weight) // Standard Error: 0 - .saturating_add((148_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((69_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -74,9 +75,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn swap_member(m: u32, ) -> Weight { - (29_671_000 as Weight) + (22_612_000 as Weight) // Standard Error: 0 - .saturating_add((165_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((87_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -86,9 +87,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - (29_543_000 as Weight) + (22_486_000 as Weight) // Standard Error: 1_000 - .saturating_add((327_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((246_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -98,9 +99,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - (31_080_000 as Weight) - // Standard Error: 0 - .saturating_add((158_000 as Weight).saturating_mul(m as Weight)) + (23_862_000 as Weight) + // Standard Error: 1_000 + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -108,18 +109,18 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - (8_509_000 as Weight) + (6_260_000 as Weight) // Standard Error: 0 - .saturating_add((119_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((42_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: CouncilMembership Prime (r:0 w:1) // Storage: Council Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - (3_094_000 as Weight) + (2_137_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/litentry/src/weights/pallet_multisig.rs b/runtime/litentry/src/weights/pallet_multisig.rs index 6af6d0732b..af3f04e0d0 100644 --- a/runtime/litentry/src/weights/pallet_multisig.rs +++ b/runtime/litentry/src/weights/pallet_multisig.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -48,7 +49,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_threshold_1(z: u32, ) -> Weight { - (41_614_000 as Weight) + (26_238_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -56,11 +57,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (68_739_000 as Weight) - // Standard Error: 5_000 - .saturating_add((144_000 as Weight).saturating_mul(s as Weight)) + (43_132_000 as Weight) + // Standard Error: 1_000 + .saturating_add((142_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_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)) } @@ -68,19 +69,19 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (64_709_000 as Weight) - // Standard Error: 2_000 - .saturating_add((198_000 as Weight).saturating_mul(s as Weight)) + (48_412_000 as Weight) + // Standard Error: 1_000 + .saturating_add((133_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_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)) } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (36_855_000 as Weight) - // Standard Error: 2_000 - .saturating_add((183_000 as Weight).saturating_mul(s as Weight)) + (26_216_000 as Weight) + // Standard Error: 1_000 + .saturating_add((135_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -89,9 +90,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (61_792_000 as Weight) + (44_828_000 as Weight) // Standard Error: 2_000 - .saturating_add((201_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((137_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)) @@ -103,9 +104,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (82_865_000 as Weight) - // Standard Error: 2_000 - .saturating_add((394_000 as Weight).saturating_mul(s as Weight)) + (59_711_000 as Weight) + // Standard Error: 6_000 + .saturating_add((258_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) @@ -114,18 +115,18 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (52_398_000 as Weight) - // Standard Error: 1_000 - .saturating_add((248_000 as Weight).saturating_mul(s as Weight)) + (42_604_000 as Weight) + // Standard Error: 3_000 + .saturating_add((150_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)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32, ) -> Weight { - (32_747_000 as Weight) + (24_324_000 as Weight) // Standard Error: 1_000 - .saturating_add((218_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((137_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)) } @@ -135,18 +136,18 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn approve_as_multi_complete(s: u32, ) -> Weight { - (119_296_000 as Weight) + (93_757_000 as Weight) // Standard Error: 2_000 - .saturating_add((424_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((236_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: Multisig Calls (r:1 w:1) fn cancel_as_multi(s: u32, ) -> Weight { - (85_053_000 as Weight) + (66_347_000 as Weight) // Standard Error: 2_000 - .saturating_add((257_000 as Weight).saturating_mul(s as Weight)) + .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/runtime/litentry/src/weights/pallet_preimage.rs b/runtime/litentry/src/weights/pallet_preimage.rs index a9eee8ffaa..49f0491cea 100644 --- a/runtime/litentry/src/weights/pallet_preimage.rs +++ b/runtime/litentry/src/weights/pallet_preimage.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -75,58 +76,58 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (87_604_000 as Weight) + (66_645_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (61_032_000 as Weight) + (47_040_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (83_196_000 as Weight) + (62_006_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (56_994_000 as Weight) + (42_926_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (36_499_000 as Weight) + (26_137_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (12_068_000 as Weight) + (8_836_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (56_583_000 as Weight) + (43_966_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (36_102_000 as Weight) + (26_359_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (11_596_000 as Weight) + (7_829_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/litentry/src/weights/pallet_proxy.rs b/runtime/litentry/src/weights/pallet_proxy.rs index ada526c035..580f91d8ca 100644 --- a/runtime/litentry/src/weights/pallet_proxy.rs +++ b/runtime/litentry/src/weights/pallet_proxy.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -49,9 +50,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn proxy(p: u32, ) -> Weight { - (33_461_000 as Weight) - // Standard Error: 2_000 - .saturating_add((225_000 as Weight).saturating_mul(p as Weight)) + (24_815_000 as Weight) + // Standard Error: 1_000 + .saturating_add((116_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -59,34 +60,32 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) - fn proxy_announced(a: u32, p: u32, ) -> Weight { - (64_220_000 as Weight) - // Standard Error: 3_000 - .saturating_add((513_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 3_000 - .saturating_add((185_000 as Weight).saturating_mul(p as Weight)) + fn proxy_announced(a: u32, _p: u32, ) -> Weight { + (56_587_000 as Weight) + // Standard Error: 10_000 + .saturating_add((142_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32, ) -> Weight { - (36_308_000 as Weight) + (27_225_000 as Weight) // Standard Error: 1_000 - .saturating_add((528_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((284_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((21_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((16_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)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, p: u32, ) -> Weight { - (36_556_000 as Weight) - // Standard Error: 2_000 - .saturating_add((513_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((15_000 as Weight).saturating_mul(p as Weight)) + (27_082_000 as Weight) + // Standard Error: 1_000 + .saturating_add((290_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((22_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)) } @@ -94,52 +93,52 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn announce(a: u32, p: u32, ) -> Weight { - (49_758_000 as Weight) - // Standard Error: 2_000 - .saturating_add((507_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((197_000 as Weight).saturating_mul(p as Weight)) + (38_209_000 as Weight) + // Standard Error: 1_000 + .saturating_add((255_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((104_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)) } // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32, ) -> Weight { - (40_797_000 as Weight) + (30_794_000 as Weight) // Standard Error: 3_000 - .saturating_add((292_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((225_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)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32, ) -> Weight { - (34_683_000 as Weight) - // Standard Error: 2_000 - .saturating_add((270_000 as Weight).saturating_mul(p as Weight)) + (31_639_000 as Weight) + // Standard Error: 3_000 + .saturating_add((168_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)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxies(p: u32, ) -> Weight { - (33_698_000 as Weight) - // Standard Error: 2_000 - .saturating_add((209_000 as Weight).saturating_mul(p as Weight)) + (25_150_000 as Weight) + // Standard Error: 1_000 + .saturating_add((131_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)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32, ) -> Weight { - (46_323_000 as Weight) - // Standard Error: 2_000 - .saturating_add((100_000 as Weight).saturating_mul(p as Weight)) + (34_499_000 as Weight) + // Standard Error: 1_000 + .saturating_add((62_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)) } // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32, ) -> Weight { - (36_955_000 as Weight) - // Standard Error: 2_000 - .saturating_add((188_000 as Weight).saturating_mul(p as Weight)) + (29_020_000 as Weight) + // Standard Error: 9_000 + .saturating_add((78_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/runtime/litentry/src/weights/pallet_scheduler.rs b/runtime/litentry/src/weights/pallet_scheduler.rs index 2d41ecba57..2e021fa89f 100644 --- a/runtime/litentry/src/weights/pallet_scheduler.rs +++ b/runtime/litentry/src/weights/pallet_scheduler.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -50,9 +51,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (8_342_000 as Weight) - // Standard Error: 26_000 - .saturating_add((41_057_000 as Weight).saturating_mul(s as Weight)) + (9_623_000 as Weight) + // Standard Error: 19_000 + .saturating_add((30_798_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -63,9 +64,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_resolved(s: u32, ) -> Weight { - (12_044_000 as Weight) - // Standard Error: 22_000 - .saturating_add((31_957_000 as Weight).saturating_mul(s as Weight)) + (10_324_000 as Weight) + // Standard Error: 13_000 + .saturating_add((24_203_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -75,9 +76,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (10_685_000 as Weight) - // Standard Error: 25_000 - .saturating_add((35_136_000 as Weight).saturating_mul(s as Weight)) + (9_080_000 as Weight) + // Standard Error: 15_000 + .saturating_add((26_731_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -87,9 +88,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_resolved(s: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 270_000 - .saturating_add((30_938_000 as Weight).saturating_mul(s as Weight)) + (4_677_000 as Weight) + // Standard Error: 165_000 + .saturating_add((23_191_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -99,9 +100,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:0) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_aborted(s: u32, ) -> Weight { - (7_424_000 as Weight) - // Standard Error: 9_000 - .saturating_add((8_054_000 as Weight).saturating_mul(s as Weight)) + (5_036_000 as Weight) + // Standard Error: 8_000 + .saturating_add((6_101_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 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)) @@ -110,9 +111,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32, ) -> Weight { - (7_704_000 as Weight) - // Standard Error: 8_000 - .saturating_add((6_233_000 as Weight).saturating_mul(s as Weight)) + (2_715_000 as Weight) + // Standard Error: 24_000 + .saturating_add((4_943_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 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)) @@ -120,9 +121,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named(s: u32, ) -> Weight { - (20_028_000 as Weight) - // Standard Error: 13_000 - .saturating_add((21_180_000 as Weight).saturating_mul(s as Weight)) + (22_273_000 as Weight) + // Standard Error: 40_000 + .saturating_add((16_083_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 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)) @@ -130,9 +131,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32, ) -> Weight { - (17_844_000 as Weight) - // Standard Error: 15_000 - .saturating_add((15_725_000 as Weight).saturating_mul(s as Weight)) + (12_313_000 as Weight) + // Standard Error: 8_000 + .saturating_add((12_399_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 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)) @@ -141,53 +142,53 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named(s: u32, ) -> Weight { - (17_242_000 as Weight) - // Standard Error: 70_000 - .saturating_add((12_970_000 as Weight).saturating_mul(s as Weight)) + (20_582_000 as Weight) + // Standard Error: 27_000 + .saturating_add((9_627_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)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Scheduler Agenda (r:1 w:1) fn on_initialize(s: u32, ) -> Weight { - (18_366_000 as Weight) - // Standard Error: 8_000 - .saturating_add((10_394_000 as Weight).saturating_mul(s as Weight)) + (13_443_000 as Weight) + // Standard Error: 6_000 + .saturating_add((8_272_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)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32, ) -> Weight { - (26_667_000 as Weight) - // Standard Error: 2_000 - .saturating_add((119_000 as Weight).saturating_mul(s as Weight)) + (20_453_000 as Weight) + // Standard Error: 4_000 + .saturating_add((128_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)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32, ) -> Weight { - (26_728_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_907_000 as Weight).saturating_mul(s as Weight)) + (19_760_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_553_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)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32, ) -> Weight { - (31_985_000 as Weight) + (23_939_000 as Weight) // Standard Error: 2_000 - .saturating_add((167_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((145_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)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32, ) -> Weight { - (30_209_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_923_000 as Weight).saturating_mul(s as Weight)) + (22_081_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_560_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/runtime/litentry/src/weights/pallet_session.rs b/runtime/litentry/src/weights/pallet_session.rs index 74984a9a3d..8ae9ff3314 100644 --- a/runtime/litentry/src/weights/pallet_session.rs +++ b/runtime/litentry/src/weights/pallet_session.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -48,14 +49,14 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (24_762_000 as Weight) + (17_137_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (18_519_000 as Weight) + (13_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/litentry/src/weights/pallet_timestamp.rs b/runtime/litentry/src/weights/pallet_timestamp.rs index 056d87ade3..1ad0bd9aee 100644 --- a/runtime/litentry/src/weights/pallet_timestamp.rs +++ b/runtime/litentry/src/weights/pallet_timestamp.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -47,11 +48,11 @@ pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (8_312_000 as Weight) + (5_556_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (5_022_000 as Weight) + (3_354_000 as Weight) } } diff --git a/runtime/litentry/src/weights/pallet_treasury.rs b/runtime/litentry/src/weights/pallet_treasury.rs index bbc1862082..5113e01a88 100644 --- a/runtime/litentry/src/weights/pallet_treasury.rs +++ b/runtime/litentry/src/weights/pallet_treasury.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -48,33 +49,39 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (41_717_000 as Weight) + (29_871_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - (46_241_000 as Weight) + (34_991_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - (14_035_000 as Weight) + (10_324_000 as Weight) // Standard Error: 0 - .saturating_add((156_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((148_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)) } + // Storage: Treasury Approvals (r:1 w:1) + fn remove_approval() -> Weight { + (5_663_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } // Storage: System Account (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:5 w:5) fn on_initialize_proposals(p: u32, ) -> Weight { - (29_619_000 as Weight) + (18_592_000 as Weight) // Standard Error: 32_000 - .saturating_add((58_368_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((43_246_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)) diff --git a/runtime/litentry/src/weights/pallet_utility.rs b/runtime/litentry/src/weights/pallet_utility.rs index 9af7508cca..00b938f1d4 100644 --- a/runtime/litentry/src/weights/pallet_utility.rs +++ b/runtime/litentry/src/weights/pallet_utility.rs @@ -17,12 +17,13 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-02, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-06-08, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20 // Executed Command: // ./litentry-collator // benchmark +// pallet // --chain=litentry-dev // --execution=wasm // --db-cache=20 @@ -48,26 +49,36 @@ impl pallet_utility::WeightInfo for WeightInfo { // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch(c: u32, ) -> Weight { - (27_430_000 as Weight) - // Standard Error: 2_000 - .saturating_add((9_422_000 as Weight).saturating_mul(c as Weight)) + (19_204_000 as Weight) + // Standard Error: 1_000 + .saturating_add((6_709_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn as_derivative() -> Weight { - (12_975_000 as Weight) + (8_644_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: ExtrinsicFilter Mode (r:1 w:0) // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) fn batch_all(c: u32, ) -> Weight { - (75_427_000 as Weight) - // Standard Error: 7_000 - .saturating_add((9_844_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (76_818_000 as Weight) + // Standard Error: 34_000 + .saturating_add((7_135_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 dispatch_as() -> Weight { - (16_019_000 as Weight) + (11_587_000 as Weight) + } + // Storage: ExtrinsicFilter Mode (r:1 w:0) + // Storage: ExtrinsicFilter BlockedExtrinsics (r:2 w:0) + fn force_batch(c: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 28_000 + .saturating_add((6_977_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) } }