Skip to content

Commit 0048870

Browse files
authored
Benchmark (#1653)
1 parent 1ff4c35 commit 0048870

File tree

68 files changed

+1977
-1585
lines changed

Some content is hidden

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

68 files changed

+1977
-1585
lines changed

Makefile.toml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,54 @@ env = { "CHAIN" = "darwinia" }
244244

245245
[tasks.rbd]
246246
alias = "run-benchmark-darwinia"
247+
248+
[tasks.run-benchmark-check]
249+
command = "cargo"
250+
args = [
251+
"run",
252+
"@@split(NODE_COMPILE_ARGS, )",
253+
"${CHAIN}-runtime",
254+
"--features",
255+
"runtime-benchmarks",
256+
"-r",
257+
"--",
258+
"benchmark",
259+
"pallet",
260+
"--header",
261+
".maintain/license-header",
262+
"--heap-pages",
263+
"4096",
264+
"--chain",
265+
"${CHAIN}-dev",
266+
"--output",
267+
"runtime/${CHAIN}/src/weights",
268+
"--pallet",
269+
"*",
270+
"--extrinsic",
271+
"*",
272+
"--steps",
273+
"2",
274+
"--repeat",
275+
"1"
276+
]
277+
278+
[tasks.run-benchmark-koi-check]
279+
extend = "run-benchmark-check"
280+
env = { "CHAIN" = "koi" }
281+
282+
[tasks.rbkc]
283+
alias = "run-benchmark-koi-check"
284+
285+
[tasks.run-benchmark-crab-check]
286+
extend = "run-benchmark-check"
287+
env = { "CHAIN" = "crab" }
288+
289+
[tasks.rbcc]
290+
alias = "run-benchmark-crab-check"
291+
292+
[tasks.run-benchmark-darwinia-check]
293+
extend = "run-benchmark-check"
294+
env = { "CHAIN" = "darwinia" }
295+
296+
[tasks.rbdc]
297+
alias = "run-benchmark-darwinia-check"

runtime/common/src/pallet_config.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ pub const MAXIMUM_BLOCK_WEIGHT: frame_support::weights::Weight =
9494

9595
const BLOCK_GAS_LIMIT: u64 = 20_000_000;
9696

97+
// TODO: remove in stable2409.
98+
#[cfg(not(feature = "runtime-benchmarks"))]
99+
const EXISTENTIAL_DEPOSIT: Balance = 0;
100+
#[cfg(feature = "runtime-benchmarks")]
101+
const EXISTENTIAL_DEPOSIT: Balance = 1;
102+
frame_support::parameter_types! {
103+
pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
104+
}
105+
97106
frame_support::parameter_types! {
98107
pub const MaxBalance: Balance = Balance::MAX;
99108

runtime/crab/src/pallets/balances.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl pallet_balances::Config for Runtime {
2323
type AccountStore = System;
2424
type Balance = Balance;
2525
type DustRemoval = ();
26-
type ExistentialDeposit = ();
26+
type ExistentialDeposit = pallet_config::ExistentialDeposit;
2727
type FreezeIdentifier = ();
2828
type MaxFreezes = ();
2929
type MaxLocks = ConstU32<50>;

runtime/crab/src/weights/cumulus_pallet_parachain_system.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
//! Autogenerated weights for `cumulus_pallet_parachain_system`
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
22-
//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.1
22+
//! DATE: 2025-01-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323
//! WORST CASE MAP SIZE: `1000000`
2424
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024
2525
@@ -64,17 +64,17 @@ impl<T: frame_system::Config> cumulus_pallet_parachain_system::WeightInfo for We
6464
/// Storage: `ParachainSystem::ProcessedDownwardMessages` (r:0 w:1)
6565
/// Proof: `ParachainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
6666
/// Storage: `MessageQueue::Pages` (r:0 w:1000)
67-
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`)
67+
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
6868
/// The range of component `n` is `[0, 1000]`.
6969
fn enqueue_inbound_downward_messages(n: u32, ) -> Weight {
7070
// Proof Size summary in bytes:
7171
// Measured: `48`
7272
// Estimated: `3517`
7373
// Minimum execution time: 2_000_000 picoseconds.
74-
Weight::from_parts(2_065_879_588, 0)
74+
Weight::from_parts(2_000_000, 0)
7575
.saturating_add(Weight::from_parts(0, 3517))
76-
// Standard Error: 478_254
77-
.saturating_add(Weight::from_parts(86_483_068, 0).saturating_mul(n.into()))
76+
// Standard Error: 1_064_730
77+
.saturating_add(Weight::from_parts(229_993_390, 0).saturating_mul(n.into()))
7878
.saturating_add(T::DbWeight::get().reads(3))
7979
.saturating_add(T::DbWeight::get().writes(4))
8080
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))

runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs

Lines changed: 44 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
22-
//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.1
22+
//! DATE: 2025-01-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323
//! WORST CASE MAP SIZE: `1000000`
2424
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024
2525
@@ -56,67 +56,67 @@ use core::marker::PhantomData;
5656
pub struct WeightInfo<T>(PhantomData<T>);
5757
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
5858
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:1)
59-
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59+
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
6060
fn set_config_with_u32() -> Weight {
6161
// Proof Size summary in bytes:
6262
// Measured: `42`
63-
// Estimated: `1527`
64-
// Minimum execution time: 4_000_000 picoseconds.
63+
// Estimated: `1497`
64+
// Minimum execution time: 3_000_000 picoseconds.
6565
Weight::from_parts(4_000_000, 0)
66-
.saturating_add(Weight::from_parts(0, 1527))
66+
.saturating_add(Weight::from_parts(0, 1497))
6767
.saturating_add(T::DbWeight::get().reads(1))
6868
.saturating_add(T::DbWeight::get().writes(1))
6969
}
7070
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
71-
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
71+
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
7272
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
7373
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
7474
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
7575
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
7676
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
77-
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
77+
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
7878
/// Storage: `MessageQueue::Pages` (r:0 w:1)
79-
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`)
79+
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
8080
fn enqueue_xcmp_message() -> Weight {
8181
// Proof Size summary in bytes:
8282
// Measured: `48`
83-
// Estimated: `3517`
83+
// Estimated: `5487`
8484
// Minimum execution time: 10_000_000 picoseconds.
8585
Weight::from_parts(10_000_000, 0)
86-
.saturating_add(Weight::from_parts(0, 3517))
86+
.saturating_add(Weight::from_parts(0, 5487))
8787
.saturating_add(T::DbWeight::get().reads(4))
8888
.saturating_add(T::DbWeight::get().writes(3))
8989
}
9090
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
91-
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
91+
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
9292
fn suspend_channel() -> Weight {
9393
// Proof Size summary in bytes:
9494
// Measured: `42`
95-
// Estimated: `1527`
95+
// Estimated: `2767`
9696
// Minimum execution time: 2_000_000 picoseconds.
9797
Weight::from_parts(3_000_000, 0)
98-
.saturating_add(Weight::from_parts(0, 1527))
98+
.saturating_add(Weight::from_parts(0, 2767))
9999
.saturating_add(T::DbWeight::get().reads(1))
100100
.saturating_add(T::DbWeight::get().writes(1))
101101
}
102102
/// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1)
103-
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
103+
/// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`)
104104
fn resume_channel() -> Weight {
105105
// Proof Size summary in bytes:
106106
// Measured: `77`
107-
// Estimated: `1562`
107+
// Estimated: `2767`
108108
// Minimum execution time: 3_000_000 picoseconds.
109109
Weight::from_parts(4_000_000, 0)
110-
.saturating_add(Weight::from_parts(0, 1562))
110+
.saturating_add(Weight::from_parts(0, 2767))
111111
.saturating_add(T::DbWeight::get().reads(1))
112112
.saturating_add(T::DbWeight::get().writes(1))
113113
}
114114
fn take_first_concatenated_xcm() -> Weight {
115115
// Proof Size summary in bytes:
116116
// Measured: `0`
117117
// Estimated: `0`
118-
// Minimum execution time: 9_000_000 picoseconds.
119-
Weight::from_parts(9_000_000, 0)
118+
// Minimum execution time: 7_000_000 picoseconds.
119+
Weight::from_parts(8_000_000, 0)
120120
.saturating_add(Weight::from_parts(0, 0))
121121
}
122122
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
@@ -128,33 +128,43 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
128128
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
129129
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
130130
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
131-
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
131+
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
132132
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
133-
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
133+
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
134134
/// Storage: `MessageQueue::Pages` (r:0 w:1)
135-
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`)
135+
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
136136
fn on_idle_good_msg() -> Weight {
137137
// Proof Size summary in bytes:
138-
// Measured: `65677`
139-
// Estimated: `69142`
140-
// Minimum execution time: 43_000_000 picoseconds.
141-
Weight::from_parts(43_000_000, 0)
142-
.saturating_add(Weight::from_parts(0, 69142))
138+
// Measured: `105613`
139+
// Estimated: `109078`
140+
// Minimum execution time: 64_000_000 picoseconds.
141+
Weight::from_parts(67_000_000, 0)
142+
.saturating_add(Weight::from_parts(0, 109078))
143143
.saturating_add(T::DbWeight::get().reads(6))
144144
.saturating_add(T::DbWeight::get().writes(5))
145145
}
146146
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
147147
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1)
148148
/// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
149149
/// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1)
150+
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
151+
/// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
152+
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
153+
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
154+
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:0)
155+
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
156+
/// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0)
157+
/// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
158+
/// Storage: `MessageQueue::Pages` (r:0 w:1)
159+
/// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(105521), added: 107996, mode: `MaxEncodedLen`)
150160
fn on_idle_large_msg() -> Weight {
151161
// Proof Size summary in bytes:
152-
// Measured: `65676`
153-
// Estimated: `69141`
154-
// Minimum execution time: 28_000_000 picoseconds.
155-
Weight::from_parts(37_000_000, 0)
156-
.saturating_add(Weight::from_parts(0, 69141))
157-
.saturating_add(T::DbWeight::get().reads(2))
158-
.saturating_add(T::DbWeight::get().writes(2))
162+
// Measured: `65682`
163+
// Estimated: `69147`
164+
// Minimum execution time: 41_000_000 picoseconds.
165+
Weight::from_parts(45_000_000, 0)
166+
.saturating_add(Weight::from_parts(0, 69147))
167+
.saturating_add(T::DbWeight::get().reads(6))
168+
.saturating_add(T::DbWeight::get().writes(5))
159169
}
160170
}

runtime/crab/src/weights/darwinia_account_migration.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
//! Autogenerated weights for `darwinia_account_migration`
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
22-
//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.1
22+
//! DATE: 2025-01-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323
//! WORST CASE MAP SIZE: `1000000`
2424
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024
2525
@@ -71,11 +71,11 @@ impl<T: frame_system::Config> darwinia_account_migration::WeightInfo for WeightI
7171
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
7272
fn migrate() -> Weight {
7373
// Proof Size summary in bytes:
74-
// Measured: `26853`
75-
// Estimated: `30318`
76-
// Minimum execution time: 72_000_000 picoseconds.
74+
// Measured: `26942`
75+
// Estimated: `30407`
76+
// Minimum execution time: 73_000_000 picoseconds.
7777
Weight::from_parts(75_000_000, 0)
78-
.saturating_add(Weight::from_parts(0, 30318))
78+
.saturating_add(Weight::from_parts(0, 30407))
7979
.saturating_add(T::DbWeight::get().reads(5))
8080
.saturating_add(T::DbWeight::get().writes(8))
8181
}
@@ -101,16 +101,16 @@ impl<T: frame_system::Config> darwinia_account_migration::WeightInfo for WeightI
101101
fn migrate_multisig(x: u32, _y: u32, z: u32, ) -> Weight {
102102
// Proof Size summary in bytes:
103103
// Measured: `0`
104-
// Estimated: `2 + x * (153 ±0) + z * (153 ±0)`
105-
// Minimum execution time: 6_000_000 picoseconds.
106-
Weight::from_parts(13_492_917, 0)
104+
// Estimated: `2 + x * (154 ±0) + z * (154 ±0)`
105+
// Minimum execution time: 5_000_000 picoseconds.
106+
Weight::from_parts(12_749_052, 0)
107107
.saturating_add(Weight::from_parts(0, 2))
108-
// Standard Error: 6_202
109-
.saturating_add(Weight::from_parts(22_267, 0).saturating_mul(x.into()))
108+
// Standard Error: 6_318
109+
.saturating_add(Weight::from_parts(20_273, 0).saturating_mul(x.into()))
110110
.saturating_add(T::DbWeight::get().reads(1))
111111
.saturating_add(T::DbWeight::get().writes(2))
112-
.saturating_add(Weight::from_parts(0, 153).saturating_mul(x.into()))
113-
.saturating_add(Weight::from_parts(0, 153).saturating_mul(z.into()))
112+
.saturating_add(Weight::from_parts(0, 154).saturating_mul(x.into()))
113+
.saturating_add(Weight::from_parts(0, 154).saturating_mul(z.into()))
114114
}
115115
/// Storage: `AccountMigration::Multisigs` (r:1 w:1)
116116
/// Proof: `AccountMigration::Multisigs` (`max_values`: None, `max_size`: None, mode: `Measured`)

runtime/crab/src/weights/darwinia_deposit.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
//! Autogenerated weights for `darwinia_deposit`
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
22-
//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.1
22+
//! DATE: 2025-01-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323
//! WORST CASE MAP SIZE: `1000000`
2424
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024
2525
@@ -59,10 +59,10 @@ impl<T: frame_system::Config> darwinia_deposit::WeightInfo for WeightInfo<T> {
5959
/// Proof: `Deposit::Deposits` (`max_values`: None, `max_size`: Some(26150), added: 28625, mode: `MaxEncodedLen`)
6060
/// Storage: `Timestamp::Now` (r:1 w:0)
6161
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
62-
/// Storage: `System::Account` (r:3 w:2)
63-
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
6462
/// Storage: `Deposit::DepositContract` (r:1 w:0)
6563
/// Proof: `Deposit::DepositContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
64+
/// Storage: `System::Account` (r:2 w:1)
65+
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
6666
/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
6767
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
6868
/// Storage: `EVM::AccountCodes` (r:2 w:0)
@@ -73,13 +73,13 @@ impl<T: frame_system::Config> darwinia_deposit::WeightInfo for WeightInfo<T> {
7373
/// Proof: `Ethereum::Pending` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
7474
fn migrate_for() -> Weight {
7575
// Proof Size summary in bytes:
76-
// Measured: `27325`
77-
// Estimated: `33265`
78-
// Minimum execution time: 212_000_000 picoseconds.
79-
Weight::from_parts(219_000_000, 0)
80-
.saturating_add(Weight::from_parts(0, 33265))
81-
.saturating_add(T::DbWeight::get().reads(11))
82-
.saturating_add(T::DbWeight::get().writes(4))
76+
// Measured: `27202`
77+
// Estimated: `33142`
78+
// Minimum execution time: 196_000_000 picoseconds.
79+
Weight::from_parts(221_000_000, 0)
80+
.saturating_add(Weight::from_parts(0, 33142))
81+
.saturating_add(T::DbWeight::get().reads(10))
82+
.saturating_add(T::DbWeight::get().writes(3))
8383
}
8484
/// Storage: `Deposit::DepositContract` (r:0 w:1)
8585
/// Proof: `Deposit::DepositContract` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)

runtime/crab/src/weights/darwinia_staking.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
//! Autogenerated weights for `darwinia_staking`
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
22-
//! DATE: 2024-11-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.1
22+
//! DATE: 2025-01-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323
//! WORST CASE MAP SIZE: `1000000`
2424
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("crab-dev")`, DB CACHE: 1024
2525
@@ -63,8 +63,8 @@ impl<T: frame_system::Config> darwinia_staking::WeightInfo for WeightInfo<T> {
6363
// Proof Size summary in bytes:
6464
// Measured: `406`
6565
// Estimated: `4543`
66-
// Minimum execution time: 49_000_000 picoseconds.
67-
Weight::from_parts(53_000_000, 0)
66+
// Minimum execution time: 46_000_000 picoseconds.
67+
Weight::from_parts(47_000_000, 0)
6868
.saturating_add(Weight::from_parts(0, 4543))
6969
.saturating_add(T::DbWeight::get().reads(2))
7070
.saturating_add(T::DbWeight::get().writes(2))
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> darwinia_staking::WeightInfo for WeightInfo<T> {
7878
// Measured: `271`
7979
// Estimated: `3736`
8080
// Minimum execution time: 12_000_000 picoseconds.
81-
Weight::from_parts(13_000_000, 0)
81+
Weight::from_parts(16_000_000, 0)
8282
.saturating_add(Weight::from_parts(0, 3736))
8383
.saturating_add(T::DbWeight::get().reads(2))
8484
.saturating_add(T::DbWeight::get().writes(1))

0 commit comments

Comments
 (0)