Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 07cb9f9

Browse files
authored
updated weights for v800 (#1120)
1 parent e1e28b3 commit 07cb9f9

33 files changed

+595
-575
lines changed

polkadot-parachains/statemine/src/weights/cumulus_pallet_xcmp_queue.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
20-
//! DATE: 2022-03-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
@@ -30,7 +30,7 @@
3030
// --extrinsic=*
3131
// --steps=50
3232
// --repeat=20
33-
// --json
33+
// --json-file=./bench-statemine.json
3434
// --header=./file_header.txt
3535
// --output=./polkadot-parachains/statemine/src/weights
3636

@@ -46,13 +46,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
4646
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
4747
// Storage: XcmpQueue QueueConfig (r:1 w:1)
4848
fn set_config_with_u32() -> Weight {
49-
(2_609_000 as Weight)
49+
(2_591_000 as Weight)
5050
.saturating_add(T::DbWeight::get().reads(1 as Weight))
5151
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5252
}
5353
// Storage: XcmpQueue QueueConfig (r:1 w:1)
5454
fn set_config_with_weight() -> Weight {
55-
(2_602_000 as Weight)
55+
(2_529_000 as Weight)
5656
.saturating_add(T::DbWeight::get().reads(1 as Weight))
5757
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5858
}

polkadot-parachains/statemine/src/weights/frame_system.rs

+13-11
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
//! Autogenerated weights for `frame_system`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
20-
//! DATE: 2022-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
24-
// ./target/release/polkadot-collator
24+
// ./target/production/polkadot-collator
2525
// benchmark
2626
// --chain=statemine-dev
2727
// --execution=wasm
@@ -30,7 +30,7 @@
3030
// --extrinsic=*
3131
// --steps=50
3232
// --repeat=20
33-
// --raw
33+
// --json-file=./bench-statemine.json
3434
// --header=./file_header.txt
3535
// --output=./polkadot-parachains/statemine/src/weights
3636

@@ -44,40 +44,42 @@ use sp_std::marker::PhantomData;
4444
/// Weight functions for `frame_system`.
4545
pub struct WeightInfo<T>(PhantomData<T>);
4646
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
47-
fn remark(_b: u32, ) -> Weight {
47+
fn remark(b: u32, ) -> Weight {
4848
(0 as Weight)
49+
// Standard Error: 0
50+
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
4951
}
5052
fn remark_with_event(b: u32, ) -> Weight {
51-
(0 as Weight)
53+
(231_272_000 as Weight)
5254
// Standard Error: 0
53-
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
55+
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
5456
}
5557
// Storage: System Digest (r:1 w:1)
5658
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
5759
fn set_heap_pages() -> Weight {
58-
(4_156_000 as Weight)
60+
(2_466_000 as Weight)
5961
.saturating_add(T::DbWeight::get().reads(1 as Weight))
6062
.saturating_add(T::DbWeight::get().writes(2 as Weight))
6163
}
6264
// Storage: Skipped Metadata (r:0 w:0)
6365
fn set_storage(i: u32, ) -> Weight {
6466
(0 as Weight)
6567
// Standard Error: 0
66-
.saturating_add((517_000 as Weight).saturating_mul(i as Weight))
68+
.saturating_add((407_000 as Weight).saturating_mul(i as Weight))
6769
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
6870
}
6971
// Storage: Skipped Metadata (r:0 w:0)
7072
fn kill_storage(i: u32, ) -> Weight {
7173
(0 as Weight)
7274
// Standard Error: 0
73-
.saturating_add((372_000 as Weight).saturating_mul(i as Weight))
75+
.saturating_add((300_000 as Weight).saturating_mul(i as Weight))
7476
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
7577
}
7678
// Storage: Skipped Metadata (r:0 w:0)
7779
fn kill_prefix(p: u32, ) -> Weight {
78-
(2_456_000 as Weight)
80+
(0 as Weight)
7981
// Standard Error: 0
80-
.saturating_add((735_000 as Weight).saturating_mul(p as Weight))
82+
.saturating_add((672_000 as Weight).saturating_mul(p as Weight))
8183
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
8284
}
8385
}

polkadot-parachains/statemine/src/weights/pallet_assets.rs

+38-34
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
//! Autogenerated weights for `pallet_assets`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
20-
//! DATE: 2022-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2022-03-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
2222
2323
// Executed Command:
24-
// ./target/release/polkadot-collator
24+
// ./target/production/polkadot-collator
2525
// benchmark
2626
// --chain=statemine-dev
2727
// --execution=wasm
@@ -30,7 +30,7 @@
3030
// --extrinsic=*
3131
// --steps=50
3232
// --repeat=20
33-
// --raw
33+
// --json-file=./bench-statemine.json
3434
// --header=./file_header.txt
3535
// --output=./polkadot-parachains/statemine/src/weights
3636

@@ -46,13 +46,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
4646
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
4747
// Storage: Assets Asset (r:1 w:1)
4848
fn create() -> Weight {
49-
(28_412_000 as Weight)
49+
(21_739_000 as Weight)
5050
.saturating_add(T::DbWeight::get().reads(1 as Weight))
5151
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5252
}
5353
// Storage: Assets Asset (r:1 w:1)
5454
fn force_create() -> Weight {
55-
(15_615_000 as Weight)
55+
(12_261_000 as Weight)
5656
.saturating_add(T::DbWeight::get().reads(1 as Weight))
5757
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5858
}
@@ -63,12 +63,12 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
6363
// Storage: Assets Approvals (r:501 w:500)
6464
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
6565
(0 as Weight)
66-
// Standard Error: 43_000
67-
.saturating_add((17_671_000 as Weight).saturating_mul(c as Weight))
68-
// Standard Error: 43_000
69-
.saturating_add((21_144_000 as Weight).saturating_mul(s as Weight))
70-
// Standard Error: 430_000
71-
.saturating_add((19_246_000 as Weight).saturating_mul(a as Weight))
66+
// Standard Error: 38_000
67+
.saturating_add((12_675_000 as Weight).saturating_mul(c as Weight))
68+
// Standard Error: 38_000
69+
.saturating_add((15_906_000 as Weight).saturating_mul(s as Weight))
70+
// Standard Error: 380_000
71+
.saturating_add((13_383_000 as Weight).saturating_mul(a as Weight))
7272
.saturating_add(T::DbWeight::get().reads(5 as Weight))
7373
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
7474
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
@@ -81,120 +81,124 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
8181
// Storage: Assets Asset (r:1 w:1)
8282
// Storage: Assets Account (r:1 w:1)
8383
fn mint() -> Weight {
84-
(31_311_000 as Weight)
84+
(24_951_000 as Weight)
8585
.saturating_add(T::DbWeight::get().reads(2 as Weight))
8686
.saturating_add(T::DbWeight::get().writes(2 as Weight))
8787
}
8888
// Storage: Assets Asset (r:1 w:1)
8989
// Storage: Assets Account (r:1 w:1)
9090
fn burn() -> Weight {
91-
(35_699_000 as Weight)
91+
(28_334_000 as Weight)
9292
.saturating_add(T::DbWeight::get().reads(2 as Weight))
9393
.saturating_add(T::DbWeight::get().writes(2 as Weight))
9494
}
9595
// Storage: Assets Asset (r:1 w:1)
9696
// Storage: Assets Account (r:2 w:2)
9797
// Storage: System Account (r:1 w:1)
9898
fn transfer() -> Weight {
99-
(53_109_000 as Weight)
99+
(41_250_000 as Weight)
100100
.saturating_add(T::DbWeight::get().reads(4 as Weight))
101101
.saturating_add(T::DbWeight::get().writes(4 as Weight))
102102
}
103103
// Storage: Assets Asset (r:1 w:1)
104104
// Storage: Assets Account (r:2 w:2)
105105
// Storage: System Account (r:1 w:1)
106106
fn transfer_keep_alive() -> Weight {
107-
(44_544_000 as Weight)
107+
(34_843_000 as Weight)
108108
.saturating_add(T::DbWeight::get().reads(4 as Weight))
109109
.saturating_add(T::DbWeight::get().writes(4 as Weight))
110110
}
111111
// Storage: Assets Asset (r:1 w:1)
112112
// Storage: Assets Account (r:2 w:2)
113113
// Storage: System Account (r:1 w:1)
114114
fn force_transfer() -> Weight {
115-
(53_102_000 as Weight)
115+
(41_377_000 as Weight)
116116
.saturating_add(T::DbWeight::get().reads(4 as Weight))
117117
.saturating_add(T::DbWeight::get().writes(4 as Weight))
118118
}
119119
// Storage: Assets Asset (r:1 w:0)
120120
// Storage: Assets Account (r:1 w:1)
121121
fn freeze() -> Weight {
122-
(20_716_000 as Weight)
122+
(16_794_000 as Weight)
123123
.saturating_add(T::DbWeight::get().reads(2 as Weight))
124124
.saturating_add(T::DbWeight::get().writes(1 as Weight))
125125
}
126126
// Storage: Assets Asset (r:1 w:0)
127127
// Storage: Assets Account (r:1 w:1)
128128
fn thaw() -> Weight {
129-
(20_528_000 as Weight)
129+
(16_600_000 as Weight)
130130
.saturating_add(T::DbWeight::get().reads(2 as Weight))
131131
.saturating_add(T::DbWeight::get().writes(1 as Weight))
132132
}
133133
// Storage: Assets Asset (r:1 w:1)
134134
fn freeze_asset() -> Weight {
135-
(16_481_000 as Weight)
135+
(13_729_000 as Weight)
136136
.saturating_add(T::DbWeight::get().reads(1 as Weight))
137137
.saturating_add(T::DbWeight::get().writes(1 as Weight))
138138
}
139139
// Storage: Assets Asset (r:1 w:1)
140140
fn thaw_asset() -> Weight {
141-
(16_576_000 as Weight)
141+
(13_749_000 as Weight)
142142
.saturating_add(T::DbWeight::get().reads(1 as Weight))
143143
.saturating_add(T::DbWeight::get().writes(1 as Weight))
144144
}
145145
// Storage: Assets Asset (r:1 w:1)
146146
// Storage: Assets Metadata (r:1 w:0)
147147
fn transfer_ownership() -> Weight {
148-
(18_510_000 as Weight)
148+
(14_651_000 as Weight)
149149
.saturating_add(T::DbWeight::get().reads(2 as Weight))
150150
.saturating_add(T::DbWeight::get().writes(1 as Weight))
151151
}
152152
// Storage: Assets Asset (r:1 w:1)
153153
fn set_team() -> Weight {
154-
(16_486_000 as Weight)
154+
(13_393_000 as Weight)
155155
.saturating_add(T::DbWeight::get().reads(1 as Weight))
156156
.saturating_add(T::DbWeight::get().writes(1 as Weight))
157157
}
158158
// Storage: Assets Asset (r:1 w:0)
159159
// Storage: Assets Metadata (r:1 w:1)
160-
fn set_metadata(_n: u32, s: u32, ) -> Weight {
161-
(32_925_000 as Weight)
160+
fn set_metadata(n: u32, s: u32, ) -> Weight {
161+
(26_365_000 as Weight)
162162
// Standard Error: 0
163-
.saturating_add((4_000 as Weight).saturating_mul(s as Weight))
163+
.saturating_add((2_000 as Weight).saturating_mul(n as Weight))
164+
// Standard Error: 0
165+
.saturating_add((3_000 as Weight).saturating_mul(s as Weight))
164166
.saturating_add(T::DbWeight::get().reads(2 as Weight))
165167
.saturating_add(T::DbWeight::get().writes(1 as Weight))
166168
}
167169
// Storage: Assets Asset (r:1 w:0)
168170
// Storage: Assets Metadata (r:1 w:1)
169171
fn clear_metadata() -> Weight {
170-
(32_058_000 as Weight)
172+
(26_123_000 as Weight)
171173
.saturating_add(T::DbWeight::get().reads(2 as Weight))
172174
.saturating_add(T::DbWeight::get().writes(1 as Weight))
173175
}
174176
// Storage: Assets Asset (r:1 w:0)
175177
// Storage: Assets Metadata (r:1 w:1)
176-
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
177-
(18_056_000 as Weight)
178+
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
179+
(15_431_000 as Weight)
180+
// Standard Error: 0
181+
.saturating_add((1_000 as Weight).saturating_mul(s as Weight))
178182
.saturating_add(T::DbWeight::get().reads(2 as Weight))
179183
.saturating_add(T::DbWeight::get().writes(1 as Weight))
180184
}
181185
// Storage: Assets Asset (r:1 w:0)
182186
// Storage: Assets Metadata (r:1 w:1)
183187
fn force_clear_metadata() -> Weight {
184-
(32_079_000 as Weight)
188+
(26_658_000 as Weight)
185189
.saturating_add(T::DbWeight::get().reads(2 as Weight))
186190
.saturating_add(T::DbWeight::get().writes(1 as Weight))
187191
}
188192
// Storage: Assets Asset (r:1 w:1)
189193
fn force_asset_status() -> Weight {
190-
(15_987_000 as Weight)
194+
(13_875_000 as Weight)
191195
.saturating_add(T::DbWeight::get().reads(1 as Weight))
192196
.saturating_add(T::DbWeight::get().writes(1 as Weight))
193197
}
194198
// Storage: Assets Asset (r:1 w:1)
195199
// Storage: Assets Approvals (r:1 w:1)
196200
fn approve_transfer() -> Weight {
197-
(36_595_000 as Weight)
201+
(29_797_000 as Weight)
198202
.saturating_add(T::DbWeight::get().reads(2 as Weight))
199203
.saturating_add(T::DbWeight::get().writes(2 as Weight))
200204
}
@@ -203,21 +207,21 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
203207
// Storage: Assets Account (r:2 w:2)
204208
// Storage: System Account (r:1 w:1)
205209
fn transfer_approved() -> Weight {
206-
(67_831_000 as Weight)
210+
(53_337_000 as Weight)
207211
.saturating_add(T::DbWeight::get().reads(5 as Weight))
208212
.saturating_add(T::DbWeight::get().writes(5 as Weight))
209213
}
210214
// Storage: Assets Asset (r:1 w:1)
211215
// Storage: Assets Approvals (r:1 w:1)
212216
fn cancel_approval() -> Weight {
213-
(37_717_000 as Weight)
217+
(29_970_000 as Weight)
214218
.saturating_add(T::DbWeight::get().reads(2 as Weight))
215219
.saturating_add(T::DbWeight::get().writes(2 as Weight))
216220
}
217221
// Storage: Assets Asset (r:1 w:1)
218222
// Storage: Assets Approvals (r:1 w:1)
219223
fn force_cancel_approval() -> Weight {
220-
(39_091_000 as Weight)
224+
(31_972_000 as Weight)
221225
.saturating_add(T::DbWeight::get().reads(2 as Weight))
222226
.saturating_add(T::DbWeight::get().writes(2 as Weight))
223227
}

0 commit comments

Comments
 (0)