difftreelog
chore weigh xcm-pallet
in: master
1 file changed
runtime/common/weights/xcm.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_xcm3//! Autogenerated weights for pallet_xcm4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.15//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 35.0.16//! DATE: 2024-05-24, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2024-05-27, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`7//! WORST CASE MAP SIZE: `1000000`8//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10249935/// Weights for pallet_xcm using the Substrate node and recommended hardware.35/// Weights for pallet_xcm using the Substrate node and recommended hardware.36pub struct SubstrateWeight<T>(PhantomData<T>);36pub struct SubstrateWeight<T>(PhantomData<T>);37impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {37impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {38 /// Storage: `Benchmark::Override` (r:0 w:0)38 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)39 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)39 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)40 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)41 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)42 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)43 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)44 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)45 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)46 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)47 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)40 fn send() -> Weight {48 fn send() -> Weight {41 // Proof Size summary in bytes:49 // Proof Size summary in bytes:42 // Measured: `0`50 // Measured: `278`43 // Estimated: `0`51 // Estimated: `3743`44 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.52 // Minimum execution time: 18_977_000 picoseconds.45 Weight::from_parts(18_446_744_073_709_551_000, 0)53 Weight::from_parts(19_535_000, 3743)54 .saturating_add(T::DbWeight::get().reads(5_u64))55 .saturating_add(T::DbWeight::get().writes(2_u64))46 }56 }47 /// Storage: `Benchmark::Override` (r:0 w:0)57 /// Storage: `Benchmark::Override` (r:0 w:0)48 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)58 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)75 // Proof Size summary in bytes:85 // Proof Size summary in bytes:76 // Measured: `0`86 // Measured: `0`77 // Estimated: `0`87 // Estimated: `0`78 // Minimum execution time: 3_230_000 picoseconds.88 // Minimum execution time: 6_781_000 picoseconds.79 Weight::from_parts(3_390_000, 0)89 Weight::from_parts(7_006_000, 0)80 }90 }81 /// Storage: `Benchmark::Override` (r:0 w:0)91 /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)82 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)92 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)83 fn force_xcm_version() -> Weight {93 fn force_xcm_version() -> Weight {84 // Proof Size summary in bytes:94 // Proof Size summary in bytes:85 // Measured: `0`95 // Measured: `0`86 // Estimated: `0`96 // Estimated: `0`87 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.97 // Minimum execution time: 6_489_000 picoseconds.88 Weight::from_parts(18_446_744_073_709_551_000, 0)98 Weight::from_parts(6_849_000, 0)99 .saturating_add(T::DbWeight::get().writes(1_u64))89 }100 }90 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)101 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)91 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)102 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)92 fn force_default_xcm_version() -> Weight {103 fn force_default_xcm_version() -> Weight {93 // Proof Size summary in bytes:104 // Proof Size summary in bytes:94 // Measured: `0`105 // Measured: `0`95 // Estimated: `0`106 // Estimated: `0`96 // Minimum execution time: 1_020_000 picoseconds.107 // Minimum execution time: 2_216_000 picoseconds.97 Weight::from_parts(1_120_000, 0)108 Weight::from_parts(2_347_000, 0)98 .saturating_add(T::DbWeight::get().writes(1_u64))109 .saturating_add(T::DbWeight::get().writes(1_u64))99 }110 }111 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)112 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)113 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)114 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)115 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)116 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)117 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)118 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)119 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)120 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)121 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)122 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)123 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)124 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)100 /// Storage: `Benchmark::Override` (r:0 w:0)125 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)101 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)126 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)102 fn force_subscribe_version_notify() -> Weight {127 fn force_subscribe_version_notify() -> Weight {103 // Proof Size summary in bytes:128 // Proof Size summary in bytes:104 // Measured: `0`129 // Measured: `278`105 // Estimated: `0`130 // Estimated: `3743`106 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.131 // Minimum execution time: 24_128_000 picoseconds.107 Weight::from_parts(18_446_744_073_709_551_000, 0)132 Weight::from_parts(24_629_000, 3743)133 .saturating_add(T::DbWeight::get().reads(7_u64))134 .saturating_add(T::DbWeight::get().writes(5_u64))108 }135 }136 /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)137 /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)138 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)139 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)140 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)141 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)142 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)143 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)144 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)145 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)146 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)147 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)109 /// Storage: `Benchmark::Override` (r:0 w:0)148 /// Storage: `PolkadotXcm::Queries` (r:0 w:1)110 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)149 /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)111 fn force_unsubscribe_version_notify() -> Weight {150 fn force_unsubscribe_version_notify() -> Weight {112 // Proof Size summary in bytes:151 // Proof Size summary in bytes:113 // Measured: `0`152 // Measured: `461`114 // Estimated: `0`153 // Estimated: `3926`115 // Minimum execution time: 18_446_744_073_709_551_000 picoseconds.154 // Minimum execution time: 25_408_000 picoseconds.116 Weight::from_parts(18_446_744_073_709_551_000, 0)155 Weight::from_parts(25_912_000, 3926)156 .saturating_add(T::DbWeight::get().reads(6_u64))157 .saturating_add(T::DbWeight::get().writes(4_u64))117 }158 }118 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)159 /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)119 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)160 /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)120 fn force_suspension() -> Weight {161 fn force_suspension() -> Weight {121 // Proof Size summary in bytes:162 // Proof Size summary in bytes:122 // Measured: `0`163 // Measured: `0`123 // Estimated: `0`164 // Estimated: `0`124 // Minimum execution time: 1_050_000 picoseconds.165 // Minimum execution time: 2_270_000 picoseconds.125 Weight::from_parts(1_150_000, 0)166 Weight::from_parts(2_379_000, 0)126 .saturating_add(T::DbWeight::get().writes(1_u64))167 .saturating_add(T::DbWeight::get().writes(1_u64))127 }168 }128 /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2)169 /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2)131 // Proof Size summary in bytes:172 // Proof Size summary in bytes:132 // Measured: `192`173 // Measured: `192`133 // Estimated: `13557`174 // Estimated: `13557`134 // Minimum execution time: 13_400_000 picoseconds.175 // Minimum execution time: 17_924_000 picoseconds.135 Weight::from_parts(13_670_000, 13557)176 Weight::from_parts(18_191_000, 13557)136 .saturating_add(T::DbWeight::get().reads(5_u64))177 .saturating_add(T::DbWeight::get().reads(5_u64))137 .saturating_add(T::DbWeight::get().writes(2_u64))178 .saturating_add(T::DbWeight::get().writes(2_u64))138 }179 }142 // Proof Size summary in bytes:183 // Proof Size summary in bytes:143 // Measured: `196`184 // Measured: `196`144 // Estimated: `13561`185 // Estimated: `13561`145 // Minimum execution time: 13_160_000 picoseconds.186 // Minimum execution time: 17_998_000 picoseconds.146 Weight::from_parts(13_650_000, 13561)187 Weight::from_parts(18_412_000, 13561)147 .saturating_add(T::DbWeight::get().reads(5_u64))188 .saturating_add(T::DbWeight::get().reads(5_u64))148 .saturating_add(T::DbWeight::get().writes(2_u64))189 .saturating_add(T::DbWeight::get().writes(2_u64))149 }190 }150 /// Storage: `Benchmark::Override` (r:0 w:0)191 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0)151 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)192 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)152 fn already_notified_target() -> Weight {193 fn already_notified_target() -> Weight {153 // Proof Size summary in bytes:194 // Proof Size summary in bytes:154 // Measured: `0`195 // Measured: `207`155 // Estimated: `0`196 // Estimated: `16047`156 // Minimum execution time: 25_000_000 picoseconds.197 // Minimum execution time: 19_437_000 picoseconds.157 Weight::from_parts(25_000_000, 0)198 Weight::from_parts(19_891_000, 16047)199 .saturating_add(T::DbWeight::get().reads(6_u64))158 }200 }201 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)202 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)159 /// Storage: `Benchmark::Override` (r:0 w:0)203 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)160 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)204 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)205 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)206 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)207 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)208 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)209 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)210 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)211 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)212 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)161 fn notify_current_targets() -> Weight {213 fn notify_current_targets() -> Weight {162 // Proof Size summary in bytes:214 // Proof Size summary in bytes:163 // Measured: `0`215 // Measured: `345`164 // Estimated: `0`216 // Estimated: `6285`165 // Minimum execution time: 325_000_000 picoseconds.217 // Minimum execution time: 24_038_000 picoseconds.166 Weight::from_parts(325_000_000, 0)218 Weight::from_parts(24_400_000, 6285)219 .saturating_add(T::DbWeight::get().reads(7_u64))220 .saturating_add(T::DbWeight::get().writes(3_u64))167 }221 }168 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0)222 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0)169 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)223 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)170 fn notify_target_migration_fail() -> Weight {224 fn notify_target_migration_fail() -> Weight {171 // Proof Size summary in bytes:225 // Proof Size summary in bytes:172 // Measured: `239`226 // Measured: `239`173 // Estimated: `11129`227 // Estimated: `11129`174 // Minimum execution time: 8_250_000 picoseconds.228 // Minimum execution time: 10_817_000 picoseconds.175 Weight::from_parts(8_780_000, 11129)229 Weight::from_parts(11_066_000, 11129)176 .saturating_add(T::DbWeight::get().reads(4_u64))230 .saturating_add(T::DbWeight::get().reads(4_u64))177 }231 }178 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)232 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)181 // Proof Size summary in bytes:235 // Proof Size summary in bytes:182 // Measured: `203`236 // Measured: `203`183 // Estimated: `13568`237 // Estimated: `13568`184 // Minimum execution time: 13_240_000 picoseconds.238 // Minimum execution time: 18_143_000 picoseconds.185 Weight::from_parts(13_650_000, 13568)239 Weight::from_parts(18_592_000, 13568)186 .saturating_add(T::DbWeight::get().reads(5_u64))240 .saturating_add(T::DbWeight::get().reads(5_u64))187 .saturating_add(T::DbWeight::get().writes(2_u64))241 .saturating_add(T::DbWeight::get().writes(2_u64))188 }242 }243 /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2)244 /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)189 /// Storage: `Benchmark::Override` (r:0 w:0)245 /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)190 /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)246 /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)247 /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)248 /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)249 /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)250 /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)251 /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)252 /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)253 /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)254 /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)191 fn migrate_and_notify_old_targets() -> Weight {255 fn migrate_and_notify_old_targets() -> Weight {192 // Proof Size summary in bytes:256 // Proof Size summary in bytes:193 // Measured: `0`257 // Measured: `345`194 // Estimated: `0`258 // Estimated: `13710`195 // Minimum execution time: 325_000_000 picoseconds.259 // Minimum execution time: 31_871_000 picoseconds.196 Weight::from_parts(325_000_000, 0)260 Weight::from_parts(32_364_000, 13710)261 .saturating_add(T::DbWeight::get().reads(10_u64))262 .saturating_add(T::DbWeight::get().writes(4_u64))197 }263 }198 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)264 /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)199 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)265 /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)203 // Proof Size summary in bytes:269 // Proof Size summary in bytes:204 // Measured: `136`270 // Measured: `136`205 // Estimated: `1621`271 // Estimated: `1621`206 // Minimum execution time: 3_440_000 picoseconds.272 // Minimum execution time: 4_750_000 picoseconds.207 Weight::from_parts(3_560_000, 1621)273 Weight::from_parts(5_014_000, 1621)208 .saturating_add(T::DbWeight::get().reads(1_u64))274 .saturating_add(T::DbWeight::get().reads(1_u64))209 .saturating_add(T::DbWeight::get().writes(2_u64))275 .saturating_add(T::DbWeight::get().writes(2_u64))210 }276 }214 // Proof Size summary in bytes:280 // Proof Size summary in bytes:215 // Measured: `7773`281 // Measured: `7773`216 // Estimated: `11238`282 // Estimated: `11238`217 // Minimum execution time: 19_230_000 picoseconds.283 // Minimum execution time: 25_672_000 picoseconds.218 Weight::from_parts(19_550_000, 11238)284 Weight::from_parts(25_937_000, 11238)219 .saturating_add(T::DbWeight::get().reads(1_u64))285 .saturating_add(T::DbWeight::get().reads(1_u64))220 .saturating_add(T::DbWeight::get().writes(1_u64))286 .saturating_add(T::DbWeight::get().writes(1_u64))221 }287 }229 // Proof Size summary in bytes:295 // Proof Size summary in bytes:230 // Measured: `366`296 // Measured: `366`231 // Estimated: `4079`297 // Estimated: `4079`232 // Minimum execution time: 25_540_000 picoseconds.298 // Minimum execution time: 44_409_000 picoseconds.233 Weight::from_parts(26_250_000, 4079)299 Weight::from_parts(45_102_000, 4079)234 .saturating_add(T::DbWeight::get().reads(3_u64))300 .saturating_add(T::DbWeight::get().reads(3_u64))235 .saturating_add(T::DbWeight::get().writes(1_u64))301 .saturating_add(T::DbWeight::get().writes(1_u64))236 }302 }