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: `bm5`, 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("kusama-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: 99 nanoseconds.
Weight::from_ref_time(132_705)
// Minimum execution time: 116 nanoseconds.
Weight::from_ref_time(148_551)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 102 nanoseconds.
Weight::from_ref_time(136_587)
// Minimum execution time: 116 nanoseconds.
Weight::from_ref_time(146_564)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 117 nanoseconds.
Weight::from_ref_time(144_223)
// Minimum execution time: 113 nanoseconds.
Weight::from_ref_time(147_394)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 101 nanoseconds.
Weight::from_ref_time(128_859)
// Minimum execution time: 115 nanoseconds.
Weight::from_ref_time(147_033)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
// Minimum execution time: 20_008_796 nanoseconds.
Weight::from_ref_time(20_231_830_334)
// Standard Error: 222_061
.saturating_add(Weight::from_ref_time(414_640).saturating_mul(i.into()))
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 23_983_154 nanoseconds.
Weight::from_ref_time(24_070_029_392)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 142 nanoseconds.
Weight::from_ref_time(156_000)
// Standard Error: 19_463
.saturating_add(Weight::from_ref_time(47_363_986).saturating_mul(i.into()))
// Minimum execution time: 130 nanoseconds.
Weight::from_ref_time(1_606_463)
// Standard Error: 5_589
.saturating_add(Weight::from_ref_time(55_538_842).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: 124 nanoseconds.
Weight::from_ref_time(133_000)
// Standard Error: 3_395
.saturating_add(Weight::from_ref_time(1_924_310).saturating_mul(i.into()))
// Minimum execution time: 118 nanoseconds.
Weight::from_ref_time(136_000)
// Standard Error: 2_899
.saturating_add(Weight::from_ref_time(2_363_633).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: 108 nanoseconds.
Weight::from_ref_time(115_000)
// Standard Error: 831
.saturating_add(Weight::from_ref_time(334_597).saturating_mul(i.into()))
// Minimum execution time: 119 nanoseconds.
Weight::from_ref_time(141_000)
// Standard Error: 923
.saturating_add(Weight::from_ref_time(386_949).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
}