diff --git a/runtime/common/src/weights/pallet_certification_cert.rs b/runtime/common/src/weights/pallet_certification_cert.rs index 44140695115a66338b96c25d907af876ec43d299..4a5f50a28223edad62f535c52f5fbf20f7780acc 100644 --- a/runtime/common/src/weights/pallet_certification_cert.rs +++ b/runtime/common/src/weights/pallet_certification_cert.rs @@ -14,21 +14,21 @@ // 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 `common_runtime::certification` +//! Autogenerated weights for `pallet_certification` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `Hugo`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 // Executed Command: // ./target/release/duniter // benchmark // pallet -// --chain=dev +// --chain=gdev-benchmark // --steps=50 // --repeat=20 -// --pallet=common_runtime::certification +// --pallet=pallet-certification // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -43,7 +43,7 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for `common_runtime::certification`. +/// Weight functions for `pallet_certification`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> { // Storage: Cert StorageIdtyCertMeta (r:2 w:2) @@ -51,8 +51,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Storage: Cert StorageCertsRemovableOn (r:1 w:1) // Storage: Cert CertsByReceiver (r:1 w:1) fn force_add_cert() -> Weight { - // Minimum execution time: 125_388 nanoseconds. - Weight::from_ref_time(140_411_000 as u64) + // Minimum execution time: 48_363 nanoseconds. + Weight::from_ref_time(59_125_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Storage: Cert StorageCertsRemovableOn (r:1 w:1) // Storage: Cert CertsByReceiver (r:1 w:1) fn add_cert() -> Weight { - // Minimum execution time: 147_817 nanoseconds. - Weight::from_ref_time(153_330_000 as u64) + // Minimum execution time: 57_408 nanoseconds. + Weight::from_ref_time(69_281_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: Membership Membership (r:1 w:0) fn del_cert() -> Weight { - // Minimum execution time: 125_695 nanoseconds. - Weight::from_ref_time(150_360_000 as u64) + // Minimum execution time: 49_562 nanoseconds. + Weight::from_ref_time(61_695_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -84,10 +84,10 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> /// The range of component `i` is `[2, 1000]`. /// The range of component `i` is `[2, 1000]`. fn remove_all_certs_received_by(i: u32, ) -> Weight { - // Minimum execution time: 129_529 nanoseconds. - Weight::from_ref_time(132_136_000 as u64) - // Standard Error: 75_161 - .saturating_add(Weight::from_ref_time(38_016_325 as u64).saturating_mul(i as u64)) + // Minimum execution time: 49_307 nanoseconds. + Weight::from_ref_time(49_926_000 as u64) + // Standard Error: 61_521 + .saturating_add(Weight::from_ref_time(15_865_456 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) diff --git a/runtime/common/src/weights/pallet_certification_smith_cert.rs b/runtime/common/src/weights/pallet_certification_smith_cert.rs index 024b4b8a5a072227baf782dea642320a11b60226..b3d4c3d912f269d85c31a8e63be62f6456a66234 100644 --- a/runtime/common/src/weights/pallet_certification_smith_cert.rs +++ b/runtime/common/src/weights/pallet_certification_smith_cert.rs @@ -14,21 +14,21 @@ // 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 `common_runtime::certification` +//! Autogenerated weights for `pallet_certification` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `Hugo`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 // Executed Command: // ./target/release/duniter // benchmark // pallet -// --chain=dev +// --chain=gdev-benchmark // --steps=50 // --repeat=20 -// --pallet=common_runtime::certification +// --pallet=pallet-certification // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -43,7 +43,7 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for `common_runtime::certification`. +/// Weight functions for `pallet_certification`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> { // Storage: SmithCert StorageIdtyCertMeta (r:2 w:2) @@ -51,8 +51,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Storage: SmithCert StorageCertsRemovableOn (r:1 w:1) // Storage: SmithCert CertsByReceiver (r:1 w:1) fn force_add_cert() -> Weight { - // Minimum execution time: 125_287 nanoseconds. - Weight::from_ref_time(128_059_000 as u64) + // Minimum execution time: 57_241 nanoseconds. + Weight::from_ref_time(69_631_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Storage: SmithCert StorageCertsRemovableOn (r:1 w:1) // Storage: SmithCert CertsByReceiver (r:1 w:1) fn add_cert() -> Weight { - // Minimum execution time: 147_626 nanoseconds. - Weight::from_ref_time(152_571_000 as u64) + // Minimum execution time: 65_925 nanoseconds. + Weight::from_ref_time(79_971_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: SmithMembership Membership (r:1 w:0) fn del_cert() -> Weight { - // Minimum execution time: 126_824 nanoseconds. - Weight::from_ref_time(130_111_000 as u64) + // Minimum execution time: 50_260 nanoseconds. + Weight::from_ref_time(62_319_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -84,10 +84,10 @@ impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> /// The range of component `i` is `[2, 1000]`. /// The range of component `i` is `[2, 1000]`. fn remove_all_certs_received_by(i: u32, ) -> Weight { - // Minimum execution time: 130_926 nanoseconds. - Weight::from_ref_time(133_225_000 as u64) - // Standard Error: 66_989 - .saturating_add(Weight::from_ref_time(37_841_523 as u64).saturating_mul(i as u64)) + // Minimum execution time: 50_222 nanoseconds. + Weight::from_ref_time(50_794_000 as u64) + // Standard Error: 48_765 + .saturating_add(Weight::from_ref_time(15_587_131 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) diff --git a/runtime/common/src/weights/pallet_identity.rs b/runtime/common/src/weights/pallet_identity.rs index 8d398bb67fecee565114b62076e49ee60dc0f9a3..f438c79f70232d494bf5c9e8239ee27be2136293 100644 --- a/runtime/common/src/weights/pallet_identity.rs +++ b/runtime/common/src/weights/pallet_identity.rs @@ -1,4 +1,4 @@ -// Copyright 2021-2023 Axiom-Team +// Copyright 2021-2022 Axiom-Team // // This file is part of Duniter-v2S. // @@ -14,11 +14,11 @@ // 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 `common_runtime::identity` +//! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` +//! DATE: 2023-05-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `Hugo`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 // Executed Command: @@ -28,13 +28,13 @@ // --chain=gdev-benchmark // --steps=50 // --repeat=20 -// --pallet=common_runtime::identity +// --pallet=pallet-identity // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 // --header=./file_header.txt -// --output=./runtime/common/src/weights/pallet_identity.rs +// --output=./runtime/common/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -43,7 +43,7 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for `common_runtime::identity`. +/// Weight functions for `pallet_identity`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Storage: Identity IdentityIndexOf (r:2 w:1) @@ -57,8 +57,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Storage: Cert StorageCertsRemovableOn (r:1 w:1) // Storage: Cert CertsByReceiver (r:1 w:1) fn create_identity() -> Weight { - // Minimum execution time: 440_987 nanoseconds. - Weight::from_ref_time(462_747_000 as u64) + // Minimum execution time: 121_934 nanoseconds. + Weight::from_ref_time(138_522_000 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(11 as u64)) } @@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: Membership PendingMembershipsExpireOn (r:1 w:1) fn confirm_identity() -> Weight { - // Minimum execution time: 186_617 nanoseconds. - Weight::from_ref_time(309_527_000 as u64) + // Minimum execution time: 86_584 nanoseconds. + Weight::from_ref_time(98_246_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -84,8 +84,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Storage: Membership MembershipsExpireOn (r:1 w:1) // Storage: UniversalDividend CurrentUdIndex (r:1 w:0) fn validate_identity() -> Weight { - // Minimum execution time: 299_920 nanoseconds. - Weight::from_ref_time(320_025_000 as u64) + // Minimum execution time: 91_201 nanoseconds. + Weight::from_ref_time(94_836_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -93,29 +93,29 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Storage: Identity Identities (r:1 w:1) // Storage: SmithMembership Membership (r:1 w:0) // Storage: System BlockHash (r:1 w:0) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:2 w:2) // Storage: AuthorityMembers Members (r:1 w:0) fn change_owner_key() -> Weight { - // Minimum execution time: 442_260 nanoseconds. - Weight::from_ref_time(728_714_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 213_666 nanoseconds. + Weight::from_ref_time(247_995_000 as u64) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: Identity Identities (r:1 w:1) // Storage: SmithMembership Membership (r:1 w:0) // Storage: System BlockHash (r:1 w:0) // Storage: Membership Membership (r:1 w:1) // Storage: Identity CounterForIdentities (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:2 w:2) // Storage: Cert CertsByReceiver (r:1 w:1) // Storage: Cert StorageIdtyCertMeta (r:2 w:2) // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: Identity IdentityIndexOf (r:0 w:1) fn revoke_identity() -> Weight { - // Minimum execution time: 494_407 nanoseconds. - Weight::from_ref_time(800_824_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 227_151 nanoseconds. + Weight::from_ref_time(284_771_000 as u64) + .saturating_add(T::DbWeight::get().reads(11 as u64)) + .saturating_add(T::DbWeight::get().writes(9 as u64)) } // Storage: Identity Identities (r:1 w:1) // Storage: SmithMembership Membership (r:1 w:0) @@ -128,24 +128,24 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { // Storage: Identity IdentityIndexOf (r:0 w:1) // Storage: Identity IdentitiesNames (r:0 w:1) fn remove_identity() -> Weight { - // Minimum execution time: 302_574 nanoseconds. - Weight::from_ref_time(504_132_000 as u64) + // Minimum execution time: 110_561 nanoseconds. + Weight::from_ref_time(119_198_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } // Storage: Identity IdentitiesNames (r:0 w:20) /// The range of component `i` is `[1, 1000]`. fn prune_item_identities_names(i: u32, ) -> Weight { - // Minimum execution time: 22_533 nanoseconds. - Weight::from_ref_time(282_674_421 as u64) - // Standard Error: 170_391 - .saturating_add(Weight::from_ref_time(5_660_460 as u64).saturating_mul(i as u64)) + // Minimum execution time: 10_675 nanoseconds. + Weight::from_ref_time(10_809_000 as u64) + // Standard Error: 3_281 + .saturating_add(Weight::from_ref_time(1_492_089 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: System Account (r:1 w:1) fn fix_sufficients() -> Weight { - // Minimum execution time: 112_793 nanoseconds. - Weight::from_ref_time(122_192_000 as u64) + // Minimum execution time: 23_639 nanoseconds. + Weight::from_ref_time(29_075_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/common/src/weights/pallet_membership_membership.rs b/runtime/common/src/weights/pallet_membership_membership.rs index 799f51a0c1560633e85124c3673957343a829d07..ddbc76f57a19b1cc2edc4948e39522101838c418 100644 --- a/runtime/common/src/weights/pallet_membership_membership.rs +++ b/runtime/common/src/weights/pallet_membership_membership.rs @@ -17,18 +17,18 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `Hugo`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=dev +// --chain=gdev-benchmark // --steps=50 // --repeat=20 -// --pallet=pallet_membership +// --pallet=pallet-membership // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -51,16 +51,16 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: Membership PendingMembershipsExpireOn (r:1 w:1) fn force_request_membership() -> Weight { - // Minimum execution time: 89_725 nanoseconds. - Weight::from_ref_time(98_333_000 as u64) + // Minimum execution time: 42_024 nanoseconds. + Weight::from_ref_time(55_713_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Identity IdentityIndexOf (r:1 w:0) // Storage: Identity Identities (r:1 w:0) fn request_membership() -> Weight { - // Minimum execution time: 48_477 nanoseconds. - Weight::from_ref_time(50_689_000 as u64) + // Minimum execution time: 19_511 nanoseconds. + Weight::from_ref_time(37_123_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Identity IdentityIndexOf (r:1 w:0) @@ -71,8 +71,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: Membership CounterForMembership (r:1 w:1) // Storage: Membership MembershipsExpireOn (r:1 w:1) fn claim_membership() -> Weight { - // Minimum execution time: 144_079 nanoseconds. - Weight::from_ref_time(146_565_000 as u64) + // Minimum execution time: 80_875 nanoseconds. + Weight::from_ref_time(117_287_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -82,8 +82,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: Membership MembershipsExpireOn (r:1 w:1) fn renew_membership() -> Weight { - // Minimum execution time: 120_859 nanoseconds. - Weight::from_ref_time(124_222_000 as u64) + // Minimum execution time: 69_195 nanoseconds. + Weight::from_ref_time(91_620_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -93,8 +93,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: Identity Identities (r:1 w:0) // Storage: UniversalDividend CurrentUdIndex (r:1 w:0) fn revoke_membership() -> Weight { - // Minimum execution time: 109_486 nanoseconds. - Weight::from_ref_time(113_303_000 as u64) + // Minimum execution time: 64_419 nanoseconds. + Weight::from_ref_time(103_812_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/common/src/weights/pallet_membership_smith_membership.rs b/runtime/common/src/weights/pallet_membership_smith_membership.rs index 2ecd9b61ebea89cfb5c195359a9958e9cc22c914..cdc459c197885d84fe14505ef96a0c13d25f72c8 100644 --- a/runtime/common/src/weights/pallet_membership_smith_membership.rs +++ b/runtime/common/src/weights/pallet_membership_smith_membership.rs @@ -17,18 +17,18 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `Hugo`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("gdev-benchmark"), DB CACHE: 1024 // Executed Command: -// target/release/duniter +// ./target/release/duniter // benchmark // pallet -// --chain=dev +// --chain=gdev-benchmark // --steps=50 // --repeat=20 -// --pallet=pallet_membership +// --pallet=pallet-membership // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -51,22 +51,17 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: SmithMembership PendingMembershipsExpireOn (r:1 w:1) fn force_request_membership() -> Weight { - // Minimum execution time: 96_077 nanoseconds. - Weight::from_ref_time(98_570_000 as u64) + // Minimum execution time: 42_163 nanoseconds. + Weight::from_ref_time(49_619_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Identity IdentityIndexOf (r:1 w:0) // Storage: Identity Identities (r:1 w:0) - // Storage: SmithMembership PendingMembership (r:1 w:1) - // Storage: SmithMembership Membership (r:1 w:0) - // Storage: Parameters ParametersStorage (r:1 w:0) - // Storage: SmithMembership PendingMembershipsExpireOn (r:1 w:1) fn request_membership() -> Weight { - // Minimum execution time: 122_839 nanoseconds. - Weight::from_ref_time(125_861_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 20_399 nanoseconds. + Weight::from_ref_time(24_906_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Identity IdentityIndexOf (r:2 w:0) // Storage: SmithMembership Membership (r:2 w:1) @@ -76,8 +71,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: SmithMembership CounterForMembership (r:1 w:1) // Storage: SmithMembership MembershipsExpireOn (r:1 w:1) fn claim_membership() -> Weight { - // Minimum execution time: 165_369 nanoseconds. - Weight::from_ref_time(167_607_000 as u64) + // Minimum execution time: 95_541 nanoseconds. + Weight::from_ref_time(157_882_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -87,8 +82,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: Parameters ParametersStorage (r:1 w:0) // Storage: SmithMembership MembershipsExpireOn (r:1 w:1) fn renew_membership() -> Weight { - // Minimum execution time: 121_761 nanoseconds. - Weight::from_ref_time(125_210_000 as u64) + // Minimum execution time: 70_298 nanoseconds. + Weight::from_ref_time(109_069_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -103,8 +98,8 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { // Storage: System Account (r:1 w:1) // Storage: Session KeyOwner (r:0 w:4) fn revoke_membership() -> Weight { - // Minimum execution time: 234_173 nanoseconds. - Weight::from_ref_time(239_334_000 as u64) + // Minimum execution time: 138_537 nanoseconds. + Weight::from_ref_time(179_540_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) }