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:
Alexander Samusev
2023-01-24 16:35:26 +01:00
committed by GitHub
parent cc080d0e78
commit 0119a6dae1
166 changed files with 4585 additions and 4550 deletions
@@ -16,8 +16,8 @@
//! Autogenerated weights for `runtime_parachains::paras`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-12, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -52,20 +52,20 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras CodeByHash (r:0 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn force_set_current_code(c: u32, ) -> Weight {
// Minimum execution time: 35_957 nanoseconds.
Weight::from_ref_time(36_301_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_317).saturating_mul(c.into()))
// Minimum execution time: 38_922 nanoseconds.
Weight::from_ref_time(56_697_065)
// Standard Error: 14
.saturating_add(Weight::from_ref_time(2_617).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Paras Heads (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_set_current_head(s: u32, ) -> Weight {
// Minimum execution time: 12_879 nanoseconds.
Weight::from_ref_time(13_054_000)
// Minimum execution time: 14_358 nanoseconds.
Weight::from_ref_time(10_296_435)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(911).saturating_mul(s.into()))
.saturating_add(Weight::from_ref_time(1_074).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
@@ -81,10 +81,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
// Minimum execution time: 60_404 nanoseconds.
Weight::from_ref_time(60_712_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_345).saturating_mul(c.into()))
// Minimum execution time: 66_499 nanoseconds.
Weight::from_ref_time(67_287_000)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(2_713).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -93,18 +93,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// The range of component `s` is `[1, 1048576]`.
fn force_note_new_head(s: u32, ) -> Weight {
// Minimum execution time: 18_738 nanoseconds.
Weight::from_ref_time(18_913_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(912).saturating_mul(s.into()))
// Minimum execution time: 20_123 nanoseconds.
Weight::from_ref_time(22_232_263)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_058).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
fn force_queue_action() -> Weight {
// Minimum execution time: 25_073 nanoseconds.
Weight::from_ref_time(25_607_000)
// Minimum execution time: 25_083 nanoseconds.
Weight::from_ref_time(26_054_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -112,18 +112,18 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras CodeByHash (r:1 w:1)
/// The range of component `c` is `[1, 3145728]`.
fn add_trusted_validation_code(c: u32, ) -> Weight {
// Minimum execution time: 9_037 nanoseconds.
Weight::from_ref_time(9_146_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_327).saturating_mul(c.into()))
// Minimum execution time: 9_450 nanoseconds.
Weight::from_ref_time(9_734_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_710).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras CodeByHashRefs (r:1 w:0)
// Storage: Paras CodeByHash (r:0 w:1)
fn poke_unused_validation_code() -> Weight {
// Minimum execution time: 7_223 nanoseconds.
Weight::from_ref_time(7_447_000)
// Minimum execution time: 7_616 nanoseconds.
Weight::from_ref_time(8_066_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -132,8 +132,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
fn include_pvf_check_statement() -> Weight {
// Minimum execution time: 94_321 nanoseconds.
Weight::from_ref_time(98_025_000)
// Minimum execution time: 130_700 nanoseconds.
Weight::from_ref_time(138_727_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -146,8 +146,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: System Digest (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
// Minimum execution time: 646_013 nanoseconds.
Weight::from_ref_time(652_628_000)
// Minimum execution time: 808_758 nanoseconds.
Weight::from_ref_time(836_844_000)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(104))
}
@@ -155,16 +155,11 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras CodeByHash (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:100)
// Storage: Paras FutureCodeHash (r:0 w:100)
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
// Minimum execution time: 616_867 nanoseconds.
Weight::from_ref_time(627_163_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(204))
// Minimum execution time: 124_850 nanoseconds.
Weight::from_ref_time(135_227_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
@@ -173,8 +168,8 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras ActionsQueue (r:1 w:1)
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
// Minimum execution time: 505_941 nanoseconds.
Weight::from_ref_time(513_972_000)
// Minimum execution time: 630_541 nanoseconds.
Weight::from_ref_time(642_748_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -182,16 +177,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras ParaLifecycles (r:0 w:100)
// Storage: Paras CodeByHash (r:0 w:1)
// Storage: Paras CurrentCodeHash (r:0 w:100)
// Storage: Paras UpcomingParasGenesis (r:0 w:100)
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
// Minimum execution time: 685_762 nanoseconds.
Weight::from_ref_time(695_673_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(304))
// Minimum execution time: 123_066 nanoseconds.
Weight::from_ref_time(132_022_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
}