Skip to content

Commit

Permalink
Update weights for sponsorship pallet (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsso authored Sep 14, 2023
1 parent 3ec4d27 commit 57ac1ad
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions pallets/sponsorship/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -71,8 +71,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
}
Expand All @@ -89,8 +89,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
}
Expand All @@ -105,8 +105,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
}
Expand All @@ -121,8 +121,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
}
Expand All @@ -142,10 +142,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
Expand All @@ -169,10 +169,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
Expand All @@ -192,10 +192,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
Expand All @@ -218,8 +218,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
}
Expand All @@ -240,8 +240,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// 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))
}
Expand All @@ -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))
}
Expand All @@ -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))
}
Expand All @@ -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))
}
Expand All @@ -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))
}
Expand All @@ -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))
Expand All @@ -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))
Expand All @@ -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))
Expand All @@ -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))
}
Expand All @@ -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))
}
Expand Down

0 comments on commit 57ac1ad

Please sign in to comment.