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:
Mara Robin B
2023-05-02 15:12:47 +02:00
committed by GitHub
parent 0ae0393042
commit d50ff483f8
163 changed files with 7550 additions and 6818 deletions
@@ -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: `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 `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: `363`
// Estimated: `13332`
// Minimum execution time: 38_745_000 picoseconds.
Weight::from_parts(39_628_000, 0)
.saturating_add(Weight::from_parts(0, 13332))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
// Measured: `415`
// Estimated: `3880`
// Minimum execution time: 49_125_000 picoseconds.
Weight::from_parts(50_337_000, 0)
.saturating_add(Weight::from_parts(0, 3880))
.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: `375`
// Estimated: `21827`
// Minimum execution time: 116_800_000 picoseconds.
Weight::from_parts(118_160_000, 0)
.saturating_add(Weight::from_parts(0, 21827))
// Measured: `463`
// Estimated: `3928`
// Minimum execution time: 128_273_000 picoseconds.
Weight::from_parts(130_318_000, 0)
.saturating_add(Weight::from_parts(0, 3928))
.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_476_000 picoseconds.
Weight::from_parts(57_072_000, 0)
.saturating_add(Weight::from_parts(0, 16007))
// Estimated: `6196`
// Minimum execution time: 72_478_000 picoseconds.
Weight::from_parts(73_735_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: `127 + k * (189 ±0)`
// Estimated: `134 + k * (189 ±0)`
// Minimum execution time: 41_098_000 picoseconds.
Weight::from_parts(54_551_000, 0)
.saturating_add(Weight::from_parts(0, 134))
// Standard Error: 14_010
.saturating_add(Weight::from_parts(22_470_363, 0).saturating_mul(k.into()))
// Measured: `128 + k * (189 ±0)`
// Estimated: `141 + k * (189 ±0)`
// Minimum execution time: 40_559_000 picoseconds.
Weight::from_parts(55_414_000, 0)
.saturating_add(Weight::from_parts(0, 141))
// Standard Error: 19_957
.saturating_add(Weight::from_parts(38_704_934, 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_931_000 picoseconds.
Weight::from_parts(31_008_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: 40_738_000 picoseconds.
Weight::from_parts(41_642_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_038_000 picoseconds.
Weight::from_parts(18_767_000, 0)
// Minimum execution time: 17_930_000 picoseconds.
Weight::from_parts(18_801_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: 24_982_000 picoseconds.
Weight::from_parts(25_704_000, 0)
.saturating_add(Weight::from_parts(0, 7754))
// Estimated: `3877`
// Minimum execution time: 24_949_000 picoseconds.
Weight::from_parts(25_752_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_226_000 picoseconds.
Weight::from_parts(17_899_000, 0)
.saturating_add(Weight::from_parts(0, 5428))
// Estimated: `3704`
// Minimum execution time: 17_708_000 picoseconds.
Weight::from_parts(18_216_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: `130 + n * (356 ±0)`
// Estimated: `16917 + n * (14348 ±0)`
// Minimum execution time: 108_411_000 picoseconds.
Weight::from_parts(109_758_000, 0)
.saturating_add(Weight::from_parts(0, 16917))
// Standard Error: 51_868
.saturating_add(Weight::from_parts(48_608_412, 0).saturating_mul(n.into()))
// Estimated: `5385 + n * (2832 ±0)`
// Minimum execution time: 128_669_000 picoseconds.
Weight::from_parts(130_198_000, 0)
.saturating_add(Weight::from_parts(0, 5385))
// Standard Error: 58_196
.saturating_add(Weight::from_parts(59_962_432, 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()))
}
}