Skip to content

Commit

Permalink
Add new weights
Browse files Browse the repository at this point in the history
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
  • Loading branch information
ghzlatarev committed Jun 26, 2023
1 parent 76dea89 commit 17d994e
Show file tree
Hide file tree
Showing 23 changed files with 1,180 additions and 1,168 deletions.
18 changes: 9 additions & 9 deletions runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs
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: 2023-06-19, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-26, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -55,15 +55,15 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for SubstrateWeight<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 7_062 nanoseconds.
Weight::from_ref_time(7_282_000)
// Minimum execution time: 7_468 nanoseconds.
Weight::from_ref_time(7_654_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_221 nanoseconds.
Weight::from_ref_time(7_392_000)
// Minimum execution time: 7_360 nanoseconds.
Weight::from_ref_time(7_664_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -73,15 +73,15 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for Substrat
impl WeightInfo for () {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 7_062 nanoseconds.
Weight::from_ref_time(7_282_000)
// Minimum execution time: 7_468 nanoseconds.
Weight::from_ref_time(7_654_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 7_221 nanoseconds.
Weight::from_ref_time(7_392_000)
// Minimum execution time: 7_360 nanoseconds.
Weight::from_ref_time(7_664_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
Expand Down
82 changes: 41 additions & 41 deletions runtime/manta/src/weights/frame_system.rs
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: 2023-06-19, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-26, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -59,51 +59,51 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for SubstrateWeight<T> {
/// The range of component `b` is `[0, 3670016]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_627 nanoseconds.
Weight::from_ref_time(13_648_528)
// Minimum execution time: 3_528 nanoseconds.
Weight::from_ref_time(11_101_821)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(458).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(460).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3670016]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 13_369 nanoseconds.
Weight::from_ref_time(13_616_000)
// Minimum execution time: 13_068 nanoseconds.
Weight::from_ref_time(13_364_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_039).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(2_035).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_198 nanoseconds.
Weight::from_ref_time(8_470_000)
// Minimum execution time: 18_083 nanoseconds.
Weight::from_ref_time(18_888_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: 11_241 nanoseconds.
Weight::from_ref_time(11_584_000)
// Standard Error: 1_613
.saturating_add(Weight::from_ref_time(717_622).saturating_mul(i.into()))
// Minimum execution time: 5_939 nanoseconds.
Weight::from_ref_time(6_132_000)
// Standard Error: 1_567
.saturating_add(Weight::from_ref_time(718_087).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: 3_722 nanoseconds.
Weight::from_ref_time(3_821_000)
// Standard Error: 584
.saturating_add(Weight::from_ref_time(519_630).saturating_mul(i.into()))
// Minimum execution time: 3_670 nanoseconds.
Weight::from_ref_time(3_766_000)
// Standard Error: 574
.saturating_add(Weight::from_ref_time(517_573).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: 16_527 nanoseconds.
Weight::from_ref_time(16_917_000)
// Standard Error: 991
.saturating_add(Weight::from_ref_time(1_106_940).saturating_mul(p.into()))
// Minimum execution time: 5_576 nanoseconds.
Weight::from_ref_time(5_678_000)
// Standard Error: 772
.saturating_add(Weight::from_ref_time(1_107_514).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
Expand All @@ -112,51 +112,51 @@ impl<T: frame_system::Config> frame_system::WeightInfo for SubstrateWeight<T> {
impl WeightInfo for () {
/// The range of component `b` is `[0, 3670016]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_627 nanoseconds.
Weight::from_ref_time(13_648_528)
// Minimum execution time: 3_528 nanoseconds.
Weight::from_ref_time(11_101_821)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(458).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(460).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3670016]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 13_369 nanoseconds.
Weight::from_ref_time(13_616_000)
// Minimum execution time: 13_068 nanoseconds.
Weight::from_ref_time(13_364_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_039).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(2_035).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_198 nanoseconds.
Weight::from_ref_time(8_470_000)
// Minimum execution time: 18_083 nanoseconds.
Weight::from_ref_time(18_888_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::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: 11_241 nanoseconds.
Weight::from_ref_time(11_584_000)
// Standard Error: 1_613
.saturating_add(Weight::from_ref_time(717_622).saturating_mul(i.into()))
// Minimum execution time: 5_939 nanoseconds.
Weight::from_ref_time(6_132_000)
// Standard Error: 1_567
.saturating_add(Weight::from_ref_time(718_087).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::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: 3_722 nanoseconds.
Weight::from_ref_time(3_821_000)
// Standard Error: 584
.saturating_add(Weight::from_ref_time(519_630).saturating_mul(i.into()))
// Minimum execution time: 3_670 nanoseconds.
Weight::from_ref_time(3_766_000)
// Standard Error: 574
.saturating_add(Weight::from_ref_time(517_573).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::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: 16_527 nanoseconds.
Weight::from_ref_time(16_917_000)
// Standard Error: 991
.saturating_add(Weight::from_ref_time(1_106_940).saturating_mul(p.into()))
// Minimum execution time: 5_576 nanoseconds.
Weight::from_ref_time(5_678_000)
// Standard Error: 772
.saturating_add(Weight::from_ref_time(1_107_514).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
Loading

0 comments on commit 17d994e

Please sign in to comment.