[backport] weights 9400 (#2425)

* [benchmarks] pr with weights (#2373)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2374)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2375)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* Proof size in test wasn't sufficient

(due to updated weights.)

---------

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Giles Cope <gilescope@gmail.com>
This commit is contained in:
Egor_P
2023-04-04 16:00:05 +02:00
committed by GitHub
parent 53c6b8d71a
commit 5ed3677723
90 changed files with 4416 additions and 4425 deletions
@@ -1,4 +1,4 @@
// Copyright 2021 Parity Technologies (UK) Ltd.
// Copyright Parity Technologies (UK) Ltd.
// This file is part of Cumulus.
// Cumulus is free software: you can redistribute it and/or modify
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
@@ -52,13 +52,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 14_854 nanoseconds.
Weight::from_parts(15_600_203, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_181
.saturating_add(Weight::from_parts(28_891, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 16_562_000 picoseconds.
Weight::from_parts(17_305_360, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_081
.saturating_add(Weight::from_parts(37_267, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: Proxy Proxies (r:1 w:0)
@@ -71,15 +71,15 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 32_063 nanoseconds.
Weight::from_parts(32_624_200, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_727
.saturating_add(Weight::from_parts(113_689, 0).saturating_mul(a.into()))
// Standard Error: 1_785
.saturating_add(Weight::from_parts(29_618, 0).saturating_mul(p.into()))
// Measured: `454 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 35_181_000 picoseconds.
Weight::from_parts(34_864_956, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 5_023
.saturating_add(Weight::from_parts(158_916, 0).saturating_mul(a.into()))
// Standard Error: 5_189
.saturating_add(Weight::from_parts(60_136, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -91,15 +91,15 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_449 nanoseconds.
Weight::from_parts(21_345_957, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_390
.saturating_add(Weight::from_parts(105_313, 0).saturating_mul(a.into()))
// Standard Error: 1_436
.saturating_add(Weight::from_parts(9_437, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 21_758_000 picoseconds.
Weight::from_parts(23_149_882, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 1_877
.saturating_add(Weight::from_parts(145_269, 0).saturating_mul(a.into()))
// Standard Error: 1_940
.saturating_add(Weight::from_parts(5_129, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -111,15 +111,15 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_423 nanoseconds.
Weight::from_parts(21_290_701, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_398
.saturating_add(Weight::from_parts(110_034, 0).saturating_mul(a.into()))
// Standard Error: 1_444
.saturating_add(Weight::from_parts(9_968, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 22_076_000 picoseconds.
Weight::from_parts(22_959_374, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 1_377
.saturating_add(Weight::from_parts(146_462, 0).saturating_mul(a.into()))
// Standard Error: 1_423
.saturating_add(Weight::from_parts(11_551, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -133,15 +133,15 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 28_014 nanoseconds.
Weight::from_parts(28_864_371, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_933
.saturating_add(Weight::from_parts(109_536, 0).saturating_mul(a.into()))
// Standard Error: 1_998
.saturating_add(Weight::from_parts(43_779, 0).saturating_mul(p.into()))
// Measured: `386 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 30_751_000 picoseconds.
Weight::from_parts(31_929_484, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 2_087
.saturating_add(Weight::from_parts(147_703, 0).saturating_mul(a.into()))
// Standard Error: 2_156
.saturating_add(Weight::from_parts(27_798, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -150,13 +150,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 21_285 nanoseconds.
Weight::from_parts(22_065_300, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_703
.saturating_add(Weight::from_parts(42_186, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_700_000 picoseconds.
Weight::from_parts(24_509_575, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_699
.saturating_add(Weight::from_parts(51_275, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -165,13 +165,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_992 nanoseconds.
Weight::from_parts(22_026_633, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_663
.saturating_add(Weight::from_parts(60_910, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_289_000 picoseconds.
Weight::from_parts(24_453_360, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_690
.saturating_add(Weight::from_parts(62_718, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -180,26 +180,28 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 16_755 nanoseconds.
Weight::from_parts(17_775_492, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_281
.saturating_add(Weight::from_parts(28_738, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 18_877_000 picoseconds.
Weight::from_parts(19_780_042, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_171
.saturating_add(Weight::from_parts(20_282, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn create_pure(_p: u32, ) -> Weight {
fn create_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_598 nanoseconds.
Weight::from_parts(23_639_320, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Estimated: `4706`
// Minimum execution time: 25_354_000 picoseconds.
Weight::from_parts(26_362_285, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_459
.saturating_add(Weight::from_parts(1_330, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -208,13 +210,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_907 nanoseconds.
Weight::from_parts(18_737_185, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_069
.saturating_add(Weight::from_parts(26_491, 0).saturating_mul(p.into()))
// Measured: `164 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 20_057_000 picoseconds.
Weight::from_parts(20_844_608, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_336
.saturating_add(Weight::from_parts(27_855, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}