update weights (#5361)

* polkadot: update weights

* kusama: update weights

* rococo: update weights

* westend: update weights
This commit is contained in:
Mara Robin B
2022-04-22 11:26:19 +02:00
committed by GitHub
parent 42cbfba5d3
commit bb3cc7b041
128 changed files with 2150 additions and 1954 deletions
@@ -16,12 +16,13 @@
//! Autogenerated weights for `runtime_common::crowdloan`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-04-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-04-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
// --chain=rococo-dev
// --steps=50
// --repeat=20
@@ -48,7 +49,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Crowdloan NextFundIndex (r:1 w:1)
fn create() -> Weight {
(42_108_000 as Weight)
(44_739_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -60,7 +61,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn contribute() -> Weight {
(115_789_000 as Weight)
(118_993_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -68,15 +69,15 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: System Account (r:2 w:2)
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
fn withdraw() -> Weight {
(49_405_000 as Weight)
(53_176_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn refund(k: u32, ) -> Weight {
(25_901_000 as Weight)
// Standard Error: 11_000
.saturating_add((17_576_000 as Weight).saturating_mul(k as Weight))
(19_924_000 as Weight)
// Standard Error: 12_000
.saturating_add((18_324_000 as Weight).saturating_mul(k as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(k as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
@@ -85,27 +86,27 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn dissolve() -> Weight {
(33_481_000 as Weight)
(34_361_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Crowdloan Funds (r:1 w:1)
fn edit() -> Weight {
(22_405_000 as Weight)
(22_273_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
fn add_memo() -> Weight {
(28_861_000 as Weight)
(28_909_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
fn poke() -> Weight {
(22_554_000 as Weight)
(22_459_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -121,8 +122,8 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: System Account (r:2 w:2)
fn on_initialize(n: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 23_000
.saturating_add((47_619_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 19_000
.saturating_add((51_189_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(3 as Weight))