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

Commit b908973

Browse files
committed
".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
1 parent 66c2caa commit b908973

File tree

1 file changed

+56
-51
lines changed

1 file changed

+56
-51
lines changed

parachains/runtimes/assets/westmint/src/weights/xcm/pallet_xcm_benchmarks_generic.rs

+56-51
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
1919
//!
2020
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21-
//! DATE: 2022-08-17, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+
//! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
22+
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2223
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
2324
2425
// Executed Command:
@@ -36,7 +37,7 @@
3637
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
3738
// --header=./file_header.txt
3839
// --template=./templates/xcm-bench-template.hbs
39-
// --output=./parachains/runtimes/assets/westmint/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
40+
// --output=./parachains/runtimes/assets/westmint/src/weights/xcm/
4041

4142
#![cfg_attr(rustfmt, rustfmt_skip)]
4243
#![allow(unused_parens)]
@@ -48,63 +49,65 @@ use sp_std::marker::PhantomData;
4849
/// Weights for `pallet_xcm_benchmarks::generic`.
4950
pub struct WeightInfo<T>(PhantomData<T>);
5051
impl<T: frame_system::Config> WeightInfo<T> {
51-
// Storage: XcmPallet SupportedVersion (r:1 w:0)
52-
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
53-
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
54-
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
55-
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
52+
// Storage: ParachainInfo ParachainId (r:1 w:0)
53+
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
54+
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
55+
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
56+
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
57+
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
5658
pub(crate) fn report_holding() -> Weight {
57-
Weight::from_ref_time(25_878_000 as u64)
58-
.saturating_add(T::DbWeight::get().reads(5 as u64))
59-
.saturating_add(T::DbWeight::get().writes(3 as u64))
59+
Weight::from_ref_time(1_324_853_000 as u64)
60+
.saturating_add(T::DbWeight::get().reads(6 as u64))
61+
.saturating_add(T::DbWeight::get().writes(2 as u64))
6062
}
6163
pub(crate) fn buy_execution() -> Weight {
62-
Weight::from_ref_time(7_030_000 as u64)
64+
Weight::from_ref_time(8_533_000 as u64)
6365
}
6466
// Storage: PolkadotXcm Queries (r:1 w:0)
6567
pub(crate) fn query_response() -> Weight {
66-
Weight::from_ref_time(12_574_000 as u64)
68+
Weight::from_ref_time(19_435_000 as u64)
6769
.saturating_add(T::DbWeight::get().reads(1 as u64))
6870
}
6971
pub(crate) fn transact() -> Weight {
70-
Weight::from_ref_time(15_764_000 as u64)
72+
Weight::from_ref_time(22_656_000 as u64)
7173
}
7274
pub(crate) fn refund_surplus() -> Weight {
73-
Weight::from_ref_time(7_200_000 as u64)
75+
Weight::from_ref_time(8_900_000 as u64)
7476
}
7577
pub(crate) fn set_error_handler() -> Weight {
76-
Weight::from_ref_time(3_310_000 as u64)
78+
Weight::from_ref_time(6_255_000 as u64)
7779
}
7880
pub(crate) fn set_appendix() -> Weight {
79-
Weight::from_ref_time(3_260_000 as u64)
81+
Weight::from_ref_time(6_268_000 as u64)
8082
}
8183
pub(crate) fn clear_error() -> Weight {
82-
Weight::from_ref_time(3_277_000 as u64)
84+
Weight::from_ref_time(6_304_000 as u64)
8385
}
8486
pub(crate) fn descend_origin() -> Weight {
85-
Weight::from_ref_time(3_913_000 as u64)
87+
Weight::from_ref_time(7_279_000 as u64)
8688
}
8789
pub(crate) fn clear_origin() -> Weight {
88-
Weight::from_ref_time(3_354_000 as u64)
90+
Weight::from_ref_time(6_297_000 as u64)
8991
}
92+
// Storage: ParachainInfo ParachainId (r:1 w:0)
9093
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
9194
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
9295
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
9396
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
9497
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
9598
pub(crate) fn report_error() -> Weight {
96-
Weight::from_ref_time(13_028_000 as u64)
97-
.saturating_add(T::DbWeight::get().reads(5 as u64))
99+
Weight::from_ref_time(23_025_000 as u64)
100+
.saturating_add(T::DbWeight::get().reads(6 as u64))
98101
.saturating_add(T::DbWeight::get().writes(2 as u64))
99102
}
100103
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
101104
pub(crate) fn claim_asset() -> Weight {
102-
Weight::from_ref_time(7_739_000 as u64)
105+
Weight::from_ref_time(13_001_000 as u64)
103106
.saturating_add(T::DbWeight::get().reads(1 as u64))
104107
.saturating_add(T::DbWeight::get().writes(1 as u64))
105108
}
106109
pub(crate) fn trap() -> Weight {
107-
Weight::from_ref_time(3_351_000 as u64)
110+
Weight::from_ref_time(6_266_000 as u64)
108111
}
109112
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
110113
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
@@ -113,13 +116,13 @@ impl<T: frame_system::Config> WeightInfo<T> {
113116
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
114117
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
115118
pub(crate) fn subscribe_version() -> Weight {
116-
Weight::from_ref_time(16_051_000 as u64)
119+
Weight::from_ref_time(31_348_000 as u64)
117120
.saturating_add(T::DbWeight::get().reads(6 as u64))
118121
.saturating_add(T::DbWeight::get().writes(3 as u64))
119122
}
120123
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
121124
pub(crate) fn unsubscribe_version() -> Weight {
122-
Weight::from_ref_time(5_477_000 as u64)
125+
Weight::from_ref_time(9_534_000 as u64)
123126
.saturating_add(T::DbWeight::get().writes(1 as u64))
124127
}
125128
// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -129,55 +132,57 @@ impl<T: frame_system::Config> WeightInfo<T> {
129132
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
130133
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
131134
pub(crate) fn initiate_reserve_withdraw() -> Weight {
132-
Weight::from_ref_time(874_435_000 as u64)
135+
Weight::from_ref_time(1_558_814_000 as u64)
133136
.saturating_add(T::DbWeight::get().reads(6 as u64))
134137
.saturating_add(T::DbWeight::get().writes(2 as u64))
135138
}
136139
pub(crate) fn burn_asset() -> Weight {
137-
Weight::from_ref_time(5_194_000 as u64)
140+
Weight::from_ref_time(496_802_000 as u64)
138141
}
139142
pub(crate) fn expect_asset() -> Weight {
140-
Weight::from_ref_time(3_698_000 as u64)
143+
Weight::from_ref_time(38_299_000 as u64)
141144
}
142145
pub(crate) fn expect_origin() -> Weight {
143-
Weight::from_ref_time(3_786_000 as u64)
146+
Weight::from_ref_time(6_354_000 as u64)
144147
}
145148
pub(crate) fn expect_error() -> Weight {
146-
Weight::from_ref_time(3_645_000 as u64)
149+
Weight::from_ref_time(6_234_000 as u64)
147150
}
148-
// Storage: XcmPallet SupportedVersion (r:1 w:0)
149-
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
150-
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
151-
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
152-
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
151+
// Storage: ParachainInfo ParachainId (r:1 w:0)
152+
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
153+
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
154+
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
155+
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
156+
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
153157
pub(crate) fn query_pallet() -> Weight {
154-
Weight::from_ref_time(22_993_000 as u64)
155-
.saturating_add(T::DbWeight::get().reads(5 as u64))
156-
.saturating_add(T::DbWeight::get().writes(3 as u64))
158+
Weight::from_ref_time(25_150_000 as u64)
159+
.saturating_add(T::DbWeight::get().reads(6 as u64))
160+
.saturating_add(T::DbWeight::get().writes(2 as u64))
157161
}
158162
pub(crate) fn expect_pallet() -> Weight {
159-
Weight::from_ref_time(4_043_000 as u64)
163+
Weight::from_ref_time(7_969_000 as u64)
160164
}
161-
// Storage: XcmPallet SupportedVersion (r:1 w:0)
162-
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
163-
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
164-
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
165-
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
165+
// Storage: ParachainInfo ParachainId (r:1 w:0)
166+
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
167+
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
168+
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
169+
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
170+
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
166171
pub(crate) fn report_transact_status() -> Weight {
167-
Weight::from_ref_time(21_668_000 as u64)
168-
.saturating_add(T::DbWeight::get().reads(5 as u64))
169-
.saturating_add(T::DbWeight::get().writes(3 as u64))
172+
Weight::from_ref_time(23_099_000 as u64)
173+
.saturating_add(T::DbWeight::get().reads(6 as u64))
174+
.saturating_add(T::DbWeight::get().writes(2 as u64))
170175
}
171176
pub(crate) fn clear_transact_status() -> Weight {
172-
Weight::from_ref_time(3_673_000 as u64)
177+
Weight::from_ref_time(6_366_000 as u64)
173178
}
174179
pub(crate) fn set_topic() -> Weight {
175-
Weight::from_ref_time(3_661_000 as u64)
180+
Weight::from_ref_time(6_422_000 as u64)
176181
}
177182
pub(crate) fn clear_topic() -> Weight {
178-
Weight::from_ref_time(3_647_000 as u64)
183+
Weight::from_ref_time(6_405_000 as u64)
179184
}
180185
pub(crate) fn set_fees_mode() -> Weight {
181-
Weight::from_ref_time(3_599_000 as u64)
186+
Weight::from_ref_time(6_392_000 as u64)
182187
}
183188
}

0 commit comments

Comments
 (0)