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,22 +16,22 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-10, 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
// --repeat=20
// --pallet=pallet-proxy
// --pallet=pallet_proxy
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/rococo/src/weights/
// --output=./runtime/rococo/src/weights/pallet_proxy.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -45,42 +45,38 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
fn proxy(p: u32, ) -> Weight {
(11_669_000 as Weight)
(12_966_000 as Weight)
// Standard Error: 1_000
.saturating_add((63_000 as Weight).saturating_mul(p as Weight))
.saturating_add((74_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn proxy_announced(a: u32, p: u32, ) -> Weight {
(25_299_000 as Weight)
(27_794_000 as Weight)
// Standard Error: 1_000
.saturating_add((134_000 as Weight).saturating_mul(a as Weight))
.saturating_add((196_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((49_000 as Weight).saturating_mul(p as Weight))
.saturating_add((59_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn remove_announcement(a: u32, p: u32, ) -> Weight {
(17_834_000 as Weight)
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
(19_453_000 as Weight)
// Standard Error: 1_000
.saturating_add((135_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((8_000 as Weight).saturating_mul(p as Weight))
.saturating_add((194_000 as Weight).saturating_mul(a as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_announcement(a: u32, p: u32, ) -> Weight {
(17_904_000 as Weight)
fn reject_announcement(a: u32, _p: u32, ) -> Weight {
(19_900_000 as Weight)
// Standard Error: 1_000
.saturating_add((132_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((4_000 as Weight).saturating_mul(p as Weight))
.saturating_add((192_000 as Weight).saturating_mul(a as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -88,52 +84,52 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn announce(a: u32, p: u32, ) -> Weight {
(23_983_000 as Weight)
(25_990_000 as Weight)
// Standard Error: 1_000
.saturating_add((131_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((47_000 as Weight).saturating_mul(p as Weight))
.saturating_add((197_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 2_000
.saturating_add((53_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Proxy Proxies (r:1 w:1)
fn add_proxy(p: u32, ) -> Weight {
(19_341_000 as Weight)
(20_900_000 as Weight)
// Standard Error: 2_000
.saturating_add((95_000 as Weight).saturating_mul(p as Weight))
.saturating_add((125_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Proxy Proxies (r:1 w:1)
fn remove_proxy(p: u32, ) -> Weight {
(16_665_000 as Weight)
// Standard Error: 1_000
.saturating_add((97_000 as Weight).saturating_mul(p as Weight))
(21_007_000 as Weight)
// Standard Error: 2_000
.saturating_add((134_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Proxy Proxies (r:1 w:1)
fn remove_proxies(p: u32, ) -> Weight {
(16_414_000 as Weight)
// Standard Error: 1_000
.saturating_add((71_000 as Weight).saturating_mul(p as Weight))
(17_465_000 as Weight)
// Standard Error: 2_000
.saturating_add((93_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
fn anonymous(p: u32, ) -> Weight {
(21_720_000 as Weight)
(23_526_000 as Weight)
// Standard Error: 1_000
.saturating_add((41_000 as Weight).saturating_mul(p as Weight))
.saturating_add((39_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Proxy Proxies (r:1 w:1)
fn kill_anonymous(p: u32, ) -> Weight {
(17_292_000 as Weight)
// Standard Error: 1_000
.saturating_add((66_000 as Weight).saturating_mul(p as Weight))
(18_643_000 as Weight)
// Standard Error: 2_000
.saturating_add((82_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}