From fcc0d9d6965997b3ee6db0b7bb0250e6af881402 Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Wed, 22 Nov 2023 17:51:38 +0100 Subject: [PATCH] update weights --- Cargo.lock | 2 +- .../weights/frame_benchmarking_baseline.rs | 71 +++--- runtime/common/src/weights/frame_system.rs | 93 +++---- .../src/weights/pallet_authority_members.rs | 101 ++++---- runtime/common/src/weights/pallet_balances.rs | 137 +++++------ .../src/weights/pallet_certification_cert.rs | 32 +-- .../pallet_certification_smith_cert.rs | 32 +-- .../common/src/weights/pallet_collective.rs | 229 +++++++++--------- runtime/common/src/weights/pallet_distance.rs | 58 ++--- .../src/weights/pallet_duniter_account.rs | 94 ++++--- runtime/common/src/weights/pallet_identity.rs | 62 ++--- .../common/src/weights/pallet_im_online.rs | 62 ++--- .../weights/pallet_membership_membership.rs | 40 +-- .../pallet_membership_smith_membership.rs | 40 +-- runtime/common/src/weights/pallet_multisig.rs | 121 +++++---- .../src/weights/pallet_oneshot_account.rs | 71 +++--- runtime/common/src/weights/pallet_preimage.rs | 107 ++++---- .../src/weights/pallet_provide_randomness.rs | 22 +- runtime/common/src/weights/pallet_proxy.rs | 149 ++++++------ runtime/common/src/weights/pallet_quota.rs | 74 ++---- .../common/src/weights/pallet_scheduler.rs | 123 +++++----- runtime/common/src/weights/pallet_session.rs | 51 ++-- .../common/src/weights/pallet_timestamp.rs | 65 +++-- runtime/common/src/weights/pallet_treasury.rs | 97 ++++---- .../src/weights/pallet_universal_dividend.rs | 144 +++-------- .../src/weights/pallet_upgrade_origin.rs | 47 ++-- runtime/common/src/weights/pallet_utility.rs | 75 +++--- 27 files changed, 927 insertions(+), 1272 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c1030846..68514934b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1914,7 +1914,7 @@ dependencies = [ [[package]] name = "duniter" -version = "0.3.0" +version = "0.7.0" dependencies = [ "async-io", "bs58 0.5.0", diff --git a/runtime/common/src/weights/frame_benchmarking_baseline.rs b/runtime/common/src/weights/frame_benchmarking_baseline.rs index 2c0a5150d..2050bee73 100644 --- a/runtime/common/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/common/src/weights/frame_benchmarking_baseline.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,8 +40,8 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 743_000 picoseconds. - Weight::from_parts(980_100, 0) + // Minimum execution time: 25_000 picoseconds. + Weight::from_parts(28_168, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -62,8 +49,8 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 758_000 picoseconds. - Weight::from_parts(931_100, 0) + // Minimum execution time: 26_000 picoseconds. + Weight::from_parts(27_958, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -71,8 +58,8 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 736_000 picoseconds. - Weight::from_parts(1_411_800, 0) + // Minimum execution time: 25_000 picoseconds. + Weight::from_parts(27_507, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -80,16 +67,16 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 715_000 picoseconds. - Weight::from_parts(919_500, 0) + // Minimum execution time: 24_000 picoseconds. + Weight::from_parts(28_162, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 58_253_251_000 picoseconds. - Weight::from_parts(58_298_115_000, 0) + // Minimum execution time: 11_077_489_000 picoseconds. + Weight::from_parts(11_118_896_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -97,10 +84,10 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_002_000 picoseconds. - Weight::from_parts(14_276_600, 0) + // Minimum execution time: 29_000 picoseconds. + Weight::from_parts(5_237_333, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 402_829 - .saturating_add(Weight::from_parts(121_474_218, 0).saturating_mul(i.into())) + // Standard Error: 13_793 + .saturating_add(Weight::from_parts(35_970_853, 0).saturating_mul(i.into())) } } diff --git a/runtime/common/src/weights/frame_system.rs b/runtime/common/src/weights/frame_system.rs index ee97474b2..b2c1a657f 100644 --- a/runtime/common/src/weights/frame_system.rs +++ b/runtime/common/src/weights/frame_system.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,22 +40,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_389_000 picoseconds. - Weight::from_parts(42_731_500, 0) + // Minimum execution time: 669_000 picoseconds. + Weight::from_parts(721_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(955, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(68, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 27_738_000 picoseconds. - Weight::from_parts(82_083_800, 0) + // Minimum execution time: 2_319_000 picoseconds. + Weight::from_parts(2_461_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 53 - .saturating_add(Weight::from_parts(2_828, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(765, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -78,8 +65,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 17_763_000 picoseconds. - Weight::from_parts(23_048_000, 0) + // Minimum execution time: 1_450_000 picoseconds. + Weight::from_parts(1_616_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -91,11 +78,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_227_000 picoseconds. - Weight::from_parts(147_793_100, 0) + // Minimum execution time: 671_000 picoseconds. + Weight::from_parts(730_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 182_875 - .saturating_add(Weight::from_parts(2_073_824, 0).saturating_mul(i.into())) + // Standard Error: 645 + .saturating_add(Weight::from_parts(455_432, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -105,11 +92,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_324_000 picoseconds. - Weight::from_parts(62_646_000, 0) + // Minimum execution time: 640_000 picoseconds. + Weight::from_parts(683_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 83_795 - .saturating_add(Weight::from_parts(1_575_050, 0).saturating_mul(i.into())) + // Standard Error: 754 + .saturating_add(Weight::from_parts(365_166, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -117,13 +104,13 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `96 + p * (69 ±0)` - // Estimated: `69 + p * (70 ±0)` - // Minimum execution time: 17_140_000 picoseconds. - Weight::from_parts(4_697_000, 0) - .saturating_add(Weight::from_parts(0, 69)) - // Standard Error: 42_524 - .saturating_add(Weight::from_parts(2_979_195, 0).saturating_mul(p.into())) + // Measured: `82 + p * (69 ±0)` + // Estimated: `81 + p * (70 ±0)` + // Minimum execution time: 1_669_000 picoseconds. + Weight::from_parts(1_719_000, 0) + .saturating_add(Weight::from_parts(0, 81)) + // Standard Error: 902 + .saturating_add(Weight::from_parts(907_987, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/common/src/weights/pallet_authority_members.rs b/runtime/common/src/weights/pallet_authority_members.rs index ca306d849..96edf8fee 100644 --- a/runtime/common/src/weights/pallet_authority_members.rs +++ b/runtime/common/src/weights/pallet_authority_members.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_authority_members` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=pallet-authority-members -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -64,11 +51,11 @@ impl<T: frame_system::Config> pallet_authority_members::WeightInfo for WeightInf /// Proof Skipped: AuthorityMembers AuthoritiesCounter (max_values: Some(1), max_size: None, mode: Measured) fn go_offline() -> Weight { // Proof Size summary in bytes: - // Measured: `632` - // Estimated: `4097` - // Minimum execution time: 99_427_000 picoseconds. - Weight::from_parts(105_315_000, 0) - .saturating_add(Weight::from_parts(0, 4097)) + // Measured: `697` + // Estimated: `4162` + // Minimum execution time: 14_884_000 picoseconds. + Weight::from_parts(15_418_000, 0) + .saturating_add(Weight::from_parts(0, 4162)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,11 +79,11 @@ impl<T: frame_system::Config> pallet_authority_members::WeightInfo for WeightInf /// Proof Skipped: AuthorityMembers AuthoritiesCounter (max_values: Some(1), max_size: None, mode: Measured) fn go_online() -> Weight { // Proof Size summary in bytes: - // Measured: `1022` - // Estimated: `4487` - // Minimum execution time: 120_665_000 picoseconds. - Weight::from_parts(130_931_000, 0) - .saturating_add(Weight::from_parts(0, 4487)) + // Measured: `1087` + // Estimated: `4552` + // Minimum execution time: 18_491_000 picoseconds. + Weight::from_parts(19_385_000, 0) + .saturating_add(Weight::from_parts(0, 4552)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -105,26 +92,22 @@ impl<T: frame_system::Config> pallet_authority_members::WeightInfo for WeightInf /// Storage: SmithMembership Membership (r:1 w:0) /// Proof Skipped: SmithMembership Membership (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Session NextKeys (r:1 w:1) /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) /// Storage: Session KeyOwner (r:4 w:0) /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) - /// Storage: Session CurrentIndex (r:1 w:0) - /// Proof Skipped: Session CurrentIndex (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: AuthorityMembers Members (r:1 w:1) + /// Storage: AuthorityMembers Members (r:0 w:1) /// Proof Skipped: AuthorityMembers Members (max_values: None, max_size: None, mode: Measured) - /// Storage: AuthorityMembers MustRotateKeysBefore (r:1 w:1) - /// Proof Skipped: AuthorityMembers MustRotateKeysBefore (max_values: None, max_size: None, mode: Measured) fn set_session_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1750` - // Estimated: `12640` - // Minimum execution time: 166_507_000 picoseconds. - Weight::from_parts(181_777_000, 0) - .saturating_add(Weight::from_parts(0, 12640)) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `1468` + // Estimated: `12358` + // Minimum execution time: 21_063_000 picoseconds. + Weight::from_parts(22_045_000, 0) + .saturating_add(Weight::from_parts(0, 12358)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: AuthorityMembers Members (r:1 w:1) /// Proof Skipped: AuthorityMembers Members (max_values: None, max_size: None, mode: Measured) @@ -139,7 +122,7 @@ impl<T: frame_system::Config> pallet_authority_members::WeightInfo for WeightInf /// Storage: Session NextKeys (r:1 w:1) /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: SmithMembership Membership (r:1 w:1) /// Proof Skipped: SmithMembership Membership (max_values: None, max_size: None, mode: Measured) /// Storage: SmithMembership CounterForMembership (r:1 w:1) @@ -150,11 +133,11 @@ impl<T: frame_system::Config> pallet_authority_members::WeightInfo for WeightInf /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn remove_member() -> Weight { // Proof Size summary in bytes: - // Measured: `975` - // Estimated: `4440` - // Minimum execution time: 222_719_000 picoseconds. - Weight::from_parts(240_189_000, 0) - .saturating_add(Weight::from_parts(0, 4440)) + // Measured: `930` + // Estimated: `4395` + // Minimum execution time: 36_098_000 picoseconds. + Weight::from_parts(37_813_000, 0) + .saturating_add(Weight::from_parts(0, 4395)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(14)) } @@ -164,8 +147,8 @@ impl<T: frame_system::Config> pallet_authority_members::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `218` // Estimated: `1703` - // Minimum execution time: 41_963_000 picoseconds. - Weight::from_parts(47_577_000, 0) + // Minimum execution time: 5_275_000 picoseconds. + Weight::from_parts(5_438_000, 0) .saturating_add(Weight::from_parts(0, 1703)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index bc3f18ed7..383962de8 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// pallet-balances +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,111 +36,95 @@ use core::marker::PhantomData; pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Account PendingNewAccounts (r:0 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `3626` - // Minimum execution time: 181_103_000 picoseconds. - Weight::from_parts(181_638_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Estimated: `3591` + // Minimum execution time: 20_114_000 picoseconds. + Weight::from_parts(20_702_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Account PendingNewAccounts (r:0 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `3626` - // Minimum execution time: 141_436_000 picoseconds. - Weight::from_parts(165_715_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Estimated: `3591` + // Minimum execution time: 13_879_000 picoseconds. + Weight::from_parts(14_647_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `141` - // Estimated: `3626` - // Minimum execution time: 55_483_000 picoseconds. - Weight::from_parts(67_246_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Measured: `101` + // Estimated: `3591` + // Minimum execution time: 6_594_000 picoseconds. + Weight::from_parts(6_975_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `141` - // Estimated: `3626` - // Minimum execution time: 79_891_000 picoseconds. - Weight::from_parts(112_730_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Measured: `101` + // Estimated: `3591` + // Minimum execution time: 8_809_000 picoseconds. + Weight::from_parts(9_244_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Account PendingNewAccounts (r:0 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `104` - // Estimated: `6262` - // Minimum execution time: 175_293_000 picoseconds. - Weight::from_parts(182_650_000, 0) - .saturating_add(Weight::from_parts(0, 6262)) + // Measured: `64` + // Estimated: `6192` + // Minimum execution time: 21_956_000 picoseconds. + Weight::from_parts(22_411_000, 0) + .saturating_add(Weight::from_parts(0, 6192)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Account PendingNewAccounts (r:0 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `3626` - // Minimum execution time: 201_646_000 picoseconds. - Weight::from_parts(299_472_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Estimated: `3591` + // Minimum execution time: 17_184_000 picoseconds. + Weight::from_parts(17_534_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `141` - // Estimated: `3626` - // Minimum execution time: 64_089_000 picoseconds. - Weight::from_parts(71_539_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Measured: `101` + // Estimated: `3591` + // Minimum execution time: 7_304_000 picoseconds. + Weight::from_parts(7_588_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: System Account (r:1000 w:1000) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) - /// The range of component `u` is `[1, 1000]`. - fn upgrade_accounts(u: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + u * (136 ±0)` - // Estimated: `990 + u * (2636 ±0)` - // Minimum execution time: 58_364_000 picoseconds. - Weight::from_parts(884_796_987, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 1_784_601 - .saturating_add(Weight::from_parts(39_174_707, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 2636).saturating_mul(u.into())) - } } diff --git a/runtime/common/src/weights/pallet_certification_cert.rs b/runtime/common/src/weights/pallet_certification_cert.rs index ed9ba41fc..bffd614ac 100644 --- a/runtime/common/src/weights/pallet_certification_cert.rs +++ b/runtime/common/src/weights/pallet_certification_cert.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_certification` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -15,7 +15,7 @@ // dev // --wasm-execution=compiled // --pallet -// pallet-certification +// * // --extrinsic // * // --steps @@ -49,8 +49,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `839` // Estimated: `6779` - // Minimum execution time: 18_899_000 picoseconds. - Weight::from_parts(19_909_000, 0) + // Minimum execution time: 18_790_000 picoseconds. + Weight::from_parts(19_591_000, 0) .saturating_add(Weight::from_parts(0, 6779)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -67,8 +67,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `722` // Estimated: `6662` - // Minimum execution time: 16_243_000 picoseconds. - Weight::from_parts(17_100_000, 0) + // Minimum execution time: 16_351_000 picoseconds. + Weight::from_parts(16_970_000, 0) .saturating_add(Weight::from_parts(0, 6662)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -87,11 +87,11 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `608 + i * (35 ±0)` // Estimated: `4079 + i * (2511 ±0)` - // Minimum execution time: 16_330_000 picoseconds. - Weight::from_parts(16_916_000, 0) + // Minimum execution time: 17_062_000 picoseconds. + Weight::from_parts(17_453_000, 0) .saturating_add(Weight::from_parts(0, 4079)) - // Standard Error: 8_559 - .saturating_add(Weight::from_parts(4_840_667, 0).saturating_mul(i.into())) + // Standard Error: 8_545 + .saturating_add(Weight::from_parts(4_805_246, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -104,8 +104,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `181` // Estimated: `3646` - // Minimum execution time: 2_929_000 picoseconds. - Weight::from_parts(3_139_000, 0) + // Minimum execution time: 2_906_000 picoseconds. + Weight::from_parts(3_119_000, 0) .saturating_add(Weight::from_parts(0, 3646)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -115,8 +115,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `279` // Estimated: `3744` - // Minimum execution time: 3_633_000 picoseconds. - Weight::from_parts(3_964_000, 0) + // Minimum execution time: 3_649_000 picoseconds. + Weight::from_parts(3_853_000, 0) .saturating_add(Weight::from_parts(0, 3744)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,8 +133,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `722` // Estimated: `6662` - // Minimum execution time: 14_736_000 picoseconds. - Weight::from_parts(15_984_000, 0) + // Minimum execution time: 14_838_000 picoseconds. + Weight::from_parts(15_366_000, 0) .saturating_add(Weight::from_parts(0, 6662)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/common/src/weights/pallet_certification_smith_cert.rs b/runtime/common/src/weights/pallet_certification_smith_cert.rs index 941080b04..baadba991 100644 --- a/runtime/common/src/weights/pallet_certification_smith_cert.rs +++ b/runtime/common/src/weights/pallet_certification_smith_cert.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_certification` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -15,7 +15,7 @@ // dev // --wasm-execution=compiled // --pallet -// pallet-certification +// * // --extrinsic // * // --steps @@ -49,8 +49,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `769` // Estimated: `6709` - // Minimum execution time: 20_268_000 picoseconds. - Weight::from_parts(21_329_000, 0) + // Minimum execution time: 20_409_000 picoseconds. + Weight::from_parts(21_334_000, 0) .saturating_add(Weight::from_parts(0, 6709)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -67,8 +67,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `638` // Estimated: `6578` - // Minimum execution time: 16_545_000 picoseconds. - Weight::from_parts(17_210_000, 0) + // Minimum execution time: 16_348_000 picoseconds. + Weight::from_parts(16_926_000, 0) .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -87,11 +87,11 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `546 + i * (35 ±0)` // Estimated: `4020 + i * (2511 ±0)` - // Minimum execution time: 16_973_000 picoseconds. - Weight::from_parts(17_347_000, 0) + // Minimum execution time: 16_934_000 picoseconds. + Weight::from_parts(17_720_000, 0) .saturating_add(Weight::from_parts(0, 4020)) - // Standard Error: 8_591 - .saturating_add(Weight::from_parts(4_848_091, 0).saturating_mul(i.into())) + // Standard Error: 8_469 + .saturating_add(Weight::from_parts(4_793_252, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -104,8 +104,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `181` // Estimated: `3646` - // Minimum execution time: 2_924_000 picoseconds. - Weight::from_parts(3_077_000, 0) + // Minimum execution time: 2_890_000 picoseconds. + Weight::from_parts(3_127_000, 0) .saturating_add(Weight::from_parts(0, 3646)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -115,8 +115,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 4_137_000 picoseconds. - Weight::from_parts(4_368_000, 0) + // Minimum execution time: 4_084_000 picoseconds. + Weight::from_parts(4_285_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,8 +133,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Proof Size summary in bytes: // Measured: `638` // Estimated: `6578` - // Minimum execution time: 14_980_000 picoseconds. - Weight::from_parts(16_004_000, 0) + // Minimum execution time: 14_634_000 picoseconds. + Weight::from_parts(15_347_000, 0) .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/common/src/weights/pallet_collective.rs b/runtime/common/src/weights/pallet_collective.rs index 7120582e3..c03f5e7fa 100644 --- a/runtime/common/src/weights/pallet_collective.rs +++ b/runtime/common/src/weights/pallet_collective.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -62,20 +49,20 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (672 ±0) + p * (3191 ±0)` - // Estimated: `32727 + m * (417 ±39) + p * (3588 ±197)` - // Minimum execution time: 56_260_000 picoseconds. - Weight::from_parts(56_260_000, 0) - .saturating_add(Weight::from_parts(0, 32727)) - // Standard Error: 405_486 - .saturating_add(Weight::from_parts(3_480_197, 0).saturating_mul(m.into())) - // Standard Error: 2_027_433 - .saturating_add(Weight::from_parts(20_059_518, 0).saturating_mul(p.into())) + // Estimated: `10056 + m * (416 ±4) + p * (4183 ±23)` + // Minimum execution time: 8_788_000 picoseconds. + Weight::from_parts(9_007_000, 0) + .saturating_add(Weight::from_parts(0, 10056)) + // Standard Error: 5_566 + .saturating_add(Weight::from_parts(375_418, 0).saturating_mul(m.into())) + // Standard Error: 27_517 + .saturating_add(Weight::from_parts(3_658_247, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 417).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 3588).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 416).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4183).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -83,15 +70,15 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `1554 + m * (32 ±0)` - // Minimum execution time: 57_014_000 picoseconds. - Weight::from_parts(55_678_201, 0) - .saturating_add(Weight::from_parts(0, 1554)) - // Standard Error: 3_733 - .saturating_add(Weight::from_parts(4_393, 0).saturating_mul(b.into())) - // Standard Error: 38_397 - .saturating_add(Weight::from_parts(63_384, 0).saturating_mul(m.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 6_825_000 picoseconds. + Weight::from_parts(6_395_273, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 20 + .saturating_add(Weight::from_parts(914, 0).saturating_mul(b.into())) + // Standard Error: 209 + .saturating_add(Weight::from_parts(9_146, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -103,13 +90,15 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `3534 + m * (32 ±0)` - // Minimum execution time: 69_549_000 picoseconds. - Weight::from_parts(103_797_406, 0) - .saturating_add(Weight::from_parts(0, 3534)) - // Standard Error: 16_093 - .saturating_add(Weight::from_parts(2_010, 0).saturating_mul(b.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 7_589_000 picoseconds. + Weight::from_parts(7_568_178, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 33 + .saturating_add(Weight::from_parts(605, 0).saturating_mul(b.into())) + // Standard Error: 348 + .saturating_add(Weight::from_parts(24_454, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -126,21 +115,23 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 20]`. - fn propose_proposed(_b: u32, m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `137 + m * (32 ±0) + p * (52 ±0)` - // Estimated: `3457 + m * (33 ±0) + p * (57 ±2)` - // Minimum execution time: 87_906_000 picoseconds. - Weight::from_parts(110_298_400, 0) - .saturating_add(Weight::from_parts(0, 3457)) - // Standard Error: 133_938 - .saturating_add(Weight::from_parts(47_496, 0).saturating_mul(m.into())) - // Standard Error: 677_502 - .saturating_add(Weight::from_parts(1_176_985, 0).saturating_mul(p.into())) + // Measured: `61 + m * (32 ±0) + p * (55 ±0)` + // Estimated: `3498 + m * (32 ±0) + p * (54 ±0)` + // Minimum execution time: 11_253_000 picoseconds. + Weight::from_parts(9_428_843, 0) + .saturating_add(Weight::from_parts(0, 3498)) + // Standard Error: 46 + .saturating_add(Weight::from_parts(1_519, 0).saturating_mul(b.into())) + // Standard Error: 487 + .saturating_add(Weight::from_parts(24_207, 0).saturating_mul(m.into())) + // Standard Error: 2_436 + .saturating_add(Weight::from_parts(160_786, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 57).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 54).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -149,13 +140,13 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `609 + m * (64 ±0)` + // Measured: `610 + m * (64 ±0)` // Estimated: `4074 + m * (64 ±0)` - // Minimum execution time: 67_518_000 picoseconds. - Weight::from_parts(71_567_851, 0) + // Minimum execution time: 10_340_000 picoseconds. + Weight::from_parts(10_821_594, 0) .saturating_add(Weight::from_parts(0, 4074)) - // Standard Error: 188_027 - .saturating_add(Weight::from_parts(317_265, 0).saturating_mul(m.into())) + // Standard Error: 730 + .saturating_add(Weight::from_parts(39_833, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -172,15 +163,15 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `p` is `[1, 20]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `164 + m * (64 ±0) + p * (55 ±0)` - // Estimated: `3631 + m * (64 ±0) + p * (55 ±0)` - // Minimum execution time: 91_989_000 picoseconds. - Weight::from_parts(91_383_296, 0) - .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 201_199 - .saturating_add(Weight::from_parts(59_852, 0).saturating_mul(m.into())) - // Standard Error: 995_728 - .saturating_add(Weight::from_parts(927_741, 0).saturating_mul(p.into())) + // Measured: `154 + m * (64 ±0) + p * (55 ±0)` + // Estimated: `3628 + m * (64 ±0) + p * (55 ±0)` + // Minimum execution time: 12_339_000 picoseconds. + Weight::from_parts(11_149_740, 0) + .saturating_add(Weight::from_parts(0, 3628)) + // Standard Error: 502 + .saturating_add(Weight::from_parts(25_441, 0).saturating_mul(m.into())) + // Standard Error: 2_480 + .saturating_add(Weight::from_parts(142_961, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -199,20 +190,22 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `p` is `[1, 20]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + b * (1 ±0) + m * (64 ±0) + p * (78 ±0)` - // Estimated: `3572 + b * (1 ±0) + m * (64 ±0) + p * (76 ±1)` - // Minimum execution time: 125_950_000 picoseconds. - Weight::from_parts(111_377_580, 0) - .saturating_add(Weight::from_parts(0, 3572)) - // Standard Error: 193_970 - .saturating_add(Weight::from_parts(222_241, 0).saturating_mul(m.into())) - // Standard Error: 959_108 - .saturating_add(Weight::from_parts(1_837_613, 0).saturating_mul(p.into())) + // Measured: `99 + b * (1 ±0) + m * (64 ±0) + p * (78 ±0)` + // Estimated: `3656 + b * (1 ±0) + m * (63 ±0) + p * (74 ±0)` + // Minimum execution time: 16_498_000 picoseconds. + Weight::from_parts(15_217_225, 0) + .saturating_add(Weight::from_parts(0, 3656)) + // Standard Error: 77 + .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(b.into())) + // Standard Error: 819 + .saturating_add(Weight::from_parts(14_599, 0).saturating_mul(m.into())) + // Standard Error: 4_043 + .saturating_add(Weight::from_parts(227_674, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 76).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 63).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 74).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -228,15 +221,15 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `p` is `[1, 20]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `184 + m * (64 ±0) + p * (55 ±0)` - // Estimated: `3651 + m * (64 ±0) + p * (55 ±0)` - // Minimum execution time: 101_451_000 picoseconds. - Weight::from_parts(89_079_451, 0) - .saturating_add(Weight::from_parts(0, 3651)) - // Standard Error: 83_198 - .saturating_add(Weight::from_parts(108_327, 0).saturating_mul(m.into())) - // Standard Error: 411_748 - .saturating_add(Weight::from_parts(1_170_157, 0).saturating_mul(p.into())) + // Measured: `174 + m * (64 ±0) + p * (55 ±0)` + // Estimated: `3648 + m * (64 ±0) + p * (55 ±0)` + // Minimum execution time: 13_610_000 picoseconds. + Weight::from_parts(12_450_275, 0) + .saturating_add(Weight::from_parts(0, 3648)) + // Standard Error: 528 + .saturating_add(Weight::from_parts(26_794, 0).saturating_mul(m.into())) + // Standard Error: 2_610 + .saturating_add(Weight::from_parts(147_858, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -257,20 +250,22 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { /// The range of component `p` is `[1, 20]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + b * (1 ±0) + m * (64 ±0) + p * (78 ±0)` - // Estimated: `3592 + b * (1 ±0) + m * (64 ±0) + p * (76 ±1)` - // Minimum execution time: 132_690_000 picoseconds. - Weight::from_parts(172_539_570, 0) - .saturating_add(Weight::from_parts(0, 3592)) - // Standard Error: 245_516 - .saturating_add(Weight::from_parts(88_525, 0).saturating_mul(m.into())) - // Standard Error: 1_213_981 - .saturating_add(Weight::from_parts(1_656_093, 0).saturating_mul(p.into())) + // Measured: `119 + b * (1 ±0) + m * (64 ±0) + p * (78 ±0)` + // Estimated: `3676 + b * (1 ±0) + m * (63 ±0) + p * (74 ±0)` + // Minimum execution time: 17_716_000 picoseconds. + Weight::from_parts(16_730_494, 0) + .saturating_add(Weight::from_parts(0, 3676)) + // Standard Error: 98 + .saturating_add(Weight::from_parts(2_005, 0).saturating_mul(b.into())) + // Standard Error: 1_036 + .saturating_add(Weight::from_parts(2_643, 0).saturating_mul(m.into())) + // Standard Error: 5_112 + .saturating_add(Weight::from_parts(269_899, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 76).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 63).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 74).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -282,12 +277,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> { fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` - // Estimated: `1710 + p * (32 ±0)` - // Minimum execution time: 55_571_000 picoseconds. - Weight::from_parts(55_867_483, 0) - .saturating_add(Weight::from_parts(0, 1710)) - // Standard Error: 358_559 - .saturating_add(Weight::from_parts(1_217_099, 0).saturating_mul(p.into())) + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 6_590_000 picoseconds. + Weight::from_parts(7_196_355, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 1_586 + .saturating_add(Weight::from_parts(96_661, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/common/src/weights/pallet_distance.rs b/runtime/common/src/weights/pallet_distance.rs index 0dbf1514f..2f025be19 100644 --- a/runtime/common/src/weights/pallet_distance.rs +++ b/runtime/common/src/weights/pallet_distance.rs @@ -2,29 +2,27 @@ //! Autogenerated weights for `pallet_distance` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/duniter // benchmark // pallet // --chain -// gdev-benchmark -// --execution=wasm +// dev // --wasm-execution=compiled // --pallet -// pallet-distance +// * // --extrinsic // * // --steps // 50 // --repeat // 20 -// --output -// runtime/common/src/weights/ +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,16 +44,16 @@ impl<T: frame_system::Config> pallet_distance::WeightInfo for WeightInfo<T> { /// Storage: Distance EvaluationPool2 (r:1 w:1) /// Proof Skipped: Distance EvaluationPool2 (max_values: Some(1), max_size: None, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(121), added: 2596, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Distance DistanceStatusExpireOn (r:1 w:1) /// Proof Skipped: Distance DistanceStatusExpireOn (max_values: None, max_size: None, mode: Measured) fn request_distance_evaluation() -> Weight { // Proof Size summary in bytes: - // Measured: `935` - // Estimated: `4400` - // Minimum execution time: 28_469_000 picoseconds. - Weight::from_parts(30_905_000, 0) - .saturating_add(Weight::from_parts(0, 4400)) + // Measured: `940` + // Estimated: `4405` + // Minimum execution time: 15_424_000 picoseconds. + Weight::from_parts(16_307_000, 0) + .saturating_add(Weight::from_parts(0, 4405)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -65,6 +63,8 @@ impl<T: frame_system::Config> pallet_distance::WeightInfo for WeightInfo<T> { /// Proof: Authorship Author (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) /// Storage: System Digest (r:1 w:0) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Session Validators (r:1 w:0) + /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Session CurrentIndex (r:1 w:0) /// Proof Skipped: Session CurrentIndex (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Distance EvaluationPool0 (r:1 w:1) @@ -72,14 +72,14 @@ impl<T: frame_system::Config> pallet_distance::WeightInfo for WeightInfo<T> { /// The range of component `i` is `[1, 600]`. fn update_evaluation(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `744 + i * (10 ±0)` - // Estimated: `2228 + i * (10 ±0)` - // Minimum execution time: 13_870_000 picoseconds. - Weight::from_parts(17_116_748, 0) - .saturating_add(Weight::from_parts(0, 2228)) - // Standard Error: 684 - .saturating_add(Weight::from_parts(128_989, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `773 + i * (10 ±0)` + // Estimated: `2257 + i * (10 ±0)` + // Minimum execution time: 11_050_000 picoseconds. + Weight::from_parts(12_621_290, 0) + .saturating_add(Weight::from_parts(0, 2257)) + // Standard Error: 145 + .saturating_add(Weight::from_parts(59_121, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(i.into())) } @@ -92,11 +92,11 @@ impl<T: frame_system::Config> pallet_distance::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `612 + i * (10 ±0)` // Estimated: `2096 + i * (10 ±0)` - // Minimum execution time: 8_392_000 picoseconds. - Weight::from_parts(10_825_908, 0) + // Minimum execution time: 5_197_000 picoseconds. + Weight::from_parts(6_485_670, 0) .saturating_add(Weight::from_parts(0, 2096)) - // Standard Error: 326 - .saturating_add(Weight::from_parts(123_200, 0).saturating_mul(i.into())) + // Standard Error: 119 + .saturating_add(Weight::from_parts(58_163, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(i.into())) @@ -111,8 +111,8 @@ impl<T: frame_system::Config> pallet_distance::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `586` // Estimated: `4051` - // Minimum execution time: 8_099_000 picoseconds. - Weight::from_parts(8_786_000, 0) + // Minimum execution time: 4_930_000 picoseconds. + Weight::from_parts(5_069_000, 0) .saturating_add(Weight::from_parts(0, 4051)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -123,8 +123,8 @@ impl<T: frame_system::Config> pallet_distance::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `170` // Estimated: `1655` - // Minimum execution time: 3_904_000 picoseconds. - Weight::from_parts(4_132_000, 0) + // Minimum execution time: 3_156_000 picoseconds. + Weight::from_parts(3_382_000, 0) .saturating_add(Weight::from_parts(0, 1655)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/common/src/weights/pallet_duniter_account.rs b/runtime/common/src/weights/pallet_duniter_account.rs index 675cf9303..8d2f1803d 100644 --- a/runtime/common/src/weights/pallet_duniter_account.rs +++ b/runtime/common/src/weights/pallet_duniter_account.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_duniter_account` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,16 +35,17 @@ use core::marker::PhantomData; /// Weight functions for `pallet_duniter_account`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo<T> { - /// Storage: System Account (r:1 w:0) + /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn unlink_identity() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3591` - // Minimum execution time: 95_130_000 picoseconds. - Weight::from_parts(110_501_000, 0) + // Minimum execution time: 1_441_000 picoseconds. + Weight::from_parts(1_629_000, 0) .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Account PendingNewAccounts (r:1 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) @@ -79,16 +67,16 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< fn on_initialize_sufficient(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `42 + i * (309 ±0)` - // Estimated: `3816 + i * (309 ±0)` - // Minimum execution time: 13_976_000 picoseconds. - Weight::from_parts(20_107_000, 0) - .saturating_add(Weight::from_parts(0, 3816)) - // Standard Error: 5_235_621 - .saturating_add(Weight::from_parts(66_222_000, 0).saturating_mul(i.into())) + // Estimated: `3507 + i * (1908 ±0)` + // Minimum execution time: 1_728_000 picoseconds. + Weight::from_parts(1_954_869, 0) + .saturating_add(Weight::from_parts(0, 3507)) + // Standard Error: 12_280 + .saturating_add(Weight::from_parts(8_778_830, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(i.into()))) - .saturating_add(Weight::from_parts(0, 309).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(0, 1908).saturating_mul(i.into())) } /// Storage: Account PendingNewAccounts (r:1 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) @@ -110,16 +98,16 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< fn on_initialize_with_balance(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `42 + i * (309 ±0)` - // Estimated: `3816 + i * (309 ±0)` - // Minimum execution time: 13_885_000 picoseconds. - Weight::from_parts(18_835_500, 0) - .saturating_add(Weight::from_parts(0, 3816)) - // Standard Error: 5_218_700 - .saturating_add(Weight::from_parts(145_659_000, 0).saturating_mul(i.into())) + // Estimated: `3507 + i * (1908 ±0)` + // Minimum execution time: 1_726_000 picoseconds. + Weight::from_parts(1_952_720, 0) + .saturating_add(Weight::from_parts(0, 3507)) + // Standard Error: 21_870 + .saturating_add(Weight::from_parts(17_297_679, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(i.into()))) - .saturating_add(Weight::from_parts(0, 309).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(0, 1908).saturating_mul(i.into())) } /// Storage: Account PendingNewAccounts (r:1 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) @@ -128,11 +116,11 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `42 + i * (74 ±0)` // Estimated: `3507 + i * (74 ±0)` - // Minimum execution time: 14_090_000 picoseconds. - Weight::from_parts(19_033_000, 0) + // Minimum execution time: 1_751_000 picoseconds. + Weight::from_parts(1_982_969, 0) .saturating_add(Weight::from_parts(0, 3507)) - // Standard Error: 5_117_938 - .saturating_add(Weight::from_parts(34_767_000, 0).saturating_mul(i.into())) + // Standard Error: 13_323 + .saturating_add(Weight::from_parts(3_059_030, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) .saturating_add(Weight::from_parts(0, 74).saturating_mul(i.into())) @@ -143,8 +131,8 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `116` // Estimated: `3581` - // Minimum execution time: 55_833_000 picoseconds. - Weight::from_parts(64_334_000, 0) + // Minimum execution time: 5_354_000 picoseconds. + Weight::from_parts(5_648_000, 0) .saturating_add(Weight::from_parts(0, 3581)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -155,8 +143,8 @@ impl<T: frame_system::Config> pallet_duniter_account::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 11_103_000 picoseconds. - Weight::from_parts(18_273_000, 0) + // Minimum execution time: 1_297_000 picoseconds. + Weight::from_parts(1_382_000, 0) .saturating_add(Weight::from_parts(0, 3507)) .saturating_add(T::DbWeight::get().reads(1)) } diff --git a/runtime/common/src/weights/pallet_identity.rs b/runtime/common/src/weights/pallet_identity.rs index 0755c812b..3dc9f9848 100644 --- a/runtime/common/src/weights/pallet_identity.rs +++ b/runtime/common/src/weights/pallet_identity.rs @@ -15,7 +15,7 @@ // dev // --wasm-execution=compiled // --pallet -// pallet-identity +// * // --extrinsic // * // --steps @@ -61,8 +61,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `982` // Estimated: `6922` - // Minimum execution time: 36_524_000 picoseconds. - Weight::from_parts(38_494_000, 0) + // Minimum execution time: 38_137_000 picoseconds. + Weight::from_parts(39_647_000, 0) .saturating_add(Weight::from_parts(0, 6922)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) @@ -85,8 +85,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `955` // Estimated: `4420` - // Minimum execution time: 22_820_000 picoseconds. - Weight::from_parts(24_189_000, 0) + // Minimum execution time: 23_569_000 picoseconds. + Weight::from_parts(24_735_000, 0) .saturating_add(Weight::from_parts(0, 4420)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -113,8 +113,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `1948` // Estimated: `5413` - // Minimum execution time: 38_911_000 picoseconds. - Weight::from_parts(40_700_000, 0) + // Minimum execution time: 39_059_000 picoseconds. + Weight::from_parts(42_214_000, 0) .saturating_add(Weight::from_parts(0, 5413)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) @@ -135,8 +135,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `1119` // Estimated: `7059` - // Minimum execution time: 75_748_000 picoseconds. - Weight::from_parts(78_925_000, 0) + // Minimum execution time: 76_290_000 picoseconds. + Weight::from_parts(79_765_000, 0) .saturating_add(Weight::from_parts(0, 7059)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) @@ -167,8 +167,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `1498` // Estimated: `7438` - // Minimum execution time: 85_124_000 picoseconds. - Weight::from_parts(87_603_000, 0) + // Minimum execution time: 84_313_000 picoseconds. + Weight::from_parts(87_192_000, 0) .saturating_add(Weight::from_parts(0, 7438)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(10)) @@ -199,8 +199,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `1343` // Estimated: `7283` - // Minimum execution time: 38_340_000 picoseconds. - Weight::from_parts(39_702_000, 0) + // Minimum execution time: 38_696_000 picoseconds. + Weight::from_parts(39_816_000, 0) .saturating_add(Weight::from_parts(0, 7283)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(10)) @@ -212,11 +212,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 866_000 picoseconds. - Weight::from_parts(932_000, 0) + // Minimum execution time: 804_000 picoseconds. + Weight::from_parts(888_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 980 - .saturating_add(Weight::from_parts(645_049, 0).saturating_mul(i.into())) + // Standard Error: 939 + .saturating_add(Weight::from_parts(642_823, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: System Account (r:1 w:1) @@ -225,8 +225,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `67` // Estimated: `3591` - // Minimum execution time: 3_986_000 picoseconds. - Weight::from_parts(4_380_000, 0) + // Minimum execution time: 3_775_000 picoseconds. + Weight::from_parts(4_240_000, 0) .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -241,8 +241,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3772` - // Minimum execution time: 45_363_000 picoseconds. - Weight::from_parts(47_138_000, 0) + // Minimum execution time: 45_159_000 picoseconds. + Weight::from_parts(46_401_000, 0) .saturating_add(Weight::from_parts(0, 3772)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -261,8 +261,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 3_361_000 picoseconds. - Weight::from_parts(3_521_000, 0) + // Minimum execution time: 3_245_000 picoseconds. + Weight::from_parts(3_383_000, 0) .saturating_add(Weight::from_parts(0, 3734)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -308,8 +308,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `1525` // Estimated: `6192` - // Minimum execution time: 57_451_000 picoseconds. - Weight::from_parts(60_603_000, 0) + // Minimum execution time: 57_854_000 picoseconds. + Weight::from_parts(60_976_000, 0) .saturating_add(Weight::from_parts(0, 6192)) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().writes(22)) @@ -320,8 +320,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `108` // Estimated: `3573` - // Minimum execution time: 1_282_000 picoseconds. - Weight::from_parts(1_356_000, 0) + // Minimum execution time: 1_249_000 picoseconds. + Weight::from_parts(1_330_000, 0) .saturating_add(Weight::from_parts(0, 3573)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -333,8 +333,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `293` // Estimated: `3758` - // Minimum execution time: 4_515_000 picoseconds. - Weight::from_parts(4_653_000, 0) + // Minimum execution time: 4_441_000 picoseconds. + Weight::from_parts(4_690_000, 0) .saturating_add(Weight::from_parts(0, 3758)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -347,8 +347,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `360` // Estimated: `3825` - // Minimum execution time: 5_762_000 picoseconds. - Weight::from_parts(6_064_000, 0) + // Minimum execution time: 5_680_000 picoseconds. + Weight::from_parts(6_083_000, 0) .saturating_add(Weight::from_parts(0, 3825)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/common/src/weights/pallet_im_online.rs b/runtime/common/src/weights/pallet_im_online.rs index f987114b8..0f2507ce2 100644 --- a/runtime/common/src/weights/pallet_im_online.rs +++ b/runtime/common/src/weights/pallet_im_online.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -64,17 +51,18 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> { /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `614 + k * (32 ±0)` - // Estimated: `10024497 + k * (32 ±0)` - // Minimum execution time: 299_316_000 picoseconds. - Weight::from_parts(266_801_207, 0) + // Measured: `623 + k * (32 ±0)` + // Estimated: `10024497 + e * (35 ±0) + k * (32 ±0)` + // Minimum execution time: 64_879_000 picoseconds. + Weight::from_parts(61_871_641, 0) .saturating_add(Weight::from_parts(0, 10024497)) - // Standard Error: 12_875 - .saturating_add(Weight::from_parts(39_836, 0).saturating_mul(k.into())) - // Standard Error: 129_462 - .saturating_add(Weight::from_parts(1_233_773, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Standard Error: 434 + .saturating_add(Weight::from_parts(34_062, 0).saturating_mul(k.into())) + // Standard Error: 4_374 + .saturating_add(Weight::from_parts(189_794, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 32).saturating_mul(k.into())) } } diff --git a/runtime/common/src/weights/pallet_membership_membership.rs b/runtime/common/src/weights/pallet_membership_membership.rs index a59a5fff3..64d9bd04f 100644 --- a/runtime/common/src/weights/pallet_membership_membership.rs +++ b/runtime/common/src/weights/pallet_membership_membership.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -15,7 +15,7 @@ // dev // --wasm-execution=compiled // --pallet -// pallet-membership +// * // --extrinsic // * // --steps @@ -43,8 +43,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `429` // Estimated: `3894` - // Minimum execution time: 6_512_000 picoseconds. - Weight::from_parts(6_797_000, 0) + // Minimum execution time: 6_310_000 picoseconds. + Weight::from_parts(6_733_000, 0) .saturating_add(Weight::from_parts(0, 3894)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `4767` - // Minimum execution time: 30_045_000 picoseconds. - Weight::from_parts(32_002_000, 0) + // Minimum execution time: 27_879_000 picoseconds. + Weight::from_parts(30_454_000, 0) .saturating_add(Weight::from_parts(0, 4767)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,8 +94,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `988` // Estimated: `6928` - // Minimum execution time: 21_611_000 picoseconds. - Weight::from_parts(22_634_000, 0) + // Minimum execution time: 20_913_000 picoseconds. + Weight::from_parts(22_331_000, 0) .saturating_add(Weight::from_parts(0, 6928)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) @@ -116,8 +116,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `703` // Estimated: `4168` - // Minimum execution time: 16_934_000 picoseconds. - Weight::from_parts(17_921_000, 0) + // Minimum execution time: 16_631_000 picoseconds. + Weight::from_parts(18_080_000, 0) .saturating_add(Weight::from_parts(0, 4168)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 27_000 picoseconds. - Weight::from_parts(29_000, 0) + // Minimum execution time: 26_000 picoseconds. + Weight::from_parts(27_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Membership PendingMembershipsExpireOn (r:1 w:1) @@ -178,11 +178,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `2214 + i * (19 ±0)` // Estimated: `13117 + i * (2495 ±0)` - // Minimum execution time: 2_348_000 picoseconds. - Weight::from_parts(101_226_324, 0) + // Minimum execution time: 2_147_000 picoseconds. + Weight::from_parts(104_974_304, 0) .saturating_add(Weight::from_parts(0, 13117)) - // Standard Error: 2_868 - .saturating_add(Weight::from_parts(3_504_503, 0).saturating_mul(i.into())) + // Standard Error: 3_603 + .saturating_add(Weight::from_parts(3_246_507, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(27)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(47)) @@ -211,11 +211,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `714 + i * (23 ±0)` // Estimated: `4199 + i * (2499 ±0)` - // Minimum execution time: 5_102_000 picoseconds. - Weight::from_parts(5_309_000, 0) + // Minimum execution time: 4_828_000 picoseconds. + Weight::from_parts(5_150_000, 0) .saturating_add(Weight::from_parts(0, 4199)) - // Standard Error: 3_356 - .saturating_add(Weight::from_parts(4_135_740, 0).saturating_mul(i.into())) + // Standard Error: 885 + .saturating_add(Weight::from_parts(3_785_083, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/common/src/weights/pallet_membership_smith_membership.rs b/runtime/common/src/weights/pallet_membership_smith_membership.rs index 257ebf98f..be9d722ae 100644 --- a/runtime/common/src/weights/pallet_membership_smith_membership.rs +++ b/runtime/common/src/weights/pallet_membership_smith_membership.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -15,7 +15,7 @@ // dev // --wasm-execution=compiled // --pallet -// pallet-membership +// * // --extrinsic // * // --steps @@ -51,8 +51,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `706` // Estimated: `4171` - // Minimum execution time: 15_415_000 picoseconds. - Weight::from_parts(16_505_000, 0) + // Minimum execution time: 14_737_000 picoseconds. + Weight::from_parts(15_859_000, 0) .saturating_add(Weight::from_parts(0, 4171)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -75,8 +75,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `734` // Estimated: `4199` - // Minimum execution time: 19_377_000 picoseconds. - Weight::from_parts(20_649_000, 0) + // Minimum execution time: 19_034_000 picoseconds. + Weight::from_parts(20_081_000, 0) .saturating_add(Weight::from_parts(0, 4199)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -95,8 +95,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `717` // Estimated: `6657` - // Minimum execution time: 17_549_000 picoseconds. - Weight::from_parts(18_278_000, 0) + // Minimum execution time: 16_561_000 picoseconds. + Weight::from_parts(17_959_000, 0) .saturating_add(Weight::from_parts(0, 6657)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -127,8 +127,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `1183` // Estimated: `4648` - // Minimum execution time: 36_696_000 picoseconds. - Weight::from_parts(39_941_000, 0) + // Minimum execution time: 34_770_000 picoseconds. + Weight::from_parts(38_431_000, 0) .saturating_add(Weight::from_parts(0, 4648)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(13)) @@ -137,8 +137,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 26_000 picoseconds. - Weight::from_parts(29_000, 0) + // Minimum execution time: 25_000 picoseconds. + Weight::from_parts(27_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: SmithMembership PendingMembershipsExpireOn (r:1 w:1) @@ -151,11 +151,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `179 + i * (19 ±0)` // Estimated: `3649 + i * (2495 ±0)` - // Minimum execution time: 2_339_000 picoseconds. - Weight::from_parts(2_431_000, 0) + // Minimum execution time: 2_213_000 picoseconds. + Weight::from_parts(2_309_000, 0) .saturating_add(Weight::from_parts(0, 3649)) - // Standard Error: 1_084 - .saturating_add(Weight::from_parts(2_425_272, 0).saturating_mul(i.into())) + // Standard Error: 981 + .saturating_add(Weight::from_parts(2_257_315, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -180,11 +180,11 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `251 + i * (23 ±0)` // Estimated: `3735 + i * (2499 ±0)` - // Minimum execution time: 5_110_000 picoseconds. - Weight::from_parts(5_333_000, 0) + // Minimum execution time: 4_948_000 picoseconds. + Weight::from_parts(5_162_000, 0) .saturating_add(Weight::from_parts(0, 3735)) - // Standard Error: 2_590 - .saturating_add(Weight::from_parts(3_591_997, 0).saturating_mul(i.into())) + // Standard Error: 953 + .saturating_add(Weight::from_parts(3_313_144, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/common/src/weights/pallet_multisig.rs b/runtime/common/src/weights/pallet_multisig.rs index df2deee54..7382d0cb3 100644 --- a/runtime/common/src/weights/pallet_multisig.rs +++ b/runtime/common/src/weights/pallet_multisig.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,11 +40,11 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_579_000 picoseconds. - Weight::from_parts(26_428_100, 0) + // Minimum execution time: 2_042_000 picoseconds. + Weight::from_parts(2_440_917, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 601 - .saturating_add(Weight::from_parts(1_858, 0).saturating_mul(z.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(44, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(457), added: 2932, mode: MaxEncodedLen) @@ -65,15 +52,15 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `174 + s * (4 ±0)` + // Measured: `126 + s * (5 ±0)` // Estimated: `3922` - // Minimum execution time: 118_427_000 picoseconds. - Weight::from_parts(123_956_792, 0) + // Minimum execution time: 12_494_000 picoseconds. + Weight::from_parts(11_613_522, 0) .saturating_add(Weight::from_parts(0, 3922)) - // Standard Error: 1_009_038 - .saturating_add(Weight::from_parts(1_014_396, 0).saturating_mul(s.into())) - // Standard Error: 807 - .saturating_add(Weight::from_parts(1_494, 0).saturating_mul(z.into())) + // Standard Error: 4_196 + .saturating_add(Weight::from_parts(171_858, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(759, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -85,31 +72,33 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `240` // Estimated: `3922` - // Minimum execution time: 73_115_000 picoseconds. - Weight::from_parts(75_846_342, 0) + // Minimum execution time: 8_831_000 picoseconds. + Weight::from_parts(8_494_049, 0) .saturating_add(Weight::from_parts(0, 3922)) - // Standard Error: 1_803_422 - .saturating_add(Weight::from_parts(2_178_989, 0).saturating_mul(s.into())) - // Standard Error: 1_337 - .saturating_add(Weight::from_parts(1_473, 0).saturating_mul(z.into())) + // Standard Error: 3_328 + .saturating_add(Weight::from_parts(98_532, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(735, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(457), added: 2932, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// The range of component `s` is `[2, 10]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_complete(_s: u32, z: u32, ) -> Weight { + fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `308 + s * (36 ±0)` + // Measured: `260 + s * (37 ±0)` // Estimated: `3922` - // Minimum execution time: 119_094_000 picoseconds. - Weight::from_parts(110_581_521, 0) + // Minimum execution time: 14_909_000 picoseconds. + Weight::from_parts(13_975_505, 0) .saturating_add(Weight::from_parts(0, 3922)) - // Standard Error: 4_969 - .saturating_add(Weight::from_parts(12_145, 0).saturating_mul(z.into())) + // Standard Error: 5_589 + .saturating_add(Weight::from_parts(183_606, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(770, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -118,13 +107,13 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { /// The range of component `s` is `[2, 10]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `171 + s * (5 ±0)` + // Measured: `131 + s * (5 ±0)` // Estimated: `3922` - // Minimum execution time: 101_653_000 picoseconds. - Weight::from_parts(105_756_350, 0) + // Minimum execution time: 11_033_000 picoseconds. + Weight::from_parts(11_970_161, 0) .saturating_add(Weight::from_parts(0, 3922)) - // Standard Error: 530_883 - .saturating_add(Weight::from_parts(257_575, 0).saturating_mul(s.into())) + // Standard Error: 4_841 + .saturating_add(Weight::from_parts(102_165, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,24 +124,26 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `240` // Estimated: `3922` - // Minimum execution time: 64_210_000 picoseconds. - Weight::from_parts(54_945_550, 0) + // Minimum execution time: 7_428_000 picoseconds. + Weight::from_parts(7_946_425, 0) .saturating_add(Weight::from_parts(0, 3922)) - // Standard Error: 1_658_456 - .saturating_add(Weight::from_parts(3_219_925, 0).saturating_mul(s.into())) + // Standard Error: 2_616 + .saturating_add(Weight::from_parts(127_413, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(457), added: 2932, mode: MaxEncodedLen) /// The range of component `s` is `[2, 10]`. - fn cancel_as_multi(_s: u32, ) -> Weight { + fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `369 + s * (5 ±0)` + // Measured: `329 + s * (5 ±0)` // Estimated: `3922` - // Minimum execution time: 105_930_000 picoseconds. - Weight::from_parts(166_384_900, 0) + // Minimum execution time: 12_601_000 picoseconds. + Weight::from_parts(13_390_599, 0) .saturating_add(Weight::from_parts(0, 3922)) + // Standard Error: 3_815 + .saturating_add(Weight::from_parts(106_076, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_oneshot_account.rs b/runtime/common/src/weights/pallet_oneshot_account.rs index 7c1d991f3..ca4afd403 100644 --- a/runtime/common/src/weights/pallet_oneshot_account.rs +++ b/runtime/common/src/weights/pallet_oneshot_account.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_oneshot_account` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -54,8 +41,8 @@ impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 83_862_000 picoseconds. - Weight::from_parts(90_784_000, 0) + // Minimum execution time: 8_463_000 picoseconds. + Weight::from_parts(8_912_000, 0) .saturating_add(Weight::from_parts(0, 3507)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,14 +52,14 @@ impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo< /// Storage: System BlockHash (r:1 w:0) /// Proof: System BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn consume_oneshot_account() -> Weight { // Proof Size summary in bytes: - // Measured: `282` - // Estimated: `3747` - // Minimum execution time: 105_015_000 picoseconds. - Weight::from_parts(117_216_000, 0) - .saturating_add(Weight::from_parts(0, 3747)) + // Measured: `242` + // Estimated: `3707` + // Minimum execution time: 12_830_000 picoseconds. + Weight::from_parts(13_808_000, 0) + .saturating_add(Weight::from_parts(0, 3707)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,14 +68,14 @@ impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo< /// Storage: System BlockHash (r:1 w:0) /// Proof: System BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn consume_oneshot_account_with_remaining() -> Weight { // Proof Size summary in bytes: - // Measured: `386` - // Estimated: `6262` - // Minimum execution time: 140_399_000 picoseconds. - Weight::from_parts(146_010_000, 0) - .saturating_add(Weight::from_parts(0, 6262)) + // Measured: `306` + // Estimated: `6192` + // Minimum execution time: 17_370_000 picoseconds. + Weight::from_parts(18_278_000, 0) + .saturating_add(Weight::from_parts(0, 6192)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/common/src/weights/pallet_preimage.rs b/runtime/common/src/weights/pallet_preimage.rs index 68899746b..587c676bc 100644 --- a/runtime/common/src/weights/pallet_preimage.rs +++ b/runtime/common/src/weights/pallet_preimage.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,13 +42,13 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `144` + // Measured: `104` // Estimated: `3548` - // Minimum execution time: 95_465_000 picoseconds. - Weight::from_parts(95_465_000, 0) + // Minimum execution time: 9_936_000 picoseconds. + Weight::from_parts(10_522_000, 0) .saturating_add(Weight::from_parts(0, 3548)) - // Standard Error: 82 - .saturating_add(Weight::from_parts(3_779, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(868, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -74,11 +61,11 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3548` - // Minimum execution time: 55_082_000 picoseconds. - Weight::from_parts(55_082_000, 0) + // Minimum execution time: 6_893_000 picoseconds. + Weight::from_parts(7_155_000, 0) .saturating_add(Weight::from_parts(0, 3548)) - // Standard Error: 77 - .saturating_add(Weight::from_parts(3_788, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(869, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,11 +78,11 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3548` - // Minimum execution time: 54_234_000 picoseconds. - Weight::from_parts(54_234_000, 0) + // Minimum execution time: 6_697_000 picoseconds. + Weight::from_parts(6_954_000, 0) .saturating_add(Weight::from_parts(0, 3548)) - // Standard Error: 86 - .saturating_add(Weight::from_parts(3_800, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(888, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -105,10 +92,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `282` + // Measured: `242` // Estimated: `3548` - // Minimum execution time: 125_550_000 picoseconds. - Weight::from_parts(144_762_000, 0) + // Minimum execution time: 20_426_000 picoseconds. + Weight::from_parts(22_998_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -121,8 +108,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3548` - // Minimum execution time: 72_643_000 picoseconds. - Weight::from_parts(77_957_000, 0) + // Minimum execution time: 13_389_000 picoseconds. + Weight::from_parts(15_526_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -133,8 +120,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `180` // Estimated: `3548` - // Minimum execution time: 64_953_000 picoseconds. - Weight::from_parts(71_781_000, 0) + // Minimum execution time: 11_655_000 picoseconds. + Weight::from_parts(13_922_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -145,8 +132,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3548` - // Minimum execution time: 43_384_000 picoseconds. - Weight::from_parts(47_286_000, 0) + // Minimum execution time: 7_827_000 picoseconds. + Weight::from_parts(8_713_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -157,8 +144,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3548` - // Minimum execution time: 58_752_000 picoseconds. - Weight::from_parts(88_290_000, 0) + // Minimum execution time: 4_167_000 picoseconds. + Weight::from_parts(4_469_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -169,8 +156,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3548` - // Minimum execution time: 37_004_000 picoseconds. - Weight::from_parts(38_686_000, 0) + // Minimum execution time: 4_151_000 picoseconds. + Weight::from_parts(4_263_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -183,8 +170,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3548` - // Minimum execution time: 70_801_000 picoseconds. - Weight::from_parts(81_331_000, 0) + // Minimum execution time: 13_111_000 picoseconds. + Weight::from_parts(14_680_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -195,8 +182,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3548` - // Minimum execution time: 37_544_000 picoseconds. - Weight::from_parts(38_578_000, 0) + // Minimum execution time: 4_031_000 picoseconds. + Weight::from_parts(4_411_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -207,8 +194,8 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3548` - // Minimum execution time: 36_326_000 picoseconds. - Weight::from_parts(37_114_000, 0) + // Minimum execution time: 4_162_000 picoseconds. + Weight::from_parts(4_272_000, 0) .saturating_add(Weight::from_parts(0, 3548)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/common/src/weights/pallet_provide_randomness.rs b/runtime/common/src/weights/pallet_provide_randomness.rs index 202f4f5d0..ca7afe458 100644 --- a/runtime/common/src/weights/pallet_provide_randomness.rs +++ b/runtime/common/src/weights/pallet_provide_randomness.rs @@ -15,7 +15,7 @@ // dev // --wasm-execution=compiled // --pallet -// pallet-provide-randomness +// * // --extrinsic // * // --steps @@ -51,8 +51,8 @@ impl<T: frame_system::Config> pallet_provide_randomness::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 17_882_000 picoseconds. - Weight::from_parts(18_516_000, 0) + // Minimum execution time: 18_704_000 picoseconds. + Weight::from_parts(19_384_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -74,11 +74,11 @@ impl<T: frame_system::Config> pallet_provide_randomness::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `383 + i * (59 ±0)` // Estimated: `1869 + i * (2535 ±0)` - // Minimum execution time: 12_923_000 picoseconds. - Weight::from_parts(11_245_683, 0) + // Minimum execution time: 12_665_000 picoseconds. + Weight::from_parts(11_155_211, 0) .saturating_add(Weight::from_parts(0, 1869)) - // Standard Error: 5_906 - .saturating_add(Weight::from_parts(3_623_077, 0).saturating_mul(i.into())) + // Standard Error: 4_771 + .saturating_add(Weight::from_parts(3_623_450, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -108,11 +108,11 @@ impl<T: frame_system::Config> pallet_provide_randomness::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `393 + i * (59 ±0)` // Estimated: `3859 + i * (2535 ±0)` - // Minimum execution time: 12_898_000 picoseconds. - Weight::from_parts(11_213_265, 0) + // Minimum execution time: 13_211_000 picoseconds. + Weight::from_parts(12_024_374, 0) .saturating_add(Weight::from_parts(0, 3859)) - // Standard Error: 4_684 - .saturating_add(Weight::from_parts(3_741_329, 0).saturating_mul(i.into())) + // Standard Error: 5_972 + .saturating_add(Weight::from_parts(3_724_254, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/runtime/common/src/weights/pallet_proxy.rs b/runtime/common/src/weights/pallet_proxy.rs index c26dc8073..0140268eb 100644 --- a/runtime/common/src/weights/pallet_proxy.rs +++ b/runtime/common/src/weights/pallet_proxy.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,11 +42,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `157 + p * (37 ±0)` // Estimated: `4698` - // Minimum execution time: 56_724_000 picoseconds. - Weight::from_parts(65_770_585, 0) + // Minimum execution time: 7_203_000 picoseconds. + Weight::from_parts(7_690_167, 0) .saturating_add(Weight::from_parts(0, 4698)) - // Standard Error: 757_288 - .saturating_add(Weight::from_parts(477_652, 0).saturating_mul(p.into())) + // Standard Error: 1_004 + .saturating_add(Weight::from_parts(21_815, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -67,54 +54,60 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { /// Storage: Proxy Announcements (r:1 w:1) /// Proof: Proxy Announcements (max_values: None, max_size: Some(2225), added: 4700, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn proxy_announced(_a: u32, _p: u32, ) -> Weight { + fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `440 + a * (68 ±0) + p * (37 ±0)` + // Measured: `400 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5690` - // Minimum execution time: 129_635_000 picoseconds. - Weight::from_parts(192_311_555, 0) + // Minimum execution time: 16_094_000 picoseconds. + Weight::from_parts(15_734_883, 0) .saturating_add(Weight::from_parts(0, 5690)) + // Standard Error: 1_567 + .saturating_add(Weight::from_parts(66_691, 0).saturating_mul(a.into())) + // Standard Error: 1_619 + .saturating_add(Weight::from_parts(43_319, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Proxy Announcements (r:1 w:1) /// Proof: Proxy Announcements (max_values: None, max_size: Some(2225), added: 4700, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `363 + a * (68 ±0)` + // Measured: `323 + a * (68 ±0)` // Estimated: `5690` - // Minimum execution time: 80_344_000 picoseconds. - Weight::from_parts(80_423_745, 0) + // Minimum execution time: 10_617_000 picoseconds. + Weight::from_parts(10_729_133, 0) .saturating_add(Weight::from_parts(0, 5690)) - // Standard Error: 134_418 - .saturating_add(Weight::from_parts(626_615, 0).saturating_mul(a.into())) - // Standard Error: 139_765 - .saturating_add(Weight::from_parts(26_990, 0).saturating_mul(p.into())) + // Standard Error: 1_294 + .saturating_add(Weight::from_parts(64_383, 0).saturating_mul(a.into())) + // Standard Error: 1_337 + .saturating_add(Weight::from_parts(14_055, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: Proxy Announcements (r:1 w:1) /// Proof: Proxy Announcements (max_values: None, max_size: Some(2225), added: 4700, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `363 + a * (68 ±0)` + // Measured: `323 + a * (68 ±0)` // Estimated: `5690` - // Minimum execution time: 82_615_000 picoseconds. - Weight::from_parts(84_060_589, 0) + // Minimum execution time: 10_622_000 picoseconds. + Weight::from_parts(11_079_860, 0) .saturating_add(Weight::from_parts(0, 5690)) - // Standard Error: 55_713 - .saturating_add(Weight::from_parts(454_915, 0).saturating_mul(a.into())) + // Standard Error: 1_116 + .saturating_add(Weight::from_parts(57_678, 0).saturating_mul(a.into())) + // Standard Error: 1_153 + .saturating_add(Weight::from_parts(4_468, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -123,18 +116,20 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { /// Storage: Proxy Announcements (r:1 w:1) /// Proof: Proxy Announcements (max_values: None, max_size: Some(2225), added: 4700, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn announce(a: u32, _p: u32, ) -> Weight { + fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `372 + a * (68 ±0) + p * (37 ±0)` + // Measured: `332 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5690` - // Minimum execution time: 109_209_000 picoseconds. - Weight::from_parts(113_559_431, 0) + // Minimum execution time: 14_470_000 picoseconds. + Weight::from_parts(14_941_845, 0) .saturating_add(Weight::from_parts(0, 5690)) - // Standard Error: 164_802 - .saturating_add(Weight::from_parts(508_902, 0).saturating_mul(a.into())) + // Standard Error: 1_452 + .saturating_add(Weight::from_parts(58_394, 0).saturating_mul(a.into())) + // Standard Error: 1_500 + .saturating_add(Weight::from_parts(37_057, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -145,11 +140,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `157 + p * (37 ±0)` // Estimated: `4698` - // Minimum execution time: 84_439_000 picoseconds. - Weight::from_parts(103_883_398, 0) + // Minimum execution time: 9_865_000 picoseconds. + Weight::from_parts(10_439_466, 0) .saturating_add(Weight::from_parts(0, 4698)) - // Standard Error: 1_013_121 - .saturating_add(Weight::from_parts(128_107, 0).saturating_mul(p.into())) + // Standard Error: 1_211 + .saturating_add(Weight::from_parts(36_145, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,11 +155,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `157 + p * (37 ±0)` // Estimated: `4698` - // Minimum execution time: 88_102_000 picoseconds. - Weight::from_parts(87_281_421, 0) + // Minimum execution time: 9_880_000 picoseconds. + Weight::from_parts(10_603_276, 0) .saturating_add(Weight::from_parts(0, 4698)) - // Standard Error: 1_185_595 - .saturating_add(Weight::from_parts(2_228_137, 0).saturating_mul(p.into())) + // Standard Error: 1_625 + .saturating_add(Weight::from_parts(26_584, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,11 +170,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `157 + p * (37 ±0)` // Estimated: `4698` - // Minimum execution time: 75_650_000 picoseconds. - Weight::from_parts(80_253_867, 0) + // Minimum execution time: 9_151_000 picoseconds. + Weight::from_parts(9_772_352, 0) .saturating_add(Weight::from_parts(0, 4698)) - // Standard Error: 611_026 - .saturating_add(Weight::from_parts(617_546, 0).saturating_mul(p.into())) + // Standard Error: 1_077 + .saturating_add(Weight::from_parts(17_610, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,8 +185,8 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `177` // Estimated: `4698` - // Minimum execution time: 91_192_000 picoseconds. - Weight::from_parts(114_007_922, 0) + // Minimum execution time: 9_936_000 picoseconds. + Weight::from_parts(10_919_619, 0) .saturating_add(Weight::from_parts(0, 4698)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -203,11 +198,11 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `194 + p * (37 ±0)` // Estimated: `4698` - // Minimum execution time: 81_457_000 picoseconds. - Weight::from_parts(93_074_034, 0) + // Minimum execution time: 9_348_000 picoseconds. + Weight::from_parts(10_005_982, 0) .saturating_add(Weight::from_parts(0, 4698)) - // Standard Error: 639_450 - .saturating_add(Weight::from_parts(446_774, 0).saturating_mul(p.into())) + // Standard Error: 924 + .saturating_add(Weight::from_parts(27_508, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_quota.rs b/runtime/common/src/weights/pallet_quota.rs index 398fed336..34cd1d25e 100644 --- a/runtime/common/src/weights/pallet_quota.rs +++ b/runtime/common/src/weights/pallet_quota.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_quota` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -15,7 +15,7 @@ // dev // --wasm-execution=compiled // --pallet -// pallet-quota +// * // --extrinsic // * // --steps @@ -39,10 +39,10 @@ impl<T: frame_system::Config> pallet_quota::WeightInfo for WeightInfo<T> { /// Proof: Quota RefundQueue (max_values: Some(1), max_size: Some(11266), added: 11761, mode: MaxEncodedLen) fn queue_refund() -> Weight { // Proof Size summary in bytes: - // Measured: `11288` + // Measured: `43` // Estimated: `12751` - // Minimum execution time: 7_021_000 picoseconds. - Weight::from_parts(7_228_000, 0) + // Minimum execution time: 1_494_000 picoseconds. + Weight::from_parts(1_598_000, 0) .saturating_add(Weight::from_parts(0, 12751)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -53,70 +53,30 @@ impl<T: frame_system::Config> pallet_quota::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `139` // Estimated: `3489` - // Minimum execution time: 3_635_000 picoseconds. - Weight::from_parts(3_768_000, 0) + // Minimum execution time: 3_412_000 picoseconds. + Weight::from_parts(3_697_000, 0) .saturating_add(Weight::from_parts(0, 3489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Quota IdtyQuota (r:1 w:1) /// Proof: Quota IdtyQuota (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn try_refund() -> Weight { // Proof Size summary in bytes: // Measured: `139` - // Estimated: `3591` - // Minimum execution time: 11_415_000 picoseconds. - Weight::from_parts(11_717_000, 0) - .saturating_add(Weight::from_parts(0, 3591)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Quota IdtyQuota (r:1 w:1) - /// Proof: Quota IdtyQuota (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) - fn do_refund() -> Weight { - // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `3591` - // Minimum execution time: 10_849_000 picoseconds. - Weight::from_parts(11_263_000, 0) - .saturating_add(Weight::from_parts(0, 3591)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Quota RefundQueue (r:1 w:1) - /// Proof: Quota RefundQueue (max_values: Some(1), max_size: Some(11266), added: 11761, mode: MaxEncodedLen) - fn on_process_refund_queue() -> Weight { - // Proof Size summary in bytes: - // Measured: `43` - // Estimated: `12751` - // Minimum execution time: 1_530_000 picoseconds. - Weight::from_parts(1_646_000, 0) - .saturating_add(Weight::from_parts(0, 12751)) + // Estimated: `3489` + // Minimum execution time: 5_790_000 picoseconds. + Weight::from_parts(6_075_000, 0) + .saturating_add(Weight::from_parts(0, 3489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: Quota RefundQueue (r:1 w:1) - /// Proof: Quota RefundQueue (max_values: Some(1), max_size: Some(11266), added: 11761, mode: Measured) - /// Storage: Quota IdtyQuota (r:1 w:1) - /// Proof: Quota IdtyQuota (max_values: None, max_size: Some(24), added: 2499, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: Measured) - /// The range of component `i` is `[1, 256]`. - fn on_process_refund_queue_elements(i: u32, ) -> Weight { + fn do_refund() -> Weight { // Proof Size summary in bytes: - // Measured: `164 + i * (44 ±0)` - // Estimated: `3628 + i * (44 ±0)` - // Minimum execution time: 13_465_000 picoseconds. - Weight::from_parts(19_579_671, 0) - .saturating_add(Weight::from_parts(0, 3628)) - // Standard Error: 1_313 - .saturating_add(Weight::from_parts(465_028, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 44).saturating_mul(i.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_161_000 picoseconds. + Weight::from_parts(2_267_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index 10deba333..31df1a37f 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -54,8 +41,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `30` // Estimated: `1489` - // Minimum execution time: 13_202_000 picoseconds. - Weight::from_parts(15_091_000, 0) + // Minimum execution time: 1_875_000 picoseconds. + Weight::from_parts(1_939_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -67,11 +54,11 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `13928` - // Minimum execution time: 11_746_000 picoseconds. - Weight::from_parts(28_656_600, 0) + // Minimum execution time: 1_188_000 picoseconds. + Weight::from_parts(3_620_013, 0) .saturating_add(Weight::from_parts(0, 13928)) - // Standard Error: 305_064 - .saturating_add(Weight::from_parts(1_160_822, 0).saturating_mul(s.into())) + // Standard Error: 1_440 + .saturating_add(Weight::from_parts(177_013, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -79,8 +66,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_384_000 picoseconds. - Weight::from_parts(26_332_000, 0) + // Minimum execution time: 1_418_000 picoseconds. + Weight::from_parts(1_573_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -91,12 +78,12 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `3641 + s * (1 ±0)` - // Minimum execution time: 62_922_000 picoseconds. - Weight::from_parts(62_922_000, 0) - .saturating_add(Weight::from_parts(0, 3641)) - // Standard Error: 65 - .saturating_add(Weight::from_parts(2_841, 0).saturating_mul(s.into())) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 7_884_000 picoseconds. + Weight::from_parts(8_273_000, 0) + .saturating_add(Weight::from_parts(0, 3644)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(400, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -107,8 +94,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 24_642_000 picoseconds. - Weight::from_parts(28_343_000, 0) + // Minimum execution time: 1_757_000 picoseconds. + Weight::from_parts(1_861_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,24 +103,24 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_019_000 picoseconds. - Weight::from_parts(20_918_000, 0) + // Minimum execution time: 1_502_000 picoseconds. + Weight::from_parts(1_617_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_410_000 picoseconds. - Weight::from_parts(14_722_000, 0) + // Minimum execution time: 676_000 picoseconds. + Weight::from_parts(753_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_433_000 picoseconds. - Weight::from_parts(13_751_000, 0) + // Minimum execution time: 655_000 picoseconds. + Weight::from_parts(763_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -143,11 +130,11 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `13928` - // Minimum execution time: 43_639_000 picoseconds. - Weight::from_parts(38_437_623, 0) + // Minimum execution time: 3_915_000 picoseconds. + Weight::from_parts(6_771_742, 0) .saturating_add(Weight::from_parts(0, 13928)) - // Standard Error: 483_029 - .saturating_add(Weight::from_parts(2_611_143, 0).saturating_mul(s.into())) + // Standard Error: 1_484 + .saturating_add(Weight::from_parts(182_177, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,11 +147,11 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `13928` - // Minimum execution time: 57_949_000 picoseconds. - Weight::from_parts(80_631_060, 0) + // Minimum execution time: 6_491_000 picoseconds. + Weight::from_parts(7_426_056, 0) .saturating_add(Weight::from_parts(0, 13928)) - // Standard Error: 529_622 - .saturating_add(Weight::from_parts(1_420_021, 0).saturating_mul(s.into())) + // Standard Error: 1_382 + .saturating_add(Weight::from_parts(292_812, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -175,13 +162,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `147 + s * (188 ±0)` + // Measured: `254 + s * (185 ±0)` // Estimated: `13928` - // Minimum execution time: 56_980_000 picoseconds. - Weight::from_parts(61_448_997, 0) + // Minimum execution time: 4_886_000 picoseconds. + Weight::from_parts(8_785_200, 0) .saturating_add(Weight::from_parts(0, 13928)) - // Standard Error: 586_567 - .saturating_add(Weight::from_parts(2_359_752, 0).saturating_mul(s.into())) + // Standard Error: 2_388 + .saturating_add(Weight::from_parts(201_375, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -192,13 +179,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `276 + s * (185 ±0)` + // Measured: `280 + s * (185 ±0)` // Estimated: `13928` - // Minimum execution time: 65_809_000 picoseconds. - Weight::from_parts(81_021_470, 0) + // Minimum execution time: 7_827_000 picoseconds. + Weight::from_parts(9_285_600, 0) .saturating_add(Weight::from_parts(0, 13928)) - // Standard Error: 285_342 - .saturating_add(Weight::from_parts(1_694_132, 0).saturating_mul(s.into())) + // Standard Error: 1_917 + .saturating_add(Weight::from_parts(314_114, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/common/src/weights/pallet_session.rs b/runtime/common/src/weights/pallet_session.rs index 23dfda8a7..beeb7eabc 100644 --- a/runtime/common/src/weights/pallet_session.rs +++ b/runtime/common/src/weights/pallet_session.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -56,8 +43,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `723` // Estimated: `11613` - // Minimum execution time: 95_906_000 picoseconds. - Weight::from_parts(109_541_000, 0) + // Minimum execution time: 11_479_000 picoseconds. + Weight::from_parts(12_383_000, 0) .saturating_add(Weight::from_parts(0, 11613)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -70,8 +57,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 68_641_000 picoseconds. - Weight::from_parts(111_659_000, 0) + // Minimum execution time: 7_705_000 picoseconds. + Weight::from_parts(8_194_000, 0) .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(5)) diff --git a/runtime/common/src/weights/pallet_timestamp.rs b/runtime/common/src/weights/pallet_timestamp.rs index 3c67ff5ac..0babb0ffc 100644 --- a/runtime/common/src/weights/pallet_timestamp.rs +++ b/runtime/common/src/weights/pallet_timestamp.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,22 +39,26 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> { /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Babe CurrentSlot (r:1 w:0) /// Proof: Babe CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: UniversalDividend NextUd (r:1 w:1) + /// Proof: UniversalDividend NextUd (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Parameters ParametersStorage (r:1 w:0) + /// Proof Skipped: Parameters ParametersStorage (max_values: Some(1), max_size: None, mode: Measured) fn set() -> Weight { // Proof Size summary in bytes: - // Measured: `211` - // Estimated: `1493` - // Minimum execution time: 39_273_000 picoseconds. - Weight::from_parts(45_253_000, 0) - .saturating_add(Weight::from_parts(0, 1493)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `435` + // Estimated: `1920` + // Minimum execution time: 9_685_000 picoseconds. + Weight::from_parts(10_203_000, 0) + .saturating_add(Weight::from_parts(0, 1920)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 13_519_000 picoseconds. - Weight::from_parts(14_543_000, 0) + // Minimum execution time: 2_422_000 picoseconds. + Weight::from_parts(2_588_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index 55dc543e1..53b55bc9b 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,8 +39,8 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 981_000 picoseconds. - Weight::from_parts(1_308_000, 0) + // Minimum execution time: 38_000 picoseconds. + Weight::from_parts(50_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -62,10 +49,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { /// Proof: Treasury Proposals (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `144` + // Measured: `104` // Estimated: `1489` - // Minimum execution time: 90_903_000 picoseconds. - Weight::from_parts(121_481_000, 0) + // Minimum execution time: 9_915_000 picoseconds. + Weight::from_parts(10_348_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -73,14 +60,14 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { /// Storage: Treasury Proposals (r:1 w:1) /// Proof: Treasury Proposals (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `286` - // Estimated: `3626` - // Minimum execution time: 123_826_000 picoseconds. - Weight::from_parts(129_116_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Measured: `246` + // Estimated: `3591` + // Minimum execution time: 14_381_000 picoseconds. + Weight::from_parts(14_805_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,13 +78,13 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `350 + p * (11 ±0)` + // Measured: `470 + p * (8 ±0)` // Estimated: `3557` - // Minimum execution time: 37_180_000 picoseconds. - Weight::from_parts(50_614_720, 0) + // Minimum execution time: 4_675_000 picoseconds. + Weight::from_parts(7_290_149, 0) .saturating_add(Weight::from_parts(0, 3557)) - // Standard Error: 108_420 - .saturating_add(Weight::from_parts(48_757, 0).saturating_mul(p.into())) + // Standard Error: 898 + .saturating_add(Weight::from_parts(37_588, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -107,8 +94,8 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 25_793_000 picoseconds. - Weight::from_parts(27_949_000, 0) + // Minimum execution time: 3_556_000 picoseconds. + Weight::from_parts(3_855_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,23 +109,23 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { /// Storage: Treasury Proposals (r:100 w:100) /// Proof: Treasury Proposals (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) /// Storage: System Account (r:200 w:200) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Account PendingNewAccounts (r:0 w:100) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + p * (235 ±0)` - // Estimated: `5795 + p * (5272 ±0)` - // Minimum execution time: 70_735_000 picoseconds. - Weight::from_parts(92_977_700, 0) - .saturating_add(Weight::from_parts(0, 5795)) - // Standard Error: 778_601 - .saturating_add(Weight::from_parts(115_313_606, 0).saturating_mul(p.into())) + // Measured: `0 + p * (195 ±0)` + // Estimated: `1887 + p * (5202 ±0)` + // Minimum execution time: 7_492_000 picoseconds. + Weight::from_parts(11_258_008, 0) + .saturating_add(Weight::from_parts(0, 1887)) + // Standard Error: 13_762 + .saturating_add(Weight::from_parts(14_095_295, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5272).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 5202).saturating_mul(p.into())) } } diff --git a/runtime/common/src/weights/pallet_universal_dividend.rs b/runtime/common/src/weights/pallet_universal_dividend.rs index 94cc1438d..82c985632 100644 --- a/runtime/common/src/weights/pallet_universal_dividend.rs +++ b/runtime/common/src/weights/pallet_universal_dividend.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_universal_dividend` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,112 +35,35 @@ use core::marker::PhantomData; /// Weight functions for `pallet_universal_dividend`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_universal_dividend::WeightInfo for WeightInfo<T> { - /// Storage: Parameters ParametersStorage (r:1 w:0) - /// Proof Skipped: Parameters ParametersStorage (max_values: Some(1), max_size: None, mode: Measured) - fn on_initialize() -> Weight { - // Proof Size summary in bytes: - // Measured: `123` - // Estimated: `1608` - // Minimum execution time: 13_281_000 picoseconds. - Weight::from_parts(22_005_000, 0) - .saturating_add(Weight::from_parts(0, 1608)) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: Parameters ParametersStorage (r:1 w:0) - /// Proof Skipped: Parameters ParametersStorage (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Membership CounterForMembership (r:1 w:0) - /// Proof: Membership CounterForMembership (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: UniversalDividend NextReeval (r:1 w:0) - /// Proof: UniversalDividend NextReeval (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: UniversalDividend CurrentUd (r:1 w:0) - /// Proof: UniversalDividend CurrentUd (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: UniversalDividend MonetaryMass (r:1 w:1) - /// Proof: UniversalDividend MonetaryMass (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: UniversalDividend CurrentUdIndex (r:1 w:1) - /// Proof: UniversalDividend CurrentUdIndex (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - fn on_initialize_ud_created() -> Weight { - // Proof Size summary in bytes: - // Measured: `304` - // Estimated: `1789` - // Minimum execution time: 67_003_000 picoseconds. - Weight::from_parts(71_537_000, 0) - .saturating_add(Weight::from_parts(0, 1789)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Parameters ParametersStorage (r:1 w:0) - /// Proof Skipped: Parameters ParametersStorage (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Membership CounterForMembership (r:1 w:0) - /// Proof: Membership CounterForMembership (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: UniversalDividend NextReeval (r:1 w:1) - /// Proof: UniversalDividend NextReeval (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: UniversalDividend CurrentUd (r:1 w:1) - /// Proof: UniversalDividend CurrentUd (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: UniversalDividend MonetaryMass (r:1 w:1) - /// Proof: UniversalDividend MonetaryMass (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: UniversalDividend PastReevals (r:1 w:1) - /// Proof: UniversalDividend PastReevals (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen) - /// Storage: UniversalDividend CurrentUdIndex (r:1 w:1) - /// Proof: UniversalDividend CurrentUdIndex (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - fn on_initialize_ud_reevalued() -> Weight { - // Proof Size summary in bytes: - // Measured: `325` - // Estimated: `1810` - // Minimum execution time: 96_492_000 picoseconds. - Weight::from_parts(108_747_000, 0) - .saturating_add(Weight::from_parts(0, 1810)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) - } - /// Storage: Identity IdentityIndexOf (r:1 w:0) - /// Proof Skipped: Identity IdentityIndexOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Identity Identities (r:1 w:1) - /// Proof Skipped: Identity Identities (max_values: None, max_size: None, mode: Measured) - /// Storage: UniversalDividend CurrentUdIndex (r:1 w:0) - /// Proof: UniversalDividend CurrentUdIndex (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) - /// Storage: UniversalDividend PastReevals (r:1 w:0) - /// Proof: UniversalDividend PastReevals (max_values: Some(1), max_size: Some(41), added: 536, mode: MaxEncodedLen) - /// The range of component `n` is `[1, 4]`. - fn claim_uds(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `627 + n * (11 ±0)` - // Estimated: `4092 + n * (11 ±0)` - // Minimum execution time: 120_972_000 picoseconds. - Weight::from_parts(135_187_750, 0) - .saturating_add(Weight::from_parts(0, 4092)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 11).saturating_mul(n.into())) - } /// Storage: UniversalDividend CurrentUd (r:1 w:0) /// Proof: UniversalDividend CurrentUd (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Account PendingNewAccounts (r:0 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn transfer_ud() -> Weight { // Proof Size summary in bytes: - // Measured: `116` - // Estimated: `3626` - // Minimum execution time: 185_351_000 picoseconds. - Weight::from_parts(198_407_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Measured: `93` + // Estimated: `3591` + // Minimum execution time: 23_549_000 picoseconds. + Weight::from_parts(24_378_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: UniversalDividend CurrentUd (r:1 w:0) /// Proof: UniversalDividend CurrentUd (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(161), added: 2636, mode: MaxEncodedLen) + /// Proof: System Account (max_values: None, max_size: Some(126), added: 2601, mode: MaxEncodedLen) /// Storage: Account PendingNewAccounts (r:0 w:1) /// Proof Skipped: Account PendingNewAccounts (max_values: None, max_size: None, mode: Measured) fn transfer_ud_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `116` - // Estimated: `3626` - // Minimum execution time: 281_525_000 picoseconds. - Weight::from_parts(290_861_000, 0) - .saturating_add(Weight::from_parts(0, 3626)) + // Measured: `93` + // Estimated: `3591` + // Minimum execution time: 16_820_000 picoseconds. + Weight::from_parts(17_437_000, 0) + .saturating_add(Weight::from_parts(0, 3591)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/common/src/weights/pallet_upgrade_origin.rs b/runtime/common/src/weights/pallet_upgrade_origin.rs index c6425cda7..8bcc397ad 100644 --- a/runtime/common/src/weights/pallet_upgrade_origin.rs +++ b/runtime/common/src/weights/pallet_upgrade_origin.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_upgrade_origin` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,8 +39,8 @@ impl<T: frame_system::Config> pallet_upgrade_origin::WeightInfo for WeightInfo<T // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 31_113_000 picoseconds. - Weight::from_parts(38_024_000, 0) + // Minimum execution time: 2_514_000 picoseconds. + Weight::from_parts(2_665_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/common/src/weights/pallet_utility.rs b/runtime/common/src/weights/pallet_utility.rs index 02319cb4f..fdccb4f97 100644 --- a/runtime/common/src/weights/pallet_utility.rs +++ b/runtime/common/src/weights/pallet_utility.rs @@ -1,41 +1,28 @@ -// Copyright 2021-2022 Axiom-Team -// -// This file is part of Duniter-v2S. -// -// Duniter-v2S is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published by -// the Free Software Foundation, version 3 of the License. -// -// Duniter-v2S 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>. //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-08, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 +//! HOSTNAME: `bgallois-ms7d43`, CPU: `12th Gen Intel(R) Core(TM) i3-12100F` +//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=gdev-benchmark -// --steps=5 -// --repeat=2 -// --pallet=* -// --extrinsic=* -// --execution=wasm +// --chain +// dev // --wasm-execution=compiled -// --heap-pages=4096 -// --header=./file_header.txt -// --output=./runtime/common/src/weights/ +// --pallet +// * +// --extrinsic +// * +// --steps +// 50 +// --repeat +// 20 +// --output=runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,18 +40,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_603_000 picoseconds. - Weight::from_parts(381_206_000, 0) + // Minimum execution time: 2_218_000 picoseconds. + Weight::from_parts(6_519_128, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_030_015 - .saturating_add(Weight::from_parts(11_787_342, 0).saturating_mul(c.into())) + // Standard Error: 1_328 + .saturating_add(Weight::from_parts(1_210_862, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_941_000 picoseconds. - Weight::from_parts(24_250_000, 0) + // Minimum execution time: 1_275_000 picoseconds. + Weight::from_parts(1_421_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -72,18 +59,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_455_000 picoseconds. - Weight::from_parts(630_310_100, 0) + // Minimum execution time: 2_163_000 picoseconds. + Weight::from_parts(7_119_936, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_845_214 - .saturating_add(Weight::from_parts(12_302_687, 0).saturating_mul(c.into())) + // Standard Error: 1_461 + .saturating_add(Weight::from_parts(1_230_749, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 32_380_000 picoseconds. - Weight::from_parts(42_919_000, 0) + // Minimum execution time: 2_652_000 picoseconds. + Weight::from_parts(2_933_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -91,10 +78,10 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_526_000 picoseconds. - Weight::from_parts(428_222_600, 0) + // Minimum execution time: 2_149_000 picoseconds. + Weight::from_parts(2_776_279, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 804_488 - .saturating_add(Weight::from_parts(11_680_199, 0).saturating_mul(c.into())) + // Standard Error: 1_526 + .saturating_add(Weight::from_parts(1_221_882, 0).saturating_mul(c.into())) } } -- GitLab