1+ // Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
2+ // for a list of specific contributors.
3+ // SPDX-License-Identifier: Apache-2.0
4+
5+ // Licensed under the Apache License, Version 2.0 (the "License");
6+ // you may not use this file except in compliance with the License.
7+ // You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ //
11+ // Unless required by applicable law or agreed to in writing, software
12+ // distributed under the License is distributed on an "AS IS" BASIS,
13+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ // See the License for the specific language governing permissions and
15+ // limitations under the License.
116
217//! Autogenerated weights for `pallet_bridge_parachains`
318//!
4- //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4 .0.0-dev
5- //! DATE: 2023 -09-18 , STEPS: `50 `, REPEAT: `20 `, LOW RANGE: `[]`, HIGH RANGE: `[]`
19+ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32 .0.0
20+ //! DATE: 2025 -09-01 , STEPS: `2 `, REPEAT: `1 `, LOW RANGE: `[]`, HIGH RANGE: `[]`
621//! WORST CASE MAP SIZE: `1000000`
7- //! HOSTNAME: `MusXroom `, CPU: `13th Gen Intel(R) Core(TM) i7-13650HX `
8- //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev") `, DB CACHE: 1024
22+ //! HOSTNAME: `toaster1 `, CPU: `AMD Ryzen Threadripper 7980X 64-Cores `
23+ //! WASM-EXECUTION: `Compiled`, CHAIN: `None `, DB CACHE: 1024
924
1025// Executed Command:
11- // target/release/polkadot-bulletin-chain
26+ // frame-omni-bencher
27+ // v1
1228// benchmark
1329// pallet
14- // --chain=dev
15- // --steps=50
16- // --repeat=20
17- // --pallet=pallet_bridge_parachains
1830// --extrinsic=*
19- // --wasm-execution=Compiled
31+ // --runtime=target/production/wbuild/bulletin-polkadot-runtime/bulletin_polkadot_runtime.wasm
32+ // --pallet=pallet_bridge_parachains
33+ // --header=/home/bkontur/cargo-remote-builds-bulletin/9907520327012243881/scripts/cmd/file_header.txt
34+ // --output=./runtimes/bulletin-polkadot/src/weights
35+ // --wasm-execution=compiled
36+ // --steps=2
37+ // --repeat=1
2038// --heap-pages=4096
21- // --output=./runtime/src/weights/bridge_polkadot_parachains.rs
2239
2340#![ cfg_attr( rustfmt, rustfmt_skip) ]
2441#![ allow( unused_parens) ]
@@ -34,60 +51,60 @@ impl<T: frame_system::Config> pallet_bridge_parachains::WeightInfo for WeightInf
3451 /// Storage: `BridgePolkadotParachains::PalletOperatingMode` (r:1 w:0)
3552 /// Proof: `BridgePolkadotParachains::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
3653 /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0)
37- /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: Some(1024 ), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
54+ /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: Some(1200 ), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
3855 /// Storage: `BridgePolkadotParachains::ParasInfo` (r:1 w:1)
3956 /// Proof: `BridgePolkadotParachains::ParasInfo` (`max_values`: Some(1), `max_size`: Some(60), added: 555, mode: `MaxEncodedLen`)
4057 /// Storage: `BridgePolkadotParachains::ImportedParaHashes` (r:1 w:1)
41- /// Proof: `BridgePolkadotParachains::ImportedParaHashes` (`max_values`: Some(1024 ), `max_size`: Some(64), added: 1549, mode: `MaxEncodedLen`)
58+ /// Proof: `BridgePolkadotParachains::ImportedParaHashes` (`max_values`: Some(600 ), `max_size`: Some(64), added: 1549, mode: `MaxEncodedLen`)
4259 /// Storage: `BridgePolkadotParachains::ImportedParaHeads` (r:0 w:1)
43- /// Proof: `BridgePolkadotParachains::ImportedParaHeads` (`max_values`: Some(1024 ), `max_size`: Some(196), added: 1681, mode: `MaxEncodedLen`)
60+ /// Proof: `BridgePolkadotParachains::ImportedParaHeads` (`max_values`: Some(600 ), `max_size`: Some(196), added: 1681, mode: `MaxEncodedLen`)
4461 /// The range of component `p` is `[1, 2]`.
4562 fn submit_parachain_heads_with_n_parachains ( _p : u32 , ) -> Weight {
4663 // Proof Size summary in bytes:
47- // Measured: `195 `
64+ // Measured: `156 `
4865 // Estimated: `2543`
49- // Minimum execution time: 27_407_000 picoseconds.
50- Weight :: from_parts ( 29_060_391 , 0 )
66+ // Minimum execution time: 26_050_000 picoseconds.
67+ Weight :: from_parts ( 26_511_000 , 0 )
5168 . saturating_add ( Weight :: from_parts ( 0 , 2543 ) )
5269 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
5370 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
5471 }
5572 /// Storage: `BridgePolkadotParachains::PalletOperatingMode` (r:1 w:0)
5673 /// Proof: `BridgePolkadotParachains::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
5774 /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0)
58- /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: Some(1024 ), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
75+ /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: Some(1200 ), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
5976 /// Storage: `BridgePolkadotParachains::ParasInfo` (r:1 w:1)
6077 /// Proof: `BridgePolkadotParachains::ParasInfo` (`max_values`: Some(1), `max_size`: Some(60), added: 555, mode: `MaxEncodedLen`)
6178 /// Storage: `BridgePolkadotParachains::ImportedParaHashes` (r:1 w:1)
62- /// Proof: `BridgePolkadotParachains::ImportedParaHashes` (`max_values`: Some(1024 ), `max_size`: Some(64), added: 1549, mode: `MaxEncodedLen`)
79+ /// Proof: `BridgePolkadotParachains::ImportedParaHashes` (`max_values`: Some(600 ), `max_size`: Some(64), added: 1549, mode: `MaxEncodedLen`)
6380 /// Storage: `BridgePolkadotParachains::ImportedParaHeads` (r:0 w:1)
64- /// Proof: `BridgePolkadotParachains::ImportedParaHeads` (`max_values`: Some(1024 ), `max_size`: Some(196), added: 1681, mode: `MaxEncodedLen`)
81+ /// Proof: `BridgePolkadotParachains::ImportedParaHeads` (`max_values`: Some(600 ), `max_size`: Some(196), added: 1681, mode: `MaxEncodedLen`)
6582 fn submit_parachain_heads_with_1kb_proof ( ) -> Weight {
6683 // Proof Size summary in bytes:
67- // Measured: `195 `
84+ // Measured: `156 `
6885 // Estimated: `2543`
69- // Minimum execution time: 28_325_000 picoseconds.
70- Weight :: from_parts ( 28_916_000 , 0 )
86+ // Minimum execution time: 26_470_000 picoseconds.
87+ Weight :: from_parts ( 26_470_000 , 0 )
7188 . saturating_add ( Weight :: from_parts ( 0 , 2543 ) )
7289 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
7390 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
7491 }
7592 /// Storage: `BridgePolkadotParachains::PalletOperatingMode` (r:1 w:0)
7693 /// Proof: `BridgePolkadotParachains::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
7794 /// Storage: `BridgePolkadotGrandpa::ImportedHeaders` (r:1 w:0)
78- /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: Some(1024 ), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
95+ /// Proof: `BridgePolkadotGrandpa::ImportedHeaders` (`max_values`: Some(1200 ), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
7996 /// Storage: `BridgePolkadotParachains::ParasInfo` (r:1 w:1)
8097 /// Proof: `BridgePolkadotParachains::ParasInfo` (`max_values`: Some(1), `max_size`: Some(60), added: 555, mode: `MaxEncodedLen`)
8198 /// Storage: `BridgePolkadotParachains::ImportedParaHashes` (r:1 w:1)
82- /// Proof: `BridgePolkadotParachains::ImportedParaHashes` (`max_values`: Some(1024 ), `max_size`: Some(64), added: 1549, mode: `MaxEncodedLen`)
99+ /// Proof: `BridgePolkadotParachains::ImportedParaHashes` (`max_values`: Some(600 ), `max_size`: Some(64), added: 1549, mode: `MaxEncodedLen`)
83100 /// Storage: `BridgePolkadotParachains::ImportedParaHeads` (r:0 w:1)
84- /// Proof: `BridgePolkadotParachains::ImportedParaHeads` (`max_values`: Some(1024 ), `max_size`: Some(196), added: 1681, mode: `MaxEncodedLen`)
101+ /// Proof: `BridgePolkadotParachains::ImportedParaHeads` (`max_values`: Some(600 ), `max_size`: Some(196), added: 1681, mode: `MaxEncodedLen`)
85102 fn submit_parachain_heads_with_16kb_proof ( ) -> Weight {
86103 // Proof Size summary in bytes:
87- // Measured: `195 `
104+ // Measured: `156 `
88105 // Estimated: `2543`
89- // Minimum execution time: 46_507_000 picoseconds.
90- Weight :: from_parts ( 47_533_000 , 0 )
106+ // Minimum execution time: 115_745_000 picoseconds.
107+ Weight :: from_parts ( 115_745_000 , 0 )
91108 . saturating_add ( Weight :: from_parts ( 0 , 2543 ) )
92109 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 ) )
93110 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
0 commit comments