rococo: update weights (#5242)

This commit is contained in:
Mara Robin B
2022-04-06 10:15:11 +02:00
committed by GitHub
parent 4ca9691dcf
commit d50b5bdb06
22 changed files with 363 additions and 373 deletions
@@ -16,11 +16,11 @@
//! Autogenerated weights for `runtime_parachains::hrmp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-12, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-04-03, 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
// ./target/production/polkadot
// benchmark
// --chain=rococo-dev
// --steps=50
@@ -53,7 +53,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_init_open_channel() -> Weight {
(30_758_000 as Weight)
(30_377_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -65,7 +65,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_accept_open_channel() -> Weight {
(27_488_000 as Weight)
(28_532_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -76,7 +76,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
fn hrmp_close_channel() -> Weight {
(25_726_000 as Weight)
(26_501_000 as Weight)
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -88,10 +88,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 15_000
.saturating_add((8_723_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 15_000
.saturating_add((8_776_000 as Weight).saturating_mul(e as Weight))
// Standard Error: 16_000
.saturating_add((8_721_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 16_000
.saturating_add((8_813_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(i as Weight)))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(e as Weight)))
@@ -110,8 +110,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpChannels (r:0 w:2)
fn force_process_hrmp_open(c: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 26_000
.saturating_add((20_640_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 23_000
.saturating_add((20_826_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((7 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -125,8 +125,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
fn force_process_hrmp_close(c: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 14_000
.saturating_add((11_456_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 12_000
.saturating_add((11_457_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -136,9 +136,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
(20_720_000 as Weight)
(21_054_000 as Weight)
// Standard Error: 0
.saturating_add((51_000 as Weight).saturating_mul(c as Weight))
.saturating_add((53_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -146,8 +146,8 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
fn clean_open_channel_requests(c: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 6_000
.saturating_add((3_556_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 4_000
.saturating_add((3_520_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))