Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weights update #841

Merged
merged 9 commits into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions pallets/liquidity/src/weights.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

//! Autogenerated weights for `liquidity`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-15, STEPS: `100`, REPEAT: `200`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-22, STEPS: `100`, REPEAT: `200`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `Ubuntu-2204-jammy-amd64-base`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz`
//! HOSTNAME: `ip-172-31-5-61`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -46,8 +45,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `243`
// Estimated: `3708`
// Minimum execution time: 19_331_000 picoseconds.
Weight::from_parts(20_263_402, 0)
// Minimum execution time: 16_636_000 picoseconds.
Weight::from_parts(17_535_398, 0)
.saturating_add(Weight::from_parts(0, 3708))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
Expand Down Expand Up @@ -75,8 +74,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `928`
// Estimated: `6232`
// Minimum execution time: 47_424_000 picoseconds.
Weight::from_parts(49_148_986, 0)
// Minimum execution time: 44_202_000 picoseconds.
Weight::from_parts(46_998_278, 0)
.saturating_add(Weight::from_parts(0, 6232))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
Expand All @@ -98,8 +97,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `553`
// Estimated: `4018`
// Minimum execution time: 23_449_000 picoseconds.
Weight::from_parts(24_706_533, 0)
// Minimum execution time: 21_093_000 picoseconds.
Weight::from_parts(22_677_425, 0)
.saturating_add(Weight::from_parts(0, 4018))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
Expand Down
111 changes: 50 additions & 61 deletions pallets/ocex/src/weights.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

