[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("statemint-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_405 nanoseconds.
Weight::from_parts(15_511_983, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 2_104
.saturating_add(Weight::from_parts(19_450, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 17_484_000 picoseconds.
Weight::from_parts(17_998_669, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_091
.saturating_add(Weight::from_parts(33_441, 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: 31_545 nanoseconds.
Weight::from_parts(31_928_375, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 2_022
.saturating_add(Weight::from_parts(114_479, 0).saturating_mul(a.into()))
// Standard Error: 2_089
.saturating_add(Weight::from_parts(34_696, 0).saturating_mul(p.into()))
// Measured: `454 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 35_828_000 picoseconds.
Weight::from_parts(36_241_110, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 2_219
.saturating_add(Weight::from_parts(156_309, 0).saturating_mul(a.into()))
// Standard Error: 2_292
.saturating_add(Weight::from_parts(32_167, 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_215 nanoseconds.
Weight::from_parts(20_970_496, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_277
.saturating_add(Weight::from_parts(111_015, 0).saturating_mul(a.into()))
// Standard Error: 1_320
.saturating_add(Weight::from_parts(9_988, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 22_512_000 picoseconds.
Weight::from_parts(23_254_777, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 1_318
.saturating_add(Weight::from_parts(148_302, 0).saturating_mul(a.into()))
// Standard Error: 1_362
.saturating_add(Weight::from_parts(13_945, 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_153 nanoseconds.
Weight::from_parts(21_046_064, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_342
.saturating_add(Weight::from_parts(108_638, 0).saturating_mul(a.into()))
// Standard Error: 1_386
.saturating_add(Weight::from_parts(10_617, 0).saturating_mul(p.into()))
// Measured: `369 + a * (68 ±0)`
// Estimated: `9291`
// Minimum execution time: 22_528_000 picoseconds.
Weight::from_parts(23_510_728, 0)
.saturating_add(Weight::from_parts(0, 9291))
// Standard Error: 1_393
.saturating_add(Weight::from_parts(143_817, 0).saturating_mul(a.into()))
// Standard Error: 1_439
.saturating_add(Weight::from_parts(9_334, 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_692 nanoseconds.
Weight::from_parts(28_900_223, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_751
.saturating_add(Weight::from_parts(100_648, 0).saturating_mul(a.into()))
// Standard Error: 1_809
.saturating_add(Weight::from_parts(35_769, 0).saturating_mul(p.into()))
// Measured: `386 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `13997`
// Minimum execution time: 31_233_000 picoseconds.
Weight::from_parts(32_142_917, 0)
.saturating_add(Weight::from_parts(0, 13997))
// Standard Error: 1_888
.saturating_add(Weight::from_parts(142_949, 0).saturating_mul(a.into()))
// Standard Error: 1_951
.saturating_add(Weight::from_parts(46_737, 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: 20_726 nanoseconds.
Weight::from_parts(21_849_126, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_307
.saturating_add(Weight::from_parts(43_349, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 24_085_000 picoseconds.
Weight::from_parts(25_032_056, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_758
.saturating_add(Weight::from_parts(52_203, 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_681 nanoseconds.
Weight::from_parts(21_733_251, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_555
.saturating_add(Weight::from_parts(59_461, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_678_000 picoseconds.
Weight::from_parts(24_981_101, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_874
.saturating_add(Weight::from_parts(73_774, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -180,13 +180,13 @@ 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_966 nanoseconds.
Weight::from_parts(17_682_078, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_110
.saturating_add(Weight::from_parts(28_786, 0).saturating_mul(p.into()))
// Measured: `127 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 19_119_000 picoseconds.
Weight::from_parts(19_982_142, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_174
.saturating_add(Weight::from_parts(26_182, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -196,12 +196,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn create_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_237 nanoseconds.
Weight::from_parts(23_324_695, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_481
.saturating_add(Weight::from_parts(9_284, 0).saturating_mul(p.into()))
// Estimated: `4706`
// Minimum execution time: 26_077_000 picoseconds.
Weight::from_parts(27_130_205, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_539
.saturating_add(Weight::from_parts(1_625, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -210,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: 18_041 nanoseconds.
Weight::from_parts(18_668_925, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_209
.saturating_add(Weight::from_parts(29_794, 0).saturating_mul(p.into()))
// Measured: `164 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 20_178_000 picoseconds.
Weight::from_parts(21_090_914, 0)
.saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 1_488
.saturating_add(Weight::from_parts(36_285, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}