Revert back to bare metal runners for weights generation (#6762)

* Revert back to bare metal runners for weights generation

* new old weights

---------

Co-authored-by: alvicsam <alvicsam@gmail.com>
This commit is contained in:
Oleg Plakida
2023-02-23 10:50:43 +00:00
committed by GitHub
parent e5f65865fe
commit 5e7ade9037
132 changed files with 15202 additions and 7243 deletions
@@ -16,8 +16,9 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! 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`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,52 +47,57 @@ 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: 111 nanoseconds.
Weight::from_ref_time(125_746)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 136 nanoseconds.
Weight::from_ref_time(173_394)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 108 nanoseconds.
Weight::from_ref_time(127_834)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 133 nanoseconds.
Weight::from_ref_time(169_437)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(133_152)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 141 nanoseconds.
Weight::from_ref_time(171_315)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(128_930)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 121 nanoseconds.
Weight::from_ref_time(171_703)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 100]`.
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 23_879_119 nanoseconds.
Weight::from_ref_time(23_953_239_689)
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 20_283_085 nanoseconds.
Weight::from_ref_time(20_363_497_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// 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: 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: 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())))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 185 nanoseconds.
Weight::from_ref_time(201_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 9_391
.saturating_add(Weight::from_ref_time(46_947_397).saturating_mul(i.into()))
}
}