mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 21:31:02 +00:00
New runners for weights and new weights (#6508)
* [DO NOT MERGE] test new vm runner for weights 2 * add image * fix merge conflict * apply weights * new weights Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
cc080d0e78
commit
0119a6dae1
@@ -16,23 +16,21 @@
|
||||
//! Autogenerated weights for `pallet_xcm`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-12-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=westend-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_xcm
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_xcm
|
||||
// --chain=westend-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/westend/src/weights/
|
||||
|
||||
@@ -52,18 +50,18 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
fn send() -> Weight {
|
||||
// Minimum execution time: 36_453 nanoseconds.
|
||||
Weight::from_ref_time(37_511_000)
|
||||
// Minimum execution time: 38_435 nanoseconds.
|
||||
Weight::from_ref_time(39_264_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
fn teleport_assets() -> Weight {
|
||||
// Minimum execution time: 28_144 nanoseconds.
|
||||
Weight::from_ref_time(28_952_000)
|
||||
// Minimum execution time: 29_090 nanoseconds.
|
||||
Weight::from_ref_time(29_801_000)
|
||||
}
|
||||
fn reserve_transfer_assets() -> Weight {
|
||||
// Minimum execution time: 28_245 nanoseconds.
|
||||
Weight::from_ref_time(28_710_000)
|
||||
// Minimum execution time: 27_998 nanoseconds.
|
||||
Weight::from_ref_time(29_079_000)
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
fn execute() -> Weight {
|
||||
@@ -72,14 +70,14 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: XcmPallet SupportedVersion (r:0 w:1)
|
||||
fn force_xcm_version() -> Weight {
|
||||
// Minimum execution time: 15_350 nanoseconds.
|
||||
Weight::from_ref_time(15_829_000)
|
||||
// Minimum execution time: 15_893 nanoseconds.
|
||||
Weight::from_ref_time(16_196_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: XcmPallet SafeXcmVersion (r:0 w:1)
|
||||
fn force_default_xcm_version() -> Weight {
|
||||
// Minimum execution time: 4_482 nanoseconds.
|
||||
Weight::from_ref_time(4_588_000)
|
||||
// Minimum execution time: 4_403 nanoseconds.
|
||||
Weight::from_ref_time(4_553_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifiers (r:1 w:1)
|
||||
@@ -91,8 +89,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: XcmPallet Queries (r:0 w:1)
|
||||
fn force_subscribe_version_notify() -> Weight {
|
||||
// Minimum execution time: 41_818 nanoseconds.
|
||||
Weight::from_ref_time(42_824_000)
|
||||
// Minimum execution time: 42_466 nanoseconds.
|
||||
Weight::from_ref_time(43_907_000)
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -104,29 +102,29 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
// Storage: XcmPallet Queries (r:0 w:1)
|
||||
fn force_unsubscribe_version_notify() -> Weight {
|
||||
// Minimum execution time: 45_488 nanoseconds.
|
||||
Weight::from_ref_time(46_295_000)
|
||||
// Minimum execution time: 46_063 nanoseconds.
|
||||
Weight::from_ref_time(47_278_000)
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: XcmPallet SupportedVersion (r:4 w:2)
|
||||
fn migrate_supported_version() -> Weight {
|
||||
// Minimum execution time: 14_614 nanoseconds.
|
||||
Weight::from_ref_time(14_829_000)
|
||||
// Minimum execution time: 15_315 nanoseconds.
|
||||
Weight::from_ref_time(15_983_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifiers (r:4 w:2)
|
||||
fn migrate_version_notifiers() -> Weight {
|
||||
// Minimum execution time: 14_724 nanoseconds.
|
||||
Weight::from_ref_time(14_915_000)
|
||||
// Minimum execution time: 15_715 nanoseconds.
|
||||
Weight::from_ref_time(16_212_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifyTargets (r:5 w:0)
|
||||
fn already_notified_target() -> Weight {
|
||||
// Minimum execution time: 16_814 nanoseconds.
|
||||
Weight::from_ref_time(17_007_000)
|
||||
// Minimum execution time: 18_319 nanoseconds.
|
||||
Weight::from_ref_time(18_821_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifyTargets (r:2 w:1)
|
||||
@@ -136,21 +134,21 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
fn notify_current_targets() -> Weight {
|
||||
// Minimum execution time: 37_273 nanoseconds.
|
||||
Weight::from_ref_time(37_869_000)
|
||||
// Minimum execution time: 38_303 nanoseconds.
|
||||
Weight::from_ref_time(39_210_000)
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifyTargets (r:3 w:0)
|
||||
fn notify_target_migration_fail() -> Weight {
|
||||
// Minimum execution time: 7_517 nanoseconds.
|
||||
Weight::from_ref_time(7_682_000)
|
||||
// Minimum execution time: 8_105 nanoseconds.
|
||||
Weight::from_ref_time(8_402_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
|
||||
fn migrate_version_notify_targets() -> Weight {
|
||||
// Minimum execution time: 15_088 nanoseconds.
|
||||
Weight::from_ref_time(15_464_000)
|
||||
// Minimum execution time: 16_035 nanoseconds.
|
||||
Weight::from_ref_time(16_561_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -161,8 +159,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
|
||||
fn migrate_and_notify_old_targets() -> Weight {
|
||||
// Minimum execution time: 42_829 nanoseconds.
|
||||
Weight::from_ref_time(43_814_000)
|
||||
// Minimum execution time: 45_300 nanoseconds.
|
||||
Weight::from_ref_time(46_946_000)
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user