[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 e225e54dc7
commit eaf6c45445
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,9 +17,9 @@
//! 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`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -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_443 nanoseconds.
Weight::from_parts(15_158_969, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_249
.saturating_add(Weight::from_parts(33_941, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 16_370_000 picoseconds.
Weight::from_parts(17_099_234, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_021
.saturating_add(Weight::from_parts(27_747, 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_060 nanoseconds.
Weight::from_parts(32_192_294, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_900
.saturating_add(Weight::from_parts(109_332, 0).saturating_mul(a.into()))
// Standard Error: 1_963
.saturating_add(Weight::from_parts(39_154, 0).saturating_mul(p.into()))
// Measured: `454 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 34_655_000 picoseconds.
Weight::from_parts(35_088_843, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 1_939
.saturating_add(Weight::from_parts(146_356, 0).saturating_mul(a.into()))
// Standard Error: 2_004
.saturating_add(Weight::from_parts(38_363, 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_084 nanoseconds.
Weight::from_parts(21_187_531, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_412
.saturating_add(Weight::from_parts(112_601, 0).saturating_mul(a.into()))
// Standard Error: 1_458
.saturating_add(Weight::from_parts(6_862, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 21_893_000 picoseconds.
Weight::from_parts(22_495_271, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 1_612
.saturating_add(Weight::from_parts(149_480, 0).saturating_mul(a.into()))
// Standard Error: 1_665
.saturating_add(Weight::from_parts(20_216, 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_658 nanoseconds.
Weight::from_parts(21_184_810, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_259
.saturating_add(Weight::from_parts(112_012, 0).saturating_mul(a.into()))
// Standard Error: 1_301
.saturating_add(Weight::from_parts(10_767, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 22_129_000 picoseconds.
Weight::from_parts(22_971_862, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 1_324
.saturating_add(Weight::from_parts(139_140, 0).saturating_mul(a.into()))
// Standard Error: 1_368
.saturating_add(Weight::from_parts(9_720, 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_670 nanoseconds.
Weight::from_parts(29_411_875, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_864
.saturating_add(Weight::from_parts(94_146, 0).saturating_mul(a.into()))
// Standard Error: 1_926
.saturating_add(Weight::from_parts(36_523, 0).saturating_mul(p.into()))
// Measured: `386 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 30_496_000 picoseconds.
Weight::from_parts(31_777_493, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 2_153
.saturating_add(Weight::from_parts(139_635, 0).saturating_mul(a.into()))
// Standard Error: 2_224
.saturating_add(Weight::from_parts(36_392, 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_273 nanoseconds.
Weight::from_parts(22_137_672, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_345
.saturating_add(Weight::from_parts(44_075, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_465_000 picoseconds.
Weight::from_parts(24_342_756, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_559
.saturating_add(Weight::from_parts(50_636, 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_888 nanoseconds.
Weight::from_parts(22_120_940, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_516
.saturating_add(Weight::from_parts(55_407, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_620_000 picoseconds.
Weight::from_parts(24_514_511, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_749
.saturating_add(Weight::from_parts(47_870, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -180,28 +180,26 @@ 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: 17_007 nanoseconds.
Weight::from_parts(17_746_585, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_201
.saturating_add(Weight::from_parts(22_307, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 18_506_000 picoseconds.
Weight::from_parts(19_463_396, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_241
.saturating_add(Weight::from_parts(25_525, 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_625 nanoseconds.
Weight::from_parts(23_598_172, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_668
.saturating_add(Weight::from_parts(113, 0).saturating_mul(p.into()))
// Estimated: `4706`
// Minimum execution time: 25_291_000 picoseconds.
Weight::from_parts(26_456_465, 0)
.saturating_add(Weight::from_parts(0, 4706))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -210,13 +208,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_969 nanoseconds.
Weight::from_parts(18_830_934, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_340
.saturating_add(Weight::from_parts(23_749, 0).saturating_mul(p.into()))
// Measured: `164 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 19_931_000 picoseconds.
Weight::from_parts(20_842_319, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_467
.saturating_add(Weight::from_parts(26_062, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}