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-11, 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("westend-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: 36_036 nanoseconds.
Weight::from_ref_time(36_315_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_314).saturating_mul(c.into()))
// Minimum execution time: 38_090 nanoseconds.
Weight::from_ref_time(38_598_000)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(2_666).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: 13_423 nanoseconds.
Weight::from_ref_time(13_685_000)
// Minimum execution time: 14_296 nanoseconds.
Weight::from_ref_time(4_984_392)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(916).saturating_mul(s.into()))
.saturating_add(Weight::from_ref_time(1_063).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
@@ -80,10 +80,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: 61_954 nanoseconds.
Weight::from_ref_time(62_591_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_340).saturating_mul(c.into()))
// Minimum execution time: 64_275 nanoseconds.
Weight::from_ref_time(5_873_402)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_702).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -92,18 +92,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: 19_324 nanoseconds.
Weight::from_ref_time(19_565_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(914).saturating_mul(s.into()))
// Minimum execution time: 20_002 nanoseconds.
Weight::from_ref_time(16_809_711)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_046).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: 23_825 nanoseconds.
Weight::from_ref_time(24_528_000)
// Minimum execution time: 25_194 nanoseconds.
Weight::from_ref_time(25_638_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -111,18 +111,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_232 nanoseconds.
Weight::from_ref_time(9_386_000)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_323).saturating_mul(c.into()))
// Minimum execution time: 9_271 nanoseconds.
Weight::from_ref_time(9_433_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_673).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_548 nanoseconds.
Weight::from_ref_time(7_701_000)
// Minimum execution time: 7_600 nanoseconds.
Weight::from_ref_time(7_857_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -130,8 +130,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: 93_591 nanoseconds.
Weight::from_ref_time(95_405_000)
// Minimum execution time: 125_304 nanoseconds.
Weight::from_ref_time(134_007_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -143,24 +143,19 @@ 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: 644_959 nanoseconds.
Weight::from_ref_time(649_288_000)
// Minimum execution time: 811_926 nanoseconds.
Weight::from_ref_time(833_485_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(104))
}
// 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: 615_024 nanoseconds.
Weight::from_ref_time(619_152_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(204))
// Minimum execution time: 127_021 nanoseconds.
Weight::from_ref_time(132_480_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
@@ -168,24 +163,18 @@ 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: 502_062 nanoseconds.
Weight::from_ref_time(507_535_000)
// Minimum execution time: 638_553 nanoseconds.
Weight::from_ref_time(657_891_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// 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: 686_674 nanoseconds.
Weight::from_ref_time(697_546_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(304))
// Minimum execution time: 122_237 nanoseconds.
Weight::from_ref_time(130_202_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
}