update weights (#5704)

* westend: update weights

* kusama: update weights

* polkadot: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2022-06-21 12:58:01 +02:00
committed by GitHub
parent 5c2da4e4d8
commit 8ef2b701c1
127 changed files with 2614 additions and 1951 deletions
@@ -16,7 +16,8 @@
//! Autogenerated weights for `runtime_common::crowdloan`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-06-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
// Executed Command:
@@ -30,7 +31,6 @@
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/westend/src/weights/runtime_common_crowdloan.rs
@@ -49,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 {
(44_511_000 as Weight)
(41_935_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -61,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 {
(116_953_000 as Weight)
(110_841_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -69,15 +69,16 @@ 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 {
(53_096_000 as Weight)
(50_027_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)
/// The range of component `k` is `[0, 500]`.
fn refund(k: u32, ) -> Weight {
(14_771_000 as Weight)
// Standard Error: 12_000
.saturating_add((18_868_000 as Weight).saturating_mul(k as Weight))
(0 as Weight)
// Standard Error: 13_000
.saturating_add((18_916_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))
@@ -86,27 +87,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_086_000 as Weight)
(31_833_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_175_000 as Weight)
(21_680_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 {
(27_672_000 as Weight)
(26_914_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 {
(21_716_000 as Weight)
(22_808_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -120,10 +121,11 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
// Storage: Auctions Winning (r:1 w:1)
// Storage: Auctions ReservedAmounts (r:2 w:2)
// Storage: System Account (r:2 w:2)
/// The range of component `n` is `[2, 100]`.
fn on_initialize(n: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 20_000
.saturating_add((51_687_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 23_000
.saturating_add((49_926_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))