15
15
16
16
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
17
17
//!
18
- //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4 .0.0-dev
19
- //! DATE: 2023-09-15 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
18
+ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32 .0.0
19
+ //! DATE: 2025-02-21 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20
20
//! WORST CASE MAP SIZE: `1000000`
21
- //! HOSTNAME: `Olivers-MacBook-Pro.local `, CPU: `<UNKNOWN> `
22
- //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-rococo-dev") `, DB CACHE: 1024
21
+ //! HOSTNAME: `ef4134d66388 `, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz `
22
+ //! WASM-EXECUTION: `Compiled`, CHAIN: `None `, DB CACHE: 1024
23
23
24
24
// Executed Command:
25
- // ./target/release/polkadot-parachain
25
+ // frame-omni-bencher
26
+ // v1
26
27
// benchmark
27
28
// pallet
28
- // --pallet
29
- // cumulus-pallet-xcmp-queue
30
- // --chain
31
- // bridge-hub-rococo-dev
32
- // --output
33
- // cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/cumulus_pallet_xcmp_queue.rs
34
- // --extrinsic
35
- //
29
+ // --extrinsic=*
30
+ // --runtime=target/production/wbuild/asset-hub-rococo-runtime/asset_hub_rococo_runtime.wasm
31
+ // --pallet=cumulus_pallet_xcmp_queue
32
+ // --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33
+ // --output=./cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights
34
+ // --wasm-execution=compiled
35
+ // --steps=50
36
+ // --repeat=20
37
+ // --heap-pages=4096
38
+ // --no-storage-info
39
+ // --no-min-squares
40
+ // --no-median-slopes
36
41
37
42
#![ cfg_attr( rustfmt, rustfmt_skip) ]
38
43
#![ allow( unused_parens) ]
@@ -46,103 +51,115 @@ use core::marker::PhantomData;
46
51
pub struct WeightInfo < T > ( PhantomData < T > ) ;
47
52
impl < T : frame_system:: Config > cumulus_pallet_xcmp_queue:: WeightInfo for WeightInfo < T > {
48
53
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:1)
49
- /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured `)
54
+ /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen `)
50
55
fn set_config_with_u32 ( ) -> Weight {
51
56
// Proof Size summary in bytes:
52
- // Measured: `76 `
53
- // Estimated: `1561 `
54
- // Minimum execution time: 5_000_000 picoseconds.
55
- Weight :: from_parts ( 6_000_000 , 0 )
56
- . saturating_add ( Weight :: from_parts ( 0 , 1561 ) )
57
+ // Measured: `109 `
58
+ // Estimated: `1497 `
59
+ // Minimum execution time: 5_301_000 picoseconds.
60
+ Weight :: from_parts ( 5_510_000 , 0 )
61
+ . saturating_add ( Weight :: from_parts ( 0 , 1497 ) )
57
62
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
58
63
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
59
64
}
60
65
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
61
- /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured `)
66
+ /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen `)
62
67
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
63
68
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
64
69
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
65
70
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
66
71
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
67
- /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured `)
72
+ /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen `)
68
73
/// Storage: `MessageQueue::Pages` (r:0 w:1)
69
- /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585 ), added: 68060 , mode: `MaxEncodedLen`)
74
+ /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521 ), added: 107996 , mode: `MaxEncodedLen`)
70
75
fn enqueue_xcmp_message ( ) -> Weight {
71
76
// Proof Size summary in bytes:
72
- // Measured: `82 `
73
- // Estimated: `3517 `
74
- // Minimum execution time: 14_000_000 picoseconds.
75
- Weight :: from_parts ( 15_000_000 , 0 )
76
- . saturating_add ( Weight :: from_parts ( 0 , 3517 ) )
77
+ // Measured: `151 `
78
+ // Estimated: `5487 `
79
+ // Minimum execution time: 13_953_000 picoseconds.
80
+ Weight :: from_parts ( 14_482_000 , 0 )
81
+ . saturating_add ( Weight :: from_parts ( 0 , 5487 ) )
77
82
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
78
83
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
79
84
}
80
85
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
81
- /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured `)
86
+ /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen `)
82
87
fn suspend_channel ( ) -> Weight {
83
88
// Proof Size summary in bytes:
84
- // Measured: `76 `
85
- // Estimated: `1561 `
86
- // Minimum execution time: 3_000_000 picoseconds.
87
- Weight :: from_parts ( 3_000_000 , 0 )
88
- . saturating_add ( Weight :: from_parts ( 0 , 1561 ) )
89
+ // Measured: `109 `
90
+ // Estimated: `2767 `
91
+ // Minimum execution time: 3_322_000 picoseconds.
92
+ Weight :: from_parts ( 3_530_000 , 0 )
93
+ . saturating_add ( Weight :: from_parts ( 0 , 2767 ) )
89
94
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
90
95
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
91
96
}
92
97
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
93
- /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured `)
98
+ /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen `)
94
99
fn resume_channel ( ) -> Weight {
95
100
// Proof Size summary in bytes:
96
- // Measured: `111 `
97
- // Estimated: `1596 `
98
- // Minimum execution time: 4_000_000 picoseconds.
99
- Weight :: from_parts ( 4_000_000 , 0 )
100
- . saturating_add ( Weight :: from_parts ( 0 , 1596 ) )
101
+ // Measured: `144 `
102
+ // Estimated: `2767 `
103
+ // Minimum execution time: 4_606_000 picoseconds.
104
+ Weight :: from_parts ( 4_777_000 , 0 )
105
+ . saturating_add ( Weight :: from_parts ( 0 , 2767 ) )
101
106
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
102
107
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
103
108
}
104
109
fn take_first_concatenated_xcm ( ) -> Weight {
105
110
// Proof Size summary in bytes:
106
111
// Measured: `0`
107
112
// Estimated: `0`
108
- // Minimum execution time: 44_000_000 picoseconds.
109
- Weight :: from_parts ( 45_000_000 , 0 )
113
+ // Minimum execution time: 5_359_000 picoseconds.
114
+ Weight :: from_parts ( 5_584_000 , 0 )
110
115
. saturating_add ( Weight :: from_parts ( 0 , 0 ) )
111
116
}
112
117
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
113
118
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
114
- /// Storage: `XcmpQueue::InboundXcmpMessages ` (r:1 w:1)
115
- /// Proof: `XcmpQueue::InboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured` )
119
+ /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649 ` (r:1 w:1)
120
+ /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1 )
116
121
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
117
122
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
118
123
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
119
124
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
120
125
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
121
- /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured `)
126
+ /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen `)
122
127
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
123
- /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured `)
128
+ /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen `)
124
129
/// Storage: `MessageQueue::Pages` (r:0 w:1)
125
- /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585 ), added: 68060 , mode: `MaxEncodedLen`)
130
+ /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521 ), added: 107996 , mode: `MaxEncodedLen`)
126
131
fn on_idle_good_msg ( ) -> Weight {
127
132
// Proof Size summary in bytes:
128
- // Measured: `65711 `
129
- // Estimated: `69176 `
130
- // Minimum execution time: 67_000_000 picoseconds.
131
- Weight :: from_parts ( 73_000_000 , 0 )
132
- . saturating_add ( Weight :: from_parts ( 0 , 69176 ) )
133
+ // Measured: `105716 `
134
+ // Estimated: `109181 `
135
+ // Minimum execution time: 224_046_000 picoseconds.
136
+ Weight :: from_parts ( 233_413_000 , 0 )
137
+ . saturating_add ( Weight :: from_parts ( 0 , 109181 ) )
133
138
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
134
139
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 ) )
135
140
}
136
141
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
137
142
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
138
- fn on_idle_large_msg ( ) -> Weight {
143
+ /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
144
+ /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
145
+ /// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
146
+ /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
147
+ /// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
148
+ /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
149
+ /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
150
+ /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
151
+ /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
152
+ /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
153
+ /// Storage: `MessageQueue::Pages` (r:0 w:1)
154
+ /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
155
+ fn on_idle_large_msg ( ) -> Weight {
139
156
// Proof Size summary in bytes:
140
- // Measured: `65710 `
141
- // Estimated: `69175 `
142
- // Minimum execution time: 49_000_000 picoseconds.
143
- Weight :: from_parts ( 55_000_000 , 0 )
144
- . saturating_add ( Weight :: from_parts ( 0 , 69175 ) )
145
- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 ) )
146
- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 ) )
157
+ // Measured: `65785 `
158
+ // Estimated: `69250 `
159
+ // Minimum execution time: 131_648_000 picoseconds.
160
+ Weight :: from_parts ( 134_036_000 , 0 )
161
+ . saturating_add ( Weight :: from_parts ( 0 , 69250 ) )
162
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
163
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 ) )
147
164
}
148
165
}
0 commit comments