Skip to content

Commit

Permalink
Update weights
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsso committed Dec 13, 2023
1 parent 70acb47 commit a3de301
Show file tree
Hide file tree
Showing 19 changed files with 610 additions and 595 deletions.
50 changes: 25 additions & 25 deletions pallets/allocations/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_allocations
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-12-13, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
Expand Down Expand Up @@ -61,10 +61,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `b` is `[1, 500]`.
fn allocate(b: u32, ) -> Weight {
// Minimum execution time: 159_560 nanoseconds.
Weight::from_parts(40_825_165_u64, 0)
// Standard Error: 14_332
.saturating_add(Weight::from_parts(58_926_825_u64, 0).saturating_mul(b as u64))
// Minimum execution time: 165_650 nanoseconds.
Weight::from_parts(49_251_188_u64, 0)
// Standard Error: 22_949
.saturating_add(Weight::from_parts(60_872_185_u64, 0).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(3_u64))
Expand All @@ -77,8 +77,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `Allocations::NextSessionQuota` (r:0 w:1)
// Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn calc_quota() -> Weight {
// Minimum execution time: 14_800 nanoseconds.
Weight::from_parts(15_390_000_u64, 0)
// Minimum execution time: 15_210 nanoseconds.
Weight::from_parts(15_880_000_u64, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -91,8 +91,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `Allocations::SessionQuota` (r:0 w:1)
// Proof: `Allocations::SessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn renew_quota() -> Weight {
// Minimum execution time: 14_590 nanoseconds.
Weight::from_parts(15_050_000_u64, 0)
// Minimum execution time: 15_100 nanoseconds.
Weight::from_parts(15_710_000_u64, 0)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -109,8 +109,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `Allocations::NextSessionQuota` (r:0 w:1)
// Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn checked_update_session_quota() -> Weight {
// Minimum execution time: 29_650 nanoseconds.
Weight::from_parts(30_080_000_u64, 0)
// Minimum execution time: 29_910 nanoseconds.
Weight::from_parts(30_769_000_u64, 0)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -123,8 +123,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `Allocations::SessionQuotaRenewSchedule` (r:0 w:1)
// Proof: `Allocations::SessionQuotaRenewSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_curve_starting_block() -> Weight {
// Minimum execution time: 9_280 nanoseconds.
Weight::from_parts(9_660_000_u64, 0)
// Minimum execution time: 9_380 nanoseconds.
Weight::from_parts(9_930_000_u64, 0)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -137,10 +137,10 @@ impl WeightInfo for () {
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `b` is `[1, 500]`.
fn allocate(b: u32, ) -> Weight {
// Minimum execution time: 159_560 nanoseconds.
Weight::from_parts(40_825_165_u64, 0)
// Standard Error: 14_332
.saturating_add(Weight::from_parts(58_926_825_u64, 0).saturating_mul(b as u64))
// Minimum execution time: 165_650 nanoseconds.
Weight::from_parts(49_251_188_u64, 0)
// Standard Error: 22_949
.saturating_add(Weight::from_parts(60_872_185_u64, 0).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b as u64)))
.saturating_add(RocksDbWeight::get().writes(3_u64))
Expand All @@ -153,8 +153,8 @@ impl WeightInfo for () {
// Storage: `Allocations::NextSessionQuota` (r:0 w:1)
// Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn calc_quota() -> Weight {
// Minimum execution time: 14_800 nanoseconds.
Weight::from_parts(15_390_000_u64, 0)
// Minimum execution time: 15_210 nanoseconds.
Weight::from_parts(15_880_000_u64, 0)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
Expand All @@ -167,8 +167,8 @@ impl WeightInfo for () {
// Storage: `Allocations::SessionQuota` (r:0 w:1)
// Proof: `Allocations::SessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn renew_quota() -> Weight {
// Minimum execution time: 14_590 nanoseconds.
Weight::from_parts(15_050_000_u64, 0)
// Minimum execution time: 15_100 nanoseconds.
Weight::from_parts(15_710_000_u64, 0)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
Expand All @@ -185,8 +185,8 @@ impl WeightInfo for () {
// Storage: `Allocations::NextSessionQuota` (r:0 w:1)
// Proof: `Allocations::NextSessionQuota` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn checked_update_session_quota() -> Weight {
// Minimum execution time: 29_650 nanoseconds.
Weight::from_parts(30_080_000_u64, 0)
// Minimum execution time: 29_910 nanoseconds.
Weight::from_parts(30_769_000_u64, 0)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
Expand All @@ -199,8 +199,8 @@ impl WeightInfo for () {
// Storage: `Allocations::SessionQuotaRenewSchedule` (r:0 w:1)
// Proof: `Allocations::SessionQuotaRenewSchedule` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_curve_starting_block() -> Weight {
// Minimum execution time: 9_280 nanoseconds.
Weight::from_parts(9_660_000_u64, 0)
// Minimum execution time: 9_380 nanoseconds.
Weight::from_parts(9_930_000_u64, 0)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
Expand Down
34 changes: 17 additions & 17 deletions pallets/grants/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_grants
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-12-13, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
Expand Down Expand Up @@ -65,8 +65,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `Balances::Freezes` (r:1 w:0)
// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
fn add_vesting_schedule() -> Weight {
// Minimum execution time: 117_460 nanoseconds.
Weight::from_parts(119_340_000_u64, 0)
// Minimum execution time: 120_040 nanoseconds.
Weight::from_parts(124_240_000_u64, 0)

Check warning on line 69 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L68-L69

Added lines #L68 - L69 were not covered by tests
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -81,8 +81,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `System::Account` (r:1 w:1)
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim() -> Weight {
// Minimum execution time: 52_469 nanoseconds.
Weight::from_parts(53_730_000_u64, 0)
// Minimum execution time: 52_300 nanoseconds.
Weight::from_parts(53_550_000_u64, 0)

Check warning on line 85 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L84-L85

Added lines #L84 - L85 were not covered by tests
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -101,16 +101,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `Vesting::CounterForVestingSchedules` (r:1 w:1)
// Proof: `Vesting::CounterForVestingSchedules` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn cancel_all_vesting_schedules() -> Weight {
// Minimum execution time: 165_190 nanoseconds.
Weight::from_parts(166_880_000_u64, 0)
// Minimum execution time: 168_070 nanoseconds.
Weight::from_parts(173_320_000_u64, 0)

Check warning on line 105 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L104-L105

Added lines #L104 - L105 were not covered by tests
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
// Storage: `Vesting::Renounced` (r:0 w:1)
// Proof: `Vesting::Renounced` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
fn renounce() -> Weight {
// Minimum execution time: 13_170 nanoseconds.
Weight::from_parts(13_570_000_u64, 0)
// Minimum execution time: 13_340 nanoseconds.
Weight::from_parts(14_080_000_u64, 0)

Check warning on line 113 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L112-L113

Added lines #L112 - L113 were not covered by tests
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
Expand All @@ -127,8 +127,8 @@ impl WeightInfo for () {
// Storage: `Balances::Freezes` (r:1 w:0)
// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
fn add_vesting_schedule() -> Weight {
// Minimum execution time: 117_460 nanoseconds.
Weight::from_parts(119_340_000_u64, 0)
// Minimum execution time: 120_040 nanoseconds.
Weight::from_parts(124_240_000_u64, 0)

Check warning on line 131 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L130-L131

Added lines #L130 - L131 were not covered by tests
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
Expand All @@ -143,8 +143,8 @@ impl WeightInfo for () {
// Storage: `System::Account` (r:1 w:1)
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim() -> Weight {
// Minimum execution time: 52_469 nanoseconds.
Weight::from_parts(53_730_000_u64, 0)
// Minimum execution time: 52_300 nanoseconds.
Weight::from_parts(53_550_000_u64, 0)

Check warning on line 147 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L146-L147

Added lines #L146 - L147 were not covered by tests
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
Expand All @@ -163,16 +163,16 @@ impl WeightInfo for () {
// Storage: `Vesting::CounterForVestingSchedules` (r:1 w:1)
// Proof: `Vesting::CounterForVestingSchedules` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn cancel_all_vesting_schedules() -> Weight {
// Minimum execution time: 165_190 nanoseconds.
Weight::from_parts(166_880_000_u64, 0)
// Minimum execution time: 168_070 nanoseconds.
Weight::from_parts(173_320_000_u64, 0)

Check warning on line 167 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L166-L167

Added lines #L166 - L167 were not covered by tests
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
// Storage: `Vesting::Renounced` (r:0 w:1)
// Proof: `Vesting::Renounced` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
fn renounce() -> Weight {
// Minimum execution time: 13_170 nanoseconds.
Weight::from_parts(13_570_000_u64, 0)
// Minimum execution time: 13_340 nanoseconds.
Weight::from_parts(14_080_000_u64, 0)

Check warning on line 175 in pallets/grants/src/weights.rs

View check run for this annotation

Codecov / codecov/patch

pallets/grants/src/weights.rs#L174-L175

Added lines #L174 - L175 were not covered by tests
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
18 changes: 9 additions & 9 deletions pallets/reserve/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_reserve
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-12-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-12-13, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `chain-bench-b606df9f`, CPU: `AMD EPYC 7B13`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
Expand Down Expand Up @@ -55,16 +55,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: `System::Account` (r:2 w:2)
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn tip() -> Weight {
// Minimum execution time: 67_140 nanoseconds.
Weight::from_parts(68_670_000_u64, 0)
// Minimum execution time: 70_110 nanoseconds.
Weight::from_parts(72_090_000_u64, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
// Storage: `System::Account` (r:2 w:2)
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn spend() -> Weight {
// Minimum execution time: 75_820 nanoseconds.
Weight::from_parts(77_300_000_u64, 0)
// Minimum execution time: 79_060 nanoseconds.
Weight::from_parts(80_470_000_u64, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -74,16 +74,16 @@ impl WeightInfo for () {
// Storage: `System::Account` (r:2 w:2)
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn tip() -> Weight {
// Minimum execution time: 67_140 nanoseconds.
Weight::from_parts(68_670_000_u64, 0)
// Minimum execution time: 70_110 nanoseconds.
Weight::from_parts(72_090_000_u64, 0)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
// Storage: `System::Account` (r:2 w:2)
// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn spend() -> Weight {
// Minimum execution time: 75_820 nanoseconds.
Weight::from_parts(77_300_000_u64, 0)
// Minimum execution time: 79_060 nanoseconds.
Weight::from_parts(80_470_000_u64, 0)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
Expand Down
Loading

0 comments on commit a3de301

Please sign in to comment.