mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 12:11:02 +00:00
Remove AssignmentProviderConfig and use parameters from HostConfiguration instead (#3181)
This PR removes `AssignmentProviderConfig` and uses the corresponding ondemand parameters from `HostConfiguration` instead. Additionally `scheduling_lookahead` and all coretime/ondemand related parameters are extracted in a separate struct - `SchedulerParams`. The most relevant commit from the PR is [this one](https://github.com/paritytech/polkadot-sdk/pull/3181/commits/830bc0f5e858944474171bbe33382ad96040b535). Fixes https://github.com/paritytech/polkadot-sdk/issues/2268 --------- Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
a22319cdd5
commit
a035dc9be7
@@ -16,10 +16,10 @@
|
||||
|
||||
//! Autogenerated weights for `runtime_parachains::configuration`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-11-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
|
||||
//! DATE: 2024-02-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-yprdrvc7-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("westend-dev")`, DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -58,8 +58,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 8_065_000 picoseconds.
|
||||
Weight::from_parts(8_389_000, 0)
|
||||
// Minimum execution time: 7_775_000 picoseconds.
|
||||
Weight::from_parts(8_036_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -74,8 +74,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 8_038_000 picoseconds.
|
||||
Weight::from_parts(8_463_000, 0)
|
||||
// Minimum execution time: 7_708_000 picoseconds.
|
||||
Weight::from_parts(7_971_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -90,8 +90,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 7_843_000 picoseconds.
|
||||
Weight::from_parts(8_216_000, 0)
|
||||
// Minimum execution time: 7_746_000 picoseconds.
|
||||
Weight::from_parts(8_028_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -116,8 +116,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 7_969_000 picoseconds.
|
||||
Weight::from_parts(8_362_000, 0)
|
||||
// Minimum execution time: 7_729_000 picoseconds.
|
||||
Weight::from_parts(7_954_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -132,8 +132,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 10_084_000 picoseconds.
|
||||
Weight::from_parts(10_451_000, 0)
|
||||
// Minimum execution time: 9_871_000 picoseconds.
|
||||
Weight::from_parts(10_075_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -148,8 +148,8 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 7_948_000 picoseconds.
|
||||
Weight::from_parts(8_268_000, 0)
|
||||
// Minimum execution time: 7_869_000 picoseconds.
|
||||
Weight::from_parts(8_000_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -164,8 +164,24 @@ impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 10_257_000 picoseconds.
|
||||
Weight::from_parts(10_584_000, 0)
|
||||
// Minimum execution time: 9_797_000 picoseconds.
|
||||
Weight::from_parts(10_373_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: `Configuration::PendingConfigs` (r:1 w:1)
|
||||
/// Proof: `Configuration::PendingConfigs` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `Configuration::BypassConsistencyCheck` (r:1 w:0)
|
||||
/// Proof: `Configuration::BypassConsistencyCheck` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
|
||||
/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
fn set_config_with_scheduler_params() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 7_718_000 picoseconds.
|
||||
Weight::from_parts(7_984_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1636))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
|
||||
Reference in New Issue
Block a user