Skip to content

Commit 1df7c3f

Browse files
committed
Update weights for PR #1763
1 parent 976264d commit 1df7c3f

File tree

1 file changed

+54
-50
lines changed

1 file changed

+54
-50
lines changed

pallets/capacity/src/weights.rs

Lines changed: 54 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
//! Autogenerated weights for pallet_capacity
1919
//!
2020
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21-
//! DATE: 2023-10-30, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+
//! DATE: 2023-11-14, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2222
//! WORST CASE MAP SIZE: `1000000`
23-
//! HOSTNAME: `benchmark-runner-44wtw-bw25f`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
23+
//! HOSTNAME: `benchmark-runner-44wtw-fqgpf`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
2424
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024
2525
2626
// Executed Command:
@@ -62,11 +62,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
6262
/// Storage: `Msa::ProviderToRegistryEntry` (r:1 w:0)
6363
/// Proof: `Msa::ProviderToRegistryEntry` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`)
6464
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:1)
65-
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(153), added: 2628, mode: `MaxEncodedLen`)
65+
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
6666
/// Storage: `Capacity::StakingTargetLedger` (r:1 w:1)
6767
/// Proof: `Capacity::StakingTargetLedger` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
6868
/// Storage: `Capacity::CapacityLedger` (r:1 w:1)
6969
/// Proof: `Capacity::CapacityLedger` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
70+
/// Storage: `Capacity::UnstakeUnlocks` (r:1 w:0)
71+
/// Proof: `Capacity::UnstakeUnlocks` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
7072
/// Storage: `Balances::Locks` (r:1 w:1)
7173
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
7274
/// Storage: `Balances::Freezes` (r:1 w:0)
@@ -75,24 +77,26 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
7577
// Proof Size summary in bytes:
7678
// Measured: `223`
7779
// Estimated: `13674`
78-
// Minimum execution time: 43_127_000 picoseconds.
79-
Weight::from_parts(44_191_000, 13674)
80-
.saturating_add(T::DbWeight::get().reads(6_u64))
80+
// Minimum execution time: 45_573_000 picoseconds.
81+
Weight::from_parts(46_870_000, 13674)
82+
.saturating_add(T::DbWeight::get().reads(7_u64))
8183
.saturating_add(T::DbWeight::get().writes(4_u64))
8284
}
83-
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:1)
84-
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(153), added: 2628, mode: `MaxEncodedLen`)
85+
/// Storage: `Capacity::UnstakeUnlocks` (r:1 w:1)
86+
/// Proof: `Capacity::UnstakeUnlocks` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
87+
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:0)
88+
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
8589
/// Storage: `Balances::Locks` (r:1 w:1)
8690
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
8791
/// Storage: `Balances::Freezes` (r:1 w:0)
8892
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
8993
fn withdraw_unstaked() -> Weight {
9094
// Proof Size summary in bytes:
91-
// Measured: `339`
95+
// Measured: `244`
9296
// Estimated: `13674`
93-
// Minimum execution time: 33_146_000 picoseconds.
94-
Weight::from_parts(34_058_000, 13674)
95-
.saturating_add(T::DbWeight::get().reads(3_u64))
97+
// Minimum execution time: 27_932_000 picoseconds.
98+
Weight::from_parts(28_591_000, 13674)
99+
.saturating_add(T::DbWeight::get().reads(4_u64))
96100
.saturating_add(T::DbWeight::get().writes(2_u64))
97101
}
98102
/// Storage: `Capacity::CurrentEpochInfo` (r:1 w:1)
@@ -103,28 +107,26 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
103107
// Proof Size summary in bytes:
104108
// Measured: `0`
105109
// Estimated: `10399`
106-
// Minimum execution time: 4_040_000 picoseconds.
107-
Weight::from_parts(4_215_000, 10399)
110+
// Minimum execution time: 4_152_000 picoseconds.
111+
Weight::from_parts(4_330_000, 10399)
108112
.saturating_add(T::DbWeight::get().reads(2_u64))
109113
.saturating_add(T::DbWeight::get().writes(1_u64))
110114
}
111115
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:1)
112-
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(153), added: 2628, mode: `MaxEncodedLen`)
113-
/// Storage: `Balances::Locks` (r:1 w:1)
114-
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
115-
/// Storage: `Balances::Freezes` (r:1 w:0)
116-
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
116+
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
117+
/// Storage: `Capacity::UnstakeUnlocks` (r:1 w:1)
118+
/// Proof: `Capacity::UnstakeUnlocks` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
117119
/// Storage: `Capacity::StakingTargetLedger` (r:1 w:1)
118120
/// Proof: `Capacity::StakingTargetLedger` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
119121
/// Storage: `Capacity::CapacityLedger` (r:1 w:1)
120122
/// Proof: `Capacity::CapacityLedger` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
121123
fn unstake() -> Weight {
122124
// Proof Size summary in bytes:
123-
// Measured: `433`
124-
// Estimated: `13674`
125-
// Minimum execution time: 38_156_000 picoseconds.
126-
Weight::from_parts(39_905_000, 13674)
127-
.saturating_add(T::DbWeight::get().reads(5_u64))
125+
// Measured: `180`
126+
// Estimated: `12496`
127+
// Minimum execution time: 24_033_000 picoseconds.
128+
Weight::from_parts(24_582_000, 12496)
129+
.saturating_add(T::DbWeight::get().reads(4_u64))
128130
.saturating_add(T::DbWeight::get().writes(4_u64))
129131
}
130132
/// Storage: `Capacity::EpochLength` (r:0 w:1)
@@ -133,8 +135,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
133135
// Proof Size summary in bytes:
134136
// Measured: `0`
135137
// Estimated: `0`
136-
// Minimum execution time: 6_429_000 picoseconds.
137-
Weight::from_parts(6_896_000, 0)
138+
// Minimum execution time: 6_390_000 picoseconds.
139+
Weight::from_parts(6_779_000, 0)
138140
.saturating_add(T::DbWeight::get().writes(1_u64))
139141
}
140142
}
@@ -144,11 +146,13 @@ impl WeightInfo for () {
144146
/// Storage: `Msa::ProviderToRegistryEntry` (r:1 w:0)
145147
/// Proof: `Msa::ProviderToRegistryEntry` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`)
146148
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:1)
147-
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(153), added: 2628, mode: `MaxEncodedLen`)
149+
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
148150
/// Storage: `Capacity::StakingTargetLedger` (r:1 w:1)
149151
/// Proof: `Capacity::StakingTargetLedger` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
150152
/// Storage: `Capacity::CapacityLedger` (r:1 w:1)
151153
/// Proof: `Capacity::CapacityLedger` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
154+
/// Storage: `Capacity::UnstakeUnlocks` (r:1 w:0)
155+
/// Proof: `Capacity::UnstakeUnlocks` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
152156
/// Storage: `Balances::Locks` (r:1 w:1)
153157
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
154158
/// Storage: `Balances::Freezes` (r:1 w:0)
@@ -157,24 +161,26 @@ impl WeightInfo for () {
157161
// Proof Size summary in bytes:
158162
// Measured: `223`
159163
// Estimated: `13674`
160-
// Minimum execution time: 43_127_000 picoseconds.
161-
Weight::from_parts(44_191_000, 13674)
162-
.saturating_add(RocksDbWeight::get().reads(6_u64))
164+
// Minimum execution time: 45_573_000 picoseconds.
165+
Weight::from_parts(46_870_000, 13674)
166+
.saturating_add(RocksDbWeight::get().reads(7_u64))
163167
.saturating_add(RocksDbWeight::get().writes(4_u64))
164168
}
165-
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:1)
166-
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(153), added: 2628, mode: `MaxEncodedLen`)
169+
/// Storage: `Capacity::UnstakeUnlocks` (r:1 w:1)
170+
/// Proof: `Capacity::UnstakeUnlocks` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
171+
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:0)
172+
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
167173
/// Storage: `Balances::Locks` (r:1 w:1)
168174
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
169175
/// Storage: `Balances::Freezes` (r:1 w:0)
170176
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
171177
fn withdraw_unstaked() -> Weight {
172178
// Proof Size summary in bytes:
173-
// Measured: `339`
179+
// Measured: `244`
174180
// Estimated: `13674`
175-
// Minimum execution time: 33_146_000 picoseconds.
176-
Weight::from_parts(34_058_000, 13674)
177-
.saturating_add(RocksDbWeight::get().reads(3_u64))
181+
// Minimum execution time: 27_932_000 picoseconds.
182+
Weight::from_parts(28_591_000, 13674)
183+
.saturating_add(RocksDbWeight::get().reads(4_u64))
178184
.saturating_add(RocksDbWeight::get().writes(2_u64))
179185
}
180186
/// Storage: `Capacity::CurrentEpochInfo` (r:1 w:1)
@@ -185,28 +191,26 @@ impl WeightInfo for () {
185191
// Proof Size summary in bytes:
186192
// Measured: `0`
187193
// Estimated: `10399`
188-
// Minimum execution time: 4_040_000 picoseconds.
189-
Weight::from_parts(4_215_000, 10399)
194+
// Minimum execution time: 4_152_000 picoseconds.
195+
Weight::from_parts(4_330_000, 10399)
190196
.saturating_add(RocksDbWeight::get().reads(2_u64))
191197
.saturating_add(RocksDbWeight::get().writes(1_u64))
192198
}
193199
/// Storage: `Capacity::StakingAccountLedger` (r:1 w:1)
194-
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(153), added: 2628, mode: `MaxEncodedLen`)
195-
/// Storage: `Balances::Locks` (r:1 w:1)
196-
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
197-
/// Storage: `Balances::Freezes` (r:1 w:0)
198-
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`)
200+
/// Proof: `Capacity::StakingAccountLedger` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
201+
/// Storage: `Capacity::UnstakeUnlocks` (r:1 w:1)
202+
/// Proof: `Capacity::UnstakeUnlocks` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`)
199203
/// Storage: `Capacity::StakingTargetLedger` (r:1 w:1)
200204
/// Proof: `Capacity::StakingTargetLedger` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
201205
/// Storage: `Capacity::CapacityLedger` (r:1 w:1)
202206
/// Proof: `Capacity::CapacityLedger` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
203207
fn unstake() -> Weight {
204208
// Proof Size summary in bytes:
205-
// Measured: `433`
206-
// Estimated: `13674`
207-
// Minimum execution time: 38_156_000 picoseconds.
208-
Weight::from_parts(39_905_000, 13674)
209-
.saturating_add(RocksDbWeight::get().reads(5_u64))
209+
// Measured: `180`
210+
// Estimated: `12496`
211+
// Minimum execution time: 24_033_000 picoseconds.
212+
Weight::from_parts(24_582_000, 12496)
213+
.saturating_add(RocksDbWeight::get().reads(4_u64))
210214
.saturating_add(RocksDbWeight::get().writes(4_u64))
211215
}
212216
/// Storage: `Capacity::EpochLength` (r:0 w:1)
@@ -215,8 +219,8 @@ impl WeightInfo for () {
215219
// Proof Size summary in bytes:
216220
// Measured: `0`
217221
// Estimated: `0`
218-
// Minimum execution time: 6_429_000 picoseconds.
219-
Weight::from_parts(6_896_000, 0)
222+
// Minimum execution time: 6_390_000 picoseconds.
223+
Weight::from_parts(6_779_000, 0)
220224
.saturating_add(RocksDbWeight::get().writes(1_u64))
221225
}
222226
}

0 commit comments

Comments
 (0)