//! Autogenerated weights for `pallet_ocex_lmp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-15, STEPS: `100`, REPEAT: `200`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-07-22, STEPS: `100`, REPEAT: `200`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `Ubuntu-2204-jammy-amd64-base`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz`
//! HOSTNAME: `ip-172-31-5-61`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -44,8 +43,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `167`
// Estimated: `3632`
// Minimum execution time: 13_039_000 picoseconds.
Weight::from_parts(13_863_155, 0)
// Minimum execution time: 10_791_000 picoseconds.
Weight::from_parts(11_552_442, 0)
.saturating_add(Weight::from_parts(0, 3632))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -57,13 +56,15 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
/// Storage: OCEX IngressMessages (r:1 w:1)
/// Proof Skipped: OCEX IngressMessages (max_values: None, max_size: None, mode: Measured)
/// The range of component `x` is `[0, 255]`.
fn add_proxy_account(_x: u32, ) -> Weight {
fn add_proxy_account(x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `397`
// Estimated: `3862`
// Minimum execution time: 16_967_000 picoseconds.
Weight::from_parts(17_884_917, 0)
// Minimum execution time: 14_872_000 picoseconds.
Weight::from_parts(15_853_604, 0)
.saturating_add(Weight::from_parts(0, 3862))
// Standard Error: 19
.saturating_add(Weight::from_parts(57, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -74,15 +75,13 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
/// Storage: OCEX IngressMessages (r:1 w:1)
/// Proof Skipped: OCEX IngressMessages (max_values: None, max_size: None, mode: Measured)
/// The range of component `x` is `[1, 50000]`.
fn close_trading_pair(x: u32, ) -> Weight {
fn close_trading_pair(_x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `391`
// Estimated: `3856`
// Minimum execution time: 16_480_000 picoseconds.
Weight::from_parts(17_451_387, 0)
// Minimum execution time: 13_973_000 picoseconds.
Weight::from_parts(14_949_673, 0)
.saturating_add(Weight::from_parts(0, 3856))
// Standard Error: 0
.saturating_add(Weight::from_parts(1, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -97,8 +96,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `391`
// Estimated: `3856`
// Minimum execution time: 16_632_000 picoseconds.
Weight::from_parts(17_594_655, 0)
// Minimum execution time: 14_037_000 picoseconds.
Weight::from_parts(14_954_997, 0)
.saturating_add(Weight::from_parts(0, 3856))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -114,8 +113,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `167`
// Estimated: `6107`
// Minimum execution time: 14_794_000 picoseconds.
Weight::from_parts(15_522_018, 0)
// Minimum execution time: 12_453_000 picoseconds.
Weight::from_parts(13_251_073, 0)
.saturating_add(Weight::from_parts(0, 6107))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -131,8 +130,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `420`
// Estimated: `3885`
// Minimum execution time: 18_607_000 picoseconds.
Weight::from_parts(19_545_046, 0)
// Minimum execution time: 16_170_000 picoseconds.
Weight::from_parts(17_078_724, 0)
.saturating_add(Weight::from_parts(0, 3885))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -156,8 +155,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `740`
// Estimated: `6232`
// Minimum execution time: 38_715_000 picoseconds.
Weight::from_parts(40_085_326, 0)
// Minimum execution time: 35_709_000 picoseconds.
Weight::from_parts(37_777_159, 0)
.saturating_add(Weight::from_parts(0, 6232))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(4))
Expand All @@ -169,24 +168,16 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
/// Storage: OCEX IngressMessages (r:1 w:1)
/// Proof Skipped: OCEX IngressMessages (max_values: None, max_size: None, mode: Measured)
/// The range of component `x` is `[1, 255]`.
fn remove_proxy_account(x: u32, ) -> Weight {
fn remove_proxy_account(_x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `429`
// Estimated: `3894`
// Minimum execution time: 16_406_000 picoseconds.
Weight::from_parts(17_226_053, 0)
// Minimum execution time: 14_446_000 picoseconds.
Weight::from_parts(15_341_097, 0)
.saturating_add(Weight::from_parts(0, 3894))
// Standard Error: 15
.saturating_add(Weight::from_parts(110, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: OCEX SnapshotNonce (r:1 w:1)
/// Proof Skipped: OCEX SnapshotNonce (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: OCEX UnprocessedSnapshots (r:1 w:0)
/// Proof Skipped: OCEX UnprocessedSnapshots (max_values: None, max_size: None, mode: Measured)
/// Storage: OCEX Authorities (r:1 w:0)
/// Proof Skipped: OCEX Authorities (max_values: None, max_size: None, mode: Measured)
/// Storage: OCEX OnChainEvents (r:1 w:1)
/// Proof Skipped: OCEX OnChainEvents (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: OCEX Withdrawals (r:0 w:1)
Expand All @@ -195,28 +186,28 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
/// Proof Skipped: OCEX Snapshots (max_values: None, max_size: None, mode: Measured)
/// Storage: OCEX FeesCollected (r:0 w:1)
/// Proof Skipped: OCEX FeesCollected (max_values: None, max_size: None, mode: Measured)
/// Storage: OCEX SnapshotNonce (r:0 w:1)
/// Proof Skipped: OCEX SnapshotNonce (max_values: Some(1), max_size: None, mode: Measured)
fn submit_snapshot() -> Weight {
// Proof Size summary in bytes:
// Measured: `269`
// Estimated: `3734`
// Minimum execution time: 20_580_000 picoseconds.
Weight::from_parts(21_126_000, 0)
.saturating_add(Weight::from_parts(0, 3734))
.saturating_add(T::DbWeight::get().reads(4))
// Measured: `193`
// Estimated: `1678`
// Minimum execution time: 15_998_000 picoseconds.
Weight::from_parts(16_773_000, 0)
.saturating_add(Weight::from_parts(0, 1678))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(5))
}
/// Storage: OCEX FeesCollected (r:1 w:1)
/// Proof Skipped: OCEX FeesCollected (max_values: None, max_size: None, mode: Measured)
/// The range of component `x` is `[0, 255]`.
fn collect_fees(x: u32, ) -> Weight {
fn collect_fees(_x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `200`
// Estimated: `3665`
// Minimum execution time: 9_321_000 picoseconds.
Weight::from_parts(9_892_491, 0)
// Minimum execution time: 7_719_000 picoseconds.
Weight::from_parts(8_274_459, 0)
.saturating_add(Weight::from_parts(0, 3665))
// Standard Error: 9
.saturating_add(Weight::from_parts(72, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -229,8 +220,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `167`
// Estimated: `3632`
// Minimum execution time: 9_472_000 picoseconds.
Weight::from_parts(10_047_006, 0)
// Minimum execution time: 8_110_000 picoseconds.
Weight::from_parts(8_656_845, 0)
.saturating_add(Weight::from_parts(0, 3632))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -240,15 +231,13 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
/// Storage: OCEX IngressMessages (r:1 w:1)
/// Proof Skipped: OCEX IngressMessages (max_values: None, max_size: None, mode: Measured)
/// The range of component `x` is `[0, 255]`.
fn set_balances(x: u32, ) -> Weight {
fn set_balances(_x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `147`
// Estimated: `3612`
// Minimum execution time: 5_689_000 picoseconds.
Weight::from_parts(6_148_190, 0)
// Minimum execution time: 5_050_000 picoseconds.
Weight::from_parts(5_489_572, 0)
.saturating_add(Weight::from_parts(0, 3612))
// Standard Error: 8
.saturating_add(Weight::from_parts(23, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -263,10 +252,10 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
/// The range of component `x` is `[1, 255]`.
fn claim_withdraw(_x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `771`
// Measured: `763`
// Estimated: `6232`
// Minimum execution time: 33_987_000 picoseconds.
Weight::from_parts(35_174_800, 0)
// Minimum execution time: 30_631_000 picoseconds.
Weight::from_parts(32_400_744, 0)
.saturating_add(Weight::from_parts(0, 6232))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
Expand All @@ -278,8 +267,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `167`
// Estimated: `1652`
// Minimum execution time: 8_826_000 picoseconds.
Weight::from_parts(9_338_204, 0)
// Minimum execution time: 7_787_000 picoseconds.
Weight::from_parts(8_239_272, 0)
.saturating_add(Weight::from_parts(0, 1652))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -291,8 +280,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `205`
// Estimated: `1690`
// Minimum execution time: 10_079_000 picoseconds.
Weight::from_parts(10_642_563, 0)
// Minimum execution time: 8_555_000 picoseconds.
Weight::from_parts(9_088_476, 0)
.saturating_add(Weight::from_parts(0, 1690))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -303,8 +292,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_319_000 picoseconds.
Weight::from_parts(2_492_000, 0)
// Minimum execution time: 1_705_000 picoseconds.
Weight::from_parts(1_861_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -314,8 +303,8 @@ impl<T: frame_system::Config> crate::OcexWeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_617_000 picoseconds.
Weight::from_parts(5_963_000, 0)
// Minimum execution time: 4_292_000 picoseconds.
Weight::from_parts(4_579_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
Loading