[WIP] Update weights in prep for v0.8.27 (#2097)

* Update weights for polkadot

* add Kusama weights

* add westend weights

* remove claims weight files

claims still uses in-line weights which is fine cause it is a polkadot specific pallet

Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Martin Pugh
2020-12-10 10:13:40 +01:00
committed by GitHub
parent 0e885a3a71
commit 418f38c335
44 changed files with 1293 additions and 931 deletions
@@ -13,16 +13,16 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Weights for pallet_proxy
//! Autogenerated weights for pallet_proxy
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! DATE: 2020-12-09, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
// Executed Command:
// ./target/release/polkadot
// target/release/polkadot
// benchmark
// --chain
// kusama-dev
// --chain=kusama-dev
// --steps=50
// --repeat=20
// --pallet=pallet_proxy
@@ -30,8 +30,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header
// ./file_header.txt
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/
@@ -45,66 +44,80 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight {
(30_797_000 as Weight)
.saturating_add((182_000 as Weight).saturating_mul(p as Weight))
(30_904_000 as Weight)
// Standard Error: 1_000
.saturating_add((196_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
fn proxy_announced(a: u32, p: u32, ) -> Weight {
(65_387_000 as Weight)
.saturating_add((849_000 as Weight).saturating_mul(a as Weight))
.saturating_add((183_000 as Weight).saturating_mul(p as Weight))
(65_146_000 as Weight)
// Standard Error: 1_000
.saturating_add((825_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((185_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))
}
fn remove_announcement(a: u32, p: u32, ) -> Weight {
(41_839_000 as Weight)
.saturating_add((832_000 as Weight).saturating_mul(a as Weight))
.saturating_add((7_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn reject_announcement(a: u32, p: u32, ) -> Weight {
(41_701_000 as Weight)
.saturating_add((835_000 as Weight).saturating_mul(a as Weight))
(41_395_000 as Weight)
// Standard Error: 1_000
.saturating_add((818_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((11_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn reject_announcement(a: u32, p: u32, ) -> Weight {
(41_431_000 as Weight)
// Standard Error: 1_000
.saturating_add((820_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((13_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn announce(a: u32, p: u32, ) -> Weight {
(66_233_000 as Weight)
.saturating_add((741_000 as Weight).saturating_mul(a as Weight))
.saturating_add((194_000 as Weight).saturating_mul(p as Weight))
(65_751_000 as Weight)
// Standard Error: 1_000
.saturating_add((703_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 1_000
.saturating_add((186_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))
}
fn add_proxy(p: u32, ) -> Weight {
(45_088_000 as Weight)
.saturating_add((194_000 as Weight).saturating_mul(p as Weight))
(44_708_000 as Weight)
// Standard Error: 1_000
.saturating_add((196_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))
}
fn remove_proxy(p: u32, ) -> Weight {
(40_241_000 as Weight)
.saturating_add((226_000 as Weight).saturating_mul(p as Weight))
(40_043_000 as Weight)
// Standard Error: 1_000
.saturating_add((235_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))
}
fn remove_proxies(p: u32, ) -> Weight {
(38_268_000 as Weight)
.saturating_add((183_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))
}
fn anonymous(p: u32, ) -> Weight {
(63_718_000 as Weight)
.saturating_add((29_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))
}
fn kill_anonymous(p: u32, ) -> Weight {
(40_839_000 as Weight)
(38_286_000 as Weight)
// Standard Error: 1_000
.saturating_add((189_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))
}
fn anonymous(p: u32, ) -> Weight {
(63_581_000 as Weight)
// Standard Error: 1_000
.saturating_add((25_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))
}
fn kill_anonymous(p: u32, ) -> Weight {
(41_113_000 as Weight)
// Standard Error: 1_000
.saturating_add((187_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))
}
}