1- // Copyright 2017- 2021 Parity Technologies (UK) Ltd.
1+ // Copyright 2021 Parity Technologies (UK) Ltd.
22// This file is part of Polkadot.
33
44// Polkadot is free software: you can redistribute it and/or modify
1717//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
1818//!
1919//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
20- //! DATE: 2021-12-01 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+ //! DATE: 2021-12-20 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
2222
2323// Executed Command:
@@ -45,56 +45,63 @@ use sp_std::marker::PhantomData;
4545/// Weights for `pallet_xcm_benchmarks::generic`.
4646pub struct WeightInfo < T > ( PhantomData < T > ) ;
4747impl < T : frame_system:: Config > WeightInfo < T > {
48- pub fn report_holding ( ) -> Weight {
49- 1_000_000_000
48+ // Storage: XcmPallet SupportedVersion (r:1 w:0)
49+ // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
50+ // Storage: XcmPallet SafeXcmVersion (r:1 w:0)
51+ // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
52+ // Storage: Dmp DownwardMessageQueues (r:1 w:1)
53+ pub ( crate ) fn report_holding ( ) -> Weight {
54+ ( 35_446_000 as Weight )
55+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as Weight ) )
56+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
5057 }
5158 pub ( crate ) fn buy_execution ( ) -> Weight {
52- ( 5_922_000 as Weight )
59+ ( 5_228_000 as Weight )
5360 }
5461 // Storage: XcmPallet Queries (r:1 w:0)
5562 pub ( crate ) fn query_response ( ) -> Weight {
56- ( 20_625_000 as Weight )
63+ ( 18_708_000 as Weight )
5764 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
5865 }
5966 pub ( crate ) fn transact ( ) -> Weight {
60- ( 22_198_000 as Weight )
67+ ( 20_401_000 as Weight )
6168 }
6269 pub ( crate ) fn refund_surplus ( ) -> Weight {
63- ( 6_122_000 as Weight )
70+ ( 5_238_000 as Weight )
6471 }
6572 pub ( crate ) fn set_error_handler ( ) -> Weight {
66- ( 5_758_000 as Weight )
73+ ( 5_104_000 as Weight )
6774 }
6875 pub ( crate ) fn set_appendix ( ) -> Weight {
69- ( 5_764_000 as Weight )
76+ ( 5_095_000 as Weight )
7077 }
7178 pub ( crate ) fn clear_error ( ) -> Weight {
72- ( 5_679_000 as Weight )
79+ ( 5_010_000 as Weight )
7380 }
7481 pub ( crate ) fn descend_origin ( ) -> Weight {
75- ( 7_206_000 as Weight )
82+ ( 6_368_000 as Weight )
7683 }
7784 pub ( crate ) fn clear_origin ( ) -> Weight {
78- ( 5_738_000 as Weight )
85+ ( 5_011_000 as Weight )
7986 }
8087 // Storage: XcmPallet SupportedVersion (r:1 w:0)
8188 // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
8289 // Storage: XcmPallet SafeXcmVersion (r:1 w:0)
8390 // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
8491 // Storage: Dmp DownwardMessageQueues (r:1 w:1)
8592 pub ( crate ) fn report_error ( ) -> Weight {
86- ( 31_512_000 as Weight )
93+ ( 27_823_000 as Weight )
8794 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as Weight ) )
8895 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
8996 }
9097 // Storage: XcmPallet AssetTraps (r:1 w:1)
9198 pub ( crate ) fn claim_asset ( ) -> Weight {
92- ( 13_594_000 as Weight )
99+ ( 12_402_000 as Weight )
93100 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
94101 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
95102 }
96103 pub ( crate ) fn trap ( ) -> Weight {
97- ( 5_745_000 as Weight )
104+ ( 5_022_000 as Weight )
98105 }
99106 // Storage: XcmPallet VersionNotifyTargets (r:1 w:1)
100107 // Storage: XcmPallet SupportedVersion (r:1 w:0)
@@ -103,13 +110,13 @@ impl<T: frame_system::Config> WeightInfo<T> {
103110 // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
104111 // Storage: Dmp DownwardMessageQueues (r:1 w:1)
105112 pub ( crate ) fn subscribe_version ( ) -> Weight {
106- ( 38_138_000 as Weight )
113+ ( 32_492_000 as Weight )
107114 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as Weight ) )
108115 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 as Weight ) )
109116 }
110117 // Storage: XcmPallet VersionNotifyTargets (r:0 w:1)
111118 pub ( crate ) fn unsubscribe_version ( ) -> Weight {
112- ( 9_127_000 as Weight )
119+ ( 7_777_000 as Weight )
113120 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
114121 }
115122 // Storage: XcmPallet SupportedVersion (r:1 w:0)
@@ -118,8 +125,46 @@ impl<T: frame_system::Config> WeightInfo<T> {
118125 // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
119126 // Storage: Dmp DownwardMessageQueues (r:1 w:1)
120127 pub ( crate ) fn initiate_reserve_withdraw ( ) -> Weight {
121- ( 41_443_000 as Weight )
128+ ( 37_066_000 as Weight )
122129 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as Weight ) )
123130 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
124131 }
132+ pub ( crate ) fn burn_asset ( ) -> Weight {
133+ ( 7_935_000 as Weight )
134+ }
135+ pub ( crate ) fn expect_asset ( ) -> Weight {
136+ ( 5_237_000 as Weight )
137+ }
138+ pub ( crate ) fn expect_origin ( ) -> Weight {
139+ ( 5_245_000 as Weight )
140+ }
141+ pub ( crate ) fn expect_error ( ) -> Weight {
142+ ( 5_062_000 as Weight )
143+ }
144+ // Storage: XcmPallet SupportedVersion (r:1 w:0)
145+ // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
146+ // Storage: XcmPallet SafeXcmVersion (r:1 w:0)
147+ // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
148+ // Storage: Dmp DownwardMessageQueues (r:1 w:1)
149+ pub ( crate ) fn query_pallet ( ) -> Weight {
150+ ( 28_876_000 as Weight )
151+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as Weight ) )
152+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
153+ }
154+ pub ( crate ) fn expect_pallet ( ) -> Weight {
155+ ( 5_526_000 as Weight )
156+ }
157+ // Storage: XcmPallet SupportedVersion (r:1 w:0)
158+ // Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
159+ // Storage: XcmPallet SafeXcmVersion (r:1 w:0)
160+ // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
161+ // Storage: Dmp DownwardMessageQueues (r:1 w:1)
162+ pub ( crate ) fn report_transact_status ( ) -> Weight {
163+ ( 27_889_000 as Weight )
164+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as Weight ) )
165+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
166+ }
167+ pub ( crate ) fn clear_transact_status ( ) -> Weight {
168+ ( 5_100_000 as Weight )
169+ }
125170}
0 commit comments