Skip to content

Commit 0a076ad

Browse files
committed
Adding bulletin westend benchmarks
1 parent 288c090 commit 0a076ad

13 files changed

+646
-757
lines changed
Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
// Copyright (C) Parity Technologies (UK) Ltd.
1+
// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
2+
// for a list of specific contributors.
23
// SPDX-License-Identifier: Apache-2.0
34

45
// Licensed under the Apache License, Version 2.0 (the "License");
56
// you may not use this file except in compliance with the License.
67
// You may obtain a copy of the License at
78
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
910
//
1011
// Unless required by applicable law or agreed to in writing, software
1112
// distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,9 +17,9 @@
1617
//! Autogenerated weights for `cumulus_pallet_parachain_system`
1718
//!
1819
//! 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+
//! DATE: 2026-01-26, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2021
//! WORST CASE MAP SIZE: `1000000`
21-
//! HOSTNAME: `050e4dc4313a`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22+
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor`
2223
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
2324
2425
// Executed Command:
@@ -27,17 +28,14 @@
2728
// benchmark
2829
// pallet
2930
// --extrinsic=*
30-
// --runtime=target/production/wbuild/coretime-westend-runtime/coretime_westend_runtime.wasm
31+
// --runtime=target/production/wbuild/bulletin-westend-runtime/bulletin_westend_runtime.wasm
3132
// --pallet=cumulus_pallet_parachain_system
32-
// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33-
// --output=./cumulus/parachains/runtimes/coretime/coretime-westend/src/weights
33+
// --header=/home/ubuntu/rosarp/polkadot-bulletin-chain/scripts/cmd/file_header.txt
34+
// --output=./runtimes/bulletin-westend/src/weights
3435
// --wasm-execution=compiled
35-
// --steps=50
36-
// --repeat=20
36+
// --steps=2
37+
// --repeat=1
3738
// --heap-pages=4096
38-
// --no-storage-info
39-
// --no-min-squares
40-
// --no-median-slopes
4139

4240
#![cfg_attr(rustfmt, rustfmt_skip)]
4341
#![allow(unused_parens)]
@@ -56,22 +54,21 @@ impl<T: frame_system::Config> cumulus_pallet_parachain_system::WeightInfo for We
5654
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
5755
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
5856
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
57+
/// Storage: `ParachainSystem::LastProcessedDownwardMessage` (r:0 w:1)
58+
/// Proof: `ParachainSystem::LastProcessedDownwardMessage` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
5959
/// Storage: `ParachainSystem::ProcessedDownwardMessages` (r:0 w:1)
6060
/// Proof: `ParachainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
6161
/// Storage: `MessageQueue::Pages` (r:0 w:1000)
6262
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
6363
/// The range of component `n` is `[0, 1000]`.
64-
fn enqueue_inbound_downward_messages(n: u32, ) -> Weight {
64+
fn enqueue_inbound_downward_messages(_n: u32, ) -> Weight {
6565
// Proof Size summary in bytes:
66-
// Measured: `48`
66+
// Measured: `6`
6767
// Estimated: `3517`
68-
// Minimum execution time: 2_904_000 picoseconds.
69-
Weight::from_parts(2_963_000, 0)
68+
// Minimum execution time: 6_110_000 picoseconds.
69+
Weight::from_parts(194_037_945_000, 0)
7070
.saturating_add(Weight::from_parts(0, 3517))
71-
// Standard Error: 45_591
72-
.saturating_add(Weight::from_parts(352_059_814, 0).saturating_mul(n.into()))
7371
.saturating_add(T::DbWeight::get().reads(3))
74-
.saturating_add(T::DbWeight::get().writes(4))
75-
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
72+
.saturating_add(T::DbWeight::get().writes(1005))
7673
}
7774
}
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
// Copyright (C) Parity Technologies (UK) Ltd.
1+
// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
2+
// for a list of specific contributors.
23
// SPDX-License-Identifier: Apache-2.0
34

45
// Licensed under the Apache License, Version 2.0 (the "License");
56
// you may not use this file except in compliance with the License.
67
// You may obtain a copy of the License at
78
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9+
// http://www.apache.org/licenses/LICENSE-2.0
910
//
1011
// Unless required by applicable law or agreed to in writing, software
1112
// distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,9 +17,9 @@
1617
//! Autogenerated weights for `cumulus_pallet_weight_reclaim`
1718
//!
1819
//! 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+
//! DATE: 2026-01-26, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2021
//! WORST CASE MAP SIZE: `1000000`
21-
//! HOSTNAME: `050e4dc4313a`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22+
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor`
2223
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
2324
2425
// Executed Command:
@@ -27,17 +28,14 @@
2728
// benchmark
2829
// pallet
2930
// --extrinsic=*
30-
// --runtime=target/production/wbuild/coretime-westend-runtime/coretime_westend_runtime.wasm
31+
// --runtime=target/production/wbuild/bulletin-westend-runtime/bulletin_westend_runtime.wasm
3132
// --pallet=cumulus_pallet_weight_reclaim
32-
// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33-
// --output=./cumulus/parachains/runtimes/coretime/coretime-westend/src/weights
33+
// --header=/home/ubuntu/rosarp/polkadot-bulletin-chain/scripts/cmd/file_header.txt
34+
// --output=./runtimes/bulletin-westend/src/weights
3435
// --wasm-execution=compiled
35-
// --steps=50
36-
// --repeat=20
36+
// --steps=2
37+
// --repeat=1
3738
// --heap-pages=4096
38-
// --no-storage-info
39-
// --no-min-squares
40-
// --no-median-slopes
4139

4240
#![cfg_attr(rustfmt, rustfmt_skip)]
4341
#![allow(unused_parens)]
@@ -54,8 +52,8 @@ impl<T: frame_system::Config> cumulus_pallet_weight_reclaim::WeightInfo for Weig
5452
// Proof Size summary in bytes:
5553
// Measured: `0`
5654
// Estimated: `0`
57-
// Minimum execution time: 3_773_000 picoseconds.
58-
Weight::from_parts(4_009_000, 0)
55+
// Minimum execution time: 27_210_000 picoseconds.
56+
Weight::from_parts(27_210_000, 0)
5957
.saturating_add(Weight::from_parts(0, 0))
6058
}
6159
}

0 commit comments

Comments
 (0)