[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-22, 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("statemine-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: 15_168 nanoseconds.
Weight::from_parts(15_986_761, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 2_885
.saturating_add(Weight::from_parts(12_185, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 16_846_000 picoseconds.
Weight::from_parts(17_545_125, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_168
.saturating_add(Weight::from_parts(38_590, 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_310 nanoseconds.
Weight::from_parts(32_466_194, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_813
.saturating_add(Weight::from_parts(120_725, 0).saturating_mul(a.into()))
// Standard Error: 1_873
.saturating_add(Weight::from_parts(32_578, 0).saturating_mul(p.into()))
// Measured: `454 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 35_646_000 picoseconds.
Weight::from_parts(35_944_816, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 1_868
.saturating_add(Weight::from_parts(137_815, 0).saturating_mul(a.into()))
// Standard Error: 1_930
.saturating_add(Weight::from_parts(38_331, 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_363 nanoseconds.
Weight::from_parts(21_135_277, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_404
.saturating_add(Weight::from_parts(120_045, 0).saturating_mul(a.into()))
// Standard Error: 1_450
.saturating_add(Weight::from_parts(8_992, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 22_142_000 picoseconds.
Weight::from_parts(23_269_000, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 1_365
.saturating_add(Weight::from_parts(140_747, 0).saturating_mul(a.into()))
// Standard Error: 1_411
.saturating_add(Weight::from_parts(14_983, 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_086 nanoseconds.
Weight::from_parts(21_145_287, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_612
.saturating_add(Weight::from_parts(113_598, 0).saturating_mul(a.into()))
// Standard Error: 1_666
.saturating_add(Weight::from_parts(11_520, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 22_465_000 picoseconds.
Weight::from_parts(23_366_335, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 4_348
.saturating_add(Weight::from_parts(149_266, 0).saturating_mul(a.into()))
// Standard Error: 4_492
.saturating_add(Weight::from_parts(10_411, 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: 27_819 nanoseconds.
Weight::from_parts(28_662_588, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 2_297
.saturating_add(Weight::from_parts(128_485, 0).saturating_mul(a.into()))
// Standard Error: 2_373
.saturating_add(Weight::from_parts(47_044, 0).saturating_mul(p.into()))
// Measured: `386 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 31_086_000 picoseconds.
Weight::from_parts(32_252_234, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 2_039
.saturating_add(Weight::from_parts(131_541, 0).saturating_mul(a.into()))
// Standard Error: 2_107
.saturating_add(Weight::from_parts(41_085, 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_187 nanoseconds.
Weight::from_parts(22_430_290, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 6_530
.saturating_add(Weight::from_parts(43_133, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 24_040_000 picoseconds.
Weight::from_parts(24_914_869, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 2_025
.saturating_add(Weight::from_parts(47_844, 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_985 nanoseconds.
Weight::from_parts(21_852_273, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_662
.saturating_add(Weight::from_parts(66_644, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_495_000 picoseconds.
Weight::from_parts(24_788_899, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_911
.saturating_add(Weight::from_parts(68_917, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -180,41 +180,41 @@ 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_958 nanoseconds.
Weight::from_parts(17_752_361, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_173
.saturating_add(Weight::from_parts(25_691, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 19_269_000 picoseconds.
Weight::from_parts(20_040_655, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_327
.saturating_add(Weight::from_parts(24_180, 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: 23_055 nanoseconds.
Weight::from_parts(23_892_965, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_390
.saturating_add(Weight::from_parts(16_195, 0).saturating_mul(p.into()))
// Estimated: `4706`
// Minimum execution time: 25_926_000 picoseconds.
Weight::from_parts(26_963_808, 0)
.saturating_add(Weight::from_parts(0, 4706))
.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 `[0, 30]`.
fn kill_pure(_p: u32, ) -> Weight {
fn kill_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 18_344 nanoseconds.
Weight::from_parts(20_533_110, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Measured: `164 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 19_961_000 picoseconds.
Weight::from_parts(20_928_300, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_576
.saturating_add(Weight::from_parts(28_604, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}