Skip to content

Commit

Permalink
chore: benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul1010 committed Jan 8, 2024
1 parent df35369 commit 8723867
Show file tree
Hide file tree
Showing 78 changed files with 2,833 additions and 2,841 deletions.
22 changes: 11 additions & 11 deletions parachain/runtime/interlay/src/weights/annuity_escrow_annuity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//! Autogenerated weights for annuity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-08, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `interlay-hetzner-01`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
Expand Down Expand Up @@ -44,8 +44,8 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 13_878_000 picoseconds.
Weight::from_parts(14_369_000, 0)
// Minimum execution time: 13_557_000 picoseconds.
Weight::from_parts(13_848_000, 0)
}
/// Storage: EscrowRewards Stake (r:1 w:0)
/// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
Expand All @@ -63,8 +63,8 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1014`
// Estimated: `6170`
// Minimum execution time: 125_391_000 picoseconds.
Weight::from_parts(130_662_000, 6170)
// Minimum execution time: 118_507_000 picoseconds.
Weight::from_parts(119_780_000, 6170)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -74,15 +74,15 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `536`
// Estimated: `3580`
// Minimum execution time: 23_708_000 picoseconds.
Weight::from_parts(25_200_000, 3580)
// Minimum execution time: 21_874_000 picoseconds.
Weight::from_parts(22_556_000, 3580)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn set_reward_per_wrapped () -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_058_000 picoseconds.
Weight::from_parts(9_459_000, 0)
// Minimum execution time: 8_567_000 picoseconds.
Weight::from_parts(8_737_000, 0)
}
}
18 changes: 9 additions & 9 deletions parachain/runtime/interlay/src/weights/annuity_vault_annuity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//! Autogenerated weights for annuity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-08, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `interlay-hetzner-01`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
Expand Down Expand Up @@ -44,8 +44,8 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 14_750_000 picoseconds.
Weight::from_parts(15_390_000, 0)
// Minimum execution time: 14_189_000 picoseconds.
Weight::from_parts(14_439_000, 0)
}
fn withdraw_rewards () -> Weight {
// Proof Size summary in bytes:
Expand All @@ -60,15 +60,15 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `536`
// Estimated: `3580`
// Minimum execution time: 23_998_000 picoseconds.
Weight::from_parts(25_060_000, 3580)
// Minimum execution time: 22_174_000 picoseconds.
Weight::from_parts(22_455_000, 3580)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn set_reward_per_wrapped () -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_028_000 picoseconds.
Weight::from_parts(9_399_000, 0)
// Minimum execution time: 8_386_000 picoseconds.
Weight::from_parts(8_577_000, 0)
}
}
38 changes: 19 additions & 19 deletions parachain/runtime/interlay/src/weights/btc_relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//! Autogenerated weights for btc_relay
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-08, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `interlay-hetzner-01`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
Expand Down Expand Up @@ -64,8 +64,8 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `403`
// Estimated: `3489`
// Minimum execution time: 71_783_000 picoseconds.
Weight::from_parts(74_009_000, 3489)
// Minimum execution time: 65_110_000 picoseconds.
Weight::from_parts(65_551_000, 3489)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
}
Expand All @@ -89,8 +89,8 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `874`
// Estimated: `6340`
// Minimum execution time: 88_808_000 picoseconds.
Weight::from_parts(90_482_000, 6340)
// Minimum execution time: 79_088_000 picoseconds.
Weight::from_parts(80_210_000, 6340)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -115,10 +115,10 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `806 + f * (101 ±0)`
// Estimated: `6340 + f * (2507 ±0)`
// Minimum execution time: 101_073_000 picoseconds.
Weight::from_parts(95_176_412, 6340)
// Standard Error: 452_083
.saturating_add(Weight::from_parts(11_888_980, 0).saturating_mul(f.into()))
// Minimum execution time: 93_477_000 picoseconds.
Weight::from_parts(79_727_050, 6340)
// Standard Error: 447_126
.saturating_add(Weight::from_parts(12_927_215, 0).saturating_mul(f.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(f.into())))
.saturating_add(T::DbWeight::get().writes(5_u64))
Expand All @@ -145,10 +145,10 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `842 + f * (99 ±0)`
// Estimated: `6340 + f * (2499 ±0)`
// Minimum execution time: 97_675_000 picoseconds.
Weight::from_parts(89_104_041, 6340)
// Standard Error: 196_333
.saturating_add(Weight::from_parts(14_328_939, 0).saturating_mul(f.into()))
// Minimum execution time: 93_367_000 picoseconds.
Weight::from_parts(84_126_704, 6340)
// Standard Error: 88_313
.saturating_add(Weight::from_parts(13_283_447, 0).saturating_mul(f.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
Expand Down Expand Up @@ -180,10 +180,10 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `4741 + f * (240 ±0)`
// Estimated: `54490 + f * (1340 ±45)`
// Minimum execution time: 506_604_000 picoseconds.
Weight::from_parts(465_095_071, 54490)
// Standard Error: 430_820
.saturating_add(Weight::from_parts(18_597_675, 0).saturating_mul(f.into()))
// Minimum execution time: 505_673_000 picoseconds.
Weight::from_parts(496_668_816, 54490)
// Standard Error: 239_165
.saturating_add(Weight::from_parts(7_470_182, 0).saturating_mul(f.into()))
.saturating_add(T::DbWeight::get().reads(42_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into())))
.saturating_add(T::DbWeight::get().writes(46_u64))
Expand Down
28 changes: 16 additions & 12 deletions parachain/runtime/interlay/src/weights/clients_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//! Autogenerated weights for clients_info
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-08, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `interlay-hetzner-01`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
Expand Down Expand Up @@ -44,12 +44,16 @@ impl<T: frame_system::Config> clients_info::WeightInfo for WeightInfo<T> {
/// Proof: ClientsInfo CurrentClientReleases (max_values: None, max_size: Some(562), added: 3037, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 255]`.
/// The range of component `u` is `[0, 255]`.
fn set_current_client_release (_n: u32, _u: u32, ) -> Weight {
fn set_current_client_release (n: u32, u: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 23_357_000 picoseconds.
Weight::from_parts(26_197_179, 0)
// Minimum execution time: 22_606_000 picoseconds.
Weight::from_parts(23_214_319, 0)
// Standard Error: 355
.saturating_add(Weight::from_parts(2_953, 0).saturating_mul(n.into()))
// Standard Error: 355
.saturating_add(Weight::from_parts(1_249, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: ClientsInfo PendingClientReleases (r:0 w:1)
Expand All @@ -60,12 +64,12 @@ impl<T: frame_system::Config> clients_info::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 22_976_000 picoseconds.
Weight::from_parts(24_221_268, 0)
// Standard Error: 615
.saturating_add(Weight::from_parts(3_577, 0).saturating_mul(n.into()))
// Standard Error: 615
.saturating_add(Weight::from_parts(1_267, 0).saturating_mul(u.into()))
// Minimum execution time: 22_495_000 picoseconds.
Weight::from_parts(23_222_048, 0)
// Standard Error: 529
.saturating_add(Weight::from_parts(2_781, 0).saturating_mul(n.into()))
// Standard Error: 529
.saturating_add(Weight::from_parts(1_888, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
50 changes: 25 additions & 25 deletions parachain/runtime/interlay/src/weights/collator_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//! Autogenerated weights for collator_selection
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-08, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `interlay-hetzner-01`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
Expand Down Expand Up @@ -49,10 +49,10 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `252 + b * (78 ±0)`
// Estimated: `1241 + b * (2554 ±0)`
// Minimum execution time: 28_387_000 picoseconds.
Weight::from_parts(19_586_047, 1241)
// Standard Error: 104_765
.saturating_add(Weight::from_parts(5_569_637, 0).saturating_mul(b.into()))
// Minimum execution time: 28_336_000 picoseconds.
Weight::from_parts(27_804_991, 1241)
// Standard Error: 26_015
.saturating_add(Weight::from_parts(4_868_358, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into()))
Expand All @@ -63,8 +63,8 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 17_825_000 picoseconds.
Weight::from_parts(24_970_000, 0)
// Minimum execution time: 15_782_000 picoseconds.
Weight::from_parts(16_102_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
Expand All @@ -73,8 +73,8 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 26_052_000 picoseconds.
Weight::from_parts(27_986_000, 0)
// Minimum execution time: 16_553_000 picoseconds.
Weight::from_parts(17_616_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: CollatorSelection Candidates (r:1 w:1)
Expand All @@ -100,10 +100,10 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `902 + c * (96 ±0)`
// Estimated: `49487 + c * (97 ±0)`
// Minimum execution time: 78_588_000 picoseconds.
Weight::from_parts(82_310_845, 49487)
// Standard Error: 88_497
.saturating_add(Weight::from_parts(487_436, 0).saturating_mul(c.into()))
// Minimum execution time: 76_413_000 picoseconds.
Weight::from_parts(83_708_260, 49487)
// Standard Error: 90_370
.saturating_add(Weight::from_parts(171_012, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(c.into()))
Expand All @@ -119,10 +119,10 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `402 + c * (64 ±0)`
// Estimated: `49487`
// Minimum execution time: 41_573_000 picoseconds.
Weight::from_parts(42_921_116, 49487)
// Standard Error: 17_308
.saturating_add(Weight::from_parts(209_885, 0).saturating_mul(c.into()))
// Minimum execution time: 41_293_000 picoseconds.
Weight::from_parts(41_518_725, 49487)
// Standard Error: 8_581
.saturating_add(Weight::from_parts(135_185, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -136,8 +136,8 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `650`
// Estimated: `6170`
// Minimum execution time: 72_686_000 picoseconds.
Weight::from_parts(73_928_000, 6170)
// Minimum execution time: 70_452_000 picoseconds.
Weight::from_parts(71_212_000, 6170)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -161,10 +161,10 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `793 + c * (194 ±0) + r * (47 ±0)`
// Estimated: `49487 + c * (2563 ±0) + r * (2207 ±23)`
// Minimum execution time: 51_603_000 picoseconds.
Weight::from_parts(53_327_000, 49487)
// Standard Error: 385_035
.saturating_add(Weight::from_parts(25_609_068, 0).saturating_mul(c.into()))
// Minimum execution time: 51_012_000 picoseconds.
Weight::from_parts(51_593_000, 49487)
// Standard Error: 398_397
.saturating_add(Weight::from_parts(24_990_802, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-08, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `interlay-hetzner-01`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
Expand Down Expand Up @@ -46,8 +46,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `1489`
// Minimum execution time: 10_290_000 picoseconds.
Weight::from_parts(10_882_000, 1489)
// Minimum execution time: 10_561_000 picoseconds.
Weight::from_parts(10_832_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -57,8 +57,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `1489`
// Minimum execution time: 10_611_000 picoseconds.
Weight::from_parts(11_673_000, 1489)
// Minimum execution time: 10_762_000 picoseconds.
Weight::from_parts(10_982_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand Down
Loading

0 comments on commit 8723867

Please sign in to comment.