mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 13:48:00 +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 `runtime_common::crowdloan`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-16, 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: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! HOSTNAME: `bm4`, 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:
|
||||
@@ -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 `runtime_common::crowdloan`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
@@ -53,15 +55,17 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Crowdloan NextFundIndex (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn create() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `386`
|
||||
// Estimated: `13424`
|
||||
// Minimum execution time: 39_858_000 picoseconds.
|
||||
Weight::from_parts(40_865_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13424))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
// Measured: `438`
|
||||
// Estimated: `3903`
|
||||
// Minimum execution time: 49_887_000 picoseconds.
|
||||
Weight::from_parts(50_567_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3903))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -81,11 +85,11 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
/// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
|
||||
fn contribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `442`
|
||||
// Estimated: `22162`
|
||||
// Minimum execution time: 111_819_000 picoseconds.
|
||||
Weight::from_parts(113_743_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 22162))
|
||||
// Measured: `530`
|
||||
// Estimated: `3995`
|
||||
// Minimum execution time: 123_762_000 picoseconds.
|
||||
Weight::from_parts(125_989_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3995))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -100,10 +104,10 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
fn withdraw() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `689`
|
||||
// Estimated: `16005`
|
||||
// Minimum execution time: 56_947_000 picoseconds.
|
||||
Weight::from_parts(57_907_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 16005))
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 69_524_000 picoseconds.
|
||||
Weight::from_parts(70_532_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6196))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -112,13 +116,13 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
/// The range of component `k` is `[0, 1000]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `126 + k * (189 ±0)`
|
||||
// Estimated: `133 + k * (189 ±0)`
|
||||
// Minimum execution time: 41_762_000 picoseconds.
|
||||
Weight::from_parts(56_829_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 133))
|
||||
// Standard Error: 12_926
|
||||
.saturating_add(Weight::from_parts(22_800_725, 0).saturating_mul(k.into()))
|
||||
// Measured: `127 + k * (189 ±0)`
|
||||
// Estimated: `140 + k * (189 ±0)`
|
||||
// Minimum execution time: 41_359_000 picoseconds.
|
||||
Weight::from_parts(44_543_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 140))
|
||||
// Standard Error: 19_477
|
||||
.saturating_add(Weight::from_parts(38_206_846, 0).saturating_mul(k.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
@@ -127,17 +131,17 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
}
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn dissolve() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `375`
|
||||
// Estimated: `7433`
|
||||
// Minimum execution time: 31_961_000 picoseconds.
|
||||
Weight::from_parts(32_603_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7433))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
// Measured: `515`
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 42_493_000 picoseconds.
|
||||
Weight::from_parts(43_503_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6196))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
/// Storage: Crowdloan Funds (r:1 w:1)
|
||||
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -145,8 +149,8 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `235`
|
||||
// Estimated: `3700`
|
||||
// Minimum execution time: 18_130_000 picoseconds.
|
||||
Weight::from_parts(18_785_000, 0)
|
||||
// Minimum execution time: 18_834_000 picoseconds.
|
||||
Weight::from_parts(19_651_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3700))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -158,10 +162,10 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
fn add_memo() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `412`
|
||||
// Estimated: `7754`
|
||||
// Minimum execution time: 25_730_000 picoseconds.
|
||||
Weight::from_parts(26_469_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7754))
|
||||
// Estimated: `3877`
|
||||
// Minimum execution time: 25_595_000 picoseconds.
|
||||
Weight::from_parts(26_434_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3877))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -172,10 +176,10 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
fn poke() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `239`
|
||||
// Estimated: `5428`
|
||||
// Minimum execution time: 18_419_000 picoseconds.
|
||||
Weight::from_parts(18_959_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5428))
|
||||
// Estimated: `3704`
|
||||
// Minimum execution time: 18_561_000 picoseconds.
|
||||
Weight::from_parts(19_191_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3704))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -203,16 +207,16 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `197 + n * (356 ±0)`
|
||||
// Estimated: `17252 + n * (14348 ±0)`
|
||||
// Minimum execution time: 114_684_000 picoseconds.
|
||||
Weight::from_parts(116_266_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 17252))
|
||||
// Standard Error: 49_215
|
||||
.saturating_add(Weight::from_parts(50_041_529, 0).saturating_mul(n.into()))
|
||||
// Estimated: `5385 + n * (2832 ±0)`
|
||||
// Minimum execution time: 128_619_000 picoseconds.
|
||||
Weight::from_parts(129_823_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5385))
|
||||
// Standard Error: 60_203
|
||||
.saturating_add(Weight::from_parts(59_500_580, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
|
||||
.saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2832).saturating_mul(n.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user