Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
[benchmarks] pr with weights Collectives (#2025)
Browse files Browse the repository at this point in the history
* [benchmarks] pr with weights

* provide veto method for trait

Co-authored-by: paritytech-ci <[email protected]>
Co-authored-by: muharem <[email protected]>
  • Loading branch information
3 people committed Dec 22, 2022
1 parent 94cbefe commit fa64bce
Show file tree
Hide file tree
Showing 11 changed files with 478 additions and 478 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024

Expand Down Expand Up @@ -48,16 +48,16 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 7_970 nanoseconds.
Weight::from_ref_time(8_227_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 6_777 nanoseconds.
Weight::from_ref_time(7_035_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 7_993 nanoseconds.
Weight::from_ref_time(8_212_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 6_871 nanoseconds.
Weight::from_ref_time(7_121_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024

Expand Down Expand Up @@ -48,51 +48,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 4_351 nanoseconds.
Weight::from_ref_time(4_403_000 as u64)
// Minimum execution time: 3_778 nanoseconds.
Weight::from_ref_time(3_855_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(511 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(510).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 14_431 nanoseconds.
Weight::from_ref_time(14_820_000 as u64)
// Minimum execution time: 12_934 nanoseconds.
Weight::from_ref_time(13_156_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_595 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_860).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_894 nanoseconds.
Weight::from_ref_time(9_170_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 7_743 nanoseconds.
Weight::from_ref_time(8_055_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_363 nanoseconds.
Weight::from_ref_time(4_411_000 as u64)
// Standard Error: 793
.saturating_add(Weight::from_ref_time(650_122 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_937 nanoseconds.
Weight::from_ref_time(3_997_000)
// Standard Error: 2_287
.saturating_add(Weight::from_ref_time(622_508).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_224 nanoseconds.
Weight::from_ref_time(4_335_000 as u64)
// Standard Error: 1_002
.saturating_add(Weight::from_ref_time(560_274 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 3_888 nanoseconds.
Weight::from_ref_time(3_983_000)
// Standard Error: 1_138
.saturating_add(Weight::from_ref_time(454_438).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_682 nanoseconds.
Weight::from_ref_time(5_829_000 as u64)
// Standard Error: 1_186
.saturating_add(Weight::from_ref_time(1_171_722 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
// Minimum execution time: 5_459 nanoseconds.
Weight::from_ref_time(5_641_000)
// Standard Error: 1_037
.saturating_add(Weight::from_ref_time(965_492).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
Loading

0 comments on commit fa64bce

Please sign in to comment.