mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +00:00
update weights (sync with 0.9.42) (#7149)
* polkadot: update weights * westend: update weights * kusama: update weights * rococo: update weights
This commit is contained in:
@@ -13,12 +13,13 @@
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Autogenerated weights for `pallet_child_bounties`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-04-28, 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`
|
||||
//! HOSTNAME: `bm6`, 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:
|
||||
@@ -38,9 +39,10 @@
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_child_bounties`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
@@ -60,13 +62,13 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `646`
|
||||
// Estimated: `14808`
|
||||
// Minimum execution time: 50_138_000 picoseconds.
|
||||
Weight::from_parts(51_829_783, 0)
|
||||
.saturating_add(Weight::from_parts(0, 14808))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_parts(705, 0).saturating_mul(d.into()))
|
||||
// Measured: `545`
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 65_558_000 picoseconds.
|
||||
Weight::from_parts(66_669_372, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6196))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_parts(710, 0).saturating_mul(d.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -78,11 +80,11 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
fn propose_curator() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `700`
|
||||
// Estimated: `10745`
|
||||
// Minimum execution time: 17_630_000 picoseconds.
|
||||
Weight::from_parts(18_089_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10745))
|
||||
// Measured: `599`
|
||||
// Estimated: `3642`
|
||||
// Minimum execution time: 17_853_000 picoseconds.
|
||||
Weight::from_parts(18_343_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3642))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -94,11 +96,11 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn accept_curator() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `846`
|
||||
// Estimated: `10845`
|
||||
// Minimum execution time: 30_082_000 picoseconds.
|
||||
Weight::from_parts(30_536_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10845))
|
||||
// Measured: `745`
|
||||
// Estimated: `3642`
|
||||
// Minimum execution time: 31_791_000 picoseconds.
|
||||
Weight::from_parts(32_371_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3642))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -110,11 +112,11 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn unassign_curator() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `846`
|
||||
// Estimated: `10845`
|
||||
// Minimum execution time: 42_561_000 picoseconds.
|
||||
Weight::from_parts(43_263_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10845))
|
||||
// Measured: `745`
|
||||
// Estimated: `3642`
|
||||
// Minimum execution time: 45_667_000 picoseconds.
|
||||
Weight::from_parts(46_549_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3642))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -124,11 +126,11 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
fn award_child_bounty() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `743`
|
||||
// Estimated: `7252`
|
||||
// Minimum execution time: 21_717_000 picoseconds.
|
||||
Weight::from_parts(22_164_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7252))
|
||||
// Measured: `642`
|
||||
// Estimated: `3642`
|
||||
// Minimum execution time: 21_792_000 picoseconds.
|
||||
Weight::from_parts(22_192_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3642))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -142,11 +144,11 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `682`
|
||||
// Estimated: `15890`
|
||||
// Minimum execution time: 72_569_000 picoseconds.
|
||||
Weight::from_parts(74_474_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 15890))
|
||||
// Measured: `614`
|
||||
// Estimated: `8799`
|
||||
// Minimum execution time: 105_215_000 picoseconds.
|
||||
Weight::from_parts(106_028_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8799))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -164,11 +166,11 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `946`
|
||||
// Estimated: `20422`
|
||||
// Minimum execution time: 51_947_000 picoseconds.
|
||||
Weight::from_parts(52_480_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 20422))
|
||||
// Measured: `845`
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 71_488_000 picoseconds.
|
||||
Weight::from_parts(72_349_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6196))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -186,11 +188,11 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1133`
|
||||
// Estimated: `23025`
|
||||
// Minimum execution time: 63_618_000 picoseconds.
|
||||
Weight::from_parts(64_227_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 23025))
|
||||
// Measured: `1032`
|
||||
// Estimated: `8799`
|
||||
// Minimum execution time: 87_364_000 picoseconds.
|
||||
Weight::from_parts(88_086_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8799))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user