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 `pallet_preimage`
//!
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,102 +45,168 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_preimage`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight {
// Minimum execution time: 30_474 nanoseconds.
Weight::from_ref_time(257_568_077)
// Standard Error: 10
.saturating_add(Weight::from_ref_time(2_389).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `175`
// Estimated: `2566`
// Minimum execution time: 22_273 nanoseconds.
Weight::from_ref_time(22_421_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_386).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight {
// Minimum execution time: 20_918 nanoseconds.
Weight::from_ref_time(45_372_004)
// Standard Error: 9
.saturating_add(Weight::from_ref_time(2_558).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `2566`
// Minimum execution time: 14_410 nanoseconds.
Weight::from_ref_time(14_494_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_388).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight {
// Minimum execution time: 19_612 nanoseconds.
Weight::from_ref_time(52_472_238)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_604).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `2566`
// Minimum execution time: 13_482 nanoseconds.
Weight::from_ref_time(13_720_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_382).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unnote_preimage() -> Weight {
// Minimum execution time: 42_913 nanoseconds.
Weight::from_ref_time(46_034_000)
// Proof Size summary in bytes:
// Measured: `353`
// Estimated: `2566`
// Minimum execution time: 30_263 nanoseconds.
Weight::from_ref_time(31_033_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unnote_no_deposit_preimage() -> Weight {
// Minimum execution time: 29_879 nanoseconds.
Weight::from_ref_time(31_150_000)
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 20_026 nanoseconds.
Weight::from_ref_time(20_879_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_preimage() -> Weight {
// Minimum execution time: 28_961 nanoseconds.
Weight::from_ref_time(31_556_000)
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `2566`
// Minimum execution time: 17_776 nanoseconds.
Weight::from_ref_time(18_771_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_no_deposit_preimage() -> Weight {
// Minimum execution time: 15_395 nanoseconds.
Weight::from_ref_time(16_622_000)
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 10_442 nanoseconds.
Weight::from_ref_time(11_551_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_unnoted_preimage() -> Weight {
// Minimum execution time: 24_606 nanoseconds.
Weight::from_ref_time(26_541_000)
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2566`
// Minimum execution time: 11_527 nanoseconds.
Weight::from_ref_time(11_883_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_requested_preimage() -> Weight {
// Minimum execution time: 10_182 nanoseconds.
Weight::from_ref_time(11_199_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `2566`
// Minimum execution time: 7_456 nanoseconds.
Weight::from_ref_time(7_710_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unrequest_preimage() -> Weight {
// Minimum execution time: 29_305 nanoseconds.
Weight::from_ref_time(32_670_000)
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `2566`
// Minimum execution time: 18_651 nanoseconds.
Weight::from_ref_time(19_136_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn unrequest_unnoted_preimage() -> Weight {
// Minimum execution time: 10_768 nanoseconds.
Weight::from_ref_time(10_985_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `2566`
// Minimum execution time: 6_824 nanoseconds.
Weight::from_ref_time(7_100_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn unrequest_multi_referenced_preimage() -> Weight {
// Minimum execution time: 9_740 nanoseconds.
Weight::from_ref_time(10_905_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `2566`
// Minimum execution time: 7_015 nanoseconds.
Weight::from_ref_time(7_230_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}