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 `frame_benchmarking::baseline`
//!
//! 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("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,54 +46,52 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
// Minimum execution time: 106 nanoseconds.
Weight::from_ref_time(129_895)
// Minimum execution time: 111 nanoseconds.
Weight::from_ref_time(125_746)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 98 nanoseconds.
Weight::from_ref_time(124_048)
// Minimum execution time: 108 nanoseconds.
Weight::from_ref_time(127_834)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(125_515)
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(133_152)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 98 nanoseconds.
Weight::from_ref_time(129_039)
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(128_930)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 20_256_129 nanoseconds.
Weight::from_ref_time(20_455_469_142)
// Standard Error: 107_821
.saturating_add(Weight::from_ref_time(552_430).saturating_mul(i.into()))
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 23_879_119 nanoseconds.
Weight::from_ref_time(23_953_239_689)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 128 nanoseconds.
Weight::from_ref_time(147_000)
// Standard Error: 18_388
.saturating_add(Weight::from_ref_time(47_422_896).saturating_mul(i.into()))
// Minimum execution time: 136 nanoseconds.
Weight::from_ref_time(2_453_545)
// Standard Error: 6_526
.saturating_add(Weight::from_ref_time(55_601_782).saturating_mul(i.into()))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(117_000)
// Standard Error: 4_031
.saturating_add(Weight::from_ref_time(1_946_581).saturating_mul(i.into()))
// Minimum execution time: 121 nanoseconds.
Weight::from_ref_time(127_000)
// Standard Error: 8_321
.saturating_add(Weight::from_ref_time(2_538_099).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
// Minimum execution time: 130 nanoseconds.
Weight::from_ref_time(134_000)
// Standard Error: 902
.saturating_add(Weight::from_ref_time(333_197).saturating_mul(i.into()))
// Minimum execution time: 115 nanoseconds.
Weight::from_ref_time(122_000)
// Standard Error: 1_010
.saturating_add(Weight::from_ref_time(388_054).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}