[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_balances`
//!
//! 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:
@@ -51,11 +51,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_allow_death() -> Weight {
// Proof Size summary in bytes:
// Measured: `1176`
// Estimated: `2603`
// Minimum execution time: 45_207 nanoseconds.
Weight::from_parts(45_620_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 35_300_000 picoseconds.
Weight::from_parts(35_618_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -63,11 +63,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_keep_alive() -> Weight {
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `2603`
// Minimum execution time: 35_103 nanoseconds.
Weight::from_parts(35_730_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 26_091_000 picoseconds.
Weight::from_parts(26_666_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -75,11 +75,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_set_balance_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `1172`
// Estimated: `2603`
// Minimum execution time: 26_007 nanoseconds.
Weight::from_parts(26_347_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 15_271_000 picoseconds.
Weight::from_parts(15_835_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -87,11 +87,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_set_balance_killing() -> Weight {
// Proof Size summary in bytes:
// Measured: `1172`
// Estimated: `2603`
// Minimum execution time: 28_971 nanoseconds.
Weight::from_parts(29_435_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 18_684_000 picoseconds.
Weight::from_parts(19_146_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -99,11 +99,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `1172`
// Estimated: `5206`
// Minimum execution time: 45_554 nanoseconds.
Weight::from_parts(46_156_000, 0)
.saturating_add(Weight::from_parts(0, 5206))
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 36_588_000 picoseconds.
Weight::from_parts(37_315_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -111,11 +111,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `2603`
// Minimum execution time: 40_290 nanoseconds.
Weight::from_parts(40_805_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 32_278_000 picoseconds.
Weight::from_parts(32_546_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -126,11 +126,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
}
fn force_unreserve() -> Weight {
// Proof Size summary in bytes:
// Measured: `1056`
// Estimated: `2603`
// Minimum execution time: 22_459 nanoseconds.
Weight::from_parts(23_037_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 14_817_000 picoseconds.
Weight::from_parts(15_115_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}