Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
[benchmarks] pr with weights (#1945)
Co-authored-by: paritytech-ci <[email protected]>
  • Loading branch information
EgorPopelyaev and paritytech-ci committed Dec 6, 2022
commit ef1980f78dab17f599a438fb06f961d2c3876985
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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

// Executed Command:
Expand All @@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -48,13 +48,15 @@ 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 {
Weight::from_ref_time(5_294_000 as u64)
// 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))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
Weight::from_ref_time(5_180_000 as u64)
// 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))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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

// Executed Command:
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: 3_986 nanoseconds.
Weight::from_ref_time(4_150_000 as u64)
// Minimum execution time: 4_351 nanoseconds.
Weight::from_ref_time(4_403_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(511 as u64).saturating_mul(b as u64))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 13_573 nanoseconds.
Weight::from_ref_time(13_750_000 as u64)
// Minimum execution time: 14_431 nanoseconds.
Weight::from_ref_time(14_820_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_495 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_595 as u64).saturating_mul(b as u64))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_715 nanoseconds.
Weight::from_ref_time(9_111_000 as u64)
// 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))
}
// 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_152 nanoseconds.
Weight::from_ref_time(4_243_000 as u64)
// Standard Error: 813
.saturating_add(Weight::from_ref_time(642_493 as u64).saturating_mul(i as u64))
// 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)))
}
// 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_182 nanoseconds.
Weight::from_ref_time(4_325_000 as u64)
// Standard Error: 1_070
.saturating_add(Weight::from_ref_time(557_187 as u64).saturating_mul(i as u64))
// 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)))
}
// 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_669 nanoseconds.
Weight::from_ref_time(5_722_000 as u64)
// Standard Error: 1_384
.saturating_add(Weight::from_ref_time(1_165_138 as u64).saturating_mul(p as u64))
// 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)))
}
}
Loading