[Backport] weights from 9420 (#2562)

* [benchmarks] Update weights for collectives (#2532)

* [benchmarks] pr with weights

* bump zombienet version (#2525)

* bump zombienet version

* fix para registration args

---------

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

* [benchmarks] Update weights for bridge-hubs (#2533)

* [benchmarks] pr with weights

* bump zombienet version (#2525)

* bump zombienet version

* fix para registration args

---------

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

* [benchmarks] Update weights for statemine/t (#2535)

* [benchmarks] pr with weights

* bump zombienet version (#2525)

* bump zombienet version

* fix para registration args

---------

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

---------

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
Egor_P
2023-05-11 08:22:19 +02:00
committed by GitHub
parent 859604a8d1
commit 94d56a7e85
91 changed files with 3691 additions and 3426 deletions
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_uniques`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-05-05, 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
@@ -40,9 +40,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions for `pallet_uniques`.
pub struct WeightInfo<T>(PhantomData<T>);
@@ -55,8 +56,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `145`
// Estimated: `3643`
// Minimum execution time: 26_855_000 picoseconds.
Weight::from_parts(27_393_000, 0)
// Minimum execution time: 29_873_000 picoseconds.
Weight::from_parts(30_382_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -69,8 +70,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3643`
// Minimum execution time: 15_006_000 picoseconds.
Weight::from_parts(15_389_000, 0)
// Minimum execution time: 14_338_000 picoseconds.
Weight::from_parts(14_710_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -96,17 +97,17 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 1000]`.
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `257 + n * (76 ±0) + m * (56 ±0) + a * (107 ±0)`
// Estimated: `9210 + a * (2647 ±0) + n * (2597 ±0) + m * (2662 ±0)`
// Minimum execution time: 2_360_211_000 picoseconds.
Weight::from_parts(2_383_759_000, 0)
.saturating_add(Weight::from_parts(0, 9210))
// Standard Error: 24_849
.saturating_add(Weight::from_parts(6_304_424, 0).saturating_mul(n.into()))
// Standard Error: 24_849
.saturating_add(Weight::from_parts(253_862, 0).saturating_mul(m.into()))
// Standard Error: 24_849
.saturating_add(Weight::from_parts(324_295, 0).saturating_mul(a.into()))
// Measured: `257 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
// Estimated: `3643 + a * (2647 ±0) + m * (2662 ±0) + n * (2597 ±0)`
// Minimum execution time: 2_398_014_000 picoseconds.
Weight::from_parts(2_410_569_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
// Standard Error: 24_769
.saturating_add(Weight::from_parts(6_309_077, 0).saturating_mul(n.into()))
// Standard Error: 24_769
.saturating_add(Weight::from_parts(257_995, 0).saturating_mul(m.into()))
// Standard Error: 24_769
.saturating_add(Weight::from_parts(317_885, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
@@ -116,8 +117,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
}
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
@@ -130,10 +131,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn mint() -> Weight {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `10719`
// Minimum execution time: 33_245_000 picoseconds.
Weight::from_parts(33_516_000, 0)
.saturating_add(Weight::from_parts(0, 10719))
// Estimated: `3643`
// Minimum execution time: 36_084_000 picoseconds.
Weight::from_parts(36_377_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -148,10 +149,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn burn() -> Weight {
// Proof Size summary in bytes:
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 34_237_000 picoseconds.
Weight::from_parts(34_725_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
// Estimated: `3643`
// Minimum execution time: 37_397_000 picoseconds.
Weight::from_parts(37_763_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -166,10 +167,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 27_588_000 picoseconds.
Weight::from_parts(27_994_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
// Estimated: `3643`
// Minimum execution time: 27_423_000 picoseconds.
Weight::from_parts(27_666_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -181,12 +182,12 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn redeposit(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `738 + i * (76 ±0)`
// Estimated: `4633 + i * (2597 ±0)`
// Minimum execution time: 15_958_000 picoseconds.
Weight::from_parts(16_175_000, 0)
.saturating_add(Weight::from_parts(0, 4633))
// Standard Error: 12_904
.saturating_add(Weight::from_parts(13_261_405, 0).saturating_mul(i.into()))
// Estimated: `3643 + i * (2597 ±0)`
// Minimum execution time: 15_215_000 picoseconds.
Weight::from_parts(15_450_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
// Standard Error: 12_841
.saturating_add(Weight::from_parts(15_164_179, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -200,10 +201,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn freeze() -> Weight {
// Proof Size summary in bytes:
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 19_124_000 picoseconds.
Weight::from_parts(19_432_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
// Estimated: `3643`
// Minimum execution time: 19_169_000 picoseconds.
Weight::from_parts(19_541_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -214,10 +215,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn thaw() -> Weight {
// Proof Size summary in bytes:
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 19_725_000 picoseconds.
Weight::from_parts(19_903_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
// Estimated: `3643`
// Minimum execution time: 18_941_000 picoseconds.
Weight::from_parts(19_336_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -227,8 +228,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 15_091_000 picoseconds.
Weight::from_parts(15_405_000, 0)
// Minimum execution time: 14_356_000 picoseconds.
Weight::from_parts(14_650_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -239,8 +240,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 14_440_000 picoseconds.
Weight::from_parts(14_836_000, 0)
// Minimum execution time: 14_303_000 picoseconds.
Weight::from_parts(14_504_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -254,10 +255,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn transfer_ownership() -> Weight {
// Proof Size summary in bytes:
// Measured: `356`
// Estimated: `7160`
// Minimum execution time: 22_729_000 picoseconds.
Weight::from_parts(23_039_000, 0)
.saturating_add(Weight::from_parts(0, 7160))
// Estimated: `3643`
// Minimum execution time: 22_663_000 picoseconds.
Weight::from_parts(23_053_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -267,8 +268,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 15_506_000 picoseconds.
Weight::from_parts(15_864_000, 0)
// Minimum execution time: 15_198_000 picoseconds.
Weight::from_parts(15_645_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -281,8 +282,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 18_244_000 picoseconds.
Weight::from_parts(18_591_000, 0)
// Minimum execution time: 17_381_000 picoseconds.
Weight::from_parts(17_588_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -296,10 +297,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `559`
// Estimated: `10932`
// Minimum execution time: 37_528_000 picoseconds.
Weight::from_parts(38_282_000, 0)
.saturating_add(Weight::from_parts(0, 10932))
// Estimated: `3652`
// Minimum execution time: 39_838_000 picoseconds.
Weight::from_parts(40_387_000, 0)
.saturating_add(Weight::from_parts(0, 3652))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -312,10 +313,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn clear_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `756`
// Estimated: `10932`
// Minimum execution time: 36_654_000 picoseconds.
Weight::from_parts(36_947_000, 0)
.saturating_add(Weight::from_parts(0, 10932))
// Estimated: `3652`
// Minimum execution time: 38_600_000 picoseconds.
Weight::from_parts(39_215_000, 0)
.saturating_add(Weight::from_parts(0, 3652))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -326,10 +327,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn set_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `348`
// Estimated: `7295`
// Minimum execution time: 29_703_000 picoseconds.
Weight::from_parts(30_032_000, 0)
.saturating_add(Weight::from_parts(0, 7295))
// Estimated: `3652`
// Minimum execution time: 31_563_000 picoseconds.
Weight::from_parts(32_111_000, 0)
.saturating_add(Weight::from_parts(0, 3652))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -340,10 +341,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn clear_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `559`
// Estimated: `7295`
// Minimum execution time: 29_941_000 picoseconds.
Weight::from_parts(30_222_000, 0)
.saturating_add(Weight::from_parts(0, 7295))
// Estimated: `3652`
// Minimum execution time: 31_525_000 picoseconds.
Weight::from_parts(31_904_000, 0)
.saturating_add(Weight::from_parts(0, 3652))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -354,10 +355,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn set_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `7275`
// Minimum execution time: 28_466_000 picoseconds.
Weight::from_parts(29_037_000, 0)
.saturating_add(Weight::from_parts(0, 7275))
// Estimated: `3643`
// Minimum execution time: 32_104_000 picoseconds.
Weight::from_parts(32_429_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -368,10 +369,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn clear_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `7275`
// Minimum execution time: 27_072_000 picoseconds.
Weight::from_parts(27_514_000, 0)
.saturating_add(Weight::from_parts(0, 7275))
// Estimated: `3643`
// Minimum execution time: 30_433_000 picoseconds.
Weight::from_parts(30_662_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -382,10 +383,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn approve_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 20_791_000 picoseconds.
Weight::from_parts(21_072_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
// Estimated: `3643`
// Minimum execution time: 20_463_000 picoseconds.
Weight::from_parts(20_879_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -396,10 +397,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn cancel_approval() -> Weight {
// Proof Size summary in bytes:
// Measured: `461`
// Estimated: `7230`
// Minimum execution time: 20_467_000 picoseconds.
Weight::from_parts(20_842_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
// Estimated: `3643`
// Minimum execution time: 20_158_000 picoseconds.
Weight::from_parts(20_465_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -409,8 +410,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3517`
// Minimum execution time: 16_836_000 picoseconds.
Weight::from_parts(17_418_000, 0)
// Minimum execution time: 16_009_000 picoseconds.
Weight::from_parts(16_396_000, 0)
.saturating_add(Weight::from_parts(0, 3517))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -422,10 +423,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn set_collection_max_supply() -> Weight {
// Proof Size summary in bytes:
// Measured: `282`
// Estimated: `7132`
// Minimum execution time: 17_721_000 picoseconds.
Weight::from_parts(18_109_000, 0)
.saturating_add(Weight::from_parts(0, 7132))
// Estimated: `3643`
// Minimum execution time: 17_034_000 picoseconds.
Weight::from_parts(17_286_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -437,8 +438,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `259`
// Estimated: `3587`
// Minimum execution time: 17_599_000 picoseconds.
Weight::from_parts(17_802_000, 0)
// Minimum execution time: 17_020_000 picoseconds.
Weight::from_parts(17_318_000, 0)
.saturating_add(Weight::from_parts(0, 3587))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -454,10 +455,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn buy_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `540`
// Estimated: `10784`
// Minimum execution time: 38_642_000 picoseconds.
Weight::from_parts(39_168_000, 0)
.saturating_add(Weight::from_parts(0, 10784))
// Estimated: `3643`
// Minimum execution time: 37_771_000 picoseconds.
Weight::from_parts(38_708_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}