From 57ac1ad55a47654417bb94a813cf8f4973b897e2 Mon Sep 17 00:00:00 2001 From: Fredrik Simonsson Date: Thu, 14 Sep 2023 12:06:35 +0900 Subject: [PATCH] Update weights for sponsorship pallet (#787) --- pallets/sponsorship/src/weights.rs | 100 ++++++++++++++--------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/pallets/sponsorship/src/weights.rs b/pallets/sponsorship/src/weights.rs index 9da4c6f90aa..5cf7e1e9d7a 100644 --- a/pallets/sponsorship/src/weights.rs +++ b/pallets/sponsorship/src/weights.rs @@ -19,12 +19,12 @@ //! Autogenerated weights for pallet_sponsorship //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-13, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-09-14, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `chain-bench-66242306`, CPU: `AMD EPYC 7B13` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/nodle-parachain +// /home/fredrik_nodle_com/bin/nodle-parachain // benchmark // pallet // --chain=dev @@ -71,8 +71,8 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn create_pot() -> Weight { - // Minimum execution time: 20_320 nanoseconds. - Weight::from_parts(20_890_000_u64, 0) + // Minimum execution time: 21_080 nanoseconds. + Weight::from_parts(21_990_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -89,8 +89,8 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn remove_pot() -> Weight { - // Minimum execution time: 27_120 nanoseconds. - Weight::from_parts(28_020_000_u64, 0) + // Minimum execution time: 27_670 nanoseconds. + Weight::from_parts(28_730_000_u64, 0) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -105,8 +105,8 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn update_pot_limits() -> Weight { - // Minimum execution time: 22_210 nanoseconds. - Weight::from_parts(23_300_000_u64, 0) + // Minimum execution time: 23_030 nanoseconds. + Weight::from_parts(24_060_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -121,8 +121,8 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn update_sponsorship_type() -> Weight { - // Minimum execution time: 20_350 nanoseconds. - Weight::from_parts(21_660_000_u64, 0) + // Minimum execution time: 21_620 nanoseconds. + Weight::from_parts(22_440_000_u64, 0) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -142,10 +142,10 @@ impl WeightInfo for SubstrateWeight { // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `l` is `[1, 1000]`. fn register_users(l: u32, ) -> Weight { - // Minimum execution time: 58_900 nanoseconds. - Weight::from_parts(59_490_000_u64, 0) - // Standard Error: 8_889 - .saturating_add(Weight::from_parts(34_726_468_u64, 0).saturating_mul(l as u64)) + // Minimum execution time: 61_130 nanoseconds. + Weight::from_parts(62_070_000_u64, 0) + // Standard Error: 9_134 + .saturating_add(Weight::from_parts(36_248_627_u64, 0).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(l as u64))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -169,10 +169,10 @@ impl WeightInfo for SubstrateWeight { // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `l` is `[1, 1000]`. fn remove_users(l: u32, ) -> Weight { - // Minimum execution time: 131_060 nanoseconds. - Weight::from_parts(132_920_000_u64, 0) - // Standard Error: 45_505 - .saturating_add(Weight::from_parts(107_982_858_u64, 0).saturating_mul(l as u64)) + // Minimum execution time: 136_150 nanoseconds. + Weight::from_parts(137_760_000_u64, 0) + // Standard Error: 43_995 + .saturating_add(Weight::from_parts(113_547_601_u64, 0).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(l as u64))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -192,10 +192,10 @@ impl WeightInfo for SubstrateWeight { // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `l` is `[1, 1000]`. fn update_users_limits(l: u32, ) -> Weight { - // Minimum execution time: 31_410 nanoseconds. - Weight::from_parts(32_150_000_u64, 0) - // Standard Error: 9_707 - .saturating_add(Weight::from_parts(9_402_404_u64, 0).saturating_mul(l as u64)) + // Minimum execution time: 32_780 nanoseconds. + Weight::from_parts(33_600_000_u64, 0) + // Standard Error: 9_144 + .saturating_add(Weight::from_parts(9_738_582_u64, 0).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l as u64))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -218,8 +218,8 @@ impl WeightInfo for SubstrateWeight { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn pre_sponsor() -> Weight { - // Minimum execution time: 85_480 nanoseconds. - Weight::from_parts(86_640_000_u64, 0) + // Minimum execution time: 89_820 nanoseconds. + Weight::from_parts(91_600_000_u64, 0) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -240,8 +240,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Sponsorship Pot (r:0 w:1) // Proof: Sponsorship Pot (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) fn post_sponsor() -> Weight { - // Minimum execution time: 77_800 nanoseconds. - Weight::from_parts(78_749_000_u64, 0) + // Minimum execution time: 82_000 nanoseconds. + Weight::from_parts(83_070_000_u64, 0) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -259,8 +259,8 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn create_pot() -> Weight { - // Minimum execution time: 20_320 nanoseconds. - Weight::from_parts(20_890_000_u64, 0) + // Minimum execution time: 21_080 nanoseconds. + Weight::from_parts(21_990_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -277,8 +277,8 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn remove_pot() -> Weight { - // Minimum execution time: 27_120 nanoseconds. - Weight::from_parts(28_020_000_u64, 0) + // Minimum execution time: 27_670 nanoseconds. + Weight::from_parts(28_730_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -293,8 +293,8 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn update_pot_limits() -> Weight { - // Minimum execution time: 22_210 nanoseconds. - Weight::from_parts(23_300_000_u64, 0) + // Minimum execution time: 23_030 nanoseconds. + Weight::from_parts(24_060_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -309,8 +309,8 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn update_sponsorship_type() -> Weight { - // Minimum execution time: 20_350 nanoseconds. - Weight::from_parts(21_660_000_u64, 0) + // Minimum execution time: 21_620 nanoseconds. + Weight::from_parts(22_440_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -330,10 +330,10 @@ impl WeightInfo for () { // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `l` is `[1, 1000]`. fn register_users(l: u32, ) -> Weight { - // Minimum execution time: 58_900 nanoseconds. - Weight::from_parts(59_490_000_u64, 0) - // Standard Error: 8_889 - .saturating_add(Weight::from_parts(34_726_468_u64, 0).saturating_mul(l as u64)) + // Minimum execution time: 61_130 nanoseconds. + Weight::from_parts(62_070_000_u64, 0) + // Standard Error: 9_134 + .saturating_add(Weight::from_parts(36_248_627_u64, 0).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(l as u64))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -357,10 +357,10 @@ impl WeightInfo for () { // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `l` is `[1, 1000]`. fn remove_users(l: u32, ) -> Weight { - // Minimum execution time: 131_060 nanoseconds. - Weight::from_parts(132_920_000_u64, 0) - // Standard Error: 45_505 - .saturating_add(Weight::from_parts(107_982_858_u64, 0).saturating_mul(l as u64)) + // Minimum execution time: 136_150 nanoseconds. + Weight::from_parts(137_760_000_u64, 0) + // Standard Error: 43_995 + .saturating_add(Weight::from_parts(113_547_601_u64, 0).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(l as u64))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -380,10 +380,10 @@ impl WeightInfo for () { // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `l` is `[1, 1000]`. fn update_users_limits(l: u32, ) -> Weight { - // Minimum execution time: 31_410 nanoseconds. - Weight::from_parts(32_150_000_u64, 0) - // Standard Error: 9_707 - .saturating_add(Weight::from_parts(9_402_404_u64, 0).saturating_mul(l as u64)) + // Minimum execution time: 32_780 nanoseconds. + Weight::from_parts(33_600_000_u64, 0) + // Standard Error: 9_144 + .saturating_add(Weight::from_parts(9_738_582_u64, 0).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(l as u64))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -406,8 +406,8 @@ impl WeightInfo for () { // Storage: System Events (r:1 w:1) // Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured) fn pre_sponsor() -> Weight { - // Minimum execution time: 85_480 nanoseconds. - Weight::from_parts(86_640_000_u64, 0) + // Minimum execution time: 89_820 nanoseconds. + Weight::from_parts(91_600_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -428,8 +428,8 @@ impl WeightInfo for () { // Storage: Sponsorship Pot (r:0 w:1) // Proof: Sponsorship Pot (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) fn post_sponsor() -> Weight { - // Minimum execution time: 77_800 nanoseconds. - Weight::from_parts(78_749_000_u64, 0) + // Minimum execution time: 82_000 nanoseconds. + Weight::from_parts(83_070_000_u64, 0) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) }