Skip to content

Commit f3fd88f

Browse files
EgorPopelyaevparitytech-cimuharem
authored
Backport weights from 9360 (#2038)
* [benchmarks] pr with weights (#2026) Co-authored-by: paritytech-ci <[email protected]> * [benchmarks] pr with weights Collectives (#2025) * [benchmarks] pr with weights * provide veto method for trait Co-authored-by: paritytech-ci <[email protected]> Co-authored-by: muharem <[email protected]> * [benchmarks] pr with weights (#2027) Co-authored-by: paritytech-ci <[email protected]> Co-authored-by: paritytech-ci <[email protected]> Co-authored-by: muharem <[email protected]>
1 parent ac28cda commit f3fd88f

File tree

70 files changed

+2531
-2536
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+2531
-2536
lines changed

parachains/runtimes/assets/statemine/src/weights/cumulus_pallet_xcmp_queue.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
20-
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2222
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
2323
@@ -48,16 +48,16 @@ pub struct WeightInfo<T>(PhantomData<T>);
4848
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
4949
// Storage: XcmpQueue QueueConfig (r:1 w:1)
5050
fn set_config_with_u32() -> Weight {
51-
// Minimum execution time: 7_953 nanoseconds.
52-
Weight::from_ref_time(8_268_000 as u64)
53-
.saturating_add(T::DbWeight::get().reads(1 as u64))
54-
.saturating_add(T::DbWeight::get().writes(1 as u64))
51+
// Minimum execution time: 6_844 nanoseconds.
52+
Weight::from_ref_time(7_122_000)
53+
.saturating_add(T::DbWeight::get().reads(1))
54+
.saturating_add(T::DbWeight::get().writes(1))
5555
}
5656
// Storage: XcmpQueue QueueConfig (r:1 w:1)
5757
fn set_config_with_weight() -> Weight {
58-
// Minimum execution time: 7_825 nanoseconds.
59-
Weight::from_ref_time(8_190_000 as u64)
60-
.saturating_add(T::DbWeight::get().reads(1 as u64))
61-
.saturating_add(T::DbWeight::get().writes(1 as u64))
58+
// Minimum execution time: 6_960 nanoseconds.
59+
Weight::from_ref_time(7_173_000)
60+
.saturating_add(T::DbWeight::get().reads(1))
61+
.saturating_add(T::DbWeight::get().writes(1))
6262
}
6363
}

parachains/runtimes/assets/statemine/src/weights/frame_system.rs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//! Autogenerated weights for `frame_system`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
20-
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2222
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
2323
@@ -48,51 +48,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
4848
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
4949
/// The range of component `b` is `[0, 3932160]`.
5050
fn remark(b: u32, ) -> Weight {
51-
// Minimum execution time: 4_358 nanoseconds.
52-
Weight::from_ref_time(4_466_000 as u64)
51+
// Minimum execution time: 3_919 nanoseconds.
52+
Weight::from_ref_time(3_976_000)
5353
// Standard Error: 0
54-
.saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64))
54+
.saturating_add(Weight::from_ref_time(411).saturating_mul(b.into()))
5555
}
5656
/// The range of component `b` is `[0, 3932160]`.
5757
fn remark_with_event(b: u32, ) -> Weight {
58-
// Minimum execution time: 14_960 nanoseconds.
59-
Weight::from_ref_time(15_174_000 as u64)
58+
// Minimum execution time: 13_679 nanoseconds.
59+
Weight::from_ref_time(13_807_000)
6060
// Standard Error: 0
61-
.saturating_add(Weight::from_ref_time(1_503 as u64).saturating_mul(b as u64))
61+
.saturating_add(Weight::from_ref_time(1_770).saturating_mul(b.into()))
6262
}
6363
// Storage: System Digest (r:1 w:1)
6464
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
6565
fn set_heap_pages() -> Weight {
66-
// Minimum execution time: 9_764 nanoseconds.
67-
Weight::from_ref_time(10_224_000 as u64)
68-
.saturating_add(T::DbWeight::get().reads(1 as u64))
69-
.saturating_add(T::DbWeight::get().writes(2 as u64))
66+
// Minimum execution time: 8_917 nanoseconds.
67+
Weight::from_ref_time(9_108_000)
68+
.saturating_add(T::DbWeight::get().reads(1))
69+
.saturating_add(T::DbWeight::get().writes(2))
7070
}
7171
// Storage: Skipped Metadata (r:0 w:0)
7272
/// The range of component `i` is `[0, 1000]`.
7373
fn set_storage(i: u32, ) -> Weight {
74-
// Minimum execution time: 4_424 nanoseconds.
75-
Weight::from_ref_time(4_515_000 as u64)
76-
// Standard Error: 961
77-
.saturating_add(Weight::from_ref_time(640_906 as u64).saturating_mul(i as u64))
78-
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
74+
// Minimum execution time: 4_078 nanoseconds.
75+
Weight::from_ref_time(4_134_000)
76+
// Standard Error: 2_191
77+
.saturating_add(Weight::from_ref_time(624_841).saturating_mul(i.into()))
78+
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
7979
}
8080
// Storage: Skipped Metadata (r:0 w:0)
8181
/// The range of component `i` is `[0, 1000]`.
8282
fn kill_storage(i: u32, ) -> Weight {
83-
// Minimum execution time: 4_573 nanoseconds.
84-
Weight::from_ref_time(4_652_000 as u64)
85-
// Standard Error: 1_067
86-
.saturating_add(Weight::from_ref_time(557_160 as u64).saturating_mul(i as u64))
87-
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
83+
// Minimum execution time: 4_078 nanoseconds.
84+
Weight::from_ref_time(4_149_000)
85+
// Standard Error: 965
86+
.saturating_add(Weight::from_ref_time(446_865).saturating_mul(i.into()))
87+
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
8888
}
8989
// Storage: Skipped Metadata (r:0 w:0)
9090
/// The range of component `p` is `[0, 1000]`.
9191
fn kill_prefix(p: u32, ) -> Weight {
92-
// Minimum execution time: 5_946 nanoseconds.
93-
Weight::from_ref_time(6_090_000 as u64)
94-
// Standard Error: 1_345
95-
.saturating_add(Weight::from_ref_time(1_156_922 as u64).saturating_mul(p as u64))
96-
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
92+
// Minimum execution time: 5_538 nanoseconds.
93+
Weight::from_ref_time(5_728_000)
94+
// Standard Error: 1_272
95+
.saturating_add(Weight::from_ref_time(972_809).saturating_mul(p.into()))
96+
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
9797
}
9898
}

0 commit comments

Comments
 (0)