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_child_bounties`
//!
//! 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,87 +45,152 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_child_bounties`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T> {
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:2 w:2)
// Storage: ChildBounties ChildBountyCount (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
// Storage: ChildBounties ChildBounties (r:0 w:1)
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Bounties Bounties (r:1 w:0)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBountyCount (r:1 w:1)
/// Proof: ChildBounties ChildBountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBounties (r:0 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(d: u32, ) -> Weight {
// Minimum execution time: 55_323 nanoseconds.
Weight::from_ref_time(57_716_941)
// Standard Error: 16
.saturating_add(Weight::from_ref_time(934).saturating_mul(d.into()))
// Proof Size summary in bytes:
// Measured: `710`
// Estimated: `10848`
// Minimum execution time: 48_061 nanoseconds.
Weight::from_ref_time(49_239_456)
.saturating_add(Weight::from_proof_size(10848))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(788).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
/// Storage: Bounties Bounties (r:1 w:0)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
// Minimum execution time: 18_709 nanoseconds.
Weight::from_ref_time(19_319_000)
// Proof Size summary in bytes:
// Measured: `764`
// Estimated: `7775`
// Minimum execution time: 16_701 nanoseconds.
Weight::from_ref_time(17_041_000)
.saturating_add(Weight::from_proof_size(7775))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Bounties Bounties (r:1 w:0)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
// Minimum execution time: 34_386 nanoseconds.
Weight::from_ref_time(35_898_000)
// Proof Size summary in bytes:
// Measured: `942`
// Estimated: `7875`
// Minimum execution time: 28_897 nanoseconds.
Weight::from_ref_time(29_291_000)
.saturating_add(Weight::from_proof_size(7875))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: Bounties Bounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
/// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// Storage: Bounties Bounties (r:1 w:0)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
// Minimum execution time: 48_360 nanoseconds.
Weight::from_ref_time(49_866_000)
// Proof Size summary in bytes:
// Measured: `942`
// Estimated: `7875`
// Minimum execution time: 40_320 nanoseconds.
Weight::from_ref_time(40_620_000)
.saturating_add(Weight::from_proof_size(7875))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Storage: Bounties Bounties (r:1 w:0)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> Weight {
// Minimum execution time: 28_240 nanoseconds.
Weight::from_ref_time(29_435_000)
// Proof Size summary in bytes:
// Measured: `807`
// Estimated: `5272`
// Minimum execution time: 20_861 nanoseconds.
Weight::from_ref_time(21_665_000)
.saturating_add(Weight::from_proof_size(5272))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
/// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// Storage: System Account (r:3 w:3)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn claim_child_bounty() -> Weight {
// Minimum execution time: 75_273 nanoseconds.
Weight::from_ref_time(77_122_000)
// Proof Size summary in bytes:
// Measured: `778`
// Estimated: `12920`
// Minimum execution time: 68_247 nanoseconds.
Weight::from_ref_time(69_376_000)
.saturating_add(Weight::from_proof_size(12920))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
/// Storage: Bounties Bounties (r:1 w:0)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_added() -> Weight {
// Minimum execution time: 55_596 nanoseconds.
Weight::from_ref_time(57_045_000)
// Proof Size summary in bytes:
// Measured: `1074`
// Estimated: `15472`
// Minimum execution time: 50_591 nanoseconds.
Weight::from_ref_time(51_617_000)
.saturating_add(Weight::from_proof_size(15472))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Bounties Bounties (r:1 w:0)
// Storage: ChildBounties ChildBounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
/// Storage: Bounties Bounties (r:1 w:0)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBounties (r:1 w:1)
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
/// Storage: System Account (r:3 w:3)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_child_bounty_active() -> Weight {
// Minimum execution time: 66_320 nanoseconds.
Weight::from_ref_time(68_259_000)
// Proof Size summary in bytes:
// Measured: `1293`
// Estimated: `18075`
// Minimum execution time: 62_527 nanoseconds.
Weight::from_ref_time(63_452_000)
.saturating_add(Weight::from_proof_size(18075))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}