mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 12:11:02 +00:00
[benchmarks] Update weights for collectives (#2532)
* [benchmarks] pr with weights * bump zombienet version (#2525) * bump zombienet version * fix para registration args --------- Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_xcm`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -40,9 +40,10 @@
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_xcm`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
@@ -59,11 +60,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn send() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `38`
|
||||
// Estimated: `9595`
|
||||
// Minimum execution time: 25_963_000 picoseconds.
|
||||
Weight::from_parts(26_569_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 9595))
|
||||
// Measured: `111`
|
||||
// Estimated: `3576`
|
||||
// Minimum execution time: 30_061_000 picoseconds.
|
||||
Weight::from_parts(30_674_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3576))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -73,8 +74,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `32`
|
||||
// Estimated: `1489`
|
||||
// Minimum execution time: 26_187_000 picoseconds.
|
||||
Weight::from_parts(26_643_000, 0)
|
||||
// Minimum execution time: 30_473_000 picoseconds.
|
||||
Weight::from_parts(30_869_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1489))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
@@ -104,8 +105,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 9_755_000 picoseconds.
|
||||
Weight::from_parts(10_010_000, 0)
|
||||
// Minimum execution time: 10_720_000 picoseconds.
|
||||
Weight::from_parts(10_836_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -115,8 +116,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_994_000 picoseconds.
|
||||
Weight::from_parts(3_125_000, 0)
|
||||
// Minimum execution time: 3_284_000 picoseconds.
|
||||
Weight::from_parts(3_349_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -138,11 +139,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
fn force_subscribe_version_notify() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `38`
|
||||
// Estimated: `14659`
|
||||
// Minimum execution time: 31_393_000 picoseconds.
|
||||
Weight::from_parts(31_976_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 14659))
|
||||
// Measured: `111`
|
||||
// Estimated: `3576`
|
||||
// Minimum execution time: 35_075_000 picoseconds.
|
||||
Weight::from_parts(35_592_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3576))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -162,20 +163,22 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
fn force_unsubscribe_version_notify() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `220`
|
||||
// Estimated: `14410`
|
||||
// Minimum execution time: 34_048_000 picoseconds.
|
||||
Weight::from_parts(35_696_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 14410))
|
||||
// Measured: `294`
|
||||
// Estimated: `3759`
|
||||
// Minimum execution time: 35_814_000 picoseconds.
|
||||
Weight::from_parts(36_242_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3759))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
/// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1)
|
||||
/// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn force_suspension() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_994_000 picoseconds.
|
||||
Weight::from_parts(3_125_000, 0)
|
||||
// Minimum execution time: 3_199_000 picoseconds.
|
||||
Weight::from_parts(3_444_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -183,11 +186,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
fn migrate_supported_version() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `95`
|
||||
// Estimated: `10985`
|
||||
// Minimum execution time: 16_432_000 picoseconds.
|
||||
Weight::from_parts(16_898_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10985))
|
||||
// Measured: `129`
|
||||
// Estimated: `11019`
|
||||
// Minimum execution time: 16_207_000 picoseconds.
|
||||
Weight::from_parts(16_419_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 11019))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -195,11 +198,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
|
||||
fn migrate_version_notifiers() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `99`
|
||||
// Estimated: `10989`
|
||||
// Minimum execution time: 15_950_000 picoseconds.
|
||||
Weight::from_parts(16_441_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10989))
|
||||
// Measured: `133`
|
||||
// Estimated: `11023`
|
||||
// Minimum execution time: 16_204_000 picoseconds.
|
||||
Weight::from_parts(16_554_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 11023))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -207,11 +210,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
fn already_notified_target() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `13471`
|
||||
// Minimum execution time: 16_585_000 picoseconds.
|
||||
Weight::from_parts(16_939_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13471))
|
||||
// Measured: `140`
|
||||
// Estimated: `13505`
|
||||
// Minimum execution time: 16_935_000 picoseconds.
|
||||
Weight::from_parts(17_263_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13505))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
|
||||
@@ -228,11 +231,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn notify_current_targets() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `15981`
|
||||
// Minimum execution time: 30_278_000 picoseconds.
|
||||
Weight::from_parts(30_676_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 15981))
|
||||
// Measured: `178`
|
||||
// Estimated: `6118`
|
||||
// Minimum execution time: 31_462_000 picoseconds.
|
||||
Weight::from_parts(32_095_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6118))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -240,22 +243,22 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
fn notify_target_migration_fail() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `136`
|
||||
// Estimated: `8551`
|
||||
// Minimum execution time: 8_923_000 picoseconds.
|
||||
Weight::from_parts(9_257_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8551))
|
||||
// Measured: `172`
|
||||
// Estimated: `8587`
|
||||
// Minimum execution time: 8_664_000 picoseconds.
|
||||
Weight::from_parts(8_835_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8587))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
fn migrate_version_notify_targets() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `10996`
|
||||
// Minimum execution time: 16_897_000 picoseconds.
|
||||
Weight::from_parts(17_998_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10996))
|
||||
// Measured: `140`
|
||||
// Estimated: `11030`
|
||||
// Minimum execution time: 15_999_000 picoseconds.
|
||||
Weight::from_parts(16_305_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 11030))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -273,11 +276,11 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn migrate_and_notify_old_targets() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `112`
|
||||
// Estimated: `20967`
|
||||
// Minimum execution time: 40_145_000 picoseconds.
|
||||
Weight::from_parts(41_423_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 20967))
|
||||
// Measured: `182`
|
||||
// Estimated: `11072`
|
||||
// Minimum execution time: 37_949_000 picoseconds.
|
||||
Weight::from_parts(38_524_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 11072))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user