update weights (sync with 0.9.42) (#7149)

* polkadot: update weights

* westend: update weights

* kusama: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-05-02 15:12:47 +02:00
committed by GitHub
parent 0ae0393042
commit d50ff483f8
163 changed files with 7550 additions and 6818 deletions
@@ -13,10 +13,11 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `pallet_vesting`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-04-28, 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("westend-dev"), DB CACHE: 1024
@@ -38,9 +39,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_vesting`.
pub struct WeightInfo<T>(PhantomData<T>);
@@ -49,46 +51,52 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_locked(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `348 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9286`
// Minimum execution time: 30_368_000 picoseconds.
Weight::from_parts(29_145_666, 0)
.saturating_add(Weight::from_parts(0, 9286))
// Standard Error: 789
.saturating_add(Weight::from_parts(42_369, 0).saturating_mul(l.into()))
// Standard Error: 1_403
.saturating_add(Weight::from_parts(70_130, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Estimated: `4764`
// Minimum execution time: 33_754_000 picoseconds.
Weight::from_parts(33_051_049, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 1_184
.saturating_add(Weight::from_parts(36_730, 0).saturating_mul(l.into()))
// Standard Error: 2_108
.saturating_add(Weight::from_parts(61_789, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `348 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9286`
// Minimum execution time: 29_229_000 picoseconds.
Weight::from_parts(29_138_693, 0)
.saturating_add(Weight::from_parts(0, 9286))
// Standard Error: 807
.saturating_add(Weight::from_parts(29_412, 0).saturating_mul(l.into()))
// Standard Error: 1_437
.saturating_add(Weight::from_parts(39_790, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Estimated: `4764`
// Minimum execution time: 37_222_000 picoseconds.
Weight::from_parts(36_585_887, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 687
.saturating_add(Weight::from_parts(30_675, 0).saturating_mul(l.into()))
// Standard Error: 1_222
.saturating_add(Weight::from_parts(45_181, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
@@ -96,21 +104,23 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `451 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `12879`
// Minimum execution time: 32_573_000 picoseconds.
Weight::from_parts(31_521_704, 0)
.saturating_add(Weight::from_parts(0, 12879))
// Standard Error: 825
.saturating_add(Weight::from_parts(43_262, 0).saturating_mul(l.into()))
// Standard Error: 1_468
.saturating_add(Weight::from_parts(71_428, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
// Estimated: `4764`
// Minimum execution time: 35_565_000 picoseconds.
Weight::from_parts(34_263_984, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 411
.saturating_add(Weight::from_parts(46_236, 0).saturating_mul(l.into()))
// Standard Error: 731
.saturating_add(Weight::from_parts(71_857, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
@@ -118,15 +128,15 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `451 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `12879`
// Minimum execution time: 31_541_000 picoseconds.
Weight::from_parts(30_842_897, 0)
.saturating_add(Weight::from_parts(0, 12879))
// Standard Error: 817
.saturating_add(Weight::from_parts(40_383, 0).saturating_mul(l.into()))
// Standard Error: 1_455
.saturating_add(Weight::from_parts(54_874, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
// Estimated: `4764`
// Minimum execution time: 38_495_000 picoseconds.
Weight::from_parts(38_404_280, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 768
.saturating_add(Weight::from_parts(34_656, 0).saturating_mul(l.into()))
// Standard Error: 1_368
.saturating_add(Weight::from_parts(46_139, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Vesting Vesting (r:1 w:1)
@@ -135,20 +145,22 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn vested_transfer(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `522 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `12879`
// Minimum execution time: 49_661_000 picoseconds.
Weight::from_parts(50_641_511, 0)
.saturating_add(Weight::from_parts(0, 12879))
// Standard Error: 2_384
.saturating_add(Weight::from_parts(37_527, 0).saturating_mul(l.into()))
// Standard Error: 4_242
.saturating_add(Weight::from_parts(38_395, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
// Estimated: `4764`
// Minimum execution time: 68_356_000 picoseconds.
Weight::from_parts(70_912_415, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 3_231
.saturating_add(Weight::from_parts(50_207, 0).saturating_mul(l.into()))
// Standard Error: 5_749
.saturating_add(Weight::from_parts(88_509, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Vesting Vesting (r:1 w:1)
@@ -157,26 +169,30 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `625 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `15482`
// Minimum execution time: 51_480_000 picoseconds.
Weight::from_parts(51_569_723, 0)
.saturating_add(Weight::from_parts(0, 15482))
// Standard Error: 1_407
.saturating_add(Weight::from_parts(43_371, 0).saturating_mul(l.into()))
// Standard Error: 2_503
.saturating_add(Weight::from_parts(61_175, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
// Estimated: `6196`
// Minimum execution time: 69_377_000 picoseconds.
Weight::from_parts(71_976_840, 0)
.saturating_add(Weight::from_parts(0, 6196))
// Standard Error: 2_003
.saturating_add(Weight::from_parts(48_638, 0).saturating_mul(l.into()))
// Standard Error: 3_563
.saturating_add(Weight::from_parts(109_176, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
@@ -184,21 +200,23 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `449 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `12879`
// Minimum execution time: 33_171_000 picoseconds.
Weight::from_parts(32_468_081, 0)
.saturating_add(Weight::from_parts(0, 12879))
// Standard Error: 700
.saturating_add(Weight::from_parts(40_970, 0).saturating_mul(l.into()))
// Standard Error: 1_294
.saturating_add(Weight::from_parts(62_430, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
// Estimated: `4764`
// Minimum execution time: 36_228_000 picoseconds.
Weight::from_parts(35_225_726, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 433
.saturating_add(Weight::from_parts(43_158, 0).saturating_mul(l.into()))
// Standard Error: 800
.saturating_add(Weight::from_parts(69_464, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: Balances Freezes (r:1 w:0)
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
@@ -206,15 +224,15 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `449 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `12879`
// Minimum execution time: 32_956_000 picoseconds.
Weight::from_parts(32_197_623, 0)
.saturating_add(Weight::from_parts(0, 12879))
// Standard Error: 826
.saturating_add(Weight::from_parts(46_160, 0).saturating_mul(l.into()))
// Standard Error: 1_526
.saturating_add(Weight::from_parts(69_938, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
// Estimated: `4764`
// Minimum execution time: 40_414_000 picoseconds.
Weight::from_parts(39_477_039, 0)
.saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 438
.saturating_add(Weight::from_parts(44_014, 0).saturating_mul(l.into()))
// Standard Error: 810
.saturating_add(Weight::from_parts(62_561, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
}