mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01: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,10 +13,11 @@
|
||||
|
||||
// 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-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: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
|
||||
@@ -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: 40_035_000 picoseconds.
|
||||
Weight::from_parts(40_864_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_186_000 picoseconds.
|
||||
Weight::from_parts(50_953_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: `336`
|
||||
// Estimated: `21632`
|
||||
// Minimum execution time: 109_869_000 picoseconds.
|
||||
Weight::from_parts(112_585_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 21632))
|
||||
// Measured: `424`
|
||||
// Estimated: `3889`
|
||||
// Minimum execution time: 126_783_000 picoseconds.
|
||||
Weight::from_parts(128_474_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3889))
|
||||
.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: `690`
|
||||
// Estimated: `16007`
|
||||
// Minimum execution time: 56_448_000 picoseconds.
|
||||
Weight::from_parts(57_679_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 16007))
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 71_770_000 picoseconds.
|
||||
Weight::from_parts(72_830_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, 500]`.
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `173 + k * (188 ±0)`
|
||||
// Estimated: `194 + k * (189 ±0)`
|
||||
// Minimum execution time: 40_060_000 picoseconds.
|
||||
Weight::from_parts(54_541_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 194))
|
||||
// Standard Error: 10_543
|
||||
.saturating_add(Weight::from_parts(21_926_735, 0).saturating_mul(k.into()))
|
||||
// Measured: `176 + k * (188 ±0)`
|
||||
// Estimated: `201 + k * (189 ±0)`
|
||||
// Minimum execution time: 44_129_000 picoseconds.
|
||||
Weight::from_parts(56_760_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 201))
|
||||
// Standard Error: 14_618
|
||||
.saturating_add(Weight::from_parts(37_925_781, 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: 29_891_000 picoseconds.
|
||||
Weight::from_parts(30_447_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: 41_038_000 picoseconds.
|
||||
Weight::from_parts(42_119_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_393_000 picoseconds.
|
||||
Weight::from_parts(19_004_000, 0)
|
||||
// Minimum execution time: 17_868_000 picoseconds.
|
||||
Weight::from_parts(18_548_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_423_000 picoseconds.
|
||||
Weight::from_parts(25_924_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7754))
|
||||
// Estimated: `3877`
|
||||
// Minimum execution time: 25_281_000 picoseconds.
|
||||
Weight::from_parts(25_785_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: 17_399_000 picoseconds.
|
||||
Weight::from_parts(18_040_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5428))
|
||||
// Estimated: `3704`
|
||||
// Minimum execution time: 17_979_000 picoseconds.
|
||||
Weight::from_parts(18_255_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: `91 + n * (356 ±0)`
|
||||
// Estimated: `16722 + n * (14348 ±0)`
|
||||
// Minimum execution time: 109_715_000 picoseconds.
|
||||
Weight::from_parts(110_192_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 16722))
|
||||
// Standard Error: 47_032
|
||||
.saturating_add(Weight::from_parts(48_388_752, 0).saturating_mul(n.into()))
|
||||
// Estimated: `5385 + n * (2832 ±0)`
|
||||
// Minimum execution time: 127_851_000 picoseconds.
|
||||
Weight::from_parts(128_776_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5385))
|
||||
// Standard Error: 58_175
|
||||
.saturating_add(Weight::from_parts(60_241_182, 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