".git/.scripts/commands/bench-vm/bench-vm.sh" all (#13933)

Co-authored-by: command-bot <>
This commit is contained in:
Oleg Plakida
2023-06-19 14:31:20 +01:00
committed by GitHub
parent 05592a84eb
commit 0aa79f87ca
52 changed files with 5126 additions and 4928 deletions
+211 -207
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_alliance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_alliance
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_alliance.
pub trait WeightInfo {
@@ -88,20 +92,20 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `618 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `6676 + m * (31 ±0) + p * (37 ±0)`
// Minimum execution time: 32_316_000 picoseconds.
Weight::from_parts(35_185_484, 6676)
// Standard Error: 83
.saturating_add(Weight::from_parts(1_089, 0).saturating_mul(b.into()))
// Standard Error: 871
.saturating_add(Weight::from_parts(21_235, 0).saturating_mul(m.into()))
// Standard Error: 860
.saturating_add(Weight::from_parts(120_353, 0).saturating_mul(p.into()))
// Measured: `653 + m * (32 ±0) + p * (35 ±0)`
// Estimated: `6676 + m * (32 ±0) + p * (36 ±0)`
// Minimum execution time: 36_908_000 picoseconds.
Weight::from_parts(39_040_304, 6676)
// Standard Error: 131
.saturating_add(Weight::from_parts(781, 0).saturating_mul(b.into()))
// Standard Error: 1_375
.saturating_add(Weight::from_parts(48_745, 0).saturating_mul(m.into()))
// Standard Error: 1_358
.saturating_add(Weight::from_parts(148_047, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 31).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
@@ -112,10 +116,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1042 + m * (64 ±0)`
// Estimated: `6676 + m * (64 ±0)`
// Minimum execution time: 25_982_000 picoseconds.
Weight::from_parts(28_118_657, 6676)
// Standard Error: 855
.saturating_add(Weight::from_parts(61_309, 0).saturating_mul(m.into()))
// Minimum execution time: 30_166_000 picoseconds.
Weight::from_parts(32_798_454, 6676)
// Standard Error: 1_432
.saturating_add(Weight::from_parts(83_001, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -134,18 +138,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `622 + m * (96 ±0) + p * (37 ±0)`
// Estimated: `6676 + m * (96 ±0) + p * (37 ±0)`
// Minimum execution time: 40_922_000 picoseconds.
Weight::from_parts(39_098_903, 6676)
// Standard Error: 714
.saturating_add(Weight::from_parts(44_125, 0).saturating_mul(m.into()))
// Standard Error: 696
.saturating_add(Weight::from_parts(111_263, 0).saturating_mul(p.into()))
// Measured: `576 + m * (96 ±0) + p * (36 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (36 ±0)`
// Minimum execution time: 45_173_000 picoseconds.
Weight::from_parts(42_192_020, 6676)
// Standard Error: 1_456
.saturating_add(Weight::from_parts(66_751, 0).saturating_mul(m.into()))
// Standard Error: 1_420
.saturating_add(Weight::from_parts(158_161, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 96).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
@@ -162,19 +166,19 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `903 + m * (96 ±0) + p * (41 ±0)`
// Estimated: `6676 + m * (98 ±0) + p * (40 ±0)`
// Minimum execution time: 51_890_000 picoseconds.
Weight::from_parts(49_880_817, 6676)
// Standard Error: 81
.saturating_add(Weight::from_parts(688, 0).saturating_mul(b.into()))
// Standard Error: 862
.saturating_add(Weight::from_parts(54_419, 0).saturating_mul(m.into()))
// Standard Error: 840
.saturating_add(Weight::from_parts(122_253, 0).saturating_mul(p.into()))
// Measured: `1087 + m * (96 ±0) + p * (39 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (40 ±0)`
// Minimum execution time: 58_290_000 picoseconds.
Weight::from_parts(54_924_919, 6676)
// Standard Error: 157
.saturating_add(Weight::from_parts(464, 0).saturating_mul(b.into()))
// Standard Error: 1_665
.saturating_add(Weight::from_parts(73_183, 0).saturating_mul(m.into()))
// Standard Error: 1_623
.saturating_add(Weight::from_parts(168_318, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 98).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
@@ -193,18 +197,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `622 + m * (96 ±0) + p * (37 ±0)`
// Estimated: `6676 + m * (96 ±0) + p * (37 ±0)`
// Minimum execution time: 42_391_000 picoseconds.
Weight::from_parts(40_156_254, 6676)
// Standard Error: 728
.saturating_add(Weight::from_parts(47_889, 0).saturating_mul(m.into()))
// Standard Error: 719
.saturating_add(Weight::from_parts(112_596, 0).saturating_mul(p.into()))
// Measured: `577 + m * (96 ±0) + p * (36 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (36 ±0)`
// Minimum execution time: 46_794_000 picoseconds.
Weight::from_parts(43_092_958, 6676)
// Standard Error: 1_273
.saturating_add(Weight::from_parts(71_054, 0).saturating_mul(m.into()))
// Standard Error: 1_257
.saturating_add(Weight::from_parts(152_820, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 96).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
@@ -223,16 +227,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `591 + m * (96 ±0) + p * (36 ±0)`
// Measured: `684 + m * (96 ±0) + p * (35 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (36 ±0)`
// Minimum execution time: 42_320_000 picoseconds.
Weight::from_parts(40_205_526, 6676)
// Standard Error: 64
.saturating_add(Weight::from_parts(49, 0).saturating_mul(b.into()))
// Standard Error: 690
.saturating_add(Weight::from_parts(46_508, 0).saturating_mul(m.into()))
// Standard Error: 665
.saturating_add(Weight::from_parts(112_222, 0).saturating_mul(p.into()))
// Minimum execution time: 47_338_000 picoseconds.
Weight::from_parts(41_257_479, 6676)
// Standard Error: 119
.saturating_add(Weight::from_parts(1_019, 0).saturating_mul(b.into()))
// Standard Error: 1_277
.saturating_add(Weight::from_parts(78_453, 0).saturating_mul(m.into()))
// Standard Error: 1_231
.saturating_add(Weight::from_parts(150_991, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
@@ -248,12 +252,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `217`
// Estimated: `12362`
// Minimum execution time: 32_509_000 picoseconds.
Weight::from_parts(23_584_337, 12362)
// Standard Error: 377
.saturating_add(Weight::from_parts(114_917, 0).saturating_mul(m.into()))
// Standard Error: 373
.saturating_add(Weight::from_parts(97_593, 0).saturating_mul(z.into()))
// Minimum execution time: 35_012_000 picoseconds.
Weight::from_parts(24_288_079, 12362)
// Standard Error: 878
.saturating_add(Weight::from_parts(153_615, 0).saturating_mul(m.into()))
// Standard Error: 867
.saturating_add(Weight::from_parts(129_307, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -276,14 +280,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0 + x * (50 ±0) + y * (51 ±0) + z * (251 ±0)`
// Estimated: `12362 + x * (2539 ±0) + y * (2539 ±0) + z * (2603 ±1)`
// Minimum execution time: 275_061_000 picoseconds.
Weight::from_parts(565_248, 12362)
// Standard Error: 15_948
.saturating_add(Weight::from_parts(1_636_348, 0).saturating_mul(x.into()))
// Standard Error: 15_761
.saturating_add(Weight::from_parts(1_580_146, 0).saturating_mul(y.into()))
// Standard Error: 31_496
.saturating_add(Weight::from_parts(17_217_382, 0).saturating_mul(z.into()))
// Minimum execution time: 309_235_000 picoseconds.
Weight::from_parts(311_279_000, 12362)
// Standard Error: 26_510
.saturating_add(Weight::from_parts(543_475, 0).saturating_mul(x.into()))
// Standard Error: 26_382
.saturating_add(Weight::from_parts(603_169, 0).saturating_mul(y.into()))
// Standard Error: 52_716
.saturating_add(Weight::from_parts(16_264_836, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
@@ -300,8 +304,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_261_000 picoseconds.
Weight::from_parts(10_389_000, 0)
// Minimum execution time: 8_833_000 picoseconds.
Weight::from_parts(9_313_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Alliance Announcements (r:1 w:1)
@@ -310,8 +314,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `246`
// Estimated: `10187`
// Minimum execution time: 13_483_000 picoseconds.
Weight::from_parts(13_805_000, 10187)
// Minimum execution time: 12_231_000 picoseconds.
Weight::from_parts(12_761_000, 10187)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -321,8 +325,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `319`
// Estimated: `10187`
// Minimum execution time: 14_816_000 picoseconds.
Weight::from_parts(15_163_000, 10187)
// Minimum execution time: 13_079_000 picoseconds.
Weight::from_parts(13_612_000, 10187)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -338,8 +342,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `468`
// Estimated: `18048`
// Minimum execution time: 46_149_000 picoseconds.
Weight::from_parts(46_827_000, 18048)
// Minimum execution time: 44_574_000 picoseconds.
Weight::from_parts(46_157_000, 18048)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -351,8 +355,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `367`
// Estimated: `18048`
// Minimum execution time: 28_463_000 picoseconds.
Weight::from_parts(28_730_000, 18048)
// Minimum execution time: 26_114_000 picoseconds.
Weight::from_parts(27_069_000, 18048)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -368,8 +372,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `443`
// Estimated: `12362`
// Minimum execution time: 28_401_000 picoseconds.
Weight::from_parts(28_717_000, 12362)
// Minimum execution time: 25_882_000 picoseconds.
Weight::from_parts(26_923_000, 12362)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -387,8 +391,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `443`
// Estimated: `23734`
// Minimum execution time: 36_538_000 picoseconds.
Weight::from_parts(37_197_000, 23734)
// Minimum execution time: 34_112_000 picoseconds.
Weight::from_parts(35_499_000, 23734)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -404,8 +408,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `687`
// Estimated: `6676`
// Minimum execution time: 42_324_000 picoseconds.
Weight::from_parts(42_890_000, 6676)
// Minimum execution time: 41_239_000 picoseconds.
Weight::from_parts(42_764_000, 6676)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -425,8 +429,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `707`
// Estimated: `18048`
// Minimum execution time: 68_003_000 picoseconds.
Weight::from_parts(68_657_000, 18048)
// Minimum execution time: 68_071_000 picoseconds.
Weight::from_parts(71_808_000, 18048)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -440,12 +444,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `246`
// Estimated: `27187`
// Minimum execution time: 8_304_000 picoseconds.
Weight::from_parts(8_424_000, 27187)
// Standard Error: 2_765
.saturating_add(Weight::from_parts(1_529_793, 0).saturating_mul(n.into()))
// Standard Error: 1_082
.saturating_add(Weight::from_parts(71_352, 0).saturating_mul(l.into()))
// Minimum execution time: 7_006_000 picoseconds.
Weight::from_parts(7_253_000, 27187)
// Standard Error: 3_403
.saturating_add(Weight::from_parts(1_680_082, 0).saturating_mul(n.into()))
// Standard Error: 1_333
.saturating_add(Weight::from_parts(72_943, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -459,12 +463,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0 + l * (100 ±0) + n * (289 ±0)`
// Estimated: `27187`
// Minimum execution time: 8_348_000 picoseconds.
Weight::from_parts(8_505_000, 27187)
// Standard Error: 187_398
.saturating_add(Weight::from_parts(16_545_597, 0).saturating_mul(n.into()))
// Standard Error: 73_393
.saturating_add(Weight::from_parts(350_415, 0).saturating_mul(l.into()))
// Minimum execution time: 7_292_000 picoseconds.
Weight::from_parts(7_629_000, 27187)
// Standard Error: 176_225
.saturating_add(Weight::from_parts(16_646_429, 0).saturating_mul(n.into()))
// Standard Error: 69_017
.saturating_add(Weight::from_parts(310_978, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -480,8 +484,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `443`
// Estimated: `18048`
// Minimum execution time: 34_461_000 picoseconds.
Weight::from_parts(34_992_000, 18048)
// Minimum execution time: 31_798_000 picoseconds.
Weight::from_parts(33_463_000, 18048)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -504,20 +508,20 @@ impl WeightInfo for () {
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `618 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `6676 + m * (31 ±0) + p * (37 ±0)`
// Minimum execution time: 32_316_000 picoseconds.
Weight::from_parts(35_185_484, 6676)
// Standard Error: 83
.saturating_add(Weight::from_parts(1_089, 0).saturating_mul(b.into()))
// Standard Error: 871
.saturating_add(Weight::from_parts(21_235, 0).saturating_mul(m.into()))
// Standard Error: 860
.saturating_add(Weight::from_parts(120_353, 0).saturating_mul(p.into()))
// Measured: `653 + m * (32 ±0) + p * (35 ±0)`
// Estimated: `6676 + m * (32 ±0) + p * (36 ±0)`
// Minimum execution time: 36_908_000 picoseconds.
Weight::from_parts(39_040_304, 6676)
// Standard Error: 131
.saturating_add(Weight::from_parts(781, 0).saturating_mul(b.into()))
// Standard Error: 1_375
.saturating_add(Weight::from_parts(48_745, 0).saturating_mul(m.into()))
// Standard Error: 1_358
.saturating_add(Weight::from_parts(148_047, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 31).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
@@ -528,10 +532,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1042 + m * (64 ±0)`
// Estimated: `6676 + m * (64 ±0)`
// Minimum execution time: 25_982_000 picoseconds.
Weight::from_parts(28_118_657, 6676)
// Standard Error: 855
.saturating_add(Weight::from_parts(61_309, 0).saturating_mul(m.into()))
// Minimum execution time: 30_166_000 picoseconds.
Weight::from_parts(32_798_454, 6676)
// Standard Error: 1_432
.saturating_add(Weight::from_parts(83_001, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -550,18 +554,18 @@ impl WeightInfo for () {
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `622 + m * (96 ±0) + p * (37 ±0)`
// Estimated: `6676 + m * (96 ±0) + p * (37 ±0)`
// Minimum execution time: 40_922_000 picoseconds.
Weight::from_parts(39_098_903, 6676)
// Standard Error: 714
.saturating_add(Weight::from_parts(44_125, 0).saturating_mul(m.into()))
// Standard Error: 696
.saturating_add(Weight::from_parts(111_263, 0).saturating_mul(p.into()))
// Measured: `576 + m * (96 ±0) + p * (36 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (36 ±0)`
// Minimum execution time: 45_173_000 picoseconds.
Weight::from_parts(42_192_020, 6676)
// Standard Error: 1_456
.saturating_add(Weight::from_parts(66_751, 0).saturating_mul(m.into()))
// Standard Error: 1_420
.saturating_add(Weight::from_parts(158_161, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 96).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
@@ -578,19 +582,19 @@ impl WeightInfo for () {
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `903 + m * (96 ±0) + p * (41 ±0)`
// Estimated: `6676 + m * (98 ±0) + p * (40 ±0)`
// Minimum execution time: 51_890_000 picoseconds.
Weight::from_parts(49_880_817, 6676)
// Standard Error: 81
.saturating_add(Weight::from_parts(688, 0).saturating_mul(b.into()))
// Standard Error: 862
.saturating_add(Weight::from_parts(54_419, 0).saturating_mul(m.into()))
// Standard Error: 840
.saturating_add(Weight::from_parts(122_253, 0).saturating_mul(p.into()))
// Measured: `1087 + m * (96 ±0) + p * (39 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (40 ±0)`
// Minimum execution time: 58_290_000 picoseconds.
Weight::from_parts(54_924_919, 6676)
// Standard Error: 157
.saturating_add(Weight::from_parts(464, 0).saturating_mul(b.into()))
// Standard Error: 1_665
.saturating_add(Weight::from_parts(73_183, 0).saturating_mul(m.into()))
// Standard Error: 1_623
.saturating_add(Weight::from_parts(168_318, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 98).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
@@ -609,18 +613,18 @@ impl WeightInfo for () {
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `622 + m * (96 ±0) + p * (37 ±0)`
// Estimated: `6676 + m * (96 ±0) + p * (37 ±0)`
// Minimum execution time: 42_391_000 picoseconds.
Weight::from_parts(40_156_254, 6676)
// Standard Error: 728
.saturating_add(Weight::from_parts(47_889, 0).saturating_mul(m.into()))
// Standard Error: 719
.saturating_add(Weight::from_parts(112_596, 0).saturating_mul(p.into()))
// Measured: `577 + m * (96 ±0) + p * (36 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (36 ±0)`
// Minimum execution time: 46_794_000 picoseconds.
Weight::from_parts(43_092_958, 6676)
// Standard Error: 1_273
.saturating_add(Weight::from_parts(71_054, 0).saturating_mul(m.into()))
// Standard Error: 1_257
.saturating_add(Weight::from_parts(152_820, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 96).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
}
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
@@ -639,16 +643,16 @@ impl WeightInfo for () {
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `591 + m * (96 ±0) + p * (36 ±0)`
// Measured: `684 + m * (96 ±0) + p * (35 ±0)`
// Estimated: `6676 + m * (97 ±0) + p * (36 ±0)`
// Minimum execution time: 42_320_000 picoseconds.
Weight::from_parts(40_205_526, 6676)
// Standard Error: 64
.saturating_add(Weight::from_parts(49, 0).saturating_mul(b.into()))
// Standard Error: 690
.saturating_add(Weight::from_parts(46_508, 0).saturating_mul(m.into()))
// Standard Error: 665
.saturating_add(Weight::from_parts(112_222, 0).saturating_mul(p.into()))
// Minimum execution time: 47_338_000 picoseconds.
Weight::from_parts(41_257_479, 6676)
// Standard Error: 119
.saturating_add(Weight::from_parts(1_019, 0).saturating_mul(b.into()))
// Standard Error: 1_277
.saturating_add(Weight::from_parts(78_453, 0).saturating_mul(m.into()))
// Standard Error: 1_231
.saturating_add(Weight::from_parts(150_991, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
@@ -664,12 +668,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `217`
// Estimated: `12362`
// Minimum execution time: 32_509_000 picoseconds.
Weight::from_parts(23_584_337, 12362)
// Standard Error: 377
.saturating_add(Weight::from_parts(114_917, 0).saturating_mul(m.into()))
// Standard Error: 373
.saturating_add(Weight::from_parts(97_593, 0).saturating_mul(z.into()))
// Minimum execution time: 35_012_000 picoseconds.
Weight::from_parts(24_288_079, 12362)
// Standard Error: 878
.saturating_add(Weight::from_parts(153_615, 0).saturating_mul(m.into()))
// Standard Error: 867
.saturating_add(Weight::from_parts(129_307, 0).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -692,14 +696,14 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0 + x * (50 ±0) + y * (51 ±0) + z * (251 ±0)`
// Estimated: `12362 + x * (2539 ±0) + y * (2539 ±0) + z * (2603 ±1)`
// Minimum execution time: 275_061_000 picoseconds.
Weight::from_parts(565_248, 12362)
// Standard Error: 15_948
.saturating_add(Weight::from_parts(1_636_348, 0).saturating_mul(x.into()))
// Standard Error: 15_761
.saturating_add(Weight::from_parts(1_580_146, 0).saturating_mul(y.into()))
// Standard Error: 31_496
.saturating_add(Weight::from_parts(17_217_382, 0).saturating_mul(z.into()))
// Minimum execution time: 309_235_000 picoseconds.
Weight::from_parts(311_279_000, 12362)
// Standard Error: 26_510
.saturating_add(Weight::from_parts(543_475, 0).saturating_mul(x.into()))
// Standard Error: 26_382
.saturating_add(Weight::from_parts(603_169, 0).saturating_mul(y.into()))
// Standard Error: 52_716
.saturating_add(Weight::from_parts(16_264_836, 0).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(x.into())))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into())))
@@ -716,8 +720,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_261_000 picoseconds.
Weight::from_parts(10_389_000, 0)
// Minimum execution time: 8_833_000 picoseconds.
Weight::from_parts(9_313_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Alliance Announcements (r:1 w:1)
@@ -726,8 +730,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `246`
// Estimated: `10187`
// Minimum execution time: 13_483_000 picoseconds.
Weight::from_parts(13_805_000, 10187)
// Minimum execution time: 12_231_000 picoseconds.
Weight::from_parts(12_761_000, 10187)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -737,8 +741,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `319`
// Estimated: `10187`
// Minimum execution time: 14_816_000 picoseconds.
Weight::from_parts(15_163_000, 10187)
// Minimum execution time: 13_079_000 picoseconds.
Weight::from_parts(13_612_000, 10187)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -754,8 +758,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `468`
// Estimated: `18048`
// Minimum execution time: 46_149_000 picoseconds.
Weight::from_parts(46_827_000, 18048)
// Minimum execution time: 44_574_000 picoseconds.
Weight::from_parts(46_157_000, 18048)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -767,8 +771,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `367`
// Estimated: `18048`
// Minimum execution time: 28_463_000 picoseconds.
Weight::from_parts(28_730_000, 18048)
// Minimum execution time: 26_114_000 picoseconds.
Weight::from_parts(27_069_000, 18048)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -784,8 +788,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `443`
// Estimated: `12362`
// Minimum execution time: 28_401_000 picoseconds.
Weight::from_parts(28_717_000, 12362)
// Minimum execution time: 25_882_000 picoseconds.
Weight::from_parts(26_923_000, 12362)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -803,8 +807,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `443`
// Estimated: `23734`
// Minimum execution time: 36_538_000 picoseconds.
Weight::from_parts(37_197_000, 23734)
// Minimum execution time: 34_112_000 picoseconds.
Weight::from_parts(35_499_000, 23734)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -820,8 +824,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `687`
// Estimated: `6676`
// Minimum execution time: 42_324_000 picoseconds.
Weight::from_parts(42_890_000, 6676)
// Minimum execution time: 41_239_000 picoseconds.
Weight::from_parts(42_764_000, 6676)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -841,8 +845,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `707`
// Estimated: `18048`
// Minimum execution time: 68_003_000 picoseconds.
Weight::from_parts(68_657_000, 18048)
// Minimum execution time: 68_071_000 picoseconds.
Weight::from_parts(71_808_000, 18048)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -856,12 +860,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `246`
// Estimated: `27187`
// Minimum execution time: 8_304_000 picoseconds.
Weight::from_parts(8_424_000, 27187)
// Standard Error: 2_765
.saturating_add(Weight::from_parts(1_529_793, 0).saturating_mul(n.into()))
// Standard Error: 1_082
.saturating_add(Weight::from_parts(71_352, 0).saturating_mul(l.into()))
// Minimum execution time: 7_006_000 picoseconds.
Weight::from_parts(7_253_000, 27187)
// Standard Error: 3_403
.saturating_add(Weight::from_parts(1_680_082, 0).saturating_mul(n.into()))
// Standard Error: 1_333
.saturating_add(Weight::from_parts(72_943, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -875,12 +879,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0 + l * (100 ±0) + n * (289 ±0)`
// Estimated: `27187`
// Minimum execution time: 8_348_000 picoseconds.
Weight::from_parts(8_505_000, 27187)
// Standard Error: 187_398
.saturating_add(Weight::from_parts(16_545_597, 0).saturating_mul(n.into()))
// Standard Error: 73_393
.saturating_add(Weight::from_parts(350_415, 0).saturating_mul(l.into()))
// Minimum execution time: 7_292_000 picoseconds.
Weight::from_parts(7_629_000, 27187)
// Standard Error: 176_225
.saturating_add(Weight::from_parts(16_646_429, 0).saturating_mul(n.into()))
// Standard Error: 69_017
.saturating_add(Weight::from_parts(310_978, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -896,8 +900,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `443`
// Estimated: `18048`
// Minimum execution time: 34_461_000 picoseconds.
Weight::from_parts(34_992_000, 18048)
// Minimum execution time: 31_798_000 picoseconds.
Weight::from_parts(33_463_000, 18048)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
+123 -109
View File
@@ -15,29 +15,31 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for pallet_dex
//! Autogenerated weights for pallet_asset_conversion
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_asset_conversion
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_dex
// --chain=dev
// --output=./frame/asset-conversion/src/weights.rs
// --header=./HEADER-APACHE2
// --output=./frame/dex/src/weights.rs
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -46,9 +48,9 @@
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_dex.
/// Weight functions needed for pallet_asset_conversion.
pub trait WeightInfo {
fn create_pool() -> Weight;
fn add_liquidity() -> Weight;
@@ -57,189 +59,201 @@ pub trait WeightInfo {
fn swap_tokens_for_exact_tokens() -> Weight;
}
/// Weights for pallet_dex using the Substrate node and recommended hardware.
/// Weights for pallet_asset_conversion using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Dex Pools (r:1 w:1)
/// Proof: Dex Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: AssetConversion Pools (r:1 w:1)
/// Proof: AssetConversion Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Dex NextPoolAssetId (r:1 w:1)
/// Proof: Dex NextPoolAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: AssetConversion NextPoolAssetId (r:1 w:1)
/// Proof: AssetConversion NextPoolAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:1 w:1)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn create_pool() -> Weight {
// Proof Size summary in bytes:
// Measured: `323`
// Estimated: `14855`
// Minimum execution time: 72_228_000 picoseconds.
Weight::from_parts(72_932_000, 14855)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
// Measured: `729`
// Estimated: `6196`
// Minimum execution time: 129_741_000 picoseconds.
Weight::from_parts(132_516_000, 6196)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
}
/// Storage: Dex Pools (r:1 w:0)
/// Proof: Dex Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: AssetConversion Pools (r:1 w:0)
/// Proof: AssetConversion Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:2 w:2)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn add_liquidity() -> Weight {
// Proof Size summary in bytes:
// Measured: `1232`
// Estimated: `26726`
// Minimum execution time: 137_656_000 picoseconds.
Weight::from_parts(138_526_000, 26726)
// Measured: `1382`
// Estimated: `6208`
// Minimum execution time: 154_821_000 picoseconds.
Weight::from_parts(157_855_000, 6208)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
/// Storage: Dex Pools (r:1 w:0)
/// Proof: Dex Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:2 w:2)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: AssetConversion Pools (r:1 w:0)
/// Proof: AssetConversion Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:1 w:1)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn remove_liquidity() -> Weight {
// Proof Size summary in bytes:
// Measured: `1496`
// Estimated: `26726`
// Minimum execution time: 159_778_000 picoseconds.
Weight::from_parts(160_730_000, 26726)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
// Measured: `1371`
// Estimated: `6208`
// Minimum execution time: 139_490_000 picoseconds.
Weight::from_parts(143_626_000, 6208)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:2 w:2)
/// Storage: Assets Asset (r:3 w:3)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:4 w:4)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: Assets Account (r:6 w:6)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn swap_exact_tokens_for_tokens() -> Weight {
// Proof Size summary in bytes:
// Measured: `1134`
// Estimated: `21251`
// Minimum execution time: 136_852_000 picoseconds.
Weight::from_parts(137_764_000, 21251)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
// Measured: `1732`
// Estimated: `16644`
// Minimum execution time: 212_868_000 picoseconds.
Weight::from_parts(221_638_000, 16644)
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(10_u64))
}
/// Storage: Assets Asset (r:2 w:2)
/// Storage: Assets Asset (r:3 w:3)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:4 w:4)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: Assets Account (r:6 w:6)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn swap_tokens_for_exact_tokens() -> Weight {
// Proof Size summary in bytes:
// Measured: `1134`
// Estimated: `21251`
// Minimum execution time: 136_660_000 picoseconds.
Weight::from_parts(137_522_000, 21251)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
// Measured: `1732`
// Estimated: `16644`
// Minimum execution time: 211_746_000 picoseconds.
Weight::from_parts(217_322_000, 16644)
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(10_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
/// Storage: Dex Pools (r:1 w:1)
/// Proof: Dex Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: AssetConversion Pools (r:1 w:1)
/// Proof: AssetConversion Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Dex NextPoolAssetId (r:1 w:1)
/// Proof: Dex NextPoolAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: AssetConversion NextPoolAssetId (r:1 w:1)
/// Proof: AssetConversion NextPoolAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:1 w:1)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn create_pool() -> Weight {
// Proof Size summary in bytes:
// Measured: `323`
// Estimated: `14855`
// Minimum execution time: 72_228_000 picoseconds.
Weight::from_parts(72_932_000, 14855)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
// Measured: `729`
// Estimated: `6196`
// Minimum execution time: 129_741_000 picoseconds.
Weight::from_parts(132_516_000, 6196)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(8_u64))
}
/// Storage: Dex Pools (r:1 w:0)
/// Proof: Dex Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: AssetConversion Pools (r:1 w:0)
/// Proof: AssetConversion Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:2 w:2)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn add_liquidity() -> Weight {
// Proof Size summary in bytes:
// Measured: `1232`
// Estimated: `26726`
// Minimum execution time: 137_656_000 picoseconds.
Weight::from_parts(138_526_000, 26726)
// Measured: `1382`
// Estimated: `6208`
// Minimum execution time: 154_821_000 picoseconds.
Weight::from_parts(157_855_000, 6208)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
/// Storage: Dex Pools (r:1 w:0)
/// Proof: Dex Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:2 w:2)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: AssetConversion Pools (r:1 w:0)
/// Proof: AssetConversion Pools (max_values: None, max_size: Some(30), added: 2505, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: PoolAssets Asset (r:1 w:1)
/// Proof: PoolAssets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: PoolAssets Account (r:1 w:1)
/// Proof: PoolAssets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn remove_liquidity() -> Weight {
// Proof Size summary in bytes:
// Measured: `1496`
// Estimated: `26726`
// Minimum execution time: 159_778_000 picoseconds.
Weight::from_parts(160_730_000, 26726)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
// Measured: `1371`
// Estimated: `6208`
// Minimum execution time: 139_490_000 picoseconds.
Weight::from_parts(143_626_000, 6208)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Assets Asset (r:2 w:2)
/// Storage: Assets Asset (r:3 w:3)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:4 w:4)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: Assets Account (r:6 w:6)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn swap_exact_tokens_for_tokens() -> Weight {
// Proof Size summary in bytes:
// Measured: `1134`
// Estimated: `21251`
// Minimum execution time: 136_852_000 picoseconds.
Weight::from_parts(137_764_000, 21251)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
// Measured: `1732`
// Estimated: `16644`
// Minimum execution time: 212_868_000 picoseconds.
Weight::from_parts(221_638_000, 16644)
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(10_u64))
}
/// Storage: Assets Asset (r:2 w:2)
/// Storage: Assets Asset (r:3 w:3)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:4 w:4)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: Assets Account (r:6 w:6)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn swap_tokens_for_exact_tokens() -> Weight {
// Proof Size summary in bytes:
// Measured: `1134`
// Estimated: `21251`
// Minimum execution time: 136_660_000 picoseconds.
Weight::from_parts(137_522_000, 21251)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
// Measured: `1732`
// Estimated: `16644`
// Minimum execution time: 211_746_000 picoseconds.
Weight::from_parts(217_322_000, 16644)
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(10_u64))
}
}
+19 -15
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_asset_rate
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `local`, CPU: `<UNKNOWN>`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_asset_rate
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_asset_rate.
pub trait WeightInfo {
@@ -62,8 +66,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `3501`
// Minimum execution time: 6_000_000 picoseconds.
Weight::from_parts(7_000_000, 3501)
// Minimum execution time: 11_700_000 picoseconds.
Weight::from_parts(12_158_000, 3501)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -73,8 +77,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `137`
// Estimated: `3501`
// Minimum execution time: 7_000_000 picoseconds.
Weight::from_parts(8_000_000, 3501)
// Minimum execution time: 12_119_000 picoseconds.
Weight::from_parts(12_548_000, 3501)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -84,8 +88,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `137`
// Estimated: `3501`
// Minimum execution time: 7_000_000 picoseconds.
Weight::from_parts(8_000_000, 3501)
// Minimum execution time: 12_541_000 picoseconds.
Weight::from_parts(12_956_000, 3501)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -99,8 +103,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `3501`
// Minimum execution time: 6_000_000 picoseconds.
Weight::from_parts(7_000_000, 3501)
// Minimum execution time: 11_700_000 picoseconds.
Weight::from_parts(12_158_000, 3501)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -110,8 +114,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `137`
// Estimated: `3501`
// Minimum execution time: 7_000_000 picoseconds.
Weight::from_parts(8_000_000, 3501)
// Minimum execution time: 12_119_000 picoseconds.
Weight::from_parts(12_548_000, 3501)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -121,8 +125,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `137`
// Estimated: `3501`
// Minimum execution time: 7_000_000 picoseconds.
Weight::from_parts(8_000_000, 3501)
// Minimum execution time: 12_541_000 picoseconds.
Weight::from_parts(12_956_000, 3501)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+151 -157
View File
@@ -18,26 +18,28 @@
//! Autogenerated weights for pallet_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_assets
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet-assets
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/assets/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -95,8 +97,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `293`
// Estimated: `3675`
// Minimum execution time: 30_116_000 picoseconds.
Weight::from_parts(30_608_000, 3675)
// Minimum execution time: 31_340_000 picoseconds.
Weight::from_parts(31_977_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -106,8 +108,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `153`
// Estimated: `3675`
// Minimum execution time: 14_154_000 picoseconds.
Weight::from_parts(14_434_000, 3675)
// Minimum execution time: 13_342_000 picoseconds.
Weight::from_parts(13_782_000, 3675)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -117,8 +119,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 14_456_000 picoseconds.
Weight::from_parts(14_798_000, 3675)
// Minimum execution time: 14_437_000 picoseconds.
Weight::from_parts(14_833_000, 3675)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -133,10 +135,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0 + c * (208 ±0)`
// Estimated: `3675 + c * (2609 ±0)`
// Minimum execution time: 19_489_000 picoseconds.
Weight::from_parts(19_670_000, 3675)
// Standard Error: 6_989
.saturating_add(Weight::from_parts(12_307_864, 0).saturating_mul(c.into()))
// Minimum execution time: 18_728_000 picoseconds.
Weight::from_parts(18_982_000, 3675)
// Standard Error: 11_708
.saturating_add(Weight::from_parts(14_363_570, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -152,10 +154,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `522 + a * (86 ±0)`
// Estimated: `3675 + a * (2623 ±0)`
// Minimum execution time: 19_857_000 picoseconds.
Weight::from_parts(20_319_000, 3675)
// Standard Error: 6_375
.saturating_add(Weight::from_parts(14_205_651, 0).saturating_mul(a.into()))
// Minimum execution time: 18_611_000 picoseconds.
Weight::from_parts(18_970_000, 3675)
// Standard Error: 13_224
.saturating_add(Weight::from_parts(16_397_299, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -170,8 +172,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 14_879_000 picoseconds.
Weight::from_parts(15_235_000, 3675)
// Minimum execution time: 14_504_000 picoseconds.
Weight::from_parts(14_906_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -183,8 +185,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 27_071_000 picoseconds.
Weight::from_parts(27_509_000, 3675)
// Minimum execution time: 26_653_000 picoseconds.
Weight::from_parts(27_260_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -196,8 +198,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 33_142_000 picoseconds.
Weight::from_parts(33_494_000, 3675)
// Minimum execution time: 33_625_000 picoseconds.
Weight::from_parts(34_474_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -211,8 +213,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `6208`
// Minimum execution time: 47_437_000 picoseconds.
Weight::from_parts(48_039_000, 6208)
// Minimum execution time: 47_609_000 picoseconds.
Weight::from_parts(48_476_000, 6208)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -226,8 +228,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `6208`
// Minimum execution time: 41_857_000 picoseconds.
Weight::from_parts(42_284_000, 6208)
// Minimum execution time: 41_625_000 picoseconds.
Weight::from_parts(43_030_000, 6208)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -241,8 +243,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `6208`
// Minimum execution time: 47_284_000 picoseconds.
Weight::from_parts(47_606_000, 6208)
// Minimum execution time: 47_661_000 picoseconds.
Weight::from_parts(48_469_000, 6208)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -254,8 +256,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 18_555_000 picoseconds.
Weight::from_parts(18_923_000, 3675)
// Minimum execution time: 17_727_000 picoseconds.
Weight::from_parts(18_384_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -267,8 +269,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 18_424_000 picoseconds.
Weight::from_parts(18_961_000, 3675)
// Minimum execution time: 17_657_000 picoseconds.
Weight::from_parts(18_282_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -278,8 +280,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 14_561_000 picoseconds.
Weight::from_parts(15_018_000, 3675)
// Minimum execution time: 13_743_000 picoseconds.
Weight::from_parts(14_193_000, 3675)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -289,8 +291,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 14_691_000 picoseconds.
Weight::from_parts(15_008_000, 3675)
// Minimum execution time: 13_653_000 picoseconds.
Weight::from_parts(14_263_000, 3675)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -302,8 +304,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 16_448_000 picoseconds.
Weight::from_parts(16_662_000, 3675)
// Minimum execution time: 15_328_000 picoseconds.
Weight::from_parts(16_042_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -313,8 +315,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 15_155_000 picoseconds.
Weight::from_parts(15_425_000, 3675)
// Minimum execution time: 14_097_000 picoseconds.
Weight::from_parts(14_641_000, 3675)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -324,16 +326,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn set_metadata(n: u32, s: u32, ) -> Weight {
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 30_080_000 picoseconds.
Weight::from_parts(30_836_767, 3675)
// Standard Error: 742
.saturating_add(Weight::from_parts(3_795, 0).saturating_mul(n.into()))
// Standard Error: 742
.saturating_add(Weight::from_parts(3_098, 0).saturating_mul(s.into()))
// Minimum execution time: 29_535_000 picoseconds.
Weight::from_parts(31_456_892, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -345,8 +343,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `515`
// Estimated: `3675`
// Minimum execution time: 30_525_000 picoseconds.
Weight::from_parts(31_113_000, 3675)
// Minimum execution time: 30_680_000 picoseconds.
Weight::from_parts(31_930_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -360,10 +358,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `190`
// Estimated: `3675`
// Minimum execution time: 15_459_000 picoseconds.
Weight::from_parts(16_330_726, 3675)
// Standard Error: 347
.saturating_add(Weight::from_parts(1_791, 0).saturating_mul(s.into()))
// Minimum execution time: 14_660_000 picoseconds.
Weight::from_parts(15_718_387, 3675)
// Standard Error: 622
.saturating_add(Weight::from_parts(2_640, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -375,8 +373,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `515`
// Estimated: `3675`
// Minimum execution time: 30_264_000 picoseconds.
Weight::from_parts(30_543_000, 3675)
// Minimum execution time: 30_853_000 picoseconds.
Weight::from_parts(31_483_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -386,8 +384,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 14_173_000 picoseconds.
Weight::from_parts(14_568_000, 3675)
// Minimum execution time: 13_632_000 picoseconds.
Weight::from_parts(14_077_000, 3675)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -399,8 +397,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 33_873_000 picoseconds.
Weight::from_parts(34_511_000, 3675)
// Minimum execution time: 33_780_000 picoseconds.
Weight::from_parts(34_533_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -416,8 +414,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `668`
// Estimated: `6208`
// Minimum execution time: 65_606_000 picoseconds.
Weight::from_parts(66_477_000, 6208)
// Minimum execution time: 67_712_000 picoseconds.
Weight::from_parts(69_946_000, 6208)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -429,8 +427,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `555`
// Estimated: `3675`
// Minimum execution time: 35_775_000 picoseconds.
Weight::from_parts(36_220_000, 3675)
// Minimum execution time: 36_668_000 picoseconds.
Weight::from_parts(37_637_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -442,8 +440,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `555`
// Estimated: `3675`
// Minimum execution time: 36_082_000 picoseconds.
Weight::from_parts(36_531_000, 3675)
// Minimum execution time: 36_685_000 picoseconds.
Weight::from_parts(37_950_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -453,8 +451,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 15_331_000 picoseconds.
Weight::from_parts(15_693_000, 3675)
// Minimum execution time: 14_466_000 picoseconds.
Weight::from_parts(14_924_000, 3675)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -468,8 +466,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `453`
// Estimated: `3675`
// Minimum execution time: 35_027_000 picoseconds.
Weight::from_parts(35_470_000, 3675)
// Minimum execution time: 34_874_000 picoseconds.
Weight::from_parts(36_330_000, 3675)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -481,8 +479,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 33_444_000 picoseconds.
Weight::from_parts(33_952_000, 3675)
// Minimum execution time: 33_278_000 picoseconds.
Weight::from_parts(34_104_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -496,8 +494,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `579`
// Estimated: `3675`
// Minimum execution time: 32_595_000 picoseconds.
Weight::from_parts(32_956_000, 3675)
// Minimum execution time: 32_898_000 picoseconds.
Weight::from_parts(33_489_000, 3675)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -509,8 +507,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `510`
// Estimated: `3675`
// Minimum execution time: 30_662_000 picoseconds.
Weight::from_parts(31_148_000, 3675)
// Minimum execution time: 31_243_000 picoseconds.
Weight::from_parts(31_909_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -522,8 +520,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 18_295_000 picoseconds.
Weight::from_parts(18_981_000, 3675)
// Minimum execution time: 17_692_000 picoseconds.
Weight::from_parts(18_253_000, 3675)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -539,8 +537,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `293`
// Estimated: `3675`
// Minimum execution time: 30_116_000 picoseconds.
Weight::from_parts(30_608_000, 3675)
// Minimum execution time: 31_340_000 picoseconds.
Weight::from_parts(31_977_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -550,8 +548,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `153`
// Estimated: `3675`
// Minimum execution time: 14_154_000 picoseconds.
Weight::from_parts(14_434_000, 3675)
// Minimum execution time: 13_342_000 picoseconds.
Weight::from_parts(13_782_000, 3675)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -561,8 +559,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 14_456_000 picoseconds.
Weight::from_parts(14_798_000, 3675)
// Minimum execution time: 14_437_000 picoseconds.
Weight::from_parts(14_833_000, 3675)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -577,10 +575,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0 + c * (208 ±0)`
// Estimated: `3675 + c * (2609 ±0)`
// Minimum execution time: 19_489_000 picoseconds.
Weight::from_parts(19_670_000, 3675)
// Standard Error: 6_989
.saturating_add(Weight::from_parts(12_307_864, 0).saturating_mul(c.into()))
// Minimum execution time: 18_728_000 picoseconds.
Weight::from_parts(18_982_000, 3675)
// Standard Error: 11_708
.saturating_add(Weight::from_parts(14_363_570, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -596,10 +594,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `522 + a * (86 ±0)`
// Estimated: `3675 + a * (2623 ±0)`
// Minimum execution time: 19_857_000 picoseconds.
Weight::from_parts(20_319_000, 3675)
// Standard Error: 6_375
.saturating_add(Weight::from_parts(14_205_651, 0).saturating_mul(a.into()))
// Minimum execution time: 18_611_000 picoseconds.
Weight::from_parts(18_970_000, 3675)
// Standard Error: 13_224
.saturating_add(Weight::from_parts(16_397_299, 0).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -614,8 +612,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 14_879_000 picoseconds.
Weight::from_parts(15_235_000, 3675)
// Minimum execution time: 14_504_000 picoseconds.
Weight::from_parts(14_906_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -627,8 +625,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 27_071_000 picoseconds.
Weight::from_parts(27_509_000, 3675)
// Minimum execution time: 26_653_000 picoseconds.
Weight::from_parts(27_260_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -640,8 +638,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 33_142_000 picoseconds.
Weight::from_parts(33_494_000, 3675)
// Minimum execution time: 33_625_000 picoseconds.
Weight::from_parts(34_474_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -655,8 +653,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `6208`
// Minimum execution time: 47_437_000 picoseconds.
Weight::from_parts(48_039_000, 6208)
// Minimum execution time: 47_609_000 picoseconds.
Weight::from_parts(48_476_000, 6208)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -670,8 +668,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `6208`
// Minimum execution time: 41_857_000 picoseconds.
Weight::from_parts(42_284_000, 6208)
// Minimum execution time: 41_625_000 picoseconds.
Weight::from_parts(43_030_000, 6208)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -685,8 +683,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `6208`
// Minimum execution time: 47_284_000 picoseconds.
Weight::from_parts(47_606_000, 6208)
// Minimum execution time: 47_661_000 picoseconds.
Weight::from_parts(48_469_000, 6208)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -698,8 +696,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 18_555_000 picoseconds.
Weight::from_parts(18_923_000, 3675)
// Minimum execution time: 17_727_000 picoseconds.
Weight::from_parts(18_384_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -711,8 +709,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 18_424_000 picoseconds.
Weight::from_parts(18_961_000, 3675)
// Minimum execution time: 17_657_000 picoseconds.
Weight::from_parts(18_282_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -722,8 +720,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 14_561_000 picoseconds.
Weight::from_parts(15_018_000, 3675)
// Minimum execution time: 13_743_000 picoseconds.
Weight::from_parts(14_193_000, 3675)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -733,8 +731,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 14_691_000 picoseconds.
Weight::from_parts(15_008_000, 3675)
// Minimum execution time: 13_653_000 picoseconds.
Weight::from_parts(14_263_000, 3675)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -746,8 +744,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 16_448_000 picoseconds.
Weight::from_parts(16_662_000, 3675)
// Minimum execution time: 15_328_000 picoseconds.
Weight::from_parts(16_042_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -757,8 +755,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 15_155_000 picoseconds.
Weight::from_parts(15_425_000, 3675)
// Minimum execution time: 14_097_000 picoseconds.
Weight::from_parts(14_641_000, 3675)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -768,16 +766,12 @@ impl WeightInfo for () {
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn set_metadata(n: u32, s: u32, ) -> Weight {
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 30_080_000 picoseconds.
Weight::from_parts(30_836_767, 3675)
// Standard Error: 742
.saturating_add(Weight::from_parts(3_795, 0).saturating_mul(n.into()))
// Standard Error: 742
.saturating_add(Weight::from_parts(3_098, 0).saturating_mul(s.into()))
// Minimum execution time: 29_535_000 picoseconds.
Weight::from_parts(31_456_892, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -789,8 +783,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `515`
// Estimated: `3675`
// Minimum execution time: 30_525_000 picoseconds.
Weight::from_parts(31_113_000, 3675)
// Minimum execution time: 30_680_000 picoseconds.
Weight::from_parts(31_930_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -804,10 +798,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `190`
// Estimated: `3675`
// Minimum execution time: 15_459_000 picoseconds.
Weight::from_parts(16_330_726, 3675)
// Standard Error: 347
.saturating_add(Weight::from_parts(1_791, 0).saturating_mul(s.into()))
// Minimum execution time: 14_660_000 picoseconds.
Weight::from_parts(15_718_387, 3675)
// Standard Error: 622
.saturating_add(Weight::from_parts(2_640, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -819,8 +813,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `515`
// Estimated: `3675`
// Minimum execution time: 30_264_000 picoseconds.
Weight::from_parts(30_543_000, 3675)
// Minimum execution time: 30_853_000 picoseconds.
Weight::from_parts(31_483_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -830,8 +824,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 14_173_000 picoseconds.
Weight::from_parts(14_568_000, 3675)
// Minimum execution time: 13_632_000 picoseconds.
Weight::from_parts(14_077_000, 3675)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -843,8 +837,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `385`
// Estimated: `3675`
// Minimum execution time: 33_873_000 picoseconds.
Weight::from_parts(34_511_000, 3675)
// Minimum execution time: 33_780_000 picoseconds.
Weight::from_parts(34_533_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -860,8 +854,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `668`
// Estimated: `6208`
// Minimum execution time: 65_606_000 picoseconds.
Weight::from_parts(66_477_000, 6208)
// Minimum execution time: 67_712_000 picoseconds.
Weight::from_parts(69_946_000, 6208)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -873,8 +867,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `555`
// Estimated: `3675`
// Minimum execution time: 35_775_000 picoseconds.
Weight::from_parts(36_220_000, 3675)
// Minimum execution time: 36_668_000 picoseconds.
Weight::from_parts(37_637_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -886,8 +880,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `555`
// Estimated: `3675`
// Minimum execution time: 36_082_000 picoseconds.
Weight::from_parts(36_531_000, 3675)
// Minimum execution time: 36_685_000 picoseconds.
Weight::from_parts(37_950_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -897,8 +891,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 15_331_000 picoseconds.
Weight::from_parts(15_693_000, 3675)
// Minimum execution time: 14_466_000 picoseconds.
Weight::from_parts(14_924_000, 3675)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -912,8 +906,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `453`
// Estimated: `3675`
// Minimum execution time: 35_027_000 picoseconds.
Weight::from_parts(35_470_000, 3675)
// Minimum execution time: 34_874_000 picoseconds.
Weight::from_parts(36_330_000, 3675)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -925,8 +919,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3675`
// Minimum execution time: 33_444_000 picoseconds.
Weight::from_parts(33_952_000, 3675)
// Minimum execution time: 33_278_000 picoseconds.
Weight::from_parts(34_104_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -940,8 +934,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `579`
// Estimated: `3675`
// Minimum execution time: 32_595_000 picoseconds.
Weight::from_parts(32_956_000, 3675)
// Minimum execution time: 32_898_000 picoseconds.
Weight::from_parts(33_489_000, 3675)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -953,8 +947,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `510`
// Estimated: `3675`
// Minimum execution time: 30_662_000 picoseconds.
Weight::from_parts(31_148_000, 3675)
// Minimum execution time: 31_243_000 picoseconds.
Weight::from_parts(31_909_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -966,8 +960,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `459`
// Estimated: `3675`
// Minimum execution time: 18_295_000 picoseconds.
Weight::from_parts(18_981_000, 3675)
// Minimum execution time: 17_692_000 picoseconds.
Weight::from_parts(18_253_000, 3675)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+19 -15
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_bags_list
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_bags_list
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_bags_list.
pub trait WeightInfo {
@@ -68,8 +72,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1724`
// Estimated: `11506`
// Minimum execution time: 63_335_000 picoseconds.
Weight::from_parts(64_097_000, 11506)
// Minimum execution time: 62_137_000 picoseconds.
Weight::from_parts(64_050_000, 11506)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -85,8 +89,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1618`
// Estimated: `8877`
// Minimum execution time: 62_151_000 picoseconds.
Weight::from_parts(62_827_000, 8877)
// Minimum execution time: 60_880_000 picoseconds.
Weight::from_parts(62_078_000, 8877)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -104,8 +108,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1930`
// Estimated: `11506`
// Minimum execution time: 69_179_000 picoseconds.
Weight::from_parts(69_898_000, 11506)
// Minimum execution time: 68_911_000 picoseconds.
Weight::from_parts(70_592_000, 11506)
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -125,8 +129,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1724`
// Estimated: `11506`
// Minimum execution time: 63_335_000 picoseconds.
Weight::from_parts(64_097_000, 11506)
// Minimum execution time: 62_137_000 picoseconds.
Weight::from_parts(64_050_000, 11506)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -142,8 +146,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1618`
// Estimated: `8877`
// Minimum execution time: 62_151_000 picoseconds.
Weight::from_parts(62_827_000, 8877)
// Minimum execution time: 60_880_000 picoseconds.
Weight::from_parts(62_078_000, 8877)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -161,8 +165,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1930`
// Estimated: `11506`
// Minimum execution time: 69_179_000 picoseconds.
Weight::from_parts(69_898_000, 11506)
// Minimum execution time: 68_911_000 picoseconds.
Weight::from_parts(70_592_000, 11506)
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
+43 -39
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_balances
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_balances
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_balances.
pub trait WeightInfo {
@@ -67,8 +71,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 59_458_000 picoseconds.
Weight::from_parts(60_307_000, 3593)
// Minimum execution time: 57_153_000 picoseconds.
Weight::from_parts(58_106_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -78,8 +82,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 43_056_000 picoseconds.
Weight::from_parts(43_933_000, 3593)
// Minimum execution time: 43_680_000 picoseconds.
Weight::from_parts(44_207_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -89,8 +93,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 17_428_000 picoseconds.
Weight::from_parts(17_731_000, 3593)
// Minimum execution time: 16_365_000 picoseconds.
Weight::from_parts(16_940_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -100,8 +104,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 22_809_000 picoseconds.
Weight::from_parts(23_225_000, 3593)
// Minimum execution time: 23_853_000 picoseconds.
Weight::from_parts(24_547_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -111,8 +115,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 56_929_000 picoseconds.
Weight::from_parts(57_688_000, 6196)
// Minimum execution time: 58_563_000 picoseconds.
Weight::from_parts(59_787_000, 6196)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -122,8 +126,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 49_820_000 picoseconds.
Weight::from_parts(50_832_000, 3593)
// Minimum execution time: 52_902_000 picoseconds.
Weight::from_parts(53_795_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -133,8 +137,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 20_270_000 picoseconds.
Weight::from_parts(20_597_000, 3593)
// Minimum execution time: 19_335_000 picoseconds.
Weight::from_parts(20_068_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -145,10 +149,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0 + u * (135 ±0)`
// Estimated: `990 + u * (2603 ±0)`
// Minimum execution time: 19_847_000 picoseconds.
Weight::from_parts(20_053_000, 990)
// Standard Error: 11_643
.saturating_add(Weight::from_parts(14_563_782, 0).saturating_mul(u.into()))
// Minimum execution time: 19_014_000 picoseconds.
Weight::from_parts(19_284_000, 990)
// Standard Error: 12_468
.saturating_add(Weight::from_parts(16_099_927, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
@@ -163,8 +167,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 59_458_000 picoseconds.
Weight::from_parts(60_307_000, 3593)
// Minimum execution time: 57_153_000 picoseconds.
Weight::from_parts(58_106_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -174,8 +178,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 43_056_000 picoseconds.
Weight::from_parts(43_933_000, 3593)
// Minimum execution time: 43_680_000 picoseconds.
Weight::from_parts(44_207_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -185,8 +189,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 17_428_000 picoseconds.
Weight::from_parts(17_731_000, 3593)
// Minimum execution time: 16_365_000 picoseconds.
Weight::from_parts(16_940_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -196,8 +200,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 22_809_000 picoseconds.
Weight::from_parts(23_225_000, 3593)
// Minimum execution time: 23_853_000 picoseconds.
Weight::from_parts(24_547_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -207,8 +211,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 56_929_000 picoseconds.
Weight::from_parts(57_688_000, 6196)
// Minimum execution time: 58_563_000 picoseconds.
Weight::from_parts(59_787_000, 6196)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -218,8 +222,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 49_820_000 picoseconds.
Weight::from_parts(50_832_000, 3593)
// Minimum execution time: 52_902_000 picoseconds.
Weight::from_parts(53_795_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -229,8 +233,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 20_270_000 picoseconds.
Weight::from_parts(20_597_000, 3593)
// Minimum execution time: 19_335_000 picoseconds.
Weight::from_parts(20_068_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -241,10 +245,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0 + u * (135 ±0)`
// Estimated: `990 + u * (2603 ±0)`
// Minimum execution time: 19_847_000 picoseconds.
Weight::from_parts(20_053_000, 990)
// Standard Error: 11_643
.saturating_add(Weight::from_parts(14_563_782, 0).saturating_mul(u.into()))
// Minimum execution time: 19_014_000 picoseconds.
Weight::from_parts(19_284_000, 990)
// Standard Error: 12_468
.saturating_add(Weight::from_parts(16_099_927, 0).saturating_mul(u.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(u.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
+35 -31
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for frame_benchmarking
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=frame_benchmarking
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for frame_benchmarking.
pub trait WeightInfo {
@@ -64,49 +68,49 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 173_000 picoseconds.
Weight::from_parts(205_895, 0)
// Minimum execution time: 147_000 picoseconds.
Weight::from_parts(185_656, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 180_000 picoseconds.
Weight::from_parts(206_967, 0)
// Minimum execution time: 146_000 picoseconds.
Weight::from_parts(189_816, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 174_000 picoseconds.
Weight::from_parts(214_304, 0)
// Minimum execution time: 148_000 picoseconds.
Weight::from_parts(202_367, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 173_000 picoseconds.
Weight::from_parts(207_804, 0)
// Minimum execution time: 143_000 picoseconds.
Weight::from_parts(189_693, 0)
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_173_551_000 picoseconds.
Weight::from_parts(21_256_886_000, 0)
// Minimum execution time: 24_167_071_000 picoseconds.
Weight::from_parts(24_391_749_000, 0)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 208_000 picoseconds.
Weight::from_parts(1_227_077, 0)
// Standard Error: 9_390
.saturating_add(Weight::from_parts(47_152_841, 0).saturating_mul(i.into()))
// Minimum execution time: 231_000 picoseconds.
Weight::from_parts(2_998_013, 0)
// Standard Error: 6_256
.saturating_add(Weight::from_parts(55_456_705, 0).saturating_mul(i.into()))
}
}
@@ -117,48 +121,48 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 173_000 picoseconds.
Weight::from_parts(205_895, 0)
// Minimum execution time: 147_000 picoseconds.
Weight::from_parts(185_656, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 180_000 picoseconds.
Weight::from_parts(206_967, 0)
// Minimum execution time: 146_000 picoseconds.
Weight::from_parts(189_816, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 174_000 picoseconds.
Weight::from_parts(214_304, 0)
// Minimum execution time: 148_000 picoseconds.
Weight::from_parts(202_367, 0)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 173_000 picoseconds.
Weight::from_parts(207_804, 0)
// Minimum execution time: 143_000 picoseconds.
Weight::from_parts(189_693, 0)
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_173_551_000 picoseconds.
Weight::from_parts(21_256_886_000, 0)
// Minimum execution time: 24_167_071_000 picoseconds.
Weight::from_parts(24_391_749_000, 0)
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 208_000 picoseconds.
Weight::from_parts(1_227_077, 0)
// Standard Error: 9_390
.saturating_add(Weight::from_parts(47_152_841, 0).saturating_mul(i.into()))
// Minimum execution time: 231_000 picoseconds.
Weight::from_parts(2_998_013, 0)
// Standard Error: 6_256
.saturating_add(Weight::from_parts(55_456_705, 0).saturating_mul(i.into()))
}
}
+67 -63
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_bounties
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_bounties
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_bounties.
pub trait WeightInfo {
@@ -77,10 +81,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `276`
// Estimated: `3593`
// Minimum execution time: 30_793_000 picoseconds.
Weight::from_parts(31_509_544, 3593)
// Standard Error: 168
.saturating_add(Weight::from_parts(2_219, 0).saturating_mul(d.into()))
// Minimum execution time: 29_384_000 picoseconds.
Weight::from_parts(30_820_018, 3593)
// Standard Error: 298
.saturating_add(Weight::from_parts(2_920, 0).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -92,8 +96,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `368`
// Estimated: `3642`
// Minimum execution time: 12_471_000 picoseconds.
Weight::from_parts(12_677_000, 3642)
// Minimum execution time: 10_873_000 picoseconds.
Weight::from_parts(11_421_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -103,8 +107,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `3642`
// Minimum execution time: 10_560_000 picoseconds.
Weight::from_parts(10_744_000, 3642)
// Minimum execution time: 9_181_000 picoseconds.
Weight::from_parts(9_726_000, 3642)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -116,8 +120,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `564`
// Estimated: `3642`
// Minimum execution time: 30_980_000 picoseconds.
Weight::from_parts(31_354_000, 3642)
// Minimum execution time: 30_257_000 picoseconds.
Weight::from_parts(30_751_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -129,8 +133,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `560`
// Estimated: `3642`
// Minimum execution time: 29_257_000 picoseconds.
Weight::from_parts(29_656_000, 3642)
// Minimum execution time: 27_850_000 picoseconds.
Weight::from_parts(28_821_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -140,10 +144,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
fn award_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `538`
// Measured: `572`
// Estimated: `3642`
// Minimum execution time: 20_662_000 picoseconds.
Weight::from_parts(20_956_000, 3642)
// Minimum execution time: 19_164_000 picoseconds.
Weight::from_parts(20_136_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -157,10 +161,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `902`
// Measured: `936`
// Estimated: `8799`
// Minimum execution time: 119_287_000 picoseconds.
Weight::from_parts(121_468_000, 8799)
// Minimum execution time: 120_235_000 picoseconds.
Weight::from_parts(121_673_000, 8799)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -174,10 +178,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_proposed() -> Weight {
// Proof Size summary in bytes:
// Measured: `582`
// Measured: `616`
// Estimated: `3642`
// Minimum execution time: 37_759_000 picoseconds.
Weight::from_parts(38_185_000, 3642)
// Minimum execution time: 35_713_000 picoseconds.
Weight::from_parts(37_174_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -191,10 +195,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `818`
// Measured: `852`
// Estimated: `6196`
// Minimum execution time: 80_332_000 picoseconds.
Weight::from_parts(81_328_000, 6196)
// Minimum execution time: 81_037_000 picoseconds.
Weight::from_parts(83_294_000, 6196)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -204,8 +208,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3642`
// Minimum execution time: 16_301_000 picoseconds.
Weight::from_parts(16_611_000, 3642)
// Minimum execution time: 15_348_000 picoseconds.
Weight::from_parts(15_776_000, 3642)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -220,10 +224,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `4 + b * (297 ±0)`
// Estimated: `1887 + b * (5206 ±0)`
// Minimum execution time: 5_430_000 picoseconds.
Weight::from_parts(4_463_976, 1887)
// Standard Error: 43_695
.saturating_add(Weight::from_parts(39_370_113, 0).saturating_mul(b.into()))
// Minimum execution time: 5_082_000 picoseconds.
Weight::from_parts(5_126_000, 1887)
// Standard Error: 21_949
.saturating_add(Weight::from_parts(42_635_308, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -247,10 +251,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `276`
// Estimated: `3593`
// Minimum execution time: 30_793_000 picoseconds.
Weight::from_parts(31_509_544, 3593)
// Standard Error: 168
.saturating_add(Weight::from_parts(2_219, 0).saturating_mul(d.into()))
// Minimum execution time: 29_384_000 picoseconds.
Weight::from_parts(30_820_018, 3593)
// Standard Error: 298
.saturating_add(Weight::from_parts(2_920, 0).saturating_mul(d.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -262,8 +266,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `368`
// Estimated: `3642`
// Minimum execution time: 12_471_000 picoseconds.
Weight::from_parts(12_677_000, 3642)
// Minimum execution time: 10_873_000 picoseconds.
Weight::from_parts(11_421_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -273,8 +277,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `3642`
// Minimum execution time: 10_560_000 picoseconds.
Weight::from_parts(10_744_000, 3642)
// Minimum execution time: 9_181_000 picoseconds.
Weight::from_parts(9_726_000, 3642)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -286,8 +290,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `564`
// Estimated: `3642`
// Minimum execution time: 30_980_000 picoseconds.
Weight::from_parts(31_354_000, 3642)
// Minimum execution time: 30_257_000 picoseconds.
Weight::from_parts(30_751_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -299,8 +303,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `560`
// Estimated: `3642`
// Minimum execution time: 29_257_000 picoseconds.
Weight::from_parts(29_656_000, 3642)
// Minimum execution time: 27_850_000 picoseconds.
Weight::from_parts(28_821_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -310,10 +314,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
fn award_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `538`
// Measured: `572`
// Estimated: `3642`
// Minimum execution time: 20_662_000 picoseconds.
Weight::from_parts(20_956_000, 3642)
// Minimum execution time: 19_164_000 picoseconds.
Weight::from_parts(20_136_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -327,10 +331,10 @@ impl WeightInfo for () {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `902`
// Measured: `936`
// Estimated: `8799`
// Minimum execution time: 119_287_000 picoseconds.
Weight::from_parts(121_468_000, 8799)
// Minimum execution time: 120_235_000 picoseconds.
Weight::from_parts(121_673_000, 8799)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -344,10 +348,10 @@ impl WeightInfo for () {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_proposed() -> Weight {
// Proof Size summary in bytes:
// Measured: `582`
// Measured: `616`
// Estimated: `3642`
// Minimum execution time: 37_759_000 picoseconds.
Weight::from_parts(38_185_000, 3642)
// Minimum execution time: 35_713_000 picoseconds.
Weight::from_parts(37_174_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -361,10 +365,10 @@ impl WeightInfo for () {
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `818`
// Measured: `852`
// Estimated: `6196`
// Minimum execution time: 80_332_000 picoseconds.
Weight::from_parts(81_328_000, 6196)
// Minimum execution time: 81_037_000 picoseconds.
Weight::from_parts(83_294_000, 6196)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -374,8 +378,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3642`
// Minimum execution time: 16_301_000 picoseconds.
Weight::from_parts(16_611_000, 3642)
// Minimum execution time: 15_348_000 picoseconds.
Weight::from_parts(15_776_000, 3642)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -390,10 +394,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `4 + b * (297 ±0)`
// Estimated: `1887 + b * (5206 ±0)`
// Minimum execution time: 5_430_000 picoseconds.
Weight::from_parts(4_463_976, 1887)
// Standard Error: 43_695
.saturating_add(Weight::from_parts(39_370_113, 0).saturating_mul(b.into()))
// Minimum execution time: 5_082_000 picoseconds.
Weight::from_parts(5_126_000, 1887)
// Standard Error: 21_949
.saturating_add(Weight::from_parts(42_635_308, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
+55 -51
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_child_bounties
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_child_bounties
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_child_bounties.
pub trait WeightInfo {
@@ -76,10 +80,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `d` is `[0, 300]`.
fn add_child_bounty(_d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `678`
// Measured: `712`
// Estimated: `6196`
// Minimum execution time: 69_784_000 picoseconds.
Weight::from_parts(71_225_354, 6196)
// Minimum execution time: 69_805_000 picoseconds.
Weight::from_parts(73_216_717, 6196)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -91,10 +95,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `732`
// Measured: `766`
// Estimated: `3642`
// Minimum execution time: 19_008_000 picoseconds.
Weight::from_parts(19_219_000, 3642)
// Minimum execution time: 18_190_000 picoseconds.
Weight::from_parts(18_932_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -106,10 +110,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 35_457_000 picoseconds.
Weight::from_parts(36_088_000, 3642)
// Minimum execution time: 35_035_000 picoseconds.
Weight::from_parts(35_975_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -121,10 +125,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 38_244_000 picoseconds.
Weight::from_parts(38_611_000, 3642)
// Minimum execution time: 37_636_000 picoseconds.
Weight::from_parts(38_610_000, 3642)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -134,10 +138,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `775`
// Measured: `809`
// Estimated: `3642`
// Minimum execution time: 22_762_000 picoseconds.
Weight::from_parts(23_249_000, 3642)
// Minimum execution time: 22_457_000 picoseconds.
Weight::from_parts(23_691_000, 3642)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -151,10 +155,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `648`
// Measured: `682`
// Estimated: `8799`
// Minimum execution time: 112_019_000 picoseconds.
Weight::from_parts(113_190_000, 8799)
// Minimum execution time: 118_272_000 picoseconds.
Weight::from_parts(121_646_000, 8799)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -172,10 +176,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_added() -> Weight {
// Proof Size summary in bytes:
// Measured: `978`
// Measured: `1012`
// Estimated: `6196`
// Minimum execution time: 72_477_000 picoseconds.
Weight::from_parts(73_573_000, 6196)
// Minimum execution time: 75_717_000 picoseconds.
Weight::from_parts(77_837_000, 6196)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -193,10 +197,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `1165`
// Measured: `1199`
// Estimated: `8799`
// Minimum execution time: 91_049_000 picoseconds.
Weight::from_parts(91_874_000, 8799)
// Minimum execution time: 94_215_000 picoseconds.
Weight::from_parts(97_017_000, 8799)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -219,10 +223,10 @@ impl WeightInfo for () {
/// The range of component `d` is `[0, 300]`.
fn add_child_bounty(_d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `678`
// Measured: `712`
// Estimated: `6196`
// Minimum execution time: 69_784_000 picoseconds.
Weight::from_parts(71_225_354, 6196)
// Minimum execution time: 69_805_000 picoseconds.
Weight::from_parts(73_216_717, 6196)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -234,10 +238,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
fn propose_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `732`
// Measured: `766`
// Estimated: `3642`
// Minimum execution time: 19_008_000 picoseconds.
Weight::from_parts(19_219_000, 3642)
// Minimum execution time: 18_190_000 picoseconds.
Weight::from_parts(18_932_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -249,10 +253,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn accept_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 35_457_000 picoseconds.
Weight::from_parts(36_088_000, 3642)
// Minimum execution time: 35_035_000 picoseconds.
Weight::from_parts(35_975_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -264,10 +268,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn unassign_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `878`
// Measured: `912`
// Estimated: `3642`
// Minimum execution time: 38_244_000 picoseconds.
Weight::from_parts(38_611_000, 3642)
// Minimum execution time: 37_636_000 picoseconds.
Weight::from_parts(38_610_000, 3642)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -277,10 +281,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
fn award_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `775`
// Measured: `809`
// Estimated: `3642`
// Minimum execution time: 22_762_000 picoseconds.
Weight::from_parts(23_249_000, 3642)
// Minimum execution time: 22_457_000 picoseconds.
Weight::from_parts(23_691_000, 3642)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -294,10 +298,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn claim_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `648`
// Measured: `682`
// Estimated: `8799`
// Minimum execution time: 112_019_000 picoseconds.
Weight::from_parts(113_190_000, 8799)
// Minimum execution time: 118_272_000 picoseconds.
Weight::from_parts(121_646_000, 8799)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -315,10 +319,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_added() -> Weight {
// Proof Size summary in bytes:
// Measured: `978`
// Measured: `1012`
// Estimated: `6196`
// Minimum execution time: 72_477_000 picoseconds.
Weight::from_parts(73_573_000, 6196)
// Minimum execution time: 75_717_000 picoseconds.
Weight::from_parts(77_837_000, 6196)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -336,10 +340,10 @@ impl WeightInfo for () {
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(314), added: 2789, mode: MaxEncodedLen)
fn close_child_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `1165`
// Measured: `1199`
// Estimated: `8799`
// Minimum execution time: 91_049_000 picoseconds.
Weight::from_parts(91_874_000, 8799)
// Minimum execution time: 94_215_000 picoseconds.
Weight::from_parts(97_017_000, 8799)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
+133 -129
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_collective
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_collective
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_collective.
pub trait WeightInfo {
@@ -77,13 +81,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + m * (3232 ±0) + p * (3190 ±0)`
// Estimated: `15861 + m * (1967 ±23) + p * (4332 ±23)`
// Minimum execution time: 19_398_000 picoseconds.
Weight::from_parts(19_542_000, 15861)
// Standard Error: 71_395
.saturating_add(Weight::from_parts(5_630_062, 0).saturating_mul(m.into()))
// Standard Error: 71_395
.saturating_add(Weight::from_parts(8_634_133, 0).saturating_mul(p.into()))
// Estimated: `15861 + m * (1967 ±24) + p * (4332 ±24)`
// Minimum execution time: 17_506_000 picoseconds.
Weight::from_parts(17_767_000, 15861)
// Standard Error: 60_220
.saturating_add(Weight::from_parts(4_374_805, 0).saturating_mul(m.into()))
// Standard Error: 60_220
.saturating_add(Weight::from_parts(8_398_316, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -99,12 +103,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `202 + m * (32 ±0)`
// Estimated: `1688 + m * (32 ±0)`
// Minimum execution time: 17_579_000 picoseconds.
Weight::from_parts(16_874_624, 1688)
// Standard Error: 34
.saturating_add(Weight::from_parts(1_617, 0).saturating_mul(b.into()))
// Standard Error: 353
.saturating_add(Weight::from_parts(19_759, 0).saturating_mul(m.into()))
// Minimum execution time: 16_203_000 picoseconds.
Weight::from_parts(15_348_267, 1688)
// Standard Error: 37
.saturating_add(Weight::from_parts(1_766, 0).saturating_mul(b.into()))
// Standard Error: 382
.saturating_add(Weight::from_parts(15_765, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
}
@@ -118,12 +122,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `202 + m * (32 ±0)`
// Estimated: `3668 + m * (32 ±0)`
// Minimum execution time: 20_339_000 picoseconds.
Weight::from_parts(19_534_549, 3668)
// Standard Error: 45
.saturating_add(Weight::from_parts(1_636, 0).saturating_mul(b.into()))
// Standard Error: 469
.saturating_add(Weight::from_parts(28_178, 0).saturating_mul(m.into()))
// Minimum execution time: 18_642_000 picoseconds.
Weight::from_parts(17_708_609, 3668)
// Standard Error: 58
.saturating_add(Weight::from_parts(2_285, 0).saturating_mul(b.into()))
// Standard Error: 598
.saturating_add(Weight::from_parts(30_454, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
}
@@ -144,14 +148,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `492 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `3884 + m * (33 ±0) + p * (36 ±0)`
// Minimum execution time: 27_793_000 picoseconds.
Weight::from_parts(28_095_462, 3884)
// Standard Error: 82
.saturating_add(Weight::from_parts(2_646, 0).saturating_mul(b.into()))
// Standard Error: 861
.saturating_add(Weight::from_parts(22_332, 0).saturating_mul(m.into()))
// Standard Error: 850
.saturating_add(Weight::from_parts(121_560, 0).saturating_mul(p.into()))
// Minimum execution time: 27_067_000 picoseconds.
Weight::from_parts(25_456_964, 3884)
// Standard Error: 112
.saturating_add(Weight::from_parts(3_773, 0).saturating_mul(b.into()))
// Standard Error: 1_177
.saturating_add(Weight::from_parts(32_783, 0).saturating_mul(m.into()))
// Standard Error: 1_162
.saturating_add(Weight::from_parts(194_388, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into()))
@@ -166,10 +170,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `941 + m * (64 ±0)`
// Estimated: `4405 + m * (64 ±0)`
// Minimum execution time: 23_096_000 picoseconds.
Weight::from_parts(23_793_304, 4405)
// Standard Error: 675
.saturating_add(Weight::from_parts(51_741, 0).saturating_mul(m.into()))
// Minimum execution time: 26_055_000 picoseconds.
Weight::from_parts(27_251_907, 4405)
// Standard Error: 1_008
.saturating_add(Weight::from_parts(65_947, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -188,12 +192,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `530 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `3975 + m * (65 ±0) + p * (36 ±0)`
// Minimum execution time: 29_635_000 picoseconds.
Weight::from_parts(29_574_124, 3975)
// Standard Error: 755
.saturating_add(Weight::from_parts(29_126, 0).saturating_mul(m.into()))
// Standard Error: 737
.saturating_add(Weight::from_parts(123_438, 0).saturating_mul(p.into()))
// Minimum execution time: 28_363_000 picoseconds.
Weight::from_parts(28_733_464, 3975)
// Standard Error: 1_275
.saturating_add(Weight::from_parts(43_236, 0).saturating_mul(m.into()))
// Standard Error: 1_244
.saturating_add(Weight::from_parts(180_187, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
@@ -214,14 +218,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `832 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `4149 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
// Minimum execution time: 41_934_000 picoseconds.
Weight::from_parts(44_022_379, 4149)
// Standard Error: 105
.saturating_add(Weight::from_parts(2_266, 0).saturating_mul(b.into()))
// Standard Error: 1_112
.saturating_add(Weight::from_parts(18_074, 0).saturating_mul(m.into()))
// Standard Error: 1_084
.saturating_add(Weight::from_parts(132_405, 0).saturating_mul(p.into()))
// Minimum execution time: 40_391_000 picoseconds.
Weight::from_parts(42_695_215, 4149)
// Standard Error: 167
.saturating_add(Weight::from_parts(3_622, 0).saturating_mul(b.into()))
// Standard Error: 1_772
.saturating_add(Weight::from_parts(33_830, 0).saturating_mul(m.into()))
// Standard Error: 1_727
.saturating_add(Weight::from_parts(205_374, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
@@ -244,12 +248,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `550 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `3995 + m * (65 ±0) + p * (36 ±0)`
// Minimum execution time: 33_146_000 picoseconds.
Weight::from_parts(31_957_128, 3995)
// Standard Error: 2_321
.saturating_add(Weight::from_parts(31_272, 0).saturating_mul(m.into()))
// Standard Error: 2_264
.saturating_add(Weight::from_parts(156_129, 0).saturating_mul(p.into()))
// Minimum execution time: 31_368_000 picoseconds.
Weight::from_parts(32_141_835, 3995)
// Standard Error: 1_451
.saturating_add(Weight::from_parts(36_372, 0).saturating_mul(m.into()))
// Standard Error: 1_415
.saturating_add(Weight::from_parts(210_635, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
@@ -272,14 +276,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `852 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `4169 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
// Minimum execution time: 44_278_000 picoseconds.
Weight::from_parts(46_039_907, 4169)
// Standard Error: 100
.saturating_add(Weight::from_parts(2_257, 0).saturating_mul(b.into()))
// Standard Error: 1_062
.saturating_add(Weight::from_parts(25_055, 0).saturating_mul(m.into()))
// Standard Error: 1_035
.saturating_add(Weight::from_parts(136_282, 0).saturating_mul(p.into()))
// Minimum execution time: 43_271_000 picoseconds.
Weight::from_parts(45_495_648, 4169)
// Standard Error: 174
.saturating_add(Weight::from_parts(3_034, 0).saturating_mul(b.into()))
// Standard Error: 1_840
.saturating_add(Weight::from_parts(42_209, 0).saturating_mul(m.into()))
// Standard Error: 1_793
.saturating_add(Weight::from_parts(207_525, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
@@ -297,10 +301,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `359 + p * (32 ±0)`
// Estimated: `1844 + p * (32 ±0)`
// Minimum execution time: 16_500_000 picoseconds.
Weight::from_parts(18_376_538, 1844)
// Standard Error: 755
.saturating_add(Weight::from_parts(113_189, 0).saturating_mul(p.into()))
// Minimum execution time: 15_170_000 picoseconds.
Weight::from_parts(17_567_243, 1844)
// Standard Error: 1_430
.saturating_add(Weight::from_parts(169_040, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
@@ -323,13 +327,13 @@ impl WeightInfo for () {
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + m * (3232 ±0) + p * (3190 ±0)`
// Estimated: `15861 + m * (1967 ±23) + p * (4332 ±23)`
// Minimum execution time: 19_398_000 picoseconds.
Weight::from_parts(19_542_000, 15861)
// Standard Error: 71_395
.saturating_add(Weight::from_parts(5_630_062, 0).saturating_mul(m.into()))
// Standard Error: 71_395
.saturating_add(Weight::from_parts(8_634_133, 0).saturating_mul(p.into()))
// Estimated: `15861 + m * (1967 ±24) + p * (4332 ±24)`
// Minimum execution time: 17_506_000 picoseconds.
Weight::from_parts(17_767_000, 15861)
// Standard Error: 60_220
.saturating_add(Weight::from_parts(4_374_805, 0).saturating_mul(m.into()))
// Standard Error: 60_220
.saturating_add(Weight::from_parts(8_398_316, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -345,12 +349,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `202 + m * (32 ±0)`
// Estimated: `1688 + m * (32 ±0)`
// Minimum execution time: 17_579_000 picoseconds.
Weight::from_parts(16_874_624, 1688)
// Standard Error: 34
.saturating_add(Weight::from_parts(1_617, 0).saturating_mul(b.into()))
// Standard Error: 353
.saturating_add(Weight::from_parts(19_759, 0).saturating_mul(m.into()))
// Minimum execution time: 16_203_000 picoseconds.
Weight::from_parts(15_348_267, 1688)
// Standard Error: 37
.saturating_add(Weight::from_parts(1_766, 0).saturating_mul(b.into()))
// Standard Error: 382
.saturating_add(Weight::from_parts(15_765, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
}
@@ -364,12 +368,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `202 + m * (32 ±0)`
// Estimated: `3668 + m * (32 ±0)`
// Minimum execution time: 20_339_000 picoseconds.
Weight::from_parts(19_534_549, 3668)
// Standard Error: 45
.saturating_add(Weight::from_parts(1_636, 0).saturating_mul(b.into()))
// Standard Error: 469
.saturating_add(Weight::from_parts(28_178, 0).saturating_mul(m.into()))
// Minimum execution time: 18_642_000 picoseconds.
Weight::from_parts(17_708_609, 3668)
// Standard Error: 58
.saturating_add(Weight::from_parts(2_285, 0).saturating_mul(b.into()))
// Standard Error: 598
.saturating_add(Weight::from_parts(30_454, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
}
@@ -390,14 +394,14 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `492 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `3884 + m * (33 ±0) + p * (36 ±0)`
// Minimum execution time: 27_793_000 picoseconds.
Weight::from_parts(28_095_462, 3884)
// Standard Error: 82
.saturating_add(Weight::from_parts(2_646, 0).saturating_mul(b.into()))
// Standard Error: 861
.saturating_add(Weight::from_parts(22_332, 0).saturating_mul(m.into()))
// Standard Error: 850
.saturating_add(Weight::from_parts(121_560, 0).saturating_mul(p.into()))
// Minimum execution time: 27_067_000 picoseconds.
Weight::from_parts(25_456_964, 3884)
// Standard Error: 112
.saturating_add(Weight::from_parts(3_773, 0).saturating_mul(b.into()))
// Standard Error: 1_177
.saturating_add(Weight::from_parts(32_783, 0).saturating_mul(m.into()))
// Standard Error: 1_162
.saturating_add(Weight::from_parts(194_388, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into()))
@@ -412,10 +416,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `941 + m * (64 ±0)`
// Estimated: `4405 + m * (64 ±0)`
// Minimum execution time: 23_096_000 picoseconds.
Weight::from_parts(23_793_304, 4405)
// Standard Error: 675
.saturating_add(Weight::from_parts(51_741, 0).saturating_mul(m.into()))
// Minimum execution time: 26_055_000 picoseconds.
Weight::from_parts(27_251_907, 4405)
// Standard Error: 1_008
.saturating_add(Weight::from_parts(65_947, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -434,12 +438,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `530 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `3975 + m * (65 ±0) + p * (36 ±0)`
// Minimum execution time: 29_635_000 picoseconds.
Weight::from_parts(29_574_124, 3975)
// Standard Error: 755
.saturating_add(Weight::from_parts(29_126, 0).saturating_mul(m.into()))
// Standard Error: 737
.saturating_add(Weight::from_parts(123_438, 0).saturating_mul(p.into()))
// Minimum execution time: 28_363_000 picoseconds.
Weight::from_parts(28_733_464, 3975)
// Standard Error: 1_275
.saturating_add(Weight::from_parts(43_236, 0).saturating_mul(m.into()))
// Standard Error: 1_244
.saturating_add(Weight::from_parts(180_187, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
@@ -460,14 +464,14 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `832 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `4149 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
// Minimum execution time: 41_934_000 picoseconds.
Weight::from_parts(44_022_379, 4149)
// Standard Error: 105
.saturating_add(Weight::from_parts(2_266, 0).saturating_mul(b.into()))
// Standard Error: 1_112
.saturating_add(Weight::from_parts(18_074, 0).saturating_mul(m.into()))
// Standard Error: 1_084
.saturating_add(Weight::from_parts(132_405, 0).saturating_mul(p.into()))
// Minimum execution time: 40_391_000 picoseconds.
Weight::from_parts(42_695_215, 4149)
// Standard Error: 167
.saturating_add(Weight::from_parts(3_622, 0).saturating_mul(b.into()))
// Standard Error: 1_772
.saturating_add(Weight::from_parts(33_830, 0).saturating_mul(m.into()))
// Standard Error: 1_727
.saturating_add(Weight::from_parts(205_374, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
@@ -490,12 +494,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `550 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `3995 + m * (65 ±0) + p * (36 ±0)`
// Minimum execution time: 33_146_000 picoseconds.
Weight::from_parts(31_957_128, 3995)
// Standard Error: 2_321
.saturating_add(Weight::from_parts(31_272, 0).saturating_mul(m.into()))
// Standard Error: 2_264
.saturating_add(Weight::from_parts(156_129, 0).saturating_mul(p.into()))
// Minimum execution time: 31_368_000 picoseconds.
Weight::from_parts(32_141_835, 3995)
// Standard Error: 1_451
.saturating_add(Weight::from_parts(36_372, 0).saturating_mul(m.into()))
// Standard Error: 1_415
.saturating_add(Weight::from_parts(210_635, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
@@ -518,14 +522,14 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `852 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `4169 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
// Minimum execution time: 44_278_000 picoseconds.
Weight::from_parts(46_039_907, 4169)
// Standard Error: 100
.saturating_add(Weight::from_parts(2_257, 0).saturating_mul(b.into()))
// Standard Error: 1_062
.saturating_add(Weight::from_parts(25_055, 0).saturating_mul(m.into()))
// Standard Error: 1_035
.saturating_add(Weight::from_parts(136_282, 0).saturating_mul(p.into()))
// Minimum execution time: 43_271_000 picoseconds.
Weight::from_parts(45_495_648, 4169)
// Standard Error: 174
.saturating_add(Weight::from_parts(3_034, 0).saturating_mul(b.into()))
// Standard Error: 1_840
.saturating_add(Weight::from_parts(42_209, 0).saturating_mul(m.into()))
// Standard Error: 1_793
.saturating_add(Weight::from_parts(207_525, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
@@ -543,10 +547,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `359 + p * (32 ±0)`
// Estimated: `1844 + p * (32 ±0)`
// Minimum execution time: 16_500_000 picoseconds.
Weight::from_parts(18_376_538, 1844)
// Standard Error: 755
.saturating_add(Weight::from_parts(113_189, 0).saturating_mul(p.into()))
// Minimum execution time: 15_170_000 picoseconds.
Weight::from_parts(17_567_243, 1844)
// Standard Error: 1_430
.saturating_add(Weight::from_parts(169_040, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
+1283 -1277
View File
File diff suppressed because it is too large Load Diff
+43 -39
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_conviction_voting
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_conviction_voting
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_conviction_voting.
pub trait WeightInfo {
@@ -76,8 +80,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `13074`
// Estimated: `219984`
// Minimum execution time: 99_130_000 picoseconds.
Weight::from_parts(100_355_000, 219984)
// Minimum execution time: 112_936_000 picoseconds.
Weight::from_parts(116_972_000, 219984)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -97,8 +101,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `20216`
// Estimated: `219984`
// Minimum execution time: 276_420_000 picoseconds.
Weight::from_parts(277_433_000, 219984)
// Minimum execution time: 291_971_000 picoseconds.
Weight::from_parts(301_738_000, 219984)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -112,8 +116,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `19968`
// Estimated: `219984`
// Minimum execution time: 241_058_000 picoseconds.
Weight::from_parts(242_235_000, 219984)
// Minimum execution time: 262_582_000 picoseconds.
Weight::from_parts(270_955_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -125,8 +129,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `12675`
// Estimated: `30706`
// Minimum execution time: 46_385_000 picoseconds.
Weight::from_parts(46_709_000, 30706)
// Minimum execution time: 52_909_000 picoseconds.
Weight::from_parts(56_365_000, 30706)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -147,10 +151,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `240 + r * (1627 ±0)`
// Estimated: `109992 + r * (109992 ±0)`
// Minimum execution time: 48_947_000 picoseconds.
Weight::from_parts(50_219_593, 109992)
// Standard Error: 70_238
.saturating_add(Weight::from_parts(40_509_706, 0).saturating_mul(r.into()))
// Minimum execution time: 54_640_000 picoseconds.
Weight::from_parts(57_185_281, 109992)
// Standard Error: 193_362
.saturating_add(Weight::from_parts(44_897_418, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
@@ -168,10 +172,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `406 + r * (1376 ±0)`
// Estimated: `109992 + r * (109992 ±0)`
// Minimum execution time: 23_408_000 picoseconds.
Weight::from_parts(24_087_793, 109992)
// Standard Error: 31_776
.saturating_add(Weight::from_parts(36_594_606, 0).saturating_mul(r.into()))
// Minimum execution time: 26_514_000 picoseconds.
Weight::from_parts(28_083_732, 109992)
// Standard Error: 104_905
.saturating_add(Weight::from_parts(40_722_467, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -190,8 +194,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `11734`
// Estimated: `30706`
// Minimum execution time: 65_903_000 picoseconds.
Weight::from_parts(66_460_000, 30706)
// Minimum execution time: 71_140_000 picoseconds.
Weight::from_parts(77_388_000, 30706)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -215,8 +219,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `13074`
// Estimated: `219984`
// Minimum execution time: 99_130_000 picoseconds.
Weight::from_parts(100_355_000, 219984)
// Minimum execution time: 112_936_000 picoseconds.
Weight::from_parts(116_972_000, 219984)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -236,8 +240,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `20216`
// Estimated: `219984`
// Minimum execution time: 276_420_000 picoseconds.
Weight::from_parts(277_433_000, 219984)
// Minimum execution time: 291_971_000 picoseconds.
Weight::from_parts(301_738_000, 219984)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -251,8 +255,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `19968`
// Estimated: `219984`
// Minimum execution time: 241_058_000 picoseconds.
Weight::from_parts(242_235_000, 219984)
// Minimum execution time: 262_582_000 picoseconds.
Weight::from_parts(270_955_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -264,8 +268,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `12675`
// Estimated: `30706`
// Minimum execution time: 46_385_000 picoseconds.
Weight::from_parts(46_709_000, 30706)
// Minimum execution time: 52_909_000 picoseconds.
Weight::from_parts(56_365_000, 30706)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -286,10 +290,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `240 + r * (1627 ±0)`
// Estimated: `109992 + r * (109992 ±0)`
// Minimum execution time: 48_947_000 picoseconds.
Weight::from_parts(50_219_593, 109992)
// Standard Error: 70_238
.saturating_add(Weight::from_parts(40_509_706, 0).saturating_mul(r.into()))
// Minimum execution time: 54_640_000 picoseconds.
Weight::from_parts(57_185_281, 109992)
// Standard Error: 193_362
.saturating_add(Weight::from_parts(44_897_418, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(4_u64))
@@ -307,10 +311,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `406 + r * (1376 ±0)`
// Estimated: `109992 + r * (109992 ±0)`
// Minimum execution time: 23_408_000 picoseconds.
Weight::from_parts(24_087_793, 109992)
// Standard Error: 31_776
.saturating_add(Weight::from_parts(36_594_606, 0).saturating_mul(r.into()))
// Minimum execution time: 26_514_000 picoseconds.
Weight::from_parts(28_083_732, 109992)
// Standard Error: 104_905
.saturating_add(Weight::from_parts(40_722_467, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -329,8 +333,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `11734`
// Estimated: `30706`
// Minimum execution time: 65_903_000 picoseconds.
Weight::from_parts(66_460_000, 30706)
// Minimum execution time: 71_140_000 picoseconds.
Weight::from_parts(77_388_000, 30706)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
+63 -59
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_core_fellowship
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_core_fellowship
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_core_fellowship.
pub trait WeightInfo {
@@ -69,8 +73,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_390_000 picoseconds.
Weight::from_parts(10_847_000, 0)
// Minimum execution time: 9_454_000 picoseconds.
Weight::from_parts(9_804_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: CoreFellowship Member (r:1 w:1)
@@ -87,10 +91,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `16854`
// Measured: `16887`
// Estimated: `19894`
// Minimum execution time: 61_737_000 picoseconds.
Weight::from_parts(62_207_000, 19894)
// Minimum execution time: 58_489_000 picoseconds.
Weight::from_parts(60_202_000, 19894)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -108,10 +112,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_demote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16964`
// Measured: `16997`
// Estimated: `19894`
// Minimum execution time: 64_226_000 picoseconds.
Weight::from_parts(64_678_000, 19894)
// Minimum execution time: 60_605_000 picoseconds.
Weight::from_parts(63_957_000, 19894)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -121,10 +125,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn set_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `355`
// Measured: `388`
// Estimated: `3514`
// Minimum execution time: 18_977_000 picoseconds.
Weight::from_parts(19_157_000, 3514)
// Minimum execution time: 17_816_000 picoseconds.
Weight::from_parts(18_524_000, 3514)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -140,10 +144,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn induct() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `146`
// Estimated: `3514`
// Minimum execution time: 28_633_000 picoseconds.
Weight::from_parts(29_074_000, 3514)
// Minimum execution time: 27_249_000 picoseconds.
Weight::from_parts(28_049_000, 3514)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -163,10 +167,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn promote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16832`
// Measured: `16865`
// Estimated: `19894`
// Minimum execution time: 59_008_000 picoseconds.
Weight::from_parts(59_690_000, 19894)
// Minimum execution time: 56_642_000 picoseconds.
Weight::from_parts(59_353_000, 19894)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -178,10 +182,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
// Measured: `359`
// Estimated: `3514`
// Minimum execution time: 18_892_000 picoseconds.
Weight::from_parts(19_095_000, 3514)
// Minimum execution time: 17_459_000 picoseconds.
Weight::from_parts(18_033_000, 3514)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -191,10 +195,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
fn import() -> Weight {
// Proof Size summary in bytes:
// Measured: `280`
// Measured: `313`
// Estimated: `3514`
// Minimum execution time: 18_107_000 picoseconds.
Weight::from_parts(18_371_000, 3514)
// Minimum execution time: 16_728_000 picoseconds.
Weight::from_parts(17_263_000, 3514)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -206,10 +210,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `16810`
// Measured: `16843`
// Estimated: `19894`
// Minimum execution time: 43_243_000 picoseconds.
Weight::from_parts(43_965_000, 19894)
// Minimum execution time: 41_487_000 picoseconds.
Weight::from_parts(43_459_000, 19894)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -221,8 +225,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `79`
// Estimated: `19894`
// Minimum execution time: 27_881_000 picoseconds.
Weight::from_parts(28_208_000, 19894)
// Minimum execution time: 26_033_000 picoseconds.
Weight::from_parts(26_612_000, 19894)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -236,8 +240,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_390_000 picoseconds.
Weight::from_parts(10_847_000, 0)
// Minimum execution time: 9_454_000 picoseconds.
Weight::from_parts(9_804_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: CoreFellowship Member (r:1 w:1)
@@ -254,10 +258,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `16854`
// Measured: `16887`
// Estimated: `19894`
// Minimum execution time: 61_737_000 picoseconds.
Weight::from_parts(62_207_000, 19894)
// Minimum execution time: 58_489_000 picoseconds.
Weight::from_parts(60_202_000, 19894)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -275,10 +279,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn bump_demote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16964`
// Measured: `16997`
// Estimated: `19894`
// Minimum execution time: 64_226_000 picoseconds.
Weight::from_parts(64_678_000, 19894)
// Minimum execution time: 60_605_000 picoseconds.
Weight::from_parts(63_957_000, 19894)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -288,10 +292,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn set_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `355`
// Measured: `388`
// Estimated: `3514`
// Minimum execution time: 18_977_000 picoseconds.
Weight::from_parts(19_157_000, 3514)
// Minimum execution time: 17_816_000 picoseconds.
Weight::from_parts(18_524_000, 3514)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -307,10 +311,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn induct() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `146`
// Estimated: `3514`
// Minimum execution time: 28_633_000 picoseconds.
Weight::from_parts(29_074_000, 3514)
// Minimum execution time: 27_249_000 picoseconds.
Weight::from_parts(28_049_000, 3514)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -330,10 +334,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn promote() -> Weight {
// Proof Size summary in bytes:
// Measured: `16832`
// Measured: `16865`
// Estimated: `19894`
// Minimum execution time: 59_008_000 picoseconds.
Weight::from_parts(59_690_000, 19894)
// Minimum execution time: 56_642_000 picoseconds.
Weight::from_parts(59_353_000, 19894)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -345,10 +349,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn offboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
// Measured: `359`
// Estimated: `3514`
// Minimum execution time: 18_892_000 picoseconds.
Weight::from_parts(19_095_000, 3514)
// Minimum execution time: 17_459_000 picoseconds.
Weight::from_parts(18_033_000, 3514)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -358,10 +362,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
fn import() -> Weight {
// Proof Size summary in bytes:
// Measured: `280`
// Measured: `313`
// Estimated: `3514`
// Minimum execution time: 18_107_000 picoseconds.
Weight::from_parts(18_371_000, 3514)
// Minimum execution time: 16_728_000 picoseconds.
Weight::from_parts(17_263_000, 3514)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -373,10 +377,10 @@ impl WeightInfo for () {
/// Proof: CoreFellowship MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `16810`
// Measured: `16843`
// Estimated: `19894`
// Minimum execution time: 43_243_000 picoseconds.
Weight::from_parts(43_965_000, 19894)
// Minimum execution time: 41_487_000 picoseconds.
Weight::from_parts(43_459_000, 19894)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -388,8 +392,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `79`
// Estimated: `19894`
// Minimum execution time: 27_881_000 picoseconds.
Weight::from_parts(28_208_000, 19894)
// Minimum execution time: 26_033_000 picoseconds.
Weight::from_parts(26_612_000, 19894)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+151 -147
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_democracy
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_democracy
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_democracy.
pub trait WeightInfo {
@@ -93,8 +97,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `4801`
// Estimated: `18187`
// Minimum execution time: 43_810_000 picoseconds.
Weight::from_parts(44_439_000, 18187)
// Minimum execution time: 49_339_000 picoseconds.
Weight::from_parts(50_942_000, 18187)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -104,8 +108,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3556`
// Estimated: `6695`
// Minimum execution time: 40_003_000 picoseconds.
Weight::from_parts(40_448_000, 6695)
// Minimum execution time: 43_291_000 picoseconds.
Weight::from_parts(44_856_000, 6695)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -121,8 +125,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3470`
// Estimated: `7260`
// Minimum execution time: 54_737_000 picoseconds.
Weight::from_parts(55_154_000, 7260)
// Minimum execution time: 61_890_000 picoseconds.
Weight::from_parts(63_626_000, 7260)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -138,8 +142,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3492`
// Estimated: `7260`
// Minimum execution time: 59_545_000 picoseconds.
Weight::from_parts(59_955_000, 7260)
// Minimum execution time: 67_802_000 picoseconds.
Weight::from_parts(69_132_000, 7260)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -153,8 +157,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `366`
// Estimated: `3666`
// Minimum execution time: 27_886_000 picoseconds.
Weight::from_parts(28_372_000, 3666)
// Minimum execution time: 25_757_000 picoseconds.
Weight::from_parts(27_226_000, 3666)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -176,8 +180,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `5910`
// Estimated: `18187`
// Minimum execution time: 99_273_000 picoseconds.
Weight::from_parts(100_398_000, 18187)
// Minimum execution time: 113_060_000 picoseconds.
Weight::from_parts(114_813_000, 18187)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -189,8 +193,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3416`
// Estimated: `6703`
// Minimum execution time: 14_946_000 picoseconds.
Weight::from_parts(15_114_000, 6703)
// Minimum execution time: 13_413_000 picoseconds.
Weight::from_parts(13_794_000, 6703)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -200,8 +204,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_870_000 picoseconds.
Weight::from_parts(4_083_000, 0)
// Minimum execution time: 3_213_000 picoseconds.
Weight::from_parts(3_429_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Democracy NextExternal (r:0 w:1)
@@ -210,8 +214,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_989_000 picoseconds.
Weight::from_parts(4_166_000, 0)
// Minimum execution time: 3_280_000 picoseconds.
Weight::from_parts(3_389_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Democracy NextExternal (r:1 w:1)
@@ -226,8 +230,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `3518`
// Minimum execution time: 29_776_000 picoseconds.
Weight::from_parts(30_186_000, 3518)
// Minimum execution time: 28_142_000 picoseconds.
Weight::from_parts(28_862_000, 3518)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -241,8 +245,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3519`
// Estimated: `6703`
// Minimum execution time: 33_891_000 picoseconds.
Weight::from_parts(34_265_000, 6703)
// Minimum execution time: 32_395_000 picoseconds.
Weight::from_parts(33_617_000, 6703)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -258,8 +262,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `5821`
// Estimated: `18187`
// Minimum execution time: 81_510_000 picoseconds.
Weight::from_parts(82_483_000, 18187)
// Minimum execution time: 92_255_000 picoseconds.
Weight::from_parts(93_704_000, 18187)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -271,8 +275,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `271`
// Estimated: `3518`
// Minimum execution time: 21_164_000 picoseconds.
Weight::from_parts(21_624_000, 3518)
// Minimum execution time: 19_623_000 picoseconds.
Weight::from_parts(20_545_000, 3518)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -287,10 +291,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `244 + r * (86 ±0)`
// Estimated: `1489 + r * (2676 ±0)`
// Minimum execution time: 6_925_000 picoseconds.
Weight::from_parts(10_624_198, 1489)
// Standard Error: 5_780
.saturating_add(Weight::from_parts(2_934_169, 0).saturating_mul(r.into()))
// Minimum execution time: 7_032_000 picoseconds.
Weight::from_parts(7_931_421, 1489)
// Standard Error: 7_395
.saturating_add(Weight::from_parts(3_236_964, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -313,10 +317,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `244 + r * (86 ±0)`
// Estimated: `18187 + r * (2676 ±0)`
// Minimum execution time: 10_551_000 picoseconds.
Weight::from_parts(13_126_123, 18187)
// Standard Error: 6_391
.saturating_add(Weight::from_parts(2_952_789, 0).saturating_mul(r.into()))
// Minimum execution time: 10_524_000 picoseconds.
Weight::from_parts(10_369_064, 18187)
// Standard Error: 8_385
.saturating_add(Weight::from_parts(3_242_334, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -335,10 +339,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `830 + r * (108 ±0)`
// Estimated: `19800 + r * (2676 ±0)`
// Minimum execution time: 47_172_000 picoseconds.
Weight::from_parts(49_667_954, 19800)
// Standard Error: 6_129
.saturating_add(Weight::from_parts(4_230_402, 0).saturating_mul(r.into()))
// Minimum execution time: 46_106_000 picoseconds.
Weight::from_parts(48_936_654, 19800)
// Standard Error: 8_879
.saturating_add(Weight::from_parts(4_708_141, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
@@ -354,10 +358,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `493 + r * (108 ±0)`
// Estimated: `13530 + r * (2676 ±0)`
// Minimum execution time: 22_360_000 picoseconds.
Weight::from_parts(25_063_237, 13530)
// Standard Error: 5_326
.saturating_add(Weight::from_parts(4_163_683, 0).saturating_mul(r.into()))
// Minimum execution time: 21_078_000 picoseconds.
Weight::from_parts(22_732_737, 13530)
// Standard Error: 7_969
.saturating_add(Weight::from_parts(4_626_458, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -370,8 +374,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_047_000 picoseconds.
Weight::from_parts(4_139_000, 0)
// Minimum execution time: 3_229_000 picoseconds.
Weight::from_parts(3_415_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Democracy VotingOf (r:1 w:1)
@@ -387,10 +391,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `563`
// Estimated: `7260`
// Minimum execution time: 27_322_000 picoseconds.
Weight::from_parts(39_909_589, 7260)
// Standard Error: 2_758
.saturating_add(Weight::from_parts(29_497, 0).saturating_mul(r.into()))
// Minimum execution time: 25_735_000 picoseconds.
Weight::from_parts(41_341_468, 7260)
// Standard Error: 3_727
.saturating_add(Weight::from_parts(94_755, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -407,10 +411,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `564 + r * (22 ±0)`
// Estimated: `7260`
// Minimum execution time: 37_082_000 picoseconds.
Weight::from_parts(38_580_061, 7260)
// Standard Error: 664
.saturating_add(Weight::from_parts(62_401, 0).saturating_mul(r.into()))
// Minimum execution time: 36_233_000 picoseconds.
Weight::from_parts(39_836_017, 7260)
// Standard Error: 1_791
.saturating_add(Weight::from_parts(132_158, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -423,10 +427,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `728 + r * (26 ±0)`
// Estimated: `7260`
// Minimum execution time: 17_528_000 picoseconds.
Weight::from_parts(20_075_412, 7260)
// Standard Error: 1_072
.saturating_add(Weight::from_parts(81_734, 0).saturating_mul(r.into()))
// Minimum execution time: 16_081_000 picoseconds.
Weight::from_parts(19_624_101, 7260)
// Standard Error: 1_639
.saturating_add(Weight::from_parts(133_630, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -439,10 +443,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `728 + r * (26 ±0)`
// Estimated: `7260`
// Minimum execution time: 17_517_000 picoseconds.
Weight::from_parts(20_090_718, 7260)
// Standard Error: 1_105
.saturating_add(Weight::from_parts(82_651, 0).saturating_mul(r.into()))
// Minimum execution time: 15_634_000 picoseconds.
Weight::from_parts(19_573_407, 7260)
// Standard Error: 1_790
.saturating_add(Weight::from_parts(139_707, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -456,8 +460,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `356`
// Estimated: `3556`
// Minimum execution time: 19_234_000 picoseconds.
Weight::from_parts(19_755_000, 3556)
// Minimum execution time: 18_344_000 picoseconds.
Weight::from_parts(18_727_000, 3556)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -469,8 +473,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `3518`
// Minimum execution time: 17_621_000 picoseconds.
Weight::from_parts(17_861_000, 3518)
// Minimum execution time: 16_497_000 picoseconds.
Weight::from_parts(16_892_000, 3518)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -484,8 +488,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `4888`
// Estimated: `18187`
// Minimum execution time: 35_785_000 picoseconds.
Weight::from_parts(36_102_000, 18187)
// Minimum execution time: 39_517_000 picoseconds.
Weight::from_parts(40_632_000, 18187)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -497,8 +501,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `4822`
// Estimated: `18187`
// Minimum execution time: 33_493_000 picoseconds.
Weight::from_parts(33_747_000, 18187)
// Minimum execution time: 37_108_000 picoseconds.
Weight::from_parts(37_599_000, 18187)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -510,8 +514,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 15_557_000 picoseconds.
Weight::from_parts(15_844_000, 3556)
// Minimum execution time: 13_997_000 picoseconds.
Weight::from_parts(14_298_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -523,8 +527,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `302`
// Estimated: `3666`
// Minimum execution time: 19_940_000 picoseconds.
Weight::from_parts(20_301_000, 3666)
// Minimum execution time: 18_122_000 picoseconds.
Weight::from_parts(18_655_000, 3666)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -544,8 +548,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `4801`
// Estimated: `18187`
// Minimum execution time: 43_810_000 picoseconds.
Weight::from_parts(44_439_000, 18187)
// Minimum execution time: 49_339_000 picoseconds.
Weight::from_parts(50_942_000, 18187)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -555,8 +559,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3556`
// Estimated: `6695`
// Minimum execution time: 40_003_000 picoseconds.
Weight::from_parts(40_448_000, 6695)
// Minimum execution time: 43_291_000 picoseconds.
Weight::from_parts(44_856_000, 6695)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -572,8 +576,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3470`
// Estimated: `7260`
// Minimum execution time: 54_737_000 picoseconds.
Weight::from_parts(55_154_000, 7260)
// Minimum execution time: 61_890_000 picoseconds.
Weight::from_parts(63_626_000, 7260)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -589,8 +593,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3492`
// Estimated: `7260`
// Minimum execution time: 59_545_000 picoseconds.
Weight::from_parts(59_955_000, 7260)
// Minimum execution time: 67_802_000 picoseconds.
Weight::from_parts(69_132_000, 7260)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -604,8 +608,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `366`
// Estimated: `3666`
// Minimum execution time: 27_886_000 picoseconds.
Weight::from_parts(28_372_000, 3666)
// Minimum execution time: 25_757_000 picoseconds.
Weight::from_parts(27_226_000, 3666)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -627,8 +631,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `5910`
// Estimated: `18187`
// Minimum execution time: 99_273_000 picoseconds.
Weight::from_parts(100_398_000, 18187)
// Minimum execution time: 113_060_000 picoseconds.
Weight::from_parts(114_813_000, 18187)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -640,8 +644,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3416`
// Estimated: `6703`
// Minimum execution time: 14_946_000 picoseconds.
Weight::from_parts(15_114_000, 6703)
// Minimum execution time: 13_413_000 picoseconds.
Weight::from_parts(13_794_000, 6703)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -651,8 +655,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_870_000 picoseconds.
Weight::from_parts(4_083_000, 0)
// Minimum execution time: 3_213_000 picoseconds.
Weight::from_parts(3_429_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Democracy NextExternal (r:0 w:1)
@@ -661,8 +665,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_989_000 picoseconds.
Weight::from_parts(4_166_000, 0)
// Minimum execution time: 3_280_000 picoseconds.
Weight::from_parts(3_389_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Democracy NextExternal (r:1 w:1)
@@ -677,8 +681,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `3518`
// Minimum execution time: 29_776_000 picoseconds.
Weight::from_parts(30_186_000, 3518)
// Minimum execution time: 28_142_000 picoseconds.
Weight::from_parts(28_862_000, 3518)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -692,8 +696,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3519`
// Estimated: `6703`
// Minimum execution time: 33_891_000 picoseconds.
Weight::from_parts(34_265_000, 6703)
// Minimum execution time: 32_395_000 picoseconds.
Weight::from_parts(33_617_000, 6703)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -709,8 +713,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `5821`
// Estimated: `18187`
// Minimum execution time: 81_510_000 picoseconds.
Weight::from_parts(82_483_000, 18187)
// Minimum execution time: 92_255_000 picoseconds.
Weight::from_parts(93_704_000, 18187)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -722,8 +726,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `271`
// Estimated: `3518`
// Minimum execution time: 21_164_000 picoseconds.
Weight::from_parts(21_624_000, 3518)
// Minimum execution time: 19_623_000 picoseconds.
Weight::from_parts(20_545_000, 3518)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -738,10 +742,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `244 + r * (86 ±0)`
// Estimated: `1489 + r * (2676 ±0)`
// Minimum execution time: 6_925_000 picoseconds.
Weight::from_parts(10_624_198, 1489)
// Standard Error: 5_780
.saturating_add(Weight::from_parts(2_934_169, 0).saturating_mul(r.into()))
// Minimum execution time: 7_032_000 picoseconds.
Weight::from_parts(7_931_421, 1489)
// Standard Error: 7_395
.saturating_add(Weight::from_parts(3_236_964, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -764,10 +768,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `244 + r * (86 ±0)`
// Estimated: `18187 + r * (2676 ±0)`
// Minimum execution time: 10_551_000 picoseconds.
Weight::from_parts(13_126_123, 18187)
// Standard Error: 6_391
.saturating_add(Weight::from_parts(2_952_789, 0).saturating_mul(r.into()))
// Minimum execution time: 10_524_000 picoseconds.
Weight::from_parts(10_369_064, 18187)
// Standard Error: 8_385
.saturating_add(Weight::from_parts(3_242_334, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -786,10 +790,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `830 + r * (108 ±0)`
// Estimated: `19800 + r * (2676 ±0)`
// Minimum execution time: 47_172_000 picoseconds.
Weight::from_parts(49_667_954, 19800)
// Standard Error: 6_129
.saturating_add(Weight::from_parts(4_230_402, 0).saturating_mul(r.into()))
// Minimum execution time: 46_106_000 picoseconds.
Weight::from_parts(48_936_654, 19800)
// Standard Error: 8_879
.saturating_add(Weight::from_parts(4_708_141, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(4_u64))
@@ -805,10 +809,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `493 + r * (108 ±0)`
// Estimated: `13530 + r * (2676 ±0)`
// Minimum execution time: 22_360_000 picoseconds.
Weight::from_parts(25_063_237, 13530)
// Standard Error: 5_326
.saturating_add(Weight::from_parts(4_163_683, 0).saturating_mul(r.into()))
// Minimum execution time: 21_078_000 picoseconds.
Weight::from_parts(22_732_737, 13530)
// Standard Error: 7_969
.saturating_add(Weight::from_parts(4_626_458, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -821,8 +825,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_047_000 picoseconds.
Weight::from_parts(4_139_000, 0)
// Minimum execution time: 3_229_000 picoseconds.
Weight::from_parts(3_415_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Democracy VotingOf (r:1 w:1)
@@ -838,10 +842,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `563`
// Estimated: `7260`
// Minimum execution time: 27_322_000 picoseconds.
Weight::from_parts(39_909_589, 7260)
// Standard Error: 2_758
.saturating_add(Weight::from_parts(29_497, 0).saturating_mul(r.into()))
// Minimum execution time: 25_735_000 picoseconds.
Weight::from_parts(41_341_468, 7260)
// Standard Error: 3_727
.saturating_add(Weight::from_parts(94_755, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -858,10 +862,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `564 + r * (22 ±0)`
// Estimated: `7260`
// Minimum execution time: 37_082_000 picoseconds.
Weight::from_parts(38_580_061, 7260)
// Standard Error: 664
.saturating_add(Weight::from_parts(62_401, 0).saturating_mul(r.into()))
// Minimum execution time: 36_233_000 picoseconds.
Weight::from_parts(39_836_017, 7260)
// Standard Error: 1_791
.saturating_add(Weight::from_parts(132_158, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -874,10 +878,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `728 + r * (26 ±0)`
// Estimated: `7260`
// Minimum execution time: 17_528_000 picoseconds.
Weight::from_parts(20_075_412, 7260)
// Standard Error: 1_072
.saturating_add(Weight::from_parts(81_734, 0).saturating_mul(r.into()))
// Minimum execution time: 16_081_000 picoseconds.
Weight::from_parts(19_624_101, 7260)
// Standard Error: 1_639
.saturating_add(Weight::from_parts(133_630, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -890,10 +894,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `728 + r * (26 ±0)`
// Estimated: `7260`
// Minimum execution time: 17_517_000 picoseconds.
Weight::from_parts(20_090_718, 7260)
// Standard Error: 1_105
.saturating_add(Weight::from_parts(82_651, 0).saturating_mul(r.into()))
// Minimum execution time: 15_634_000 picoseconds.
Weight::from_parts(19_573_407, 7260)
// Standard Error: 1_790
.saturating_add(Weight::from_parts(139_707, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -907,8 +911,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `356`
// Estimated: `3556`
// Minimum execution time: 19_234_000 picoseconds.
Weight::from_parts(19_755_000, 3556)
// Minimum execution time: 18_344_000 picoseconds.
Weight::from_parts(18_727_000, 3556)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -920,8 +924,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `3518`
// Minimum execution time: 17_621_000 picoseconds.
Weight::from_parts(17_861_000, 3518)
// Minimum execution time: 16_497_000 picoseconds.
Weight::from_parts(16_892_000, 3518)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -935,8 +939,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `4888`
// Estimated: `18187`
// Minimum execution time: 35_785_000 picoseconds.
Weight::from_parts(36_102_000, 18187)
// Minimum execution time: 39_517_000 picoseconds.
Weight::from_parts(40_632_000, 18187)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -948,8 +952,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `4822`
// Estimated: `18187`
// Minimum execution time: 33_493_000 picoseconds.
Weight::from_parts(33_747_000, 18187)
// Minimum execution time: 37_108_000 picoseconds.
Weight::from_parts(37_599_000, 18187)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -961,8 +965,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 15_557_000 picoseconds.
Weight::from_parts(15_844_000, 3556)
// Minimum execution time: 13_997_000 picoseconds.
Weight::from_parts(14_298_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -974,8 +978,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `302`
// Estimated: `3666`
// Minimum execution time: 19_940_000 picoseconds.
Weight::from_parts(20_301_000, 3666)
// Minimum execution time: 18_122_000 picoseconds.
Weight::from_parts(18_655_000, 3666)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+97 -97
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_election_provider_multi_phase
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_election_provider_multi_phase
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_election_provider_multi_phase.
pub trait WeightInfo {
@@ -81,10 +85,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_nothing() -> Weight {
// Proof Size summary in bytes:
// Measured: `994`
// Measured: `1028`
// Estimated: `3481`
// Minimum execution time: 21_239_000 picoseconds.
Weight::from_parts(21_970_000, 3481)
// Minimum execution time: 22_089_000 picoseconds.
Weight::from_parts(22_677_000, 3481)
.saturating_add(T::DbWeight::get().reads(8_u64))
}
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
@@ -93,10 +97,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_open_signed() -> Weight {
// Proof Size summary in bytes:
// Measured: `114`
// Estimated: `1599`
// Minimum execution time: 13_913_000 picoseconds.
Weight::from_parts(14_329_000, 1599)
// Measured: `148`
// Estimated: `1633`
// Minimum execution time: 11_986_000 picoseconds.
Weight::from_parts(12_445_000, 1633)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -106,10 +110,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_open_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `114`
// Estimated: `1599`
// Minimum execution time: 15_377_000 picoseconds.
Weight::from_parts(15_714_000, 1599)
// Measured: `148`
// Estimated: `1633`
// Minimum execution time: 12_988_000 picoseconds.
Weight::from_parts(13_281_000, 1633)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -121,8 +125,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 32_899_000 picoseconds.
Weight::from_parts(33_455_000, 3593)
// Minimum execution time: 32_659_000 picoseconds.
Weight::from_parts(33_281_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -132,8 +136,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 22_532_000 picoseconds.
Weight::from_parts(23_039_000, 3593)
// Minimum execution time: 22_471_000 picoseconds.
Weight::from_parts(23_046_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -149,10 +153,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 253_511_000 picoseconds.
Weight::from_parts(261_190_000, 0)
// Standard Error: 1_621
.saturating_add(Weight::from_parts(157_608, 0).saturating_mul(v.into()))
// Minimum execution time: 262_360_000 picoseconds.
Weight::from_parts(279_313_000, 0)
// Standard Error: 2_384
.saturating_add(Weight::from_parts(176_415, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
@@ -177,14 +181,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `d` is `[200, 400]`.
fn elect_queued(a: u32, d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `337 + a * (768 ±0) + d * (48 ±0)`
// Estimated: `3889 + a * (768 ±0) + d * (49 ±0)`
// Minimum execution time: 284_994_000 picoseconds.
Weight::from_parts(97_696_734, 3889)
// Standard Error: 4_172
.saturating_add(Weight::from_parts(331_569, 0).saturating_mul(a.into()))
// Standard Error: 6_254
.saturating_add(Weight::from_parts(92_198, 0).saturating_mul(d.into()))
// Measured: `371 + a * (768 ±0) + d * (48 ±0)`
// Estimated: `3923 + a * (768 ±0) + d * (49 ±0)`
// Minimum execution time: 301_283_000 picoseconds.
Weight::from_parts(324_586_000, 3923)
// Standard Error: 4_763
.saturating_add(Weight::from_parts(279_812, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
.saturating_add(Weight::from_parts(0, 768).saturating_mul(a.into()))
@@ -204,10 +206,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
fn submit() -> Weight {
// Proof Size summary in bytes:
// Measured: `893`
// Estimated: `2378`
// Minimum execution time: 52_194_000 picoseconds.
Weight::from_parts(53_062_000, 2378)
// Measured: `927`
// Estimated: `2412`
// Minimum execution time: 52_276_000 picoseconds.
Weight::from_parts(53_846_000, 2412)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -231,14 +233,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `d` is `[200, 400]`.
fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `219 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1704 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 4_843_067_000 picoseconds.
Weight::from_parts(4_860_833_000, 1704)
// Standard Error: 14_594
.saturating_add(Weight::from_parts(76_611, 0).saturating_mul(v.into()))
// Standard Error: 43_249
.saturating_add(Weight::from_parts(4_347_887, 0).saturating_mul(a.into()))
// Measured: `253 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1738 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 5_448_459_000 picoseconds.
Weight::from_parts(5_525_622_000, 1738)
// Standard Error: 21_478
.saturating_add(Weight::from_parts(256_345, 0).saturating_mul(v.into()))
// Standard Error: 63_648
.saturating_add(Weight::from_parts(5_103_224, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
@@ -258,14 +260,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `d` is `[200, 400]`.
fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `194 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1679 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 4_190_524_000 picoseconds.
Weight::from_parts(4_200_207_000, 1679)
// Standard Error: 12_454
.saturating_add(Weight::from_parts(166_342, 0).saturating_mul(v.into()))
// Standard Error: 36_906
.saturating_add(Weight::from_parts(3_493_372, 0).saturating_mul(a.into()))
// Measured: `228 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1713 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 4_724_399_000 picoseconds.
Weight::from_parts(4_886_472_000, 1713)
// Standard Error: 15_220
.saturating_add(Weight::from_parts(365_569, 0).saturating_mul(v.into()))
// Standard Error: 45_104
.saturating_add(Weight::from_parts(3_176_675, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
.saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into()))
@@ -292,10 +294,10 @@ impl WeightInfo for () {
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_nothing() -> Weight {
// Proof Size summary in bytes:
// Measured: `994`
// Measured: `1028`
// Estimated: `3481`
// Minimum execution time: 21_239_000 picoseconds.
Weight::from_parts(21_970_000, 3481)
// Minimum execution time: 22_089_000 picoseconds.
Weight::from_parts(22_677_000, 3481)
.saturating_add(RocksDbWeight::get().reads(8_u64))
}
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
@@ -304,10 +306,10 @@ impl WeightInfo for () {
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_open_signed() -> Weight {
// Proof Size summary in bytes:
// Measured: `114`
// Estimated: `1599`
// Minimum execution time: 13_913_000 picoseconds.
Weight::from_parts(14_329_000, 1599)
// Measured: `148`
// Estimated: `1633`
// Minimum execution time: 11_986_000 picoseconds.
Weight::from_parts(12_445_000, 1633)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -317,10 +319,10 @@ impl WeightInfo for () {
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
fn on_initialize_open_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `114`
// Estimated: `1599`
// Minimum execution time: 15_377_000 picoseconds.
Weight::from_parts(15_714_000, 1599)
// Measured: `148`
// Estimated: `1633`
// Minimum execution time: 12_988_000 picoseconds.
Weight::from_parts(13_281_000, 1633)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -332,8 +334,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 32_899_000 picoseconds.
Weight::from_parts(33_455_000, 3593)
// Minimum execution time: 32_659_000 picoseconds.
Weight::from_parts(33_281_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -343,8 +345,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
// Minimum execution time: 22_532_000 picoseconds.
Weight::from_parts(23_039_000, 3593)
// Minimum execution time: 22_471_000 picoseconds.
Weight::from_parts(23_046_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -360,10 +362,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 253_511_000 picoseconds.
Weight::from_parts(261_190_000, 0)
// Standard Error: 1_621
.saturating_add(Weight::from_parts(157_608, 0).saturating_mul(v.into()))
// Minimum execution time: 262_360_000 picoseconds.
Weight::from_parts(279_313_000, 0)
// Standard Error: 2_384
.saturating_add(Weight::from_parts(176_415, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
@@ -388,14 +390,12 @@ impl WeightInfo for () {
/// The range of component `d` is `[200, 400]`.
fn elect_queued(a: u32, d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `337 + a * (768 ±0) + d * (48 ±0)`
// Estimated: `3889 + a * (768 ±0) + d * (49 ±0)`
// Minimum execution time: 284_994_000 picoseconds.
Weight::from_parts(97_696_734, 3889)
// Standard Error: 4_172
.saturating_add(Weight::from_parts(331_569, 0).saturating_mul(a.into()))
// Standard Error: 6_254
.saturating_add(Weight::from_parts(92_198, 0).saturating_mul(d.into()))
// Measured: `371 + a * (768 ±0) + d * (48 ±0)`
// Estimated: `3923 + a * (768 ±0) + d * (49 ±0)`
// Minimum execution time: 301_283_000 picoseconds.
Weight::from_parts(324_586_000, 3923)
// Standard Error: 4_763
.saturating_add(Weight::from_parts(279_812, 0).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(8_u64))
.saturating_add(Weight::from_parts(0, 768).saturating_mul(a.into()))
@@ -415,10 +415,10 @@ impl WeightInfo for () {
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
fn submit() -> Weight {
// Proof Size summary in bytes:
// Measured: `893`
// Estimated: `2378`
// Minimum execution time: 52_194_000 picoseconds.
Weight::from_parts(53_062_000, 2378)
// Measured: `927`
// Estimated: `2412`
// Minimum execution time: 52_276_000 picoseconds.
Weight::from_parts(53_846_000, 2412)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -442,14 +442,14 @@ impl WeightInfo for () {
/// The range of component `d` is `[200, 400]`.
fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `219 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1704 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 4_843_067_000 picoseconds.
Weight::from_parts(4_860_833_000, 1704)
// Standard Error: 14_594
.saturating_add(Weight::from_parts(76_611, 0).saturating_mul(v.into()))
// Standard Error: 43_249
.saturating_add(Weight::from_parts(4_347_887, 0).saturating_mul(a.into()))
// Measured: `253 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1738 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 5_448_459_000 picoseconds.
Weight::from_parts(5_525_622_000, 1738)
// Standard Error: 21_478
.saturating_add(Weight::from_parts(256_345, 0).saturating_mul(v.into()))
// Standard Error: 63_648
.saturating_add(Weight::from_parts(5_103_224, 0).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
@@ -469,14 +469,14 @@ impl WeightInfo for () {
/// The range of component `d` is `[200, 400]`.
fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `194 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1679 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 4_190_524_000 picoseconds.
Weight::from_parts(4_200_207_000, 1679)
// Standard Error: 12_454
.saturating_add(Weight::from_parts(166_342, 0).saturating_mul(v.into()))
// Standard Error: 36_906
.saturating_add(Weight::from_parts(3_493_372, 0).saturating_mul(a.into()))
// Measured: `228 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1713 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 4_724_399_000 picoseconds.
Weight::from_parts(4_886_472_000, 1713)
// Standard Error: 15_220
.saturating_add(Weight::from_parts(365_569, 0).saturating_mul(v.into()))
// Standard Error: 45_104
.saturating_add(Weight::from_parts(3_176_675, 0).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
.saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into()))
+87 -83
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_elections_phragmen
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_elections_phragmen
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_elections_phragmen.
pub trait WeightInfo {
@@ -82,10 +86,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `403 + v * (80 ±0)`
// Estimated: `4764 + v * (80 ±0)`
// Minimum execution time: 33_623_000 picoseconds.
Weight::from_parts(34_531_239, 4764)
// Standard Error: 1_913
.saturating_add(Weight::from_parts(131_360, 0).saturating_mul(v.into()))
// Minimum execution time: 33_028_000 picoseconds.
Weight::from_parts(34_073_914, 4764)
// Standard Error: 3_474
.saturating_add(Weight::from_parts(205_252, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into()))
@@ -107,10 +111,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `371 + v * (80 ±0)`
// Estimated: `4764 + v * (80 ±0)`
// Minimum execution time: 46_106_000 picoseconds.
Weight::from_parts(47_067_453, 4764)
// Standard Error: 2_441
.saturating_add(Weight::from_parts(130_306, 0).saturating_mul(v.into()))
// Minimum execution time: 45_725_000 picoseconds.
Weight::from_parts(47_169_586, 4764)
// Standard Error: 5_148
.saturating_add(Weight::from_parts(213_742, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into()))
@@ -132,10 +136,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `403 + v * (80 ±0)`
// Estimated: `4764 + v * (80 ±0)`
// Minimum execution time: 46_094_000 picoseconds.
Weight::from_parts(47_054_638, 4764)
// Standard Error: 2_651
.saturating_add(Weight::from_parts(137_251, 0).saturating_mul(v.into()))
// Minimum execution time: 45_519_000 picoseconds.
Weight::from_parts(47_339_108, 4764)
// Standard Error: 5_501
.saturating_add(Weight::from_parts(195_247, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into()))
@@ -150,8 +154,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `925`
// Estimated: `4764`
// Minimum execution time: 49_652_000 picoseconds.
Weight::from_parts(50_217_000, 4764)
// Minimum execution time: 50_386_000 picoseconds.
Weight::from_parts(51_378_000, 4764)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -166,10 +170,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1570 + c * (48 ±0)`
// Estimated: `3055 + c * (48 ±0)`
// Minimum execution time: 37_797_000 picoseconds.
Weight::from_parts(38_384_713, 3055)
// Standard Error: 1_008
.saturating_add(Weight::from_parts(71_486, 0).saturating_mul(c.into()))
// Minimum execution time: 38_987_000 picoseconds.
Weight::from_parts(41_302_276, 3055)
// Standard Error: 2_047
.saturating_add(Weight::from_parts(125_200, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into()))
@@ -181,10 +185,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `285 + c * (48 ±0)`
// Estimated: `1770 + c * (48 ±0)`
// Minimum execution time: 31_112_000 picoseconds.
Weight::from_parts(31_660_924, 1770)
// Standard Error: 754
.saturating_add(Weight::from_parts(48_689, 0).saturating_mul(c.into()))
// Minimum execution time: 33_510_000 picoseconds.
Weight::from_parts(34_947_760, 1770)
// Standard Error: 1_781
.saturating_add(Weight::from_parts(78_851, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into()))
@@ -203,8 +207,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1900`
// Estimated: `3385`
// Minimum execution time: 47_487_000 picoseconds.
Weight::from_parts(47_795_000, 3385)
// Minimum execution time: 50_603_000 picoseconds.
Weight::from_parts(51_715_000, 3385)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -214,8 +218,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `880`
// Estimated: `2365`
// Minimum execution time: 31_479_000 picoseconds.
Weight::from_parts(32_093_000, 2365)
// Minimum execution time: 33_441_000 picoseconds.
Weight::from_parts(34_812_000, 2365)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -244,8 +248,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1900`
// Estimated: `3593`
// Minimum execution time: 53_395_000 picoseconds.
Weight::from_parts(53_952_000, 3593)
// Minimum execution time: 57_289_000 picoseconds.
Weight::from_parts(58_328_000, 3593)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -267,12 +271,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `d` is `[0, 256]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1115 + v * (811 ±0)`
// Estimated: `4587 + v * (3774 ±0)`
// Minimum execution time: 18_089_406_000 picoseconds.
Weight::from_parts(18_125_024_000, 4587)
// Standard Error: 296_666
.saturating_add(Weight::from_parts(42_527_045, 0).saturating_mul(v.into()))
// Measured: `1149 + v * (811 ±0)`
// Estimated: `4621 + v * (3774 ±0)`
// Minimum execution time: 18_774_231_000 picoseconds.
Weight::from_parts(18_933_040_000, 4621)
// Standard Error: 301_534
.saturating_add(Weight::from_parts(44_306_903, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
@@ -303,12 +307,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0 + e * (28 ±0) + v * (606 ±0)`
// Estimated: `178887 + c * (2135 ±7) + e * (12 ±0) + v * (2653 ±6)`
// Minimum execution time: 1_193_774_000 picoseconds.
Weight::from_parts(1_196_649_000, 178887)
// Standard Error: 617_531
.saturating_add(Weight::from_parts(17_672_923, 0).saturating_mul(v.into()))
// Standard Error: 39_622
.saturating_add(Weight::from_parts(846_866, 0).saturating_mul(e.into()))
// Minimum execution time: 1_281_877_000 picoseconds.
Weight::from_parts(1_288_147_000, 178887)
// Standard Error: 528_851
.saturating_add(Weight::from_parts(17_761_407, 0).saturating_mul(v.into()))
// Standard Error: 33_932
.saturating_add(Weight::from_parts(698_277, 0).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(21_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
@@ -339,10 +343,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `403 + v * (80 ±0)`
// Estimated: `4764 + v * (80 ±0)`
// Minimum execution time: 33_623_000 picoseconds.
Weight::from_parts(34_531_239, 4764)
// Standard Error: 1_913
.saturating_add(Weight::from_parts(131_360, 0).saturating_mul(v.into()))
// Minimum execution time: 33_028_000 picoseconds.
Weight::from_parts(34_073_914, 4764)
// Standard Error: 3_474
.saturating_add(Weight::from_parts(205_252, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into()))
@@ -364,10 +368,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `371 + v * (80 ±0)`
// Estimated: `4764 + v * (80 ±0)`
// Minimum execution time: 46_106_000 picoseconds.
Weight::from_parts(47_067_453, 4764)
// Standard Error: 2_441
.saturating_add(Weight::from_parts(130_306, 0).saturating_mul(v.into()))
// Minimum execution time: 45_725_000 picoseconds.
Weight::from_parts(47_169_586, 4764)
// Standard Error: 5_148
.saturating_add(Weight::from_parts(213_742, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into()))
@@ -389,10 +393,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `403 + v * (80 ±0)`
// Estimated: `4764 + v * (80 ±0)`
// Minimum execution time: 46_094_000 picoseconds.
Weight::from_parts(47_054_638, 4764)
// Standard Error: 2_651
.saturating_add(Weight::from_parts(137_251, 0).saturating_mul(v.into()))
// Minimum execution time: 45_519_000 picoseconds.
Weight::from_parts(47_339_108, 4764)
// Standard Error: 5_501
.saturating_add(Weight::from_parts(195_247, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into()))
@@ -407,8 +411,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `925`
// Estimated: `4764`
// Minimum execution time: 49_652_000 picoseconds.
Weight::from_parts(50_217_000, 4764)
// Minimum execution time: 50_386_000 picoseconds.
Weight::from_parts(51_378_000, 4764)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -423,10 +427,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1570 + c * (48 ±0)`
// Estimated: `3055 + c * (48 ±0)`
// Minimum execution time: 37_797_000 picoseconds.
Weight::from_parts(38_384_713, 3055)
// Standard Error: 1_008
.saturating_add(Weight::from_parts(71_486, 0).saturating_mul(c.into()))
// Minimum execution time: 38_987_000 picoseconds.
Weight::from_parts(41_302_276, 3055)
// Standard Error: 2_047
.saturating_add(Weight::from_parts(125_200, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into()))
@@ -438,10 +442,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `285 + c * (48 ±0)`
// Estimated: `1770 + c * (48 ±0)`
// Minimum execution time: 31_112_000 picoseconds.
Weight::from_parts(31_660_924, 1770)
// Standard Error: 754
.saturating_add(Weight::from_parts(48_689, 0).saturating_mul(c.into()))
// Minimum execution time: 33_510_000 picoseconds.
Weight::from_parts(34_947_760, 1770)
// Standard Error: 1_781
.saturating_add(Weight::from_parts(78_851, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into()))
@@ -460,8 +464,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1900`
// Estimated: `3385`
// Minimum execution time: 47_487_000 picoseconds.
Weight::from_parts(47_795_000, 3385)
// Minimum execution time: 50_603_000 picoseconds.
Weight::from_parts(51_715_000, 3385)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -471,8 +475,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `880`
// Estimated: `2365`
// Minimum execution time: 31_479_000 picoseconds.
Weight::from_parts(32_093_000, 2365)
// Minimum execution time: 33_441_000 picoseconds.
Weight::from_parts(34_812_000, 2365)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -501,8 +505,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1900`
// Estimated: `3593`
// Minimum execution time: 53_395_000 picoseconds.
Weight::from_parts(53_952_000, 3593)
// Minimum execution time: 57_289_000 picoseconds.
Weight::from_parts(58_328_000, 3593)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -524,12 +528,12 @@ impl WeightInfo for () {
/// The range of component `d` is `[0, 256]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1115 + v * (811 ±0)`
// Estimated: `4587 + v * (3774 ±0)`
// Minimum execution time: 18_089_406_000 picoseconds.
Weight::from_parts(18_125_024_000, 4587)
// Standard Error: 296_666
.saturating_add(Weight::from_parts(42_527_045, 0).saturating_mul(v.into()))
// Measured: `1149 + v * (811 ±0)`
// Estimated: `4621 + v * (3774 ±0)`
// Minimum execution time: 18_774_231_000 picoseconds.
Weight::from_parts(18_933_040_000, 4621)
// Standard Error: 301_534
.saturating_add(Weight::from_parts(44_306_903, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(v.into())))
.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(v.into())))
@@ -560,12 +564,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0 + e * (28 ±0) + v * (606 ±0)`
// Estimated: `178887 + c * (2135 ±7) + e * (12 ±0) + v * (2653 ±6)`
// Minimum execution time: 1_193_774_000 picoseconds.
Weight::from_parts(1_196_649_000, 178887)
// Standard Error: 617_531
.saturating_add(Weight::from_parts(17_672_923, 0).saturating_mul(v.into()))
// Standard Error: 39_622
.saturating_add(Weight::from_parts(846_866, 0).saturating_mul(e.into()))
// Minimum execution time: 1_281_877_000 picoseconds.
Weight::from_parts(1_288_147_000, 178887)
// Standard Error: 528_851
.saturating_add(Weight::from_parts(17_761_407, 0).saturating_mul(v.into()))
// Standard Error: 33_932
.saturating_add(Weight::from_parts(698_277, 0).saturating_mul(e.into()))
.saturating_add(RocksDbWeight::get().reads(21_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(v.into())))
+43 -39
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_fast_unstake
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_fast_unstake
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_fast_unstake.
pub trait WeightInfo {
@@ -91,12 +95,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `b` is `[1, 64]`.
fn on_idle_unstake(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1344 + b * (343 ±0)`
// Measured: `1378 + b * (343 ±0)`
// Estimated: `7253 + b * (3774 ±0)`
// Minimum execution time: 92_282_000 picoseconds.
Weight::from_parts(31_665_344, 7253)
// Standard Error: 35_348
.saturating_add(Weight::from_parts(57_005_152, 0).saturating_mul(b.into()))
// Minimum execution time: 92_847_000 picoseconds.
Weight::from_parts(42_300_813, 7253)
// Standard Error: 40_514
.saturating_add(Weight::from_parts(58_412_402, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -121,14 +125,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `b` is `[1, 64]`.
fn on_idle_check(v: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1512 + b * (48 ±0) + v * (10037 ±0)`
// Measured: `1546 + b * (48 ±0) + v * (10037 ±0)`
// Estimated: `7253 + b * (49 ±0) + v * (12513 ±0)`
// Minimum execution time: 1_547_716_000 picoseconds.
Weight::from_parts(1_552_476_000, 7253)
// Standard Error: 13_914_457
.saturating_add(Weight::from_parts(445_314_876, 0).saturating_mul(v.into()))
// Standard Error: 55_673_329
.saturating_add(Weight::from_parts(1_749_024_692, 0).saturating_mul(b.into()))
// Minimum execution time: 1_685_784_000 picoseconds.
Weight::from_parts(1_693_370_000, 7253)
// Standard Error: 13_295_842
.saturating_add(Weight::from_parts(425_349_148, 0).saturating_mul(v.into()))
// Standard Error: 53_198_180
.saturating_add(Weight::from_parts(1_673_328_444, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -169,8 +173,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1964`
// Estimated: `7253`
// Minimum execution time: 124_644_000 picoseconds.
Weight::from_parts(125_793_000, 7253)
// Minimum execution time: 125_512_000 picoseconds.
Weight::from_parts(129_562_000, 7253)
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().writes(9_u64))
}
@@ -188,8 +192,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1223`
// Estimated: `7253`
// Minimum execution time: 45_037_000 picoseconds.
Weight::from_parts(45_545_000, 7253)
// Minimum execution time: 43_943_000 picoseconds.
Weight::from_parts(45_842_000, 7253)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -199,8 +203,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_228_000 picoseconds.
Weight::from_parts(3_428_000, 0)
// Minimum execution time: 2_677_000 picoseconds.
Weight::from_parts(2_849_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
@@ -240,12 +244,12 @@ impl WeightInfo for () {
/// The range of component `b` is `[1, 64]`.
fn on_idle_unstake(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1344 + b * (343 ±0)`
// Measured: `1378 + b * (343 ±0)`
// Estimated: `7253 + b * (3774 ±0)`
// Minimum execution time: 92_282_000 picoseconds.
Weight::from_parts(31_665_344, 7253)
// Standard Error: 35_348
.saturating_add(Weight::from_parts(57_005_152, 0).saturating_mul(b.into()))
// Minimum execution time: 92_847_000 picoseconds.
Weight::from_parts(42_300_813, 7253)
// Standard Error: 40_514
.saturating_add(Weight::from_parts(58_412_402, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -270,14 +274,14 @@ impl WeightInfo for () {
/// The range of component `b` is `[1, 64]`.
fn on_idle_check(v: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1512 + b * (48 ±0) + v * (10037 ±0)`
// Measured: `1546 + b * (48 ±0) + v * (10037 ±0)`
// Estimated: `7253 + b * (49 ±0) + v * (12513 ±0)`
// Minimum execution time: 1_547_716_000 picoseconds.
Weight::from_parts(1_552_476_000, 7253)
// Standard Error: 13_914_457
.saturating_add(Weight::from_parts(445_314_876, 0).saturating_mul(v.into()))
// Standard Error: 55_673_329
.saturating_add(Weight::from_parts(1_749_024_692, 0).saturating_mul(b.into()))
// Minimum execution time: 1_685_784_000 picoseconds.
Weight::from_parts(1_693_370_000, 7253)
// Standard Error: 13_295_842
.saturating_add(Weight::from_parts(425_349_148, 0).saturating_mul(v.into()))
// Standard Error: 53_198_180
.saturating_add(Weight::from_parts(1_673_328_444, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -318,8 +322,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1964`
// Estimated: `7253`
// Minimum execution time: 124_644_000 picoseconds.
Weight::from_parts(125_793_000, 7253)
// Minimum execution time: 125_512_000 picoseconds.
Weight::from_parts(129_562_000, 7253)
.saturating_add(RocksDbWeight::get().reads(15_u64))
.saturating_add(RocksDbWeight::get().writes(9_u64))
}
@@ -337,8 +341,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1223`
// Estimated: `7253`
// Minimum execution time: 45_037_000 picoseconds.
Weight::from_parts(45_545_000, 7253)
// Minimum execution time: 43_943_000 picoseconds.
Weight::from_parts(45_842_000, 7253)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -348,8 +352,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_228_000 picoseconds.
Weight::from_parts(3_428_000, 0)
// Minimum execution time: 2_677_000 picoseconds.
Weight::from_parts(2_849_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+61 -59
View File
@@ -18,26 +18,28 @@
//! Autogenerated weights for pallet_glutton
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_glutton
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet-glutton
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/glutton/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -73,10 +75,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1489`
// Minimum execution time: 11_620_000 picoseconds.
Weight::from_parts(18_662_404, 1489)
// Standard Error: 8_342
.saturating_add(Weight::from_parts(8_453_895, 0).saturating_mul(n.into()))
// Minimum execution time: 11_488_000 picoseconds.
Weight::from_parts(93_073_710, 1489)
// Standard Error: 22_390
.saturating_add(Weight::from_parts(9_572_012, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
@@ -90,10 +92,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `119`
// Estimated: `1489`
// Minimum execution time: 11_128_000 picoseconds.
Weight::from_parts(11_404_000, 1489)
// Standard Error: 1_098
.saturating_add(Weight::from_parts(1_007_030, 0).saturating_mul(n.into()))
// Minimum execution time: 11_378_000 picoseconds.
Weight::from_parts(5_591_508, 1489)
// Standard Error: 1_592
.saturating_add(Weight::from_parts(1_163_758, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
@@ -103,10 +105,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 598_000 picoseconds.
Weight::from_parts(607_000, 0)
// Standard Error: 18
.saturating_add(Weight::from_parts(85_323, 0).saturating_mul(i.into()))
// Minimum execution time: 669_000 picoseconds.
Weight::from_parts(990_745, 0)
// Standard Error: 10
.saturating_add(Weight::from_parts(105_224, 0).saturating_mul(i.into()))
}
/// Storage: Glutton TrashData (r:5000 w:0)
/// Proof: Glutton TrashData (max_values: Some(65000), max_size: Some(1036), added: 3016, mode: MaxEncodedLen)
@@ -115,10 +117,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `119114 + i * (1022 ±0)`
// Estimated: `990 + i * (3016 ±0)`
// Minimum execution time: 503_000 picoseconds.
Weight::from_parts(589_000, 990)
// Standard Error: 2_971
.saturating_add(Weight::from_parts(5_347_659, 0).saturating_mul(i.into()))
// Minimum execution time: 435_000 picoseconds.
Weight::from_parts(66_547_542, 990)
// Standard Error: 4_557
.saturating_add(Weight::from_parts(5_851_324, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_parts(0, 3016).saturating_mul(i.into()))
}
@@ -132,8 +134,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1900497`
// Estimated: `5239782`
// Minimum execution time: 55_496_326_000 picoseconds.
Weight::from_parts(55_707_517_000, 5239782)
// Minimum execution time: 67_699_845_000 picoseconds.
Weight::from_parts(67_893_204_000, 5239782)
.saturating_add(T::DbWeight::get().reads(1739_u64))
}
/// Storage: Glutton Storage (r:1 w:0)
@@ -146,8 +148,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `9547`
// Estimated: `16070`
// Minimum execution time: 98_314_570_000 picoseconds.
Weight::from_parts(98_702_199_000, 16070)
// Minimum execution time: 122_297_527_000 picoseconds.
Weight::from_parts(122_394_818_000, 16070)
.saturating_add(T::DbWeight::get().reads(7_u64))
}
/// Storage: Glutton Storage (r:1 w:0)
@@ -158,8 +160,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1493`
// Minimum execution time: 5_853_000 picoseconds.
Weight::from_parts(6_055_000, 1493)
// Minimum execution time: 5_882_000 picoseconds.
Weight::from_parts(6_138_000, 1493)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: Glutton Compute (r:0 w:1)
@@ -168,8 +170,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_741_000 picoseconds.
Weight::from_parts(8_962_000, 0)
// Minimum execution time: 7_830_000 picoseconds.
Weight::from_parts(8_366_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Glutton Storage (r:0 w:1)
@@ -178,8 +180,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_585_000 picoseconds.
Weight::from_parts(8_789_000, 0)
// Minimum execution time: 7_933_000 picoseconds.
Weight::from_parts(8_213_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
@@ -195,10 +197,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1489`
// Minimum execution time: 11_620_000 picoseconds.
Weight::from_parts(18_662_404, 1489)
// Standard Error: 8_342
.saturating_add(Weight::from_parts(8_453_895, 0).saturating_mul(n.into()))
// Minimum execution time: 11_488_000 picoseconds.
Weight::from_parts(93_073_710, 1489)
// Standard Error: 22_390
.saturating_add(Weight::from_parts(9_572_012, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
@@ -212,10 +214,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `119`
// Estimated: `1489`
// Minimum execution time: 11_128_000 picoseconds.
Weight::from_parts(11_404_000, 1489)
// Standard Error: 1_098
.saturating_add(Weight::from_parts(1_007_030, 0).saturating_mul(n.into()))
// Minimum execution time: 11_378_000 picoseconds.
Weight::from_parts(5_591_508, 1489)
// Standard Error: 1_592
.saturating_add(Weight::from_parts(1_163_758, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
@@ -225,10 +227,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 598_000 picoseconds.
Weight::from_parts(607_000, 0)
// Standard Error: 18
.saturating_add(Weight::from_parts(85_323, 0).saturating_mul(i.into()))
// Minimum execution time: 669_000 picoseconds.
Weight::from_parts(990_745, 0)
// Standard Error: 10
.saturating_add(Weight::from_parts(105_224, 0).saturating_mul(i.into()))
}
/// Storage: Glutton TrashData (r:5000 w:0)
/// Proof: Glutton TrashData (max_values: Some(65000), max_size: Some(1036), added: 3016, mode: MaxEncodedLen)
@@ -237,10 +239,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `119114 + i * (1022 ±0)`
// Estimated: `990 + i * (3016 ±0)`
// Minimum execution time: 503_000 picoseconds.
Weight::from_parts(589_000, 990)
// Standard Error: 2_971
.saturating_add(Weight::from_parts(5_347_659, 0).saturating_mul(i.into()))
// Minimum execution time: 435_000 picoseconds.
Weight::from_parts(66_547_542, 990)
// Standard Error: 4_557
.saturating_add(Weight::from_parts(5_851_324, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_parts(0, 3016).saturating_mul(i.into()))
}
@@ -254,8 +256,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1900497`
// Estimated: `5239782`
// Minimum execution time: 55_496_326_000 picoseconds.
Weight::from_parts(55_707_517_000, 5239782)
// Minimum execution time: 67_699_845_000 picoseconds.
Weight::from_parts(67_893_204_000, 5239782)
.saturating_add(RocksDbWeight::get().reads(1739_u64))
}
/// Storage: Glutton Storage (r:1 w:0)
@@ -268,8 +270,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `9547`
// Estimated: `16070`
// Minimum execution time: 98_314_570_000 picoseconds.
Weight::from_parts(98_702_199_000, 16070)
// Minimum execution time: 122_297_527_000 picoseconds.
Weight::from_parts(122_394_818_000, 16070)
.saturating_add(RocksDbWeight::get().reads(7_u64))
}
/// Storage: Glutton Storage (r:1 w:0)
@@ -280,8 +282,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1493`
// Minimum execution time: 5_853_000 picoseconds.
Weight::from_parts(6_055_000, 1493)
// Minimum execution time: 5_882_000 picoseconds.
Weight::from_parts(6_138_000, 1493)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: Glutton Compute (r:0 w:1)
@@ -290,8 +292,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_741_000 picoseconds.
Weight::from_parts(8_962_000, 0)
// Minimum execution time: 7_830_000 picoseconds.
Weight::from_parts(8_366_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Glutton Storage (r:0 w:1)
@@ -300,8 +302,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_585_000 picoseconds.
Weight::from_parts(8_789_000, 0)
// Minimum execution time: 7_933_000 picoseconds.
Weight::from_parts(8_213_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+179 -163
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_identity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_identity
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_identity.
pub trait WeightInfo {
@@ -76,10 +80,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `32 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 12_851_000 picoseconds.
Weight::from_parts(13_448_645, 2626)
// Standard Error: 1_636
.saturating_add(Weight::from_parts(113_654, 0).saturating_mul(r.into()))
// Minimum execution time: 11_683_000 picoseconds.
Weight::from_parts(12_515_830, 2626)
// Standard Error: 2_154
.saturating_add(Weight::from_parts(147_919, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -91,12 +95,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `442 + r * (5 ±0)`
// Estimated: `11003`
// Minimum execution time: 33_342_000 picoseconds.
Weight::from_parts(33_155_116, 11003)
// Standard Error: 2_307
.saturating_add(Weight::from_parts(56_409, 0).saturating_mul(r.into()))
// Standard Error: 450
.saturating_add(Weight::from_parts(437_684, 0).saturating_mul(x.into()))
// Minimum execution time: 32_949_000 picoseconds.
Weight::from_parts(31_329_634, 11003)
// Standard Error: 4_496
.saturating_add(Weight::from_parts(203_570, 0).saturating_mul(r.into()))
// Standard Error: 877
.saturating_add(Weight::from_parts(429_346, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -111,10 +115,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `101`
// Estimated: `11003 + s * (2589 ±0)`
// Minimum execution time: 10_315_000 picoseconds.
Weight::from_parts(26_535_526, 11003)
// Standard Error: 4_344
.saturating_add(Weight::from_parts(3_016_873, 0).saturating_mul(s.into()))
// Minimum execution time: 9_157_000 picoseconds.
Weight::from_parts(24_917_444, 11003)
// Standard Error: 4_554
.saturating_add(Weight::from_parts(3_279_868, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -132,10 +136,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `194 + p * (32 ±0)`
// Estimated: `11003`
// Minimum execution time: 10_220_000 picoseconds.
Weight::from_parts(25_050_056, 11003)
// Standard Error: 3_621
.saturating_add(Weight::from_parts(1_291_143, 0).saturating_mul(p.into()))
// Minimum execution time: 9_240_000 picoseconds.
Weight::from_parts(23_326_035, 11003)
// Standard Error: 3_664
.saturating_add(Weight::from_parts(1_439_873, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
@@ -149,16 +153,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight {
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 56_018_000 picoseconds.
Weight::from_parts(37_757_186, 11003)
// Standard Error: 1_852
.saturating_add(Weight::from_parts(1_257_980, 0).saturating_mul(s.into()))
// Standard Error: 1_852
.saturating_add(Weight::from_parts(215_426, 0).saturating_mul(x.into()))
// Minimum execution time: 55_687_000 picoseconds.
Weight::from_parts(30_695_182, 11003)
// Standard Error: 9_921
.saturating_add(Weight::from_parts(162_357, 0).saturating_mul(r.into()))
// Standard Error: 1_937
.saturating_add(Weight::from_parts(1_427_998, 0).saturating_mul(s.into()))
// Standard Error: 1_937
.saturating_add(Weight::from_parts(247_578, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -173,12 +179,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `367 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 34_792_000 picoseconds.
Weight::from_parts(35_368_327, 11003)
// Standard Error: 3_476
.saturating_add(Weight::from_parts(78_981, 0).saturating_mul(r.into()))
// Standard Error: 678
.saturating_add(Weight::from_parts(459_077, 0).saturating_mul(x.into()))
// Minimum execution time: 34_876_000 picoseconds.
Weight::from_parts(32_207_018, 11003)
// Standard Error: 5_247
.saturating_add(Weight::from_parts(249_156, 0).saturating_mul(r.into()))
// Standard Error: 1_023
.saturating_add(Weight::from_parts(458_329, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -186,14 +192,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(_r: u32, x: u32, ) -> Weight {
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `398 + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 31_306_000 picoseconds.
Weight::from_parts(33_304_799, 11003)
// Standard Error: 892
.saturating_add(Weight::from_parts(451_655, 0).saturating_mul(x.into()))
// Minimum execution time: 30_689_000 picoseconds.
Weight::from_parts(31_967_170, 11003)
// Standard Error: 5_387
.saturating_add(Weight::from_parts(42_676, 0).saturating_mul(r.into()))
// Standard Error: 1_051
.saturating_add(Weight::from_parts(446_213, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -204,10 +212,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 8_215_000 picoseconds.
Weight::from_parts(8_692_102, 2626)
// Standard Error: 1_455
.saturating_add(Weight::from_parts(110_912, 0).saturating_mul(r.into()))
// Minimum execution time: 7_357_000 picoseconds.
Weight::from_parts(7_932_950, 2626)
// Standard Error: 1_804
.saturating_add(Weight::from_parts(132_653, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -218,10 +226,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 8_397_000 picoseconds.
Weight::from_parts(8_787_656, 2626)
// Standard Error: 1_440
.saturating_add(Weight::from_parts(111_212, 0).saturating_mul(r.into()))
// Minimum execution time: 7_437_000 picoseconds.
Weight::from_parts(8_051_889, 2626)
// Standard Error: 1_997
.saturating_add(Weight::from_parts(129_592, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -232,10 +240,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 8_466_000 picoseconds.
Weight::from_parts(8_689_763, 2626)
// Standard Error: 1_536
.saturating_add(Weight::from_parts(106_371, 0).saturating_mul(r.into()))
// Minimum execution time: 7_385_000 picoseconds.
Weight::from_parts(7_911_589, 2626)
// Standard Error: 1_791
.saturating_add(Weight::from_parts(125_788, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -249,12 +257,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `445 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 25_132_000 picoseconds.
Weight::from_parts(20_582_313, 11003)
// Standard Error: 10_427
.saturating_add(Weight::from_parts(277_545, 0).saturating_mul(r.into()))
// Standard Error: 1_929
.saturating_add(Weight::from_parts(747_966, 0).saturating_mul(x.into()))
// Minimum execution time: 24_073_000 picoseconds.
Weight::from_parts(17_817_684, 11003)
// Standard Error: 8_612
.saturating_add(Weight::from_parts(406_251, 0).saturating_mul(r.into()))
// Standard Error: 1_593
.saturating_add(Weight::from_parts(755_225, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -273,14 +281,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 72_043_000 picoseconds.
Weight::from_parts(50_994_735, 11003)
// Standard Error: 9_304
.saturating_add(Weight::from_parts(123_052, 0).saturating_mul(r.into()))
// Standard Error: 1_817
.saturating_add(Weight::from_parts(1_256_713, 0).saturating_mul(s.into()))
// Standard Error: 1_817
.saturating_add(Weight::from_parts(219_242, 0).saturating_mul(x.into()))
// Minimum execution time: 73_981_000 picoseconds.
Weight::from_parts(51_684_057, 11003)
// Standard Error: 12_662
.saturating_add(Weight::from_parts(145_285, 0).saturating_mul(r.into()))
// Standard Error: 2_472
.saturating_add(Weight::from_parts(1_421_039, 0).saturating_mul(s.into()))
// Standard Error: 2_472
.saturating_add(Weight::from_parts(240_907, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -296,10 +304,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `475 + s * (36 ±0)`
// Estimated: `11003`
// Minimum execution time: 30_747_000 picoseconds.
Weight::from_parts(35_975_985, 11003)
// Standard Error: 1_625
.saturating_add(Weight::from_parts(73_263, 0).saturating_mul(s.into()))
// Minimum execution time: 29_367_000 picoseconds.
Weight::from_parts(34_214_998, 11003)
// Standard Error: 1_522
.saturating_add(Weight::from_parts(114_551, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -312,10 +320,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `591 + s * (3 ±0)`
// Estimated: `11003`
// Minimum execution time: 13_586_000 picoseconds.
Weight::from_parts(15_909_245, 11003)
// Standard Error: 611
.saturating_add(Weight::from_parts(16_949, 0).saturating_mul(s.into()))
// Minimum execution time: 12_384_000 picoseconds.
Weight::from_parts(14_417_903, 11003)
// Standard Error: 539
.saturating_add(Weight::from_parts(38_371, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -330,10 +338,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `638 + s * (35 ±0)`
// Estimated: `11003`
// Minimum execution time: 34_286_000 picoseconds.
Weight::from_parts(37_391_401, 11003)
// Standard Error: 1_099
.saturating_add(Weight::from_parts(61_165, 0).saturating_mul(s.into()))
// Minimum execution time: 33_327_000 picoseconds.
Weight::from_parts(36_208_941, 11003)
// Standard Error: 1_240
.saturating_add(Weight::from_parts(105_805, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -341,16 +349,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 99]`.
fn quit_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `564 + s * (37 ±0)`
// Measured: `704 + s * (37 ±0)`
// Estimated: `6723`
// Minimum execution time: 22_197_000 picoseconds.
Weight::from_parts(24_630_311, 6723)
// Standard Error: 1_092
.saturating_add(Weight::from_parts(63_415, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
// Minimum execution time: 23_764_000 picoseconds.
Weight::from_parts(26_407_731, 6723)
// Standard Error: 1_025
.saturating_add(Weight::from_parts(101_112, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
}
@@ -364,10 +374,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `32 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 12_851_000 picoseconds.
Weight::from_parts(13_448_645, 2626)
// Standard Error: 1_636
.saturating_add(Weight::from_parts(113_654, 0).saturating_mul(r.into()))
// Minimum execution time: 11_683_000 picoseconds.
Weight::from_parts(12_515_830, 2626)
// Standard Error: 2_154
.saturating_add(Weight::from_parts(147_919, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -379,12 +389,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `442 + r * (5 ±0)`
// Estimated: `11003`
// Minimum execution time: 33_342_000 picoseconds.
Weight::from_parts(33_155_116, 11003)
// Standard Error: 2_307
.saturating_add(Weight::from_parts(56_409, 0).saturating_mul(r.into()))
// Standard Error: 450
.saturating_add(Weight::from_parts(437_684, 0).saturating_mul(x.into()))
// Minimum execution time: 32_949_000 picoseconds.
Weight::from_parts(31_329_634, 11003)
// Standard Error: 4_496
.saturating_add(Weight::from_parts(203_570, 0).saturating_mul(r.into()))
// Standard Error: 877
.saturating_add(Weight::from_parts(429_346, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -399,10 +409,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `101`
// Estimated: `11003 + s * (2589 ±0)`
// Minimum execution time: 10_315_000 picoseconds.
Weight::from_parts(26_535_526, 11003)
// Standard Error: 4_344
.saturating_add(Weight::from_parts(3_016_873, 0).saturating_mul(s.into()))
// Minimum execution time: 9_157_000 picoseconds.
Weight::from_parts(24_917_444, 11003)
// Standard Error: 4_554
.saturating_add(Weight::from_parts(3_279_868, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -420,10 +430,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `194 + p * (32 ±0)`
// Estimated: `11003`
// Minimum execution time: 10_220_000 picoseconds.
Weight::from_parts(25_050_056, 11003)
// Standard Error: 3_621
.saturating_add(Weight::from_parts(1_291_143, 0).saturating_mul(p.into()))
// Minimum execution time: 9_240_000 picoseconds.
Weight::from_parts(23_326_035, 11003)
// Standard Error: 3_664
.saturating_add(Weight::from_parts(1_439_873, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
@@ -437,16 +447,18 @@ impl WeightInfo for () {
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight {
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 56_018_000 picoseconds.
Weight::from_parts(37_757_186, 11003)
// Standard Error: 1_852
.saturating_add(Weight::from_parts(1_257_980, 0).saturating_mul(s.into()))
// Standard Error: 1_852
.saturating_add(Weight::from_parts(215_426, 0).saturating_mul(x.into()))
// Minimum execution time: 55_687_000 picoseconds.
Weight::from_parts(30_695_182, 11003)
// Standard Error: 9_921
.saturating_add(Weight::from_parts(162_357, 0).saturating_mul(r.into()))
// Standard Error: 1_937
.saturating_add(Weight::from_parts(1_427_998, 0).saturating_mul(s.into()))
// Standard Error: 1_937
.saturating_add(Weight::from_parts(247_578, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -461,12 +473,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `367 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 34_792_000 picoseconds.
Weight::from_parts(35_368_327, 11003)
// Standard Error: 3_476
.saturating_add(Weight::from_parts(78_981, 0).saturating_mul(r.into()))
// Standard Error: 678
.saturating_add(Weight::from_parts(459_077, 0).saturating_mul(x.into()))
// Minimum execution time: 34_876_000 picoseconds.
Weight::from_parts(32_207_018, 11003)
// Standard Error: 5_247
.saturating_add(Weight::from_parts(249_156, 0).saturating_mul(r.into()))
// Standard Error: 1_023
.saturating_add(Weight::from_parts(458_329, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -474,14 +486,16 @@ impl WeightInfo for () {
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(_r: u32, x: u32, ) -> Weight {
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `398 + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 31_306_000 picoseconds.
Weight::from_parts(33_304_799, 11003)
// Standard Error: 892
.saturating_add(Weight::from_parts(451_655, 0).saturating_mul(x.into()))
// Minimum execution time: 30_689_000 picoseconds.
Weight::from_parts(31_967_170, 11003)
// Standard Error: 5_387
.saturating_add(Weight::from_parts(42_676, 0).saturating_mul(r.into()))
// Standard Error: 1_051
.saturating_add(Weight::from_parts(446_213, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -492,10 +506,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 8_215_000 picoseconds.
Weight::from_parts(8_692_102, 2626)
// Standard Error: 1_455
.saturating_add(Weight::from_parts(110_912, 0).saturating_mul(r.into()))
// Minimum execution time: 7_357_000 picoseconds.
Weight::from_parts(7_932_950, 2626)
// Standard Error: 1_804
.saturating_add(Weight::from_parts(132_653, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -506,10 +520,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 8_397_000 picoseconds.
Weight::from_parts(8_787_656, 2626)
// Standard Error: 1_440
.saturating_add(Weight::from_parts(111_212, 0).saturating_mul(r.into()))
// Minimum execution time: 7_437_000 picoseconds.
Weight::from_parts(8_051_889, 2626)
// Standard Error: 1_997
.saturating_add(Weight::from_parts(129_592, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -520,10 +534,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
// Minimum execution time: 8_466_000 picoseconds.
Weight::from_parts(8_689_763, 2626)
// Standard Error: 1_536
.saturating_add(Weight::from_parts(106_371, 0).saturating_mul(r.into()))
// Minimum execution time: 7_385_000 picoseconds.
Weight::from_parts(7_911_589, 2626)
// Standard Error: 1_791
.saturating_add(Weight::from_parts(125_788, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -537,12 +551,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `445 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 25_132_000 picoseconds.
Weight::from_parts(20_582_313, 11003)
// Standard Error: 10_427
.saturating_add(Weight::from_parts(277_545, 0).saturating_mul(r.into()))
// Standard Error: 1_929
.saturating_add(Weight::from_parts(747_966, 0).saturating_mul(x.into()))
// Minimum execution time: 24_073_000 picoseconds.
Weight::from_parts(17_817_684, 11003)
// Standard Error: 8_612
.saturating_add(Weight::from_parts(406_251, 0).saturating_mul(r.into()))
// Standard Error: 1_593
.saturating_add(Weight::from_parts(755_225, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -561,14 +575,14 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
// Minimum execution time: 72_043_000 picoseconds.
Weight::from_parts(50_994_735, 11003)
// Standard Error: 9_304
.saturating_add(Weight::from_parts(123_052, 0).saturating_mul(r.into()))
// Standard Error: 1_817
.saturating_add(Weight::from_parts(1_256_713, 0).saturating_mul(s.into()))
// Standard Error: 1_817
.saturating_add(Weight::from_parts(219_242, 0).saturating_mul(x.into()))
// Minimum execution time: 73_981_000 picoseconds.
Weight::from_parts(51_684_057, 11003)
// Standard Error: 12_662
.saturating_add(Weight::from_parts(145_285, 0).saturating_mul(r.into()))
// Standard Error: 2_472
.saturating_add(Weight::from_parts(1_421_039, 0).saturating_mul(s.into()))
// Standard Error: 2_472
.saturating_add(Weight::from_parts(240_907, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -584,10 +598,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `475 + s * (36 ±0)`
// Estimated: `11003`
// Minimum execution time: 30_747_000 picoseconds.
Weight::from_parts(35_975_985, 11003)
// Standard Error: 1_625
.saturating_add(Weight::from_parts(73_263, 0).saturating_mul(s.into()))
// Minimum execution time: 29_367_000 picoseconds.
Weight::from_parts(34_214_998, 11003)
// Standard Error: 1_522
.saturating_add(Weight::from_parts(114_551, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -600,10 +614,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `591 + s * (3 ±0)`
// Estimated: `11003`
// Minimum execution time: 13_586_000 picoseconds.
Weight::from_parts(15_909_245, 11003)
// Standard Error: 611
.saturating_add(Weight::from_parts(16_949, 0).saturating_mul(s.into()))
// Minimum execution time: 12_384_000 picoseconds.
Weight::from_parts(14_417_903, 11003)
// Standard Error: 539
.saturating_add(Weight::from_parts(38_371, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -618,10 +632,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `638 + s * (35 ±0)`
// Estimated: `11003`
// Minimum execution time: 34_286_000 picoseconds.
Weight::from_parts(37_391_401, 11003)
// Standard Error: 1_099
.saturating_add(Weight::from_parts(61_165, 0).saturating_mul(s.into()))
// Minimum execution time: 33_327_000 picoseconds.
Weight::from_parts(36_208_941, 11003)
// Standard Error: 1_240
.saturating_add(Weight::from_parts(105_805, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -629,16 +643,18 @@ impl WeightInfo for () {
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 99]`.
fn quit_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `564 + s * (37 ±0)`
// Measured: `704 + s * (37 ±0)`
// Estimated: `6723`
// Minimum execution time: 22_197_000 picoseconds.
Weight::from_parts(24_630_311, 6723)
// Standard Error: 1_092
.saturating_add(Weight::from_parts(63_415, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
// Minimum execution time: 23_764_000 picoseconds.
Weight::from_parts(26_407_731, 6723)
// Standard Error: 1_025
.saturating_add(Weight::from_parts(101_112, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
}
+16 -13
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_im_online
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `build-host`, CPU: `AMD EPYC 7601 32-Core Processor`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,13 +31,16 @@
// --steps=50
// --repeat=20
// --pallet=pallet_im_online
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./frame/im-online/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./frame-weight-template.hbs
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -62,7 +65,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: ImOnline Keys (r:1 w:0)
/// Proof: ImOnline Keys (max_values: Some(1), max_size: Some(320002), added: 320497, mode: MaxEncodedLen)
/// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(1028), added: 3503, mode: MaxEncodedLen)
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen)
/// Storage: ImOnline AuthoredBlocks (r:1 w:0)
/// Proof: ImOnline AuthoredBlocks (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
/// The range of component `k` is `[1, 1000]`.
@@ -70,10 +73,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `295 + k * (32 ±0)`
// Estimated: `321487 + k * (1761 ±0)`
// Minimum execution time: 120_818_000 picoseconds.
Weight::from_parts(121_396_296, 321487)
// Standard Error: 2_183
.saturating_add(Weight::from_parts(58_710, 0).saturating_mul(k.into()))
// Minimum execution time: 80_568_000 picoseconds.
Weight::from_parts(95_175_595, 321487)
// Standard Error: 627
.saturating_add(Weight::from_parts(39_094, 0).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 1761).saturating_mul(k.into()))
@@ -89,7 +92,7 @@ impl WeightInfo for () {
/// Storage: ImOnline Keys (r:1 w:0)
/// Proof: ImOnline Keys (max_values: Some(1), max_size: Some(320002), added: 320497, mode: MaxEncodedLen)
/// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(1028), added: 3503, mode: MaxEncodedLen)
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen)
/// Storage: ImOnline AuthoredBlocks (r:1 w:0)
/// Proof: ImOnline AuthoredBlocks (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
/// The range of component `k` is `[1, 1000]`.
@@ -97,10 +100,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `295 + k * (32 ±0)`
// Estimated: `321487 + k * (1761 ±0)`
// Minimum execution time: 120_818_000 picoseconds.
Weight::from_parts(121_396_296, 321487)
// Standard Error: 2_183
.saturating_add(Weight::from_parts(58_710, 0).saturating_mul(k.into()))
// Minimum execution time: 80_568_000 picoseconds.
Weight::from_parts(95_175_595, 321487)
// Standard Error: 627
.saturating_add(Weight::from_parts(39_094, 0).saturating_mul(k.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 1761).saturating_mul(k.into()))
+27 -23
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_indices
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_indices
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_indices.
pub trait WeightInfo {
@@ -64,8 +68,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `3534`
// Minimum execution time: 27_250_000 picoseconds.
Weight::from_parts(27_829_000, 3534)
// Minimum execution time: 25_491_000 picoseconds.
Weight::from_parts(26_456_000, 3534)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -77,8 +81,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `3593`
// Minimum execution time: 37_880_000 picoseconds.
Weight::from_parts(38_329_000, 3593)
// Minimum execution time: 38_027_000 picoseconds.
Weight::from_parts(38_749_000, 3593)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -88,8 +92,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `172`
// Estimated: `3534`
// Minimum execution time: 27_455_000 picoseconds.
Weight::from_parts(27_788_000, 3534)
// Minimum execution time: 26_652_000 picoseconds.
Weight::from_parts(27_273_000, 3534)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -101,8 +105,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `3593`
// Minimum execution time: 29_865_000 picoseconds.
Weight::from_parts(30_420_000, 3593)
// Minimum execution time: 29_464_000 picoseconds.
Weight::from_parts(30_959_000, 3593)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -112,8 +116,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `172`
// Estimated: `3534`
// Minimum execution time: 29_689_000 picoseconds.
Weight::from_parts(30_443_000, 3534)
// Minimum execution time: 29_015_000 picoseconds.
Weight::from_parts(29_714_000, 3534)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -127,8 +131,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `3534`
// Minimum execution time: 27_250_000 picoseconds.
Weight::from_parts(27_829_000, 3534)
// Minimum execution time: 25_491_000 picoseconds.
Weight::from_parts(26_456_000, 3534)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -140,8 +144,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `3593`
// Minimum execution time: 37_880_000 picoseconds.
Weight::from_parts(38_329_000, 3593)
// Minimum execution time: 38_027_000 picoseconds.
Weight::from_parts(38_749_000, 3593)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -151,8 +155,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `172`
// Estimated: `3534`
// Minimum execution time: 27_455_000 picoseconds.
Weight::from_parts(27_788_000, 3534)
// Minimum execution time: 26_652_000 picoseconds.
Weight::from_parts(27_273_000, 3534)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -164,8 +168,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `3593`
// Minimum execution time: 29_865_000 picoseconds.
Weight::from_parts(30_420_000, 3593)
// Minimum execution time: 29_464_000 picoseconds.
Weight::from_parts(30_959_000, 3593)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -175,8 +179,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `172`
// Estimated: `3534`
// Minimum execution time: 29_689_000 picoseconds.
Weight::from_parts(30_443_000, 3534)
// Minimum execution time: 29_015_000 picoseconds.
Weight::from_parts(29_714_000, 3534)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+39 -35
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_lottery
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_lottery
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_lottery.
pub trait WeightInfo {
@@ -77,8 +81,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `452`
// Estimated: `3593`
// Minimum execution time: 61_502_000 picoseconds.
Weight::from_parts(62_578_000, 3593)
// Minimum execution time: 60_298_000 picoseconds.
Weight::from_parts(62_058_000, 3593)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -89,10 +93,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_282_000 picoseconds.
Weight::from_parts(9_271_031, 0)
// Standard Error: 3_756
.saturating_add(Weight::from_parts(349_990, 0).saturating_mul(n.into()))
// Minimum execution time: 7_291_000 picoseconds.
Weight::from_parts(8_178_186, 0)
// Standard Error: 3_048
.saturating_add(Weight::from_parts(330_871, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Lottery Lottery (r:1 w:1)
@@ -105,8 +109,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `161`
// Estimated: `3593`
// Minimum execution time: 38_975_000 picoseconds.
Weight::from_parts(39_552_000, 3593)
// Minimum execution time: 36_741_000 picoseconds.
Weight::from_parts(38_288_000, 3593)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -116,8 +120,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `219`
// Estimated: `1514`
// Minimum execution time: 8_243_000 picoseconds.
Weight::from_parts(8_359_000, 1514)
// Minimum execution time: 7_270_000 picoseconds.
Weight::from_parts(7_578_000, 1514)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -133,10 +137,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Lottery Tickets (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
fn on_initialize_end() -> Weight {
// Proof Size summary in bytes:
// Measured: `524`
// Measured: `558`
// Estimated: `6196`
// Minimum execution time: 76_062_000 picoseconds.
Weight::from_parts(76_547_000, 6196)
// Minimum execution time: 76_611_000 picoseconds.
Weight::from_parts(78_107_000, 6196)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -154,10 +158,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Lottery LotteryIndex (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn on_initialize_repeat() -> Weight {
// Proof Size summary in bytes:
// Measured: `524`
// Measured: `558`
// Estimated: `6196`
// Minimum execution time: 78_089_000 picoseconds.
Weight::from_parts(78_632_000, 6196)
// Minimum execution time: 78_731_000 picoseconds.
Weight::from_parts(80_248_000, 6196)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -183,8 +187,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `452`
// Estimated: `3593`
// Minimum execution time: 61_502_000 picoseconds.
Weight::from_parts(62_578_000, 3593)
// Minimum execution time: 60_298_000 picoseconds.
Weight::from_parts(62_058_000, 3593)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -195,10 +199,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_282_000 picoseconds.
Weight::from_parts(9_271_031, 0)
// Standard Error: 3_756
.saturating_add(Weight::from_parts(349_990, 0).saturating_mul(n.into()))
// Minimum execution time: 7_291_000 picoseconds.
Weight::from_parts(8_178_186, 0)
// Standard Error: 3_048
.saturating_add(Weight::from_parts(330_871, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Lottery Lottery (r:1 w:1)
@@ -211,8 +215,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `161`
// Estimated: `3593`
// Minimum execution time: 38_975_000 picoseconds.
Weight::from_parts(39_552_000, 3593)
// Minimum execution time: 36_741_000 picoseconds.
Weight::from_parts(38_288_000, 3593)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -222,8 +226,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `219`
// Estimated: `1514`
// Minimum execution time: 8_243_000 picoseconds.
Weight::from_parts(8_359_000, 1514)
// Minimum execution time: 7_270_000 picoseconds.
Weight::from_parts(7_578_000, 1514)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -239,10 +243,10 @@ impl WeightInfo for () {
/// Proof: Lottery Tickets (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
fn on_initialize_end() -> Weight {
// Proof Size summary in bytes:
// Measured: `524`
// Measured: `558`
// Estimated: `6196`
// Minimum execution time: 76_062_000 picoseconds.
Weight::from_parts(76_547_000, 6196)
// Minimum execution time: 76_611_000 picoseconds.
Weight::from_parts(78_107_000, 6196)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -260,10 +264,10 @@ impl WeightInfo for () {
/// Proof: Lottery LotteryIndex (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn on_initialize_repeat() -> Weight {
// Proof Size summary in bytes:
// Measured: `524`
// Measured: `558`
// Estimated: `6196`
// Minimum execution time: 78_089_000 picoseconds.
Weight::from_parts(78_632_000, 6196)
// Minimum execution time: 78_731_000 picoseconds.
Weight::from_parts(80_248_000, 6196)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
+75 -67
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_membership
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_membership
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_membership.
pub trait WeightInfo {
@@ -71,12 +75,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `174 + m * (64 ±0)`
// Measured: `208 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 18_264_000 picoseconds.
Weight::from_parts(19_343_697, 4687)
// Standard Error: 699
.saturating_add(Weight::from_parts(44_401, 0).saturating_mul(m.into()))
// Minimum execution time: 17_040_000 picoseconds.
Weight::from_parts(18_344_571, 4687)
// Standard Error: 847
.saturating_add(Weight::from_parts(50_842, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -94,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 21_092_000 picoseconds.
Weight::from_parts(22_140_391, 4687)
// Standard Error: 545
.saturating_add(Weight::from_parts(40_638, 0).saturating_mul(m.into()))
// Minimum execution time: 20_088_000 picoseconds.
Weight::from_parts(21_271_384, 4687)
// Standard Error: 786
.saturating_add(Weight::from_parts(44_806, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -117,12 +121,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 21_002_000 picoseconds.
Weight::from_parts(22_364_944, 4687)
// Standard Error: 752
.saturating_add(Weight::from_parts(54_363, 0).saturating_mul(m.into()))
// Minimum execution time: 20_308_000 picoseconds.
Weight::from_parts(21_469_843, 4687)
// Standard Error: 782
.saturating_add(Weight::from_parts(56_893, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -140,12 +144,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 20_443_000 picoseconds.
Weight::from_parts(22_188_301, 4687)
// Standard Error: 945
.saturating_add(Weight::from_parts(162_799, 0).saturating_mul(m.into()))
// Minimum execution time: 19_464_000 picoseconds.
Weight::from_parts(21_223_702, 4687)
// Standard Error: 1_068
.saturating_add(Weight::from_parts(165_438, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -163,12 +167,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 21_527_000 picoseconds.
Weight::from_parts(23_146_706, 4687)
// Standard Error: 724
.saturating_add(Weight::from_parts(55_027, 0).saturating_mul(m.into()))
// Minimum execution time: 20_965_000 picoseconds.
Weight::from_parts(22_551_007, 4687)
// Standard Error: 860
.saturating_add(Weight::from_parts(52_397, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -184,10 +188,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `32 + m * (32 ±0)`
// Estimated: `4687 + m * (32 ±0)`
// Minimum execution time: 8_054_000 picoseconds.
Weight::from_parts(8_558_341, 4687)
// Standard Error: 360
.saturating_add(Weight::from_parts(16_362, 0).saturating_mul(m.into()))
// Minimum execution time: 7_481_000 picoseconds.
Weight::from_parts(7_959_053, 4687)
// Standard Error: 364
.saturating_add(Weight::from_parts(18_653, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
@@ -197,12 +201,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn clear_prime(_m: u32, ) -> Weight {
fn clear_prime(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_784_000 picoseconds.
Weight::from_parts(4_100_031, 0)
// Minimum execution time: 3_373_000 picoseconds.
Weight::from_parts(3_750_452, 0)
// Standard Error: 142
.saturating_add(Weight::from_parts(505, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
}
@@ -220,12 +226,12 @@ impl WeightInfo for () {
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `174 + m * (64 ±0)`
// Measured: `208 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 18_264_000 picoseconds.
Weight::from_parts(19_343_697, 4687)
// Standard Error: 699
.saturating_add(Weight::from_parts(44_401, 0).saturating_mul(m.into()))
// Minimum execution time: 17_040_000 picoseconds.
Weight::from_parts(18_344_571, 4687)
// Standard Error: 847
.saturating_add(Weight::from_parts(50_842, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -243,12 +249,12 @@ impl WeightInfo for () {
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 21_092_000 picoseconds.
Weight::from_parts(22_140_391, 4687)
// Standard Error: 545
.saturating_add(Weight::from_parts(40_638, 0).saturating_mul(m.into()))
// Minimum execution time: 20_088_000 picoseconds.
Weight::from_parts(21_271_384, 4687)
// Standard Error: 786
.saturating_add(Weight::from_parts(44_806, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -266,12 +272,12 @@ impl WeightInfo for () {
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 21_002_000 picoseconds.
Weight::from_parts(22_364_944, 4687)
// Standard Error: 752
.saturating_add(Weight::from_parts(54_363, 0).saturating_mul(m.into()))
// Minimum execution time: 20_308_000 picoseconds.
Weight::from_parts(21_469_843, 4687)
// Standard Error: 782
.saturating_add(Weight::from_parts(56_893, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -289,12 +295,12 @@ impl WeightInfo for () {
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 20_443_000 picoseconds.
Weight::from_parts(22_188_301, 4687)
// Standard Error: 945
.saturating_add(Weight::from_parts(162_799, 0).saturating_mul(m.into()))
// Minimum execution time: 19_464_000 picoseconds.
Weight::from_parts(21_223_702, 4687)
// Standard Error: 1_068
.saturating_add(Weight::from_parts(165_438, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -312,12 +318,12 @@ impl WeightInfo for () {
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `278 + m * (64 ±0)`
// Measured: `312 + m * (64 ±0)`
// Estimated: `4687 + m * (64 ±0)`
// Minimum execution time: 21_527_000 picoseconds.
Weight::from_parts(23_146_706, 4687)
// Standard Error: 724
.saturating_add(Weight::from_parts(55_027, 0).saturating_mul(m.into()))
// Minimum execution time: 20_965_000 picoseconds.
Weight::from_parts(22_551_007, 4687)
// Standard Error: 860
.saturating_add(Weight::from_parts(52_397, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
@@ -333,10 +339,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `32 + m * (32 ±0)`
// Estimated: `4687 + m * (32 ±0)`
// Minimum execution time: 8_054_000 picoseconds.
Weight::from_parts(8_558_341, 4687)
// Standard Error: 360
.saturating_add(Weight::from_parts(16_362, 0).saturating_mul(m.into()))
// Minimum execution time: 7_481_000 picoseconds.
Weight::from_parts(7_959_053, 4687)
// Standard Error: 364
.saturating_add(Weight::from_parts(18_653, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
@@ -346,12 +352,14 @@ impl WeightInfo for () {
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn clear_prime(_m: u32, ) -> Weight {
fn clear_prime(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_784_000 picoseconds.
Weight::from_parts(4_100_031, 0)
// Minimum execution time: 3_373_000 picoseconds.
Weight::from_parts(3_750_452, 0)
// Standard Error: 142
.saturating_add(Weight::from_parts(505, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
}
+65 -61
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_message_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_message_queue
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_message_queue.
pub trait WeightInfo {
@@ -69,10 +73,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn ready_ring_knit() -> Weight {
// Proof Size summary in bytes:
// Measured: `233`
// Measured: `267`
// Estimated: `6038`
// Minimum execution time: 12_076_000 picoseconds.
Weight::from_parts(12_350_000, 6038)
// Minimum execution time: 12_025_000 picoseconds.
Weight::from_parts(12_597_000, 6038)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -82,10 +86,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn ready_ring_unknit() -> Weight {
// Proof Size summary in bytes:
// Measured: `233`
// Measured: `267`
// Estimated: `6038`
// Minimum execution time: 11_586_000 picoseconds.
Weight::from_parts(11_912_000, 6038)
// Minimum execution time: 11_563_000 picoseconds.
Weight::from_parts(11_785_000, 6038)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -93,10 +97,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn service_queue_base() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Measured: `76`
// Estimated: `3514`
// Minimum execution time: 4_581_000 picoseconds.
Weight::from_parts(4_715_000, 3514)
// Minimum execution time: 4_467_000 picoseconds.
Weight::from_parts(4_655_000, 3514)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -104,10 +108,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn service_page_base_completion() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `147`
// Estimated: `69049`
// Minimum execution time: 5_826_000 picoseconds.
Weight::from_parts(5_932_000, 69049)
// Minimum execution time: 6_103_000 picoseconds.
Weight::from_parts(6_254_000, 69049)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -115,10 +119,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn service_page_base_no_completion() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `147`
// Estimated: `69049`
// Minimum execution time: 6_235_000 picoseconds.
Weight::from_parts(6_430_000, 69049)
// Minimum execution time: 6_320_000 picoseconds.
Weight::from_parts(6_565_000, 69049)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -126,8 +130,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 53_860_000 picoseconds.
Weight::from_parts(53_984_000, 0)
// Minimum execution time: 66_062_000 picoseconds.
Weight::from_parts(66_371_000, 0)
}
/// Storage: MessageQueue ServiceHead (r:1 w:1)
/// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -135,10 +139,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn bump_service_head() -> Weight {
// Proof Size summary in bytes:
// Measured: `140`
// Measured: `174`
// Estimated: `3514`
// Minimum execution time: 7_018_000 picoseconds.
Weight::from_parts(7_205_000, 3514)
// Minimum execution time: 6_788_000 picoseconds.
Weight::from_parts(7_176_000, 3514)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -148,10 +152,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn reap_page() -> Weight {
// Proof Size summary in bytes:
// Measured: `65710`
// Measured: `65744`
// Estimated: `69049`
// Minimum execution time: 53_485_000 picoseconds.
Weight::from_parts(54_154_000, 69049)
// Minimum execution time: 52_865_000 picoseconds.
Weight::from_parts(54_398_000, 69049)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -161,10 +165,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn execute_overweight_page_removed() -> Weight {
// Proof Size summary in bytes:
// Measured: `65710`
// Measured: `65744`
// Estimated: `69049`
// Minimum execution time: 68_830_000 picoseconds.
Weight::from_parts(69_487_000, 69049)
// Minimum execution time: 69_168_000 picoseconds.
Weight::from_parts(70_560_000, 69049)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -174,10 +178,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn execute_overweight_page_updated() -> Weight {
// Proof Size summary in bytes:
// Measured: `65710`
// Measured: `65744`
// Estimated: `69049`
// Minimum execution time: 81_643_000 picoseconds.
Weight::from_parts(82_399_000, 69049)
// Minimum execution time: 80_947_000 picoseconds.
Weight::from_parts(82_715_000, 69049)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -191,10 +195,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn ready_ring_knit() -> Weight {
// Proof Size summary in bytes:
// Measured: `233`
// Measured: `267`
// Estimated: `6038`
// Minimum execution time: 12_076_000 picoseconds.
Weight::from_parts(12_350_000, 6038)
// Minimum execution time: 12_025_000 picoseconds.
Weight::from_parts(12_597_000, 6038)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -204,10 +208,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn ready_ring_unknit() -> Weight {
// Proof Size summary in bytes:
// Measured: `233`
// Measured: `267`
// Estimated: `6038`
// Minimum execution time: 11_586_000 picoseconds.
Weight::from_parts(11_912_000, 6038)
// Minimum execution time: 11_563_000 picoseconds.
Weight::from_parts(11_785_000, 6038)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -215,10 +219,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn service_queue_base() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Measured: `76`
// Estimated: `3514`
// Minimum execution time: 4_581_000 picoseconds.
Weight::from_parts(4_715_000, 3514)
// Minimum execution time: 4_467_000 picoseconds.
Weight::from_parts(4_655_000, 3514)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -226,10 +230,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn service_page_base_completion() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `147`
// Estimated: `69049`
// Minimum execution time: 5_826_000 picoseconds.
Weight::from_parts(5_932_000, 69049)
// Minimum execution time: 6_103_000 picoseconds.
Weight::from_parts(6_254_000, 69049)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -237,10 +241,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn service_page_base_no_completion() -> Weight {
// Proof Size summary in bytes:
// Measured: `113`
// Measured: `147`
// Estimated: `69049`
// Minimum execution time: 6_235_000 picoseconds.
Weight::from_parts(6_430_000, 69049)
// Minimum execution time: 6_320_000 picoseconds.
Weight::from_parts(6_565_000, 69049)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -248,8 +252,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 53_860_000 picoseconds.
Weight::from_parts(53_984_000, 0)
// Minimum execution time: 66_062_000 picoseconds.
Weight::from_parts(66_371_000, 0)
}
/// Storage: MessageQueue ServiceHead (r:1 w:1)
/// Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -257,10 +261,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn bump_service_head() -> Weight {
// Proof Size summary in bytes:
// Measured: `140`
// Measured: `174`
// Estimated: `3514`
// Minimum execution time: 7_018_000 picoseconds.
Weight::from_parts(7_205_000, 3514)
// Minimum execution time: 6_788_000 picoseconds.
Weight::from_parts(7_176_000, 3514)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -270,10 +274,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn reap_page() -> Weight {
// Proof Size summary in bytes:
// Measured: `65710`
// Measured: `65744`
// Estimated: `69049`
// Minimum execution time: 53_485_000 picoseconds.
Weight::from_parts(54_154_000, 69049)
// Minimum execution time: 52_865_000 picoseconds.
Weight::from_parts(54_398_000, 69049)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -283,10 +287,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn execute_overweight_page_removed() -> Weight {
// Proof Size summary in bytes:
// Measured: `65710`
// Measured: `65744`
// Estimated: `69049`
// Minimum execution time: 68_830_000 picoseconds.
Weight::from_parts(69_487_000, 69049)
// Minimum execution time: 69_168_000 picoseconds.
Weight::from_parts(70_560_000, 69049)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -296,10 +300,10 @@ impl WeightInfo for () {
/// Proof: MessageQueue Pages (max_values: None, max_size: Some(65584), added: 68059, mode: MaxEncodedLen)
fn execute_overweight_page_updated() -> Weight {
// Proof Size summary in bytes:
// Measured: `65710`
// Measured: `65744`
// Estimated: `69049`
// Minimum execution time: 81_643_000 picoseconds.
Weight::from_parts(82_399_000, 69049)
// Minimum execution time: 80_947_000 picoseconds.
Weight::from_parts(82_715_000, 69049)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
+75 -71
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_multisig
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_multisig
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_multisig.
pub trait WeightInfo {
@@ -65,10 +69,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_199_000 picoseconds.
Weight::from_parts(12_595_771, 0)
// Standard Error: 2
.saturating_add(Weight::from_parts(490, 0).saturating_mul(z.into()))
// Minimum execution time: 13_452_000 picoseconds.
Weight::from_parts(14_425_869, 0)
// Standard Error: 4
.saturating_add(Weight::from_parts(493, 0).saturating_mul(z.into()))
}
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
@@ -78,12 +82,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `301 + s * (2 ±0)`
// Estimated: `6811`
// Minimum execution time: 42_810_000 picoseconds.
Weight::from_parts(37_500_997, 6811)
// Standard Error: 308
.saturating_add(Weight::from_parts(59_961, 0).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_parts(1_198, 0).saturating_mul(z.into()))
// Minimum execution time: 46_012_000 picoseconds.
Weight::from_parts(34_797_344, 6811)
// Standard Error: 833
.saturating_add(Weight::from_parts(127_671, 0).saturating_mul(s.into()))
// Standard Error: 8
.saturating_add(Weight::from_parts(1_498, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -95,12 +99,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `320`
// Estimated: `6811`
// Minimum execution time: 27_775_000 picoseconds.
Weight::from_parts(22_868_524, 6811)
// Standard Error: 273
.saturating_add(Weight::from_parts(55_219, 0).saturating_mul(s.into()))
// Standard Error: 2
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(z.into()))
// Minimum execution time: 29_834_000 picoseconds.
Weight::from_parts(20_189_154, 6811)
// Standard Error: 637
.saturating_add(Weight::from_parts(110_080, 0).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_parts(1_483, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -114,12 +118,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `426 + s * (33 ±0)`
// Estimated: `6811`
// Minimum execution time: 48_223_000 picoseconds.
Weight::from_parts(39_193_453, 6811)
// Standard Error: 2_162
.saturating_add(Weight::from_parts(93_763, 0).saturating_mul(s.into()))
// Standard Error: 21
.saturating_add(Weight::from_parts(1_372, 0).saturating_mul(z.into()))
// Minimum execution time: 51_464_000 picoseconds.
Weight::from_parts(39_246_644, 6811)
// Standard Error: 1_251
.saturating_add(Weight::from_parts(143_313, 0).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_parts(1_523, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -130,10 +134,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `301 + s * (2 ±0)`
// Estimated: `6811`
// Minimum execution time: 34_775_000 picoseconds.
Weight::from_parts(35_966_626, 6811)
// Standard Error: 464
.saturating_add(Weight::from_parts(61_492, 0).saturating_mul(s.into()))
// Minimum execution time: 33_275_000 picoseconds.
Weight::from_parts(34_073_221, 6811)
// Standard Error: 1_163
.saturating_add(Weight::from_parts(124_815, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -144,10 +148,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `320`
// Estimated: `6811`
// Minimum execution time: 19_947_000 picoseconds.
Weight::from_parts(21_253_025, 6811)
// Standard Error: 402
.saturating_add(Weight::from_parts(58_491, 0).saturating_mul(s.into()))
// Minimum execution time: 18_411_000 picoseconds.
Weight::from_parts(19_431_787, 6811)
// Standard Error: 694
.saturating_add(Weight::from_parts(107_220, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -158,10 +162,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `492 + s * (1 ±0)`
// Estimated: `6811`
// Minimum execution time: 35_023_000 picoseconds.
Weight::from_parts(36_756_977, 6811)
// Standard Error: 547
.saturating_add(Weight::from_parts(62_235, 0).saturating_mul(s.into()))
// Minimum execution time: 33_985_000 picoseconds.
Weight::from_parts(35_547_970, 6811)
// Standard Error: 1_135
.saturating_add(Weight::from_parts(116_537, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -174,10 +178,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_199_000 picoseconds.
Weight::from_parts(12_595_771, 0)
// Standard Error: 2
.saturating_add(Weight::from_parts(490, 0).saturating_mul(z.into()))
// Minimum execution time: 13_452_000 picoseconds.
Weight::from_parts(14_425_869, 0)
// Standard Error: 4
.saturating_add(Weight::from_parts(493, 0).saturating_mul(z.into()))
}
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
@@ -187,12 +191,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `301 + s * (2 ±0)`
// Estimated: `6811`
// Minimum execution time: 42_810_000 picoseconds.
Weight::from_parts(37_500_997, 6811)
// Standard Error: 308
.saturating_add(Weight::from_parts(59_961, 0).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_parts(1_198, 0).saturating_mul(z.into()))
// Minimum execution time: 46_012_000 picoseconds.
Weight::from_parts(34_797_344, 6811)
// Standard Error: 833
.saturating_add(Weight::from_parts(127_671, 0).saturating_mul(s.into()))
// Standard Error: 8
.saturating_add(Weight::from_parts(1_498, 0).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -204,12 +208,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `320`
// Estimated: `6811`
// Minimum execution time: 27_775_000 picoseconds.
Weight::from_parts(22_868_524, 6811)
// Standard Error: 273
.saturating_add(Weight::from_parts(55_219, 0).saturating_mul(s.into()))
// Standard Error: 2
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(z.into()))
// Minimum execution time: 29_834_000 picoseconds.
Weight::from_parts(20_189_154, 6811)
// Standard Error: 637
.saturating_add(Weight::from_parts(110_080, 0).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_parts(1_483, 0).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -223,12 +227,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `426 + s * (33 ±0)`
// Estimated: `6811`
// Minimum execution time: 48_223_000 picoseconds.
Weight::from_parts(39_193_453, 6811)
// Standard Error: 2_162
.saturating_add(Weight::from_parts(93_763, 0).saturating_mul(s.into()))
// Standard Error: 21
.saturating_add(Weight::from_parts(1_372, 0).saturating_mul(z.into()))
// Minimum execution time: 51_464_000 picoseconds.
Weight::from_parts(39_246_644, 6811)
// Standard Error: 1_251
.saturating_add(Weight::from_parts(143_313, 0).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_parts(1_523, 0).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -239,10 +243,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `301 + s * (2 ±0)`
// Estimated: `6811`
// Minimum execution time: 34_775_000 picoseconds.
Weight::from_parts(35_966_626, 6811)
// Standard Error: 464
.saturating_add(Weight::from_parts(61_492, 0).saturating_mul(s.into()))
// Minimum execution time: 33_275_000 picoseconds.
Weight::from_parts(34_073_221, 6811)
// Standard Error: 1_163
.saturating_add(Weight::from_parts(124_815, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -253,10 +257,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `320`
// Estimated: `6811`
// Minimum execution time: 19_947_000 picoseconds.
Weight::from_parts(21_253_025, 6811)
// Standard Error: 402
.saturating_add(Weight::from_parts(58_491, 0).saturating_mul(s.into()))
// Minimum execution time: 18_411_000 picoseconds.
Weight::from_parts(19_431_787, 6811)
// Standard Error: 694
.saturating_add(Weight::from_parts(107_220, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -267,10 +271,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `492 + s * (1 ±0)`
// Estimated: `6811`
// Minimum execution time: 35_023_000 picoseconds.
Weight::from_parts(36_756_977, 6811)
// Standard Error: 547
.saturating_add(Weight::from_parts(62_235, 0).saturating_mul(s.into()))
// Minimum execution time: 33_985_000 picoseconds.
Weight::from_parts(35_547_970, 6811)
// Standard Error: 1_135
.saturating_add(Weight::from_parts(116_537, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+23 -21
View File
@@ -18,26 +18,28 @@
//! Autogenerated weights for pallet_nft_fractionalization
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_nft_fractionalization
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_nft_fractionalization
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/nft-fractionalization/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -60,7 +62,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(83), added: 2558, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
/// Storage: Nfts Attribute (r:1 w:1)
@@ -79,8 +81,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `609`
// Estimated: `4326`
// Minimum execution time: 177_498_000 picoseconds.
Weight::from_parts(178_803_000, 4326)
// Minimum execution time: 187_416_000 picoseconds.
Weight::from_parts(191_131_000, 4326)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
}
@@ -101,7 +103,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(83), added: 2558, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:1)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Nfts ItemPriceOf (r:0 w:1)
@@ -110,10 +112,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
fn unify() -> Weight {
// Proof Size summary in bytes:
// Measured: `1421`
// Measured: `1422`
// Estimated: `4326`
// Minimum execution time: 130_284_000 picoseconds.
Weight::from_parts(131_122_000, 4326)
// Minimum execution time: 134_159_000 picoseconds.
Weight::from_parts(136_621_000, 4326)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(10_u64))
}
@@ -124,7 +126,7 @@ impl WeightInfo for () {
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(83), added: 2558, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
/// Storage: Nfts Attribute (r:1 w:1)
@@ -143,8 +145,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `609`
// Estimated: `4326`
// Minimum execution time: 177_498_000 picoseconds.
Weight::from_parts(178_803_000, 4326)
// Minimum execution time: 187_416_000 picoseconds.
Weight::from_parts(191_131_000, 4326)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(8_u64))
}
@@ -165,7 +167,7 @@ impl WeightInfo for () {
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(83), added: 2558, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:1)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Nfts ItemPriceOf (r:0 w:1)
@@ -174,10 +176,10 @@ impl WeightInfo for () {
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
fn unify() -> Weight {
// Proof Size summary in bytes:
// Measured: `1421`
// Measured: `1422`
// Estimated: `4326`
// Minimum execution time: 130_284_000 picoseconds.
Weight::from_parts(131_122_000, 4326)
// Minimum execution time: 134_159_000 picoseconds.
Weight::from_parts(136_621_000, 4326)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(10_u64))
}
+281 -265
View File
File diff suppressed because it is too large Load Diff
+93 -89
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_nis
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_nis
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_nis.
pub trait WeightInfo {
@@ -67,51 +71,51 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `6175 + l * (48 ±0)`
// Measured: `6176 + l * (48 ±0)`
// Estimated: `51487`
// Minimum execution time: 49_132_000 picoseconds.
Weight::from_parts(55_373_619, 51487)
// Standard Error: 198
.saturating_add(Weight::from_parts(44_421, 0).saturating_mul(l.into()))
// Minimum execution time: 49_410_000 picoseconds.
Weight::from_parts(57_832_282, 51487)
// Standard Error: 288
.saturating_add(Weight::from_parts(51_621, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
fn place_bid_max() -> Weight {
// Proof Size summary in bytes:
// Measured: `54177`
// Measured: `54178`
// Estimated: `51487`
// Minimum execution time: 111_471_000 picoseconds.
Weight::from_parts(112_287_000, 51487)
// Minimum execution time: 119_696_000 picoseconds.
Weight::from_parts(121_838_000, 51487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `6175 + l * (48 ±0)`
// Measured: `6176 + l * (48 ±0)`
// Estimated: `51487`
// Minimum execution time: 51_134_000 picoseconds.
Weight::from_parts(52_353_883, 51487)
// Standard Error: 161
.saturating_add(Weight::from_parts(62_171, 0).saturating_mul(l.into()))
// Minimum execution time: 50_843_000 picoseconds.
Weight::from_parts(54_237_365, 51487)
// Standard Error: 243
.saturating_add(Weight::from_parts(67_732, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -123,15 +127,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `191`
// Estimated: `3593`
// Minimum execution time: 41_421_000 picoseconds.
Weight::from_parts(41_762_000, 3593)
// Minimum execution time: 40_752_000 picoseconds.
Weight::from_parts(41_899_000, 3593)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
@@ -139,13 +143,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn communify() -> Weight {
// Proof Size summary in bytes:
// Measured: `667`
// Measured: `668`
// Estimated: `3675`
// Minimum execution time: 74_179_000 picoseconds.
Weight::from_parts(74_795_000, 3675)
// Minimum execution time: 79_779_000 picoseconds.
Weight::from_parts(82_478_000, 3675)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -158,15 +162,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
fn privatize() -> Weight {
// Proof Size summary in bytes:
// Measured: `828`
// Measured: `829`
// Estimated: `3675`
// Minimum execution time: 85_252_000 picoseconds.
Weight::from_parts(85_949_000, 3675)
// Minimum execution time: 99_588_000 picoseconds.
Weight::from_parts(102_340_000, 3675)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -174,18 +178,18 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
fn thaw_private() -> Weight {
// Proof Size summary in bytes:
// Measured: `456`
// Measured: `354`
// Estimated: `3593`
// Minimum execution time: 82_100_000 picoseconds.
Weight::from_parts(82_563_000, 3593)
// Minimum execution time: 53_094_000 picoseconds.
Weight::from_parts(54_543_000, 3593)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
@@ -194,15 +198,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn thaw_communal() -> Weight {
// Proof Size summary in bytes:
// Measured: `773`
// Estimated: `3675`
// Minimum execution time: 86_498_000 picoseconds.
Weight::from_parts(87_175_000, 3675)
// Minimum execution time: 107_248_000 picoseconds.
Weight::from_parts(109_923_000, 3675)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -216,8 +220,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `6624`
// Estimated: `7487`
// Minimum execution time: 22_507_000 picoseconds.
Weight::from_parts(22_788_000, 7487)
// Minimum execution time: 27_169_000 picoseconds.
Weight::from_parts(29_201_000, 7487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -227,8 +231,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `51487`
// Minimum execution time: 4_692_000 picoseconds.
Weight::from_parts(4_862_000, 51487)
// Minimum execution time: 4_540_000 picoseconds.
Weight::from_parts(4_699_000, 51487)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -238,8 +242,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_031_000 picoseconds.
Weight::from_parts(8_183_000, 0)
// Minimum execution time: 7_085_000 picoseconds.
Weight::from_parts(7_336_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
@@ -249,51 +253,51 @@ impl WeightInfo for () {
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `6175 + l * (48 ±0)`
// Measured: `6176 + l * (48 ±0)`
// Estimated: `51487`
// Minimum execution time: 49_132_000 picoseconds.
Weight::from_parts(55_373_619, 51487)
// Standard Error: 198
.saturating_add(Weight::from_parts(44_421, 0).saturating_mul(l.into()))
// Minimum execution time: 49_410_000 picoseconds.
Weight::from_parts(57_832_282, 51487)
// Standard Error: 288
.saturating_add(Weight::from_parts(51_621, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
fn place_bid_max() -> Weight {
// Proof Size summary in bytes:
// Measured: `54177`
// Measured: `54178`
// Estimated: `51487`
// Minimum execution time: 111_471_000 picoseconds.
Weight::from_parts(112_287_000, 51487)
// Minimum execution time: 119_696_000 picoseconds.
Weight::from_parts(121_838_000, 51487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `6175 + l * (48 ±0)`
// Measured: `6176 + l * (48 ±0)`
// Estimated: `51487`
// Minimum execution time: 51_134_000 picoseconds.
Weight::from_parts(52_353_883, 51487)
// Standard Error: 161
.saturating_add(Weight::from_parts(62_171, 0).saturating_mul(l.into()))
// Minimum execution time: 50_843_000 picoseconds.
Weight::from_parts(54_237_365, 51487)
// Standard Error: 243
.saturating_add(Weight::from_parts(67_732, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -305,15 +309,15 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `191`
// Estimated: `3593`
// Minimum execution time: 41_421_000 picoseconds.
Weight::from_parts(41_762_000, 3593)
// Minimum execution time: 40_752_000 picoseconds.
Weight::from_parts(41_899_000, 3593)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
@@ -321,13 +325,13 @@ impl WeightInfo for () {
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
fn communify() -> Weight {
// Proof Size summary in bytes:
// Measured: `667`
// Measured: `668`
// Estimated: `3675`
// Minimum execution time: 74_179_000 picoseconds.
Weight::from_parts(74_795_000, 3675)
// Minimum execution time: 79_779_000 picoseconds.
Weight::from_parts(82_478_000, 3675)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -340,15 +344,15 @@ impl WeightInfo for () {
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
fn privatize() -> Weight {
// Proof Size summary in bytes:
// Measured: `828`
// Measured: `829`
// Estimated: `3675`
// Minimum execution time: 85_252_000 picoseconds.
Weight::from_parts(85_949_000, 3675)
// Minimum execution time: 99_588_000 picoseconds.
Weight::from_parts(102_340_000, 3675)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -356,18 +360,18 @@ impl WeightInfo for () {
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Holds (r:1 w:1)
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
/// Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen)
fn thaw_private() -> Weight {
// Proof Size summary in bytes:
// Measured: `456`
// Measured: `354`
// Estimated: `3593`
// Minimum execution time: 82_100_000 picoseconds.
Weight::from_parts(82_563_000, 3593)
// Minimum execution time: 53_094_000 picoseconds.
Weight::from_parts(54_543_000, 3593)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
@@ -376,15 +380,15 @@ impl WeightInfo for () {
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn thaw_communal() -> Weight {
// Proof Size summary in bytes:
// Measured: `773`
// Estimated: `3675`
// Minimum execution time: 86_498_000 picoseconds.
Weight::from_parts(87_175_000, 3675)
// Minimum execution time: 107_248_000 picoseconds.
Weight::from_parts(109_923_000, 3675)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -398,8 +402,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `6624`
// Estimated: `7487`
// Minimum execution time: 22_507_000 picoseconds.
Weight::from_parts(22_788_000, 7487)
// Minimum execution time: 27_169_000 picoseconds.
Weight::from_parts(29_201_000, 7487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -409,8 +413,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `51487`
// Minimum execution time: 4_692_000 picoseconds.
Weight::from_parts(4_862_000, 51487)
// Minimum execution time: 4_540_000 picoseconds.
Weight::from_parts(4_699_000, 51487)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -420,8 +424,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_031_000 picoseconds.
Weight::from_parts(8_183_000, 0)
// Minimum execution time: 7_085_000 picoseconds.
Weight::from_parts(7_336_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+103 -99
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_nomination_pools
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_nomination_pools
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_nomination_pools.
pub trait WeightInfo {
@@ -107,8 +111,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3300`
// Estimated: `8877`
// Minimum execution time: 186_523_000 picoseconds.
Weight::from_parts(187_817_000, 8877)
// Minimum execution time: 200_966_000 picoseconds.
Weight::from_parts(208_322_000, 8877)
.saturating_add(T::DbWeight::get().reads(19_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
}
@@ -138,8 +142,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3310`
// Estimated: `8877`
// Minimum execution time: 183_120_000 picoseconds.
Weight::from_parts(184_749_000, 8877)
// Minimum execution time: 197_865_000 picoseconds.
Weight::from_parts(203_085_000, 8877)
.saturating_add(T::DbWeight::get().reads(16_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
}
@@ -171,8 +175,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3375`
// Estimated: `8877`
// Minimum execution time: 218_799_000 picoseconds.
Weight::from_parts(220_139_000, 8877)
// Minimum execution time: 235_496_000 picoseconds.
Weight::from_parts(242_104_000, 8877)
.saturating_add(T::DbWeight::get().reads(17_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -192,8 +196,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1171`
// Estimated: `3702`
// Minimum execution time: 79_493_000 picoseconds.
Weight::from_parts(80_266_000, 3702)
// Minimum execution time: 81_813_000 picoseconds.
Weight::from_parts(83_277_000, 3702)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -233,8 +237,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `3586`
// Estimated: `27847`
// Minimum execution time: 168_592_000 picoseconds.
Weight::from_parts(170_130_000, 27847)
// Minimum execution time: 183_935_000 picoseconds.
Weight::from_parts(186_920_000, 27847)
.saturating_add(T::DbWeight::get().reads(20_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -255,10 +259,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1687`
// Estimated: `4764`
// Minimum execution time: 63_254_000 picoseconds.
Weight::from_parts(64_154_755, 4764)
// Standard Error: 344
.saturating_add(Weight::from_parts(8_798, 0).saturating_mul(s.into()))
// Minimum execution time: 64_962_000 picoseconds.
Weight::from_parts(67_936_216, 4764)
// Standard Error: 1_780
.saturating_add(Weight::from_parts(36_110, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -289,10 +293,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2115`
// Estimated: `27847`
// Minimum execution time: 131_339_000 picoseconds.
Weight::from_parts(133_590_267, 27847)
// Standard Error: 1_058
.saturating_add(Weight::from_parts(9_932, 0).saturating_mul(s.into()))
// Minimum execution time: 136_073_000 picoseconds.
Weight::from_parts(141_448_439, 27847)
// Standard Error: 2_472
.saturating_add(Weight::from_parts(75_893, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
}
@@ -345,8 +349,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2470`
// Estimated: `27847`
// Minimum execution time: 219_026_000 picoseconds.
Weight::from_parts(223_230_356, 27847)
// Minimum execution time: 230_871_000 picoseconds.
Weight::from_parts(239_533_976, 27847)
.saturating_add(T::DbWeight::get().reads(21_u64))
.saturating_add(T::DbWeight::get().writes(18_u64))
}
@@ -398,8 +402,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1289`
// Estimated: `6196`
// Minimum execution time: 189_710_000 picoseconds.
Weight::from_parts(190_251_000, 6196)
// Minimum execution time: 194_272_000 picoseconds.
Weight::from_parts(197_933_000, 6196)
.saturating_add(T::DbWeight::get().reads(22_u64))
.saturating_add(T::DbWeight::get().writes(15_u64))
}
@@ -432,10 +436,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1849`
// Estimated: `4556 + n * (2520 ±0)`
// Minimum execution time: 70_044_000 picoseconds.
Weight::from_parts(69_307_256, 4556)
// Standard Error: 6_066
.saturating_add(Weight::from_parts(1_517_942, 0).saturating_mul(n.into()))
// Minimum execution time: 70_256_000 picoseconds.
Weight::from_parts(71_045_351, 4556)
// Standard Error: 9_898
.saturating_add(Weight::from_parts(1_592_597, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5_u64))
@@ -451,8 +455,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1438`
// Estimated: `4556`
// Minimum execution time: 36_610_000 picoseconds.
Weight::from_parts(37_212_000, 4556)
// Minimum execution time: 36_233_000 picoseconds.
Weight::from_parts(37_114_000, 4556)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -467,10 +471,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `531`
// Estimated: `3735`
// Minimum execution time: 15_334_000 picoseconds.
Weight::from_parts(15_753_107, 3735)
// Standard Error: 62
.saturating_add(Weight::from_parts(1_365, 0).saturating_mul(n.into()))
// Minimum execution time: 14_494_000 picoseconds.
Weight::from_parts(15_445_658, 3735)
// Standard Error: 211
.saturating_add(Weight::from_parts(1_523, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -490,8 +494,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_156_000 picoseconds.
Weight::from_parts(7_596_000, 0)
// Minimum execution time: 6_776_000 picoseconds.
Weight::from_parts(7_033_000, 0)
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: NominationPools BondedPools (r:1 w:1)
@@ -500,8 +504,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_342_000 picoseconds.
Weight::from_parts(20_699_000, 3685)
// Minimum execution time: 19_586_000 picoseconds.
Weight::from_parts(20_287_000, 3685)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -527,8 +531,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2012`
// Estimated: `4556`
// Minimum execution time: 66_608_000 picoseconds.
Weight::from_parts(67_416_000, 4556)
// Minimum execution time: 68_086_000 picoseconds.
Weight::from_parts(70_784_000, 4556)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -544,8 +548,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `770`
// Estimated: `3685`
// Minimum execution time: 34_619_000 picoseconds.
Weight::from_parts(34_894_000, 3685)
// Minimum execution time: 33_353_000 picoseconds.
Weight::from_parts(34_519_000, 3685)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -555,8 +559,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `571`
// Estimated: `3685`
// Minimum execution time: 19_676_000 picoseconds.
Weight::from_parts(19_958_000, 3685)
// Minimum execution time: 19_020_000 picoseconds.
Weight::from_parts(19_630_000, 3685)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -566,8 +570,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_404_000 picoseconds.
Weight::from_parts(20_859_000, 3685)
// Minimum execution time: 19_693_000 picoseconds.
Weight::from_parts(20_114_000, 3685)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -579,8 +583,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `542`
// Estimated: `3702`
// Minimum execution time: 15_401_000 picoseconds.
Weight::from_parts(15_706_000, 3702)
// Minimum execution time: 14_810_000 picoseconds.
Weight::from_parts(15_526_000, 3702)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -596,8 +600,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `968`
// Estimated: `3685`
// Minimum execution time: 66_775_000 picoseconds.
Weight::from_parts(67_242_000, 3685)
// Minimum execution time: 66_400_000 picoseconds.
Weight::from_parts(67_707_000, 3685)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -639,8 +643,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3300`
// Estimated: `8877`
// Minimum execution time: 186_523_000 picoseconds.
Weight::from_parts(187_817_000, 8877)
// Minimum execution time: 200_966_000 picoseconds.
Weight::from_parts(208_322_000, 8877)
.saturating_add(RocksDbWeight::get().reads(19_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
}
@@ -670,8 +674,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3310`
// Estimated: `8877`
// Minimum execution time: 183_120_000 picoseconds.
Weight::from_parts(184_749_000, 8877)
// Minimum execution time: 197_865_000 picoseconds.
Weight::from_parts(203_085_000, 8877)
.saturating_add(RocksDbWeight::get().reads(16_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
}
@@ -703,8 +707,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3375`
// Estimated: `8877`
// Minimum execution time: 218_799_000 picoseconds.
Weight::from_parts(220_139_000, 8877)
// Minimum execution time: 235_496_000 picoseconds.
Weight::from_parts(242_104_000, 8877)
.saturating_add(RocksDbWeight::get().reads(17_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -724,8 +728,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1171`
// Estimated: `3702`
// Minimum execution time: 79_493_000 picoseconds.
Weight::from_parts(80_266_000, 3702)
// Minimum execution time: 81_813_000 picoseconds.
Weight::from_parts(83_277_000, 3702)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -765,8 +769,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `3586`
// Estimated: `27847`
// Minimum execution time: 168_592_000 picoseconds.
Weight::from_parts(170_130_000, 27847)
// Minimum execution time: 183_935_000 picoseconds.
Weight::from_parts(186_920_000, 27847)
.saturating_add(RocksDbWeight::get().reads(20_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -787,10 +791,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1687`
// Estimated: `4764`
// Minimum execution time: 63_254_000 picoseconds.
Weight::from_parts(64_154_755, 4764)
// Standard Error: 344
.saturating_add(Weight::from_parts(8_798, 0).saturating_mul(s.into()))
// Minimum execution time: 64_962_000 picoseconds.
Weight::from_parts(67_936_216, 4764)
// Standard Error: 1_780
.saturating_add(Weight::from_parts(36_110, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -821,10 +825,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2115`
// Estimated: `27847`
// Minimum execution time: 131_339_000 picoseconds.
Weight::from_parts(133_590_267, 27847)
// Standard Error: 1_058
.saturating_add(Weight::from_parts(9_932, 0).saturating_mul(s.into()))
// Minimum execution time: 136_073_000 picoseconds.
Weight::from_parts(141_448_439, 27847)
// Standard Error: 2_472
.saturating_add(Weight::from_parts(75_893, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(8_u64))
}
@@ -877,8 +881,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2470`
// Estimated: `27847`
// Minimum execution time: 219_026_000 picoseconds.
Weight::from_parts(223_230_356, 27847)
// Minimum execution time: 230_871_000 picoseconds.
Weight::from_parts(239_533_976, 27847)
.saturating_add(RocksDbWeight::get().reads(21_u64))
.saturating_add(RocksDbWeight::get().writes(18_u64))
}
@@ -930,8 +934,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1289`
// Estimated: `6196`
// Minimum execution time: 189_710_000 picoseconds.
Weight::from_parts(190_251_000, 6196)
// Minimum execution time: 194_272_000 picoseconds.
Weight::from_parts(197_933_000, 6196)
.saturating_add(RocksDbWeight::get().reads(22_u64))
.saturating_add(RocksDbWeight::get().writes(15_u64))
}
@@ -964,10 +968,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1849`
// Estimated: `4556 + n * (2520 ±0)`
// Minimum execution time: 70_044_000 picoseconds.
Weight::from_parts(69_307_256, 4556)
// Standard Error: 6_066
.saturating_add(Weight::from_parts(1_517_942, 0).saturating_mul(n.into()))
// Minimum execution time: 70_256_000 picoseconds.
Weight::from_parts(71_045_351, 4556)
// Standard Error: 9_898
.saturating_add(Weight::from_parts(1_592_597, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(5_u64))
@@ -983,8 +987,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1438`
// Estimated: `4556`
// Minimum execution time: 36_610_000 picoseconds.
Weight::from_parts(37_212_000, 4556)
// Minimum execution time: 36_233_000 picoseconds.
Weight::from_parts(37_114_000, 4556)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -999,10 +1003,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `531`
// Estimated: `3735`
// Minimum execution time: 15_334_000 picoseconds.
Weight::from_parts(15_753_107, 3735)
// Standard Error: 62
.saturating_add(Weight::from_parts(1_365, 0).saturating_mul(n.into()))
// Minimum execution time: 14_494_000 picoseconds.
Weight::from_parts(15_445_658, 3735)
// Standard Error: 211
.saturating_add(Weight::from_parts(1_523, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1022,8 +1026,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_156_000 picoseconds.
Weight::from_parts(7_596_000, 0)
// Minimum execution time: 6_776_000 picoseconds.
Weight::from_parts(7_033_000, 0)
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: NominationPools BondedPools (r:1 w:1)
@@ -1032,8 +1036,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_342_000 picoseconds.
Weight::from_parts(20_699_000, 3685)
// Minimum execution time: 19_586_000 picoseconds.
Weight::from_parts(20_287_000, 3685)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1059,8 +1063,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2012`
// Estimated: `4556`
// Minimum execution time: 66_608_000 picoseconds.
Weight::from_parts(67_416_000, 4556)
// Minimum execution time: 68_086_000 picoseconds.
Weight::from_parts(70_784_000, 4556)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -1076,8 +1080,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `770`
// Estimated: `3685`
// Minimum execution time: 34_619_000 picoseconds.
Weight::from_parts(34_894_000, 3685)
// Minimum execution time: 33_353_000 picoseconds.
Weight::from_parts(34_519_000, 3685)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1087,8 +1091,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `571`
// Estimated: `3685`
// Minimum execution time: 19_676_000 picoseconds.
Weight::from_parts(19_958_000, 3685)
// Minimum execution time: 19_020_000 picoseconds.
Weight::from_parts(19_630_000, 3685)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1098,8 +1102,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `531`
// Estimated: `3685`
// Minimum execution time: 20_404_000 picoseconds.
Weight::from_parts(20_859_000, 3685)
// Minimum execution time: 19_693_000 picoseconds.
Weight::from_parts(20_114_000, 3685)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1111,8 +1115,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `542`
// Estimated: `3702`
// Minimum execution time: 15_401_000 picoseconds.
Weight::from_parts(15_706_000, 3702)
// Minimum execution time: 14_810_000 picoseconds.
Weight::from_parts(15_526_000, 3702)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1128,8 +1132,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `968`
// Estimated: `3685`
// Minimum execution time: 66_775_000 picoseconds.
Weight::from_parts(67_242_000, 3685)
// Minimum execution time: 66_400_000 picoseconds.
Weight::from_parts(67_707_000, 3685)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
+67 -63
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_preimage
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_preimage
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_preimage.
pub trait WeightInfo {
@@ -74,10 +78,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `143`
// Estimated: `3556`
// Minimum execution time: 31_578_000 picoseconds.
Weight::from_parts(31_955_000, 3556)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_395, 0).saturating_mul(s.into()))
// Minimum execution time: 30_479_000 picoseconds.
Weight::from_parts(23_381_775, 3556)
// Standard Error: 2
.saturating_add(Weight::from_parts(1_670, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -90,10 +94,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 17_017_000 picoseconds.
Weight::from_parts(17_549_000, 3556)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_394, 0).saturating_mul(s.into()))
// Minimum execution time: 16_104_000 picoseconds.
Weight::from_parts(18_393_879, 3556)
// Standard Error: 2
.saturating_add(Weight::from_parts(1_669, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -106,10 +110,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 16_507_000 picoseconds.
Weight::from_parts(16_624_000, 3556)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_395, 0).saturating_mul(s.into()))
// Minimum execution time: 15_652_000 picoseconds.
Weight::from_parts(22_031_627, 3556)
// Standard Error: 2
.saturating_add(Weight::from_parts(1_672, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -121,8 +125,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `289`
// Estimated: `3556`
// Minimum execution time: 38_016_000 picoseconds.
Weight::from_parts(38_909_000, 3556)
// Minimum execution time: 37_148_000 picoseconds.
Weight::from_parts(40_247_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -134,8 +138,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 21_408_000 picoseconds.
Weight::from_parts(22_343_000, 3556)
// Minimum execution time: 19_909_000 picoseconds.
Weight::from_parts(21_572_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -145,8 +149,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `188`
// Estimated: `3556`
// Minimum execution time: 20_035_000 picoseconds.
Weight::from_parts(20_639_000, 3556)
// Minimum execution time: 17_602_000 picoseconds.
Weight::from_parts(18_899_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -156,8 +160,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 12_028_000 picoseconds.
Weight::from_parts(12_509_000, 3556)
// Minimum execution time: 11_253_000 picoseconds.
Weight::from_parts(11_667_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -167,8 +171,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3556`
// Minimum execution time: 13_568_000 picoseconds.
Weight::from_parts(14_161_000, 3556)
// Minimum execution time: 14_152_000 picoseconds.
Weight::from_parts(14_652_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -178,8 +182,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 8_538_000 picoseconds.
Weight::from_parts(8_933_000, 3556)
// Minimum execution time: 8_267_000 picoseconds.
Weight::from_parts(8_969_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -191,8 +195,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 20_692_000 picoseconds.
Weight::from_parts(21_770_000, 3556)
// Minimum execution time: 18_429_000 picoseconds.
Weight::from_parts(18_946_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -202,8 +206,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 8_572_000 picoseconds.
Weight::from_parts(8_795_000, 3556)
// Minimum execution time: 7_910_000 picoseconds.
Weight::from_parts(8_272_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -213,8 +217,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 8_266_000 picoseconds.
Weight::from_parts(8_721_000, 3556)
// Minimum execution time: 7_936_000 picoseconds.
Weight::from_parts(8_504_000, 3556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -231,10 +235,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `143`
// Estimated: `3556`
// Minimum execution time: 31_578_000 picoseconds.
Weight::from_parts(31_955_000, 3556)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_395, 0).saturating_mul(s.into()))
// Minimum execution time: 30_479_000 picoseconds.
Weight::from_parts(23_381_775, 3556)
// Standard Error: 2
.saturating_add(Weight::from_parts(1_670, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -247,10 +251,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 17_017_000 picoseconds.
Weight::from_parts(17_549_000, 3556)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_394, 0).saturating_mul(s.into()))
// Minimum execution time: 16_104_000 picoseconds.
Weight::from_parts(18_393_879, 3556)
// Standard Error: 2
.saturating_add(Weight::from_parts(1_669, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -263,10 +267,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 16_507_000 picoseconds.
Weight::from_parts(16_624_000, 3556)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_395, 0).saturating_mul(s.into()))
// Minimum execution time: 15_652_000 picoseconds.
Weight::from_parts(22_031_627, 3556)
// Standard Error: 2
.saturating_add(Weight::from_parts(1_672, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -278,8 +282,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `289`
// Estimated: `3556`
// Minimum execution time: 38_016_000 picoseconds.
Weight::from_parts(38_909_000, 3556)
// Minimum execution time: 37_148_000 picoseconds.
Weight::from_parts(40_247_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -291,8 +295,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 21_408_000 picoseconds.
Weight::from_parts(22_343_000, 3556)
// Minimum execution time: 19_909_000 picoseconds.
Weight::from_parts(21_572_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -302,8 +306,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `188`
// Estimated: `3556`
// Minimum execution time: 20_035_000 picoseconds.
Weight::from_parts(20_639_000, 3556)
// Minimum execution time: 17_602_000 picoseconds.
Weight::from_parts(18_899_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -313,8 +317,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 12_028_000 picoseconds.
Weight::from_parts(12_509_000, 3556)
// Minimum execution time: 11_253_000 picoseconds.
Weight::from_parts(11_667_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -324,8 +328,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3556`
// Minimum execution time: 13_568_000 picoseconds.
Weight::from_parts(14_161_000, 3556)
// Minimum execution time: 14_152_000 picoseconds.
Weight::from_parts(14_652_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -335,8 +339,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 8_538_000 picoseconds.
Weight::from_parts(8_933_000, 3556)
// Minimum execution time: 8_267_000 picoseconds.
Weight::from_parts(8_969_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -348,8 +352,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `144`
// Estimated: `3556`
// Minimum execution time: 20_692_000 picoseconds.
Weight::from_parts(21_770_000, 3556)
// Minimum execution time: 18_429_000 picoseconds.
Weight::from_parts(18_946_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -359,8 +363,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 8_572_000 picoseconds.
Weight::from_parts(8_795_000, 3556)
// Minimum execution time: 7_910_000 picoseconds.
Weight::from_parts(8_272_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -370,8 +374,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `3556`
// Minimum execution time: 8_266_000 picoseconds.
Weight::from_parts(8_721_000, 3556)
// Minimum execution time: 7_936_000 picoseconds.
Weight::from_parts(8_504_000, 3556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+107 -95
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_proxy
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_proxy
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_proxy.
pub trait WeightInfo {
@@ -70,10 +74,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 16_542_000 picoseconds.
Weight::from_parts(17_131_651, 4706)
// Standard Error: 1_279
.saturating_add(Weight::from_parts(31_622, 0).saturating_mul(p.into()))
// Minimum execution time: 15_182_000 picoseconds.
Weight::from_parts(15_919_146, 4706)
// Standard Error: 1_586
.saturating_add(Weight::from_parts(31_768, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Proxy Proxies (r:1 w:0)
@@ -88,12 +92,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `488 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `5698`
// Minimum execution time: 41_702_000 picoseconds.
Weight::from_parts(41_868_091, 5698)
// Standard Error: 3_771
.saturating_add(Weight::from_parts(135_604, 0).saturating_mul(a.into()))
// Standard Error: 3_896
.saturating_add(Weight::from_parts(32_615, 0).saturating_mul(p.into()))
// Minimum execution time: 40_256_000 picoseconds.
Weight::from_parts(40_373_648, 5698)
// Standard Error: 3_978
.saturating_add(Weight::from_parts(166_936, 0).saturating_mul(a.into()))
// Standard Error: 4_110
.saturating_add(Weight::from_parts(54_329, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -103,14 +107,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `403 + a * (68 ±0)`
// Estimated: `5698`
// Minimum execution time: 25_432_000 picoseconds.
Weight::from_parts(26_301_674, 5698)
// Standard Error: 1_413
.saturating_add(Weight::from_parts(167_176, 0).saturating_mul(a.into()))
// Minimum execution time: 25_040_000 picoseconds.
Weight::from_parts(25_112_188, 5698)
// Standard Error: 2_143
.saturating_add(Weight::from_parts(189_027, 0).saturating_mul(a.into()))
// Standard Error: 2_214
.saturating_add(Weight::from_parts(26_683, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -124,12 +130,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `403 + a * (68 ±0)`
// Estimated: `5698`
// Minimum execution time: 25_280_000 picoseconds.
Weight::from_parts(26_099_549, 5698)
// Standard Error: 1_458
.saturating_add(Weight::from_parts(168_724, 0).saturating_mul(a.into()))
// Standard Error: 1_507
.saturating_add(Weight::from_parts(2_212, 0).saturating_mul(p.into()))
// Minimum execution time: 24_884_000 picoseconds.
Weight::from_parts(25_359_291, 5698)
// Standard Error: 2_019
.saturating_add(Weight::from_parts(181_470, 0).saturating_mul(a.into()))
// Standard Error: 2_086
.saturating_add(Weight::from_parts(17_725, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -145,12 +151,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `420 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `5698`
// Minimum execution time: 35_889_000 picoseconds.
Weight::from_parts(37_535_424, 5698)
// Standard Error: 3_899
.saturating_add(Weight::from_parts(138_757, 0).saturating_mul(a.into()))
// Standard Error: 4_028
.saturating_add(Weight::from_parts(46_196, 0).saturating_mul(p.into()))
// Minimum execution time: 35_039_000 picoseconds.
Weight::from_parts(36_727_868, 5698)
// Standard Error: 4_463
.saturating_add(Weight::from_parts(167_060, 0).saturating_mul(a.into()))
// Standard Error: 4_611
.saturating_add(Weight::from_parts(59_836, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -161,10 +167,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 26_876_000 picoseconds.
Weight::from_parts(27_356_694, 4706)
// Standard Error: 1_437
.saturating_add(Weight::from_parts(68_994, 0).saturating_mul(p.into()))
// Minimum execution time: 25_697_000 picoseconds.
Weight::from_parts(26_611_090, 4706)
// Standard Error: 2_306
.saturating_add(Weight::from_parts(85_165, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -175,10 +181,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 26_655_000 picoseconds.
Weight::from_parts(27_726_692, 4706)
// Standard Error: 1_980
.saturating_add(Weight::from_parts(55_932, 0).saturating_mul(p.into()))
// Minimum execution time: 25_638_000 picoseconds.
Weight::from_parts(26_904_510, 4706)
// Standard Error: 2_669
.saturating_add(Weight::from_parts(61_668, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -189,22 +195,24 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_716_000 picoseconds.
Weight::from_parts(24_660_737, 4706)
// Standard Error: 1_400
.saturating_add(Weight::from_parts(31_679, 0).saturating_mul(p.into()))
// Minimum execution time: 22_737_000 picoseconds.
Weight::from_parts(23_618_441, 4706)
// Standard Error: 1_729
.saturating_add(Weight::from_parts(44_009, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// 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: `173`
// Estimated: `4706`
// Minimum execution time: 28_233_000 picoseconds.
Weight::from_parts(29_602_422, 4706)
// Minimum execution time: 27_364_000 picoseconds.
Weight::from_parts(28_632_271, 4706)
// Standard Error: 1_613
.saturating_add(Weight::from_parts(2_453, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -215,10 +223,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `198 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 24_759_000 picoseconds.
Weight::from_parts(25_533_053, 4706)
// Standard Error: 1_254
.saturating_add(Weight::from_parts(36_331, 0).saturating_mul(p.into()))
// Minimum execution time: 23_552_000 picoseconds.
Weight::from_parts(24_874_553, 4706)
// Standard Error: 1_919
.saturating_add(Weight::from_parts(38_799, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -233,10 +241,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 16_542_000 picoseconds.
Weight::from_parts(17_131_651, 4706)
// Standard Error: 1_279
.saturating_add(Weight::from_parts(31_622, 0).saturating_mul(p.into()))
// Minimum execution time: 15_182_000 picoseconds.
Weight::from_parts(15_919_146, 4706)
// Standard Error: 1_586
.saturating_add(Weight::from_parts(31_768, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Proxy Proxies (r:1 w:0)
@@ -251,12 +259,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `488 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `5698`
// Minimum execution time: 41_702_000 picoseconds.
Weight::from_parts(41_868_091, 5698)
// Standard Error: 3_771
.saturating_add(Weight::from_parts(135_604, 0).saturating_mul(a.into()))
// Standard Error: 3_896
.saturating_add(Weight::from_parts(32_615, 0).saturating_mul(p.into()))
// Minimum execution time: 40_256_000 picoseconds.
Weight::from_parts(40_373_648, 5698)
// Standard Error: 3_978
.saturating_add(Weight::from_parts(166_936, 0).saturating_mul(a.into()))
// Standard Error: 4_110
.saturating_add(Weight::from_parts(54_329, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -266,14 +274,16 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `403 + a * (68 ±0)`
// Estimated: `5698`
// Minimum execution time: 25_432_000 picoseconds.
Weight::from_parts(26_301_674, 5698)
// Standard Error: 1_413
.saturating_add(Weight::from_parts(167_176, 0).saturating_mul(a.into()))
// Minimum execution time: 25_040_000 picoseconds.
Weight::from_parts(25_112_188, 5698)
// Standard Error: 2_143
.saturating_add(Weight::from_parts(189_027, 0).saturating_mul(a.into()))
// Standard Error: 2_214
.saturating_add(Weight::from_parts(26_683, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -287,12 +297,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `403 + a * (68 ±0)`
// Estimated: `5698`
// Minimum execution time: 25_280_000 picoseconds.
Weight::from_parts(26_099_549, 5698)
// Standard Error: 1_458
.saturating_add(Weight::from_parts(168_724, 0).saturating_mul(a.into()))
// Standard Error: 1_507
.saturating_add(Weight::from_parts(2_212, 0).saturating_mul(p.into()))
// Minimum execution time: 24_884_000 picoseconds.
Weight::from_parts(25_359_291, 5698)
// Standard Error: 2_019
.saturating_add(Weight::from_parts(181_470, 0).saturating_mul(a.into()))
// Standard Error: 2_086
.saturating_add(Weight::from_parts(17_725, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -308,12 +318,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `420 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `5698`
// Minimum execution time: 35_889_000 picoseconds.
Weight::from_parts(37_535_424, 5698)
// Standard Error: 3_899
.saturating_add(Weight::from_parts(138_757, 0).saturating_mul(a.into()))
// Standard Error: 4_028
.saturating_add(Weight::from_parts(46_196, 0).saturating_mul(p.into()))
// Minimum execution time: 35_039_000 picoseconds.
Weight::from_parts(36_727_868, 5698)
// Standard Error: 4_463
.saturating_add(Weight::from_parts(167_060, 0).saturating_mul(a.into()))
// Standard Error: 4_611
.saturating_add(Weight::from_parts(59_836, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -324,10 +334,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 26_876_000 picoseconds.
Weight::from_parts(27_356_694, 4706)
// Standard Error: 1_437
.saturating_add(Weight::from_parts(68_994, 0).saturating_mul(p.into()))
// Minimum execution time: 25_697_000 picoseconds.
Weight::from_parts(26_611_090, 4706)
// Standard Error: 2_306
.saturating_add(Weight::from_parts(85_165, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -338,10 +348,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 26_655_000 picoseconds.
Weight::from_parts(27_726_692, 4706)
// Standard Error: 1_980
.saturating_add(Weight::from_parts(55_932, 0).saturating_mul(p.into()))
// Minimum execution time: 25_638_000 picoseconds.
Weight::from_parts(26_904_510, 4706)
// Standard Error: 2_669
.saturating_add(Weight::from_parts(61_668, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -352,22 +362,24 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `161 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 23_716_000 picoseconds.
Weight::from_parts(24_660_737, 4706)
// Standard Error: 1_400
.saturating_add(Weight::from_parts(31_679, 0).saturating_mul(p.into()))
// Minimum execution time: 22_737_000 picoseconds.
Weight::from_parts(23_618_441, 4706)
// Standard Error: 1_729
.saturating_add(Weight::from_parts(44_009, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// 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: `173`
// Estimated: `4706`
// Minimum execution time: 28_233_000 picoseconds.
Weight::from_parts(29_602_422, 4706)
// Minimum execution time: 27_364_000 picoseconds.
Weight::from_parts(28_632_271, 4706)
// Standard Error: 1_613
.saturating_add(Weight::from_parts(2_453, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -378,10 +390,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `198 + p * (37 ±0)`
// Estimated: `4706`
// Minimum execution time: 24_759_000 picoseconds.
Weight::from_parts(25_533_053, 4706)
// Standard Error: 1_254
.saturating_add(Weight::from_parts(36_331, 0).saturating_mul(p.into()))
// Minimum execution time: 23_552_000 picoseconds.
Weight::from_parts(24_874_553, 4706)
// Standard Error: 1_919
.saturating_add(Weight::from_parts(38_799, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+59 -55
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_ranked_collective
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_ranked_collective
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_ranked_collective.
pub trait WeightInfo {
@@ -69,10 +73,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn add_member() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
// Measured: `142`
// Estimated: `3507`
// Minimum execution time: 18_480_000 picoseconds.
Weight::from_parts(18_769_000, 3507)
// Minimum execution time: 17_245_000 picoseconds.
Weight::from_parts(17_930_000, 3507)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -87,12 +91,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `r` is `[0, 10]`.
fn remove_member(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `583 + r * (281 ±0)`
// Measured: `616 + r * (281 ±0)`
// Estimated: `3519 + r * (2529 ±0)`
// Minimum execution time: 30_087_000 picoseconds.
Weight::from_parts(33_646_239, 3519)
// Standard Error: 22_498
.saturating_add(Weight::from_parts(12_524_289, 0).saturating_mul(r.into()))
// Minimum execution time: 29_534_000 picoseconds.
Weight::from_parts(32_847_495, 3519)
// Standard Error: 24_211
.saturating_add(Weight::from_parts(13_949_639, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
@@ -110,12 +114,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `r` is `[0, 10]`.
fn promote_member(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281 + r * (17 ±0)`
// Measured: `314 + r * (17 ±0)`
// Estimated: `3507`
// Minimum execution time: 20_974_000 picoseconds.
Weight::from_parts(21_582_135, 3507)
// Standard Error: 4_965
.saturating_add(Weight::from_parts(294_566, 0).saturating_mul(r.into()))
// Minimum execution time: 20_333_000 picoseconds.
Weight::from_parts(21_592_224, 3507)
// Standard Error: 6_423
.saturating_add(Weight::from_parts(321_314, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -130,12 +134,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `r` is `[0, 10]`.
fn demote_member(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `599 + r * (72 ±0)`
// Measured: `632 + r * (72 ±0)`
// Estimated: `3519`
// Minimum execution time: 29_621_000 picoseconds.
Weight::from_parts(32_118_301, 3519)
// Standard Error: 27_596
.saturating_add(Weight::from_parts(647_979, 0).saturating_mul(r.into()))
// Minimum execution time: 29_446_000 picoseconds.
Weight::from_parts(32_447_715, 3519)
// Standard Error: 28_791
.saturating_add(Weight::from_parts(822_890, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -149,10 +153,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn vote() -> Weight {
// Proof Size summary in bytes:
// Measured: `595`
// Measured: `628`
// Estimated: `219984`
// Minimum execution time: 46_360_000 picoseconds.
Weight::from_parts(46_793_000, 219984)
// Minimum execution time: 45_474_000 picoseconds.
Weight::from_parts(47_228_000, 219984)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -165,12 +169,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[0, 100]`.
fn cleanup_poll(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `429 + n * (50 ±0)`
// Measured: `462 + n * (50 ±0)`
// Estimated: `3795 + n * (2540 ±0)`
// Minimum execution time: 14_869_000 picoseconds.
Weight::from_parts(18_545_013, 3795)
// Standard Error: 1_376
.saturating_add(Weight::from_parts(1_005_397, 0).saturating_mul(n.into()))
// Minimum execution time: 13_903_000 picoseconds.
Weight::from_parts(18_209_102, 3795)
// Standard Error: 2_556
.saturating_add(Weight::from_parts(1_237_454, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
@@ -190,10 +194,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
fn add_member() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
// Measured: `142`
// Estimated: `3507`
// Minimum execution time: 18_480_000 picoseconds.
Weight::from_parts(18_769_000, 3507)
// Minimum execution time: 17_245_000 picoseconds.
Weight::from_parts(17_930_000, 3507)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -208,12 +212,12 @@ impl WeightInfo for () {
/// The range of component `r` is `[0, 10]`.
fn remove_member(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `583 + r * (281 ±0)`
// Measured: `616 + r * (281 ±0)`
// Estimated: `3519 + r * (2529 ±0)`
// Minimum execution time: 30_087_000 picoseconds.
Weight::from_parts(33_646_239, 3519)
// Standard Error: 22_498
.saturating_add(Weight::from_parts(12_524_289, 0).saturating_mul(r.into()))
// Minimum execution time: 29_534_000 picoseconds.
Weight::from_parts(32_847_495, 3519)
// Standard Error: 24_211
.saturating_add(Weight::from_parts(13_949_639, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(4_u64))
@@ -231,12 +235,12 @@ impl WeightInfo for () {
/// The range of component `r` is `[0, 10]`.
fn promote_member(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281 + r * (17 ±0)`
// Measured: `314 + r * (17 ±0)`
// Estimated: `3507`
// Minimum execution time: 20_974_000 picoseconds.
Weight::from_parts(21_582_135, 3507)
// Standard Error: 4_965
.saturating_add(Weight::from_parts(294_566, 0).saturating_mul(r.into()))
// Minimum execution time: 20_333_000 picoseconds.
Weight::from_parts(21_592_224, 3507)
// Standard Error: 6_423
.saturating_add(Weight::from_parts(321_314, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -251,12 +255,12 @@ impl WeightInfo for () {
/// The range of component `r` is `[0, 10]`.
fn demote_member(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `599 + r * (72 ±0)`
// Measured: `632 + r * (72 ±0)`
// Estimated: `3519`
// Minimum execution time: 29_621_000 picoseconds.
Weight::from_parts(32_118_301, 3519)
// Standard Error: 27_596
.saturating_add(Weight::from_parts(647_979, 0).saturating_mul(r.into()))
// Minimum execution time: 29_446_000 picoseconds.
Weight::from_parts(32_447_715, 3519)
// Standard Error: 28_791
.saturating_add(Weight::from_parts(822_890, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -270,10 +274,10 @@ impl WeightInfo for () {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn vote() -> Weight {
// Proof Size summary in bytes:
// Measured: `595`
// Measured: `628`
// Estimated: `219984`
// Minimum execution time: 46_360_000 picoseconds.
Weight::from_parts(46_793_000, 219984)
// Minimum execution time: 45_474_000 picoseconds.
Weight::from_parts(47_228_000, 219984)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -286,12 +290,12 @@ impl WeightInfo for () {
/// The range of component `n` is `[0, 100]`.
fn cleanup_poll(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `429 + n * (50 ±0)`
// Measured: `462 + n * (50 ±0)`
// Estimated: `3795 + n * (2540 ±0)`
// Minimum execution time: 14_869_000 picoseconds.
Weight::from_parts(18_545_013, 3795)
// Standard Error: 1_376
.saturating_add(Weight::from_parts(1_005_397, 0).saturating_mul(n.into()))
// Minimum execution time: 13_903_000 picoseconds.
Weight::from_parts(18_209_102, 3795)
// Standard Error: 2_556
.saturating_add(Weight::from_parts(1_237_454, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
+63 -59
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_recovery
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_recovery
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_recovery.
pub trait WeightInfo {
@@ -68,8 +72,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `3545`
// Minimum execution time: 10_405_000 picoseconds.
Weight::from_parts(10_807_000, 3545)
// Minimum execution time: 9_360_000 picoseconds.
Weight::from_parts(9_773_000, 3545)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Recovery Proxy (r:0 w:1)
@@ -78,8 +82,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_198_000 picoseconds.
Weight::from_parts(11_459_000, 0)
// Minimum execution time: 9_146_000 picoseconds.
Weight::from_parts(9_507_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Recovery Recoverable (r:1 w:1)
@@ -89,10 +93,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `175`
// Estimated: `3816`
// Minimum execution time: 28_009_000 picoseconds.
Weight::from_parts(28_755_652, 3816)
// Standard Error: 3_536
.saturating_add(Weight::from_parts(78_348, 0).saturating_mul(n.into()))
// Minimum execution time: 26_472_000 picoseconds.
Weight::from_parts(27_917_651, 3816)
// Standard Error: 7_129
.saturating_add(Weight::from_parts(59_239, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -104,8 +108,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `272`
// Estimated: `3854`
// Minimum execution time: 31_233_000 picoseconds.
Weight::from_parts(31_508_000, 3854)
// Minimum execution time: 29_618_000 picoseconds.
Weight::from_parts(30_192_000, 3854)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -118,10 +122,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `360 + n * (64 ±0)`
// Estimated: `3854`
// Minimum execution time: 20_542_000 picoseconds.
Weight::from_parts(21_224_065, 3854)
// Standard Error: 3_018
.saturating_add(Weight::from_parts(171_994, 0).saturating_mul(n.into()))
// Minimum execution time: 19_464_000 picoseconds.
Weight::from_parts(20_642_522, 3854)
// Standard Error: 5_974
.saturating_add(Weight::from_parts(142_308, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -136,10 +140,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `392 + n * (64 ±0)`
// Estimated: `3854`
// Minimum execution time: 25_141_000 picoseconds.
Weight::from_parts(25_880_238, 3854)
// Standard Error: 3_156
.saturating_add(Weight::from_parts(54_405, 0).saturating_mul(n.into()))
// Minimum execution time: 23_656_000 picoseconds.
Weight::from_parts(24_903_269, 3854)
// Standard Error: 5_771
.saturating_add(Weight::from_parts(117_343, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -152,10 +156,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `513 + n * (32 ±0)`
// Estimated: `3854`
// Minimum execution time: 35_314_000 picoseconds.
Weight::from_parts(36_380_338, 3854)
// Standard Error: 7_396
.saturating_add(Weight::from_parts(3_861, 0).saturating_mul(n.into()))
// Minimum execution time: 34_866_000 picoseconds.
Weight::from_parts(36_368_748, 3854)
// Standard Error: 6_600
.saturating_add(Weight::from_parts(118_610, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -168,10 +172,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `270 + n * (32 ±0)`
// Estimated: `3854`
// Minimum execution time: 33_453_000 picoseconds.
Weight::from_parts(34_078_626, 3854)
// Standard Error: 2_563
.saturating_add(Weight::from_parts(78_179, 0).saturating_mul(n.into()))
// Minimum execution time: 31_405_000 picoseconds.
Weight::from_parts(32_552_838, 3854)
// Standard Error: 8_043
.saturating_add(Weight::from_parts(171_605, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -181,8 +185,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `3545`
// Minimum execution time: 12_196_000 picoseconds.
Weight::from_parts(12_580_000, 3545)
// Minimum execution time: 11_530_000 picoseconds.
Weight::from_parts(11_851_000, 3545)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -196,8 +200,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `3545`
// Minimum execution time: 10_405_000 picoseconds.
Weight::from_parts(10_807_000, 3545)
// Minimum execution time: 9_360_000 picoseconds.
Weight::from_parts(9_773_000, 3545)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Recovery Proxy (r:0 w:1)
@@ -206,8 +210,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_198_000 picoseconds.
Weight::from_parts(11_459_000, 0)
// Minimum execution time: 9_146_000 picoseconds.
Weight::from_parts(9_507_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Recovery Recoverable (r:1 w:1)
@@ -217,10 +221,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `175`
// Estimated: `3816`
// Minimum execution time: 28_009_000 picoseconds.
Weight::from_parts(28_755_652, 3816)
// Standard Error: 3_536
.saturating_add(Weight::from_parts(78_348, 0).saturating_mul(n.into()))
// Minimum execution time: 26_472_000 picoseconds.
Weight::from_parts(27_917_651, 3816)
// Standard Error: 7_129
.saturating_add(Weight::from_parts(59_239, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -232,8 +236,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `272`
// Estimated: `3854`
// Minimum execution time: 31_233_000 picoseconds.
Weight::from_parts(31_508_000, 3854)
// Minimum execution time: 29_618_000 picoseconds.
Weight::from_parts(30_192_000, 3854)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -246,10 +250,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `360 + n * (64 ±0)`
// Estimated: `3854`
// Minimum execution time: 20_542_000 picoseconds.
Weight::from_parts(21_224_065, 3854)
// Standard Error: 3_018
.saturating_add(Weight::from_parts(171_994, 0).saturating_mul(n.into()))
// Minimum execution time: 19_464_000 picoseconds.
Weight::from_parts(20_642_522, 3854)
// Standard Error: 5_974
.saturating_add(Weight::from_parts(142_308, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -264,10 +268,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `392 + n * (64 ±0)`
// Estimated: `3854`
// Minimum execution time: 25_141_000 picoseconds.
Weight::from_parts(25_880_238, 3854)
// Standard Error: 3_156
.saturating_add(Weight::from_parts(54_405, 0).saturating_mul(n.into()))
// Minimum execution time: 23_656_000 picoseconds.
Weight::from_parts(24_903_269, 3854)
// Standard Error: 5_771
.saturating_add(Weight::from_parts(117_343, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -280,10 +284,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `513 + n * (32 ±0)`
// Estimated: `3854`
// Minimum execution time: 35_314_000 picoseconds.
Weight::from_parts(36_380_338, 3854)
// Standard Error: 7_396
.saturating_add(Weight::from_parts(3_861, 0).saturating_mul(n.into()))
// Minimum execution time: 34_866_000 picoseconds.
Weight::from_parts(36_368_748, 3854)
// Standard Error: 6_600
.saturating_add(Weight::from_parts(118_610, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -296,10 +300,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `270 + n * (32 ±0)`
// Estimated: `3854`
// Minimum execution time: 33_453_000 picoseconds.
Weight::from_parts(34_078_626, 3854)
// Standard Error: 2_563
.saturating_add(Weight::from_parts(78_179, 0).saturating_mul(n.into()))
// Minimum execution time: 31_405_000 picoseconds.
Weight::from_parts(32_552_838, 3854)
// Standard Error: 8_043
.saturating_add(Weight::from_parts(171_605, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -309,8 +313,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `3545`
// Minimum execution time: 12_196_000 picoseconds.
Weight::from_parts(12_580_000, 3545)
// Minimum execution time: 11_530_000 picoseconds.
Weight::from_parts(11_851_000, 3545)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+207 -211
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_referenda
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_referenda
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_referenda.
pub trait WeightInfo {
@@ -93,8 +97,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `110487`
// Minimum execution time: 42_285_000 picoseconds.
Weight::from_parts(42_646_000, 110487)
// Minimum execution time: 40_175_000 picoseconds.
Weight::from_parts(41_107_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -106,8 +110,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 53_455_000 picoseconds.
Weight::from_parts(54_034_000, 219984)
// Minimum execution time: 50_922_000 picoseconds.
Weight::from_parts(52_179_000, 219984)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -117,14 +121,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3107`
// Estimated: `5477`
// Minimum execution time: 50_138_000 picoseconds.
Weight::from_parts(50_449_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
// Measured: `3260`
// Estimated: `110487`
// Minimum execution time: 69_559_000 picoseconds.
Weight::from_parts(72_143_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -132,14 +138,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3127`
// Estimated: `5477`
// Minimum execution time: 49_707_000 picoseconds.
Weight::from_parts(50_246_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
// Measured: `3280`
// Estimated: `110487`
// Minimum execution time: 68_833_000 picoseconds.
Weight::from_parts(70_987_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -151,8 +159,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 62_880_000 picoseconds.
Weight::from_parts(63_579_000, 219984)
// Minimum execution time: 61_794_000 picoseconds.
Weight::from_parts(62_846_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -166,8 +174,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 60_827_000 picoseconds.
Weight::from_parts(61_392_000, 219984)
// Minimum execution time: 58_664_000 picoseconds.
Weight::from_parts(60_195_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -177,8 +185,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3831`
// Minimum execution time: 31_991_000 picoseconds.
Weight::from_parts(32_474_000, 3831)
// Minimum execution time: 30_850_000 picoseconds.
Weight::from_parts(32_130_000, 3831)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -188,8 +196,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3831`
// Minimum execution time: 32_162_000 picoseconds.
Weight::from_parts(32_776_000, 3831)
// Minimum execution time: 30_747_000 picoseconds.
Weight::from_parts(32_196_000, 3831)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -201,8 +209,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `219984`
// Minimum execution time: 37_493_000 picoseconds.
Weight::from_parts(37_979_000, 219984)
// Minimum execution time: 36_139_000 picoseconds.
Weight::from_parts(37_252_000, 219984)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -216,8 +224,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `622`
// Estimated: `219984`
// Minimum execution time: 80_095_000 picoseconds.
Weight::from_parts(80_831_000, 219984)
// Minimum execution time: 80_862_000 picoseconds.
Weight::from_parts(83_045_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -229,8 +237,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `5477`
// Minimum execution time: 10_906_000 picoseconds.
Weight::from_parts(11_055_000, 5477)
// Minimum execution time: 10_136_000 picoseconds.
Weight::from_parts(10_638_000, 5477)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -238,61 +246,57 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_failing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 90_747_000 picoseconds.
Weight::from_parts(91_407_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 52_022_000 picoseconds.
Weight::from_parts(53_910_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_passing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 93_615_000 picoseconds.
Weight::from_parts(94_245_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 53_683_000 picoseconds.
Weight::from_parts(55_707_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_insertion() -> Weight {
// Proof Size summary in bytes:
// Measured: `4588`
// Estimated: `110487`
// Minimum execution time: 60_945_000 picoseconds.
Weight::from_parts(61_246_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 24_043_000 picoseconds.
Weight::from_parts(24_512_000, 5477)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_slide() -> Weight {
// Proof Size summary in bytes:
// Measured: `4574`
// Estimated: `110487`
// Minimum execution time: 60_105_000 picoseconds.
Weight::from_parts(60_544_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 23_588_000 picoseconds.
Weight::from_parts(24_422_000, 5477)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -300,16 +304,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4548`
// Estimated: `110487`
// Minimum execution time: 62_251_000 picoseconds.
Weight::from_parts(62_952_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3015`
// Estimated: `5477`
// Minimum execution time: 31_443_000 picoseconds.
Weight::from_parts(32_725_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -317,16 +319,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4582`
// Estimated: `110487`
// Minimum execution time: 61_527_000 picoseconds.
Weight::from_parts(62_082_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3035`
// Estimated: `5477`
// Minimum execution time: 30_319_000 picoseconds.
Weight::from_parts(31_652_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -336,8 +336,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `333`
// Estimated: `110487`
// Minimum execution time: 24_897_000 picoseconds.
Weight::from_parts(25_213_000, 110487)
// Minimum execution time: 23_062_000 picoseconds.
Weight::from_parts(23_614_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -349,8 +349,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 25_077_000 picoseconds.
Weight::from_parts(25_385_000, 110487)
// Minimum execution time: 23_537_000 picoseconds.
Weight::from_parts(24_267_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -360,8 +360,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3831`
// Minimum execution time: 17_930_000 picoseconds.
Weight::from_parts(18_112_000, 3831)
// Minimum execution time: 16_388_000 picoseconds.
Weight::from_parts(16_676_000, 3831)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -375,8 +375,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 34_405_000 picoseconds.
Weight::from_parts(34_698_000, 110487)
// Minimum execution time: 32_801_000 picoseconds.
Weight::from_parts(34_053_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -390,8 +390,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 37_313_000 picoseconds.
Weight::from_parts(37_807_000, 110487)
// Minimum execution time: 35_704_000 picoseconds.
Weight::from_parts(36_451_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -403,8 +403,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_552_000 picoseconds.
Weight::from_parts(30_817_000, 110487)
// Minimum execution time: 29_151_000 picoseconds.
Weight::from_parts(30_055_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -416,8 +416,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `417`
// Estimated: `110487`
// Minimum execution time: 31_100_000 picoseconds.
Weight::from_parts(31_696_000, 110487)
// Minimum execution time: 29_265_000 picoseconds.
Weight::from_parts(30_213_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -429,8 +429,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 28_777_000 picoseconds.
Weight::from_parts(29_188_000, 110487)
// Minimum execution time: 27_760_000 picoseconds.
Weight::from_parts(28_381_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -442,8 +442,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `110487`
// Minimum execution time: 26_986_000 picoseconds.
Weight::from_parts(27_283_000, 110487)
// Minimum execution time: 25_464_000 picoseconds.
Weight::from_parts(26_348_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -457,8 +457,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `219984`
// Minimum execution time: 43_538_000 picoseconds.
Weight::from_parts(44_671_000, 219984)
// Minimum execution time: 42_629_000 picoseconds.
Weight::from_parts(43_732_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -470,8 +470,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_559_000 picoseconds.
Weight::from_parts(31_294_000, 110487)
// Minimum execution time: 30_015_000 picoseconds.
Weight::from_parts(30_827_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -485,8 +485,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `422`
// Estimated: `3831`
// Minimum execution time: 21_196_000 picoseconds.
Weight::from_parts(21_593_000, 3831)
// Minimum execution time: 19_901_000 picoseconds.
Weight::from_parts(20_681_000, 3831)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -498,8 +498,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `355`
// Estimated: `3831`
// Minimum execution time: 18_827_000 picoseconds.
Weight::from_parts(19_171_000, 3831)
// Minimum execution time: 17_323_000 picoseconds.
Weight::from_parts(18_227_000, 3831)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -517,8 +517,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `110487`
// Minimum execution time: 42_285_000 picoseconds.
Weight::from_parts(42_646_000, 110487)
// Minimum execution time: 40_175_000 picoseconds.
Weight::from_parts(41_107_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -530,8 +530,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 53_455_000 picoseconds.
Weight::from_parts(54_034_000, 219984)
// Minimum execution time: 50_922_000 picoseconds.
Weight::from_parts(52_179_000, 219984)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -541,14 +541,16 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3107`
// Estimated: `5477`
// Minimum execution time: 50_138_000 picoseconds.
Weight::from_parts(50_449_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
// Measured: `3260`
// Estimated: `110487`
// Minimum execution time: 69_559_000 picoseconds.
Weight::from_parts(72_143_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -556,14 +558,16 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3127`
// Estimated: `5477`
// Minimum execution time: 49_707_000 picoseconds.
Weight::from_parts(50_246_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
// Measured: `3280`
// Estimated: `110487`
// Minimum execution time: 68_833_000 picoseconds.
Weight::from_parts(70_987_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -575,8 +579,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 62_880_000 picoseconds.
Weight::from_parts(63_579_000, 219984)
// Minimum execution time: 61_794_000 picoseconds.
Weight::from_parts(62_846_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -590,8 +594,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 60_827_000 picoseconds.
Weight::from_parts(61_392_000, 219984)
// Minimum execution time: 58_664_000 picoseconds.
Weight::from_parts(60_195_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -601,8 +605,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3831`
// Minimum execution time: 31_991_000 picoseconds.
Weight::from_parts(32_474_000, 3831)
// Minimum execution time: 30_850_000 picoseconds.
Weight::from_parts(32_130_000, 3831)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -612,8 +616,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3831`
// Minimum execution time: 32_162_000 picoseconds.
Weight::from_parts(32_776_000, 3831)
// Minimum execution time: 30_747_000 picoseconds.
Weight::from_parts(32_196_000, 3831)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -625,8 +629,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `219984`
// Minimum execution time: 37_493_000 picoseconds.
Weight::from_parts(37_979_000, 219984)
// Minimum execution time: 36_139_000 picoseconds.
Weight::from_parts(37_252_000, 219984)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -640,8 +644,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `622`
// Estimated: `219984`
// Minimum execution time: 80_095_000 picoseconds.
Weight::from_parts(80_831_000, 219984)
// Minimum execution time: 80_862_000 picoseconds.
Weight::from_parts(83_045_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -653,8 +657,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `5477`
// Minimum execution time: 10_906_000 picoseconds.
Weight::from_parts(11_055_000, 5477)
// Minimum execution time: 10_136_000 picoseconds.
Weight::from_parts(10_638_000, 5477)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -662,61 +666,57 @@ impl WeightInfo for () {
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_failing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 90_747_000 picoseconds.
Weight::from_parts(91_407_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 52_022_000 picoseconds.
Weight::from_parts(53_910_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_passing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 93_615_000 picoseconds.
Weight::from_parts(94_245_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 53_683_000 picoseconds.
Weight::from_parts(55_707_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_insertion() -> Weight {
// Proof Size summary in bytes:
// Measured: `4588`
// Estimated: `110487`
// Minimum execution time: 60_945_000 picoseconds.
Weight::from_parts(61_246_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 24_043_000 picoseconds.
Weight::from_parts(24_512_000, 5477)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_slide() -> Weight {
// Proof Size summary in bytes:
// Measured: `4574`
// Estimated: `110487`
// Minimum execution time: 60_105_000 picoseconds.
Weight::from_parts(60_544_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 23_588_000 picoseconds.
Weight::from_parts(24_422_000, 5477)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -724,16 +724,14 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4548`
// Estimated: `110487`
// Minimum execution time: 62_251_000 picoseconds.
Weight::from_parts(62_952_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3015`
// Estimated: `5477`
// Minimum execution time: 31_443_000 picoseconds.
Weight::from_parts(32_725_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -741,16 +739,14 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4582`
// Estimated: `110487`
// Minimum execution time: 61_527_000 picoseconds.
Weight::from_parts(62_082_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3035`
// Estimated: `5477`
// Minimum execution time: 30_319_000 picoseconds.
Weight::from_parts(31_652_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -760,8 +756,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `333`
// Estimated: `110487`
// Minimum execution time: 24_897_000 picoseconds.
Weight::from_parts(25_213_000, 110487)
// Minimum execution time: 23_062_000 picoseconds.
Weight::from_parts(23_614_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -773,8 +769,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 25_077_000 picoseconds.
Weight::from_parts(25_385_000, 110487)
// Minimum execution time: 23_537_000 picoseconds.
Weight::from_parts(24_267_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -784,8 +780,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3831`
// Minimum execution time: 17_930_000 picoseconds.
Weight::from_parts(18_112_000, 3831)
// Minimum execution time: 16_388_000 picoseconds.
Weight::from_parts(16_676_000, 3831)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -799,8 +795,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 34_405_000 picoseconds.
Weight::from_parts(34_698_000, 110487)
// Minimum execution time: 32_801_000 picoseconds.
Weight::from_parts(34_053_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -814,8 +810,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 37_313_000 picoseconds.
Weight::from_parts(37_807_000, 110487)
// Minimum execution time: 35_704_000 picoseconds.
Weight::from_parts(36_451_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -827,8 +823,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_552_000 picoseconds.
Weight::from_parts(30_817_000, 110487)
// Minimum execution time: 29_151_000 picoseconds.
Weight::from_parts(30_055_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -840,8 +836,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `417`
// Estimated: `110487`
// Minimum execution time: 31_100_000 picoseconds.
Weight::from_parts(31_696_000, 110487)
// Minimum execution time: 29_265_000 picoseconds.
Weight::from_parts(30_213_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -853,8 +849,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 28_777_000 picoseconds.
Weight::from_parts(29_188_000, 110487)
// Minimum execution time: 27_760_000 picoseconds.
Weight::from_parts(28_381_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -866,8 +862,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `110487`
// Minimum execution time: 26_986_000 picoseconds.
Weight::from_parts(27_283_000, 110487)
// Minimum execution time: 25_464_000 picoseconds.
Weight::from_parts(26_348_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -881,8 +877,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `219984`
// Minimum execution time: 43_538_000 picoseconds.
Weight::from_parts(44_671_000, 219984)
// Minimum execution time: 42_629_000 picoseconds.
Weight::from_parts(43_732_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -894,8 +890,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_559_000 picoseconds.
Weight::from_parts(31_294_000, 110487)
// Minimum execution time: 30_015_000 picoseconds.
Weight::from_parts(30_827_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -909,8 +905,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `422`
// Estimated: `3831`
// Minimum execution time: 21_196_000 picoseconds.
Weight::from_parts(21_593_000, 3831)
// Minimum execution time: 19_901_000 picoseconds.
Weight::from_parts(20_681_000, 3831)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -922,8 +918,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `355`
// Estimated: `3831`
// Minimum execution time: 18_827_000 picoseconds.
Weight::from_parts(19_171_000, 3831)
// Minimum execution time: 17_323_000 picoseconds.
Weight::from_parts(18_227_000, 3831)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+15 -11
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_remark
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_remark
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_remark.
pub trait WeightInfo {
@@ -59,10 +63,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_301_000 picoseconds.
Weight::from_parts(2_516_065, 0)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_089, 0).saturating_mul(l.into()))
// Minimum execution time: 8_471_000 picoseconds.
Weight::from_parts(8_586_000, 0)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_359, 0).saturating_mul(l.into()))
}
}
@@ -73,9 +77,9 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_301_000 picoseconds.
Weight::from_parts(2_516_065, 0)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_089, 0).saturating_mul(l.into()))
// Minimum execution time: 8_471_000 picoseconds.
Weight::from_parts(8_586_000, 0)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_359, 0).saturating_mul(l.into()))
}
}
+43 -39
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_salary
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_salary
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_salary.
pub trait WeightInfo {
@@ -66,8 +70,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `1541`
// Minimum execution time: 11_785_000 picoseconds.
Weight::from_parts(12_086_000, 1541)
// Minimum execution time: 10_778_000 picoseconds.
Weight::from_parts(11_084_000, 1541)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -77,8 +81,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1541`
// Minimum execution time: 12_721_000 picoseconds.
Weight::from_parts(13_033_000, 1541)
// Minimum execution time: 12_042_000 picoseconds.
Weight::from_parts(12_645_000, 1541)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -90,10 +94,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Salary Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen)
fn induct() -> Weight {
// Proof Size summary in bytes:
// Measured: `362`
// Measured: `395`
// Estimated: `3543`
// Minimum execution time: 19_516_000 picoseconds.
Weight::from_parts(19_938_000, 3543)
// Minimum execution time: 18_374_000 picoseconds.
Weight::from_parts(19_200_000, 3543)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -105,10 +109,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Salary Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen)
fn register() -> Weight {
// Proof Size summary in bytes:
// Measured: `429`
// Measured: `462`
// Estimated: `3543`
// Minimum execution time: 23_145_000 picoseconds.
Weight::from_parts(23_804_000, 3543)
// Minimum execution time: 22_696_000 picoseconds.
Weight::from_parts(23_275_000, 3543)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -120,10 +124,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: RankedCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
fn payout() -> Weight {
// Proof Size summary in bytes:
// Measured: `429`
// Measured: `462`
// Estimated: `3543`
// Minimum execution time: 62_187_000 picoseconds.
Weight::from_parts(63_016_000, 3543)
// Minimum execution time: 63_660_000 picoseconds.
Weight::from_parts(65_006_000, 3543)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -137,10 +141,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn payout_other() -> Weight {
// Proof Size summary in bytes:
// Measured: `429`
// Measured: `462`
// Estimated: `3593`
// Minimum execution time: 63_828_000 picoseconds.
Weight::from_parts(64_791_000, 3593)
// Minimum execution time: 64_706_000 picoseconds.
Weight::from_parts(65_763_000, 3593)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -152,8 +156,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3543`
// Minimum execution time: 12_911_000 picoseconds.
Weight::from_parts(13_079_000, 3543)
// Minimum execution time: 11_838_000 picoseconds.
Weight::from_parts(12_323_000, 3543)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -167,8 +171,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `1541`
// Minimum execution time: 11_785_000 picoseconds.
Weight::from_parts(12_086_000, 1541)
// Minimum execution time: 10_778_000 picoseconds.
Weight::from_parts(11_084_000, 1541)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -178,8 +182,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1541`
// Minimum execution time: 12_721_000 picoseconds.
Weight::from_parts(13_033_000, 1541)
// Minimum execution time: 12_042_000 picoseconds.
Weight::from_parts(12_645_000, 1541)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -191,10 +195,10 @@ impl WeightInfo for () {
/// Proof: Salary Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen)
fn induct() -> Weight {
// Proof Size summary in bytes:
// Measured: `362`
// Measured: `395`
// Estimated: `3543`
// Minimum execution time: 19_516_000 picoseconds.
Weight::from_parts(19_938_000, 3543)
// Minimum execution time: 18_374_000 picoseconds.
Weight::from_parts(19_200_000, 3543)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -206,10 +210,10 @@ impl WeightInfo for () {
/// Proof: Salary Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen)
fn register() -> Weight {
// Proof Size summary in bytes:
// Measured: `429`
// Measured: `462`
// Estimated: `3543`
// Minimum execution time: 23_145_000 picoseconds.
Weight::from_parts(23_804_000, 3543)
// Minimum execution time: 22_696_000 picoseconds.
Weight::from_parts(23_275_000, 3543)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -221,10 +225,10 @@ impl WeightInfo for () {
/// Proof: RankedCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
fn payout() -> Weight {
// Proof Size summary in bytes:
// Measured: `429`
// Measured: `462`
// Estimated: `3543`
// Minimum execution time: 62_187_000 picoseconds.
Weight::from_parts(63_016_000, 3543)
// Minimum execution time: 63_660_000 picoseconds.
Weight::from_parts(65_006_000, 3543)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -238,10 +242,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn payout_other() -> Weight {
// Proof Size summary in bytes:
// Measured: `429`
// Measured: `462`
// Estimated: `3593`
// Minimum execution time: 63_828_000 picoseconds.
Weight::from_parts(64_791_000, 3593)
// Minimum execution time: 64_706_000 picoseconds.
Weight::from_parts(65_763_000, 3593)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -253,8 +257,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3543`
// Minimum execution time: 12_911_000 picoseconds.
Weight::from_parts(13_079_000, 3543)
// Minimum execution time: 11_838_000 picoseconds.
Weight::from_parts(12_323_000, 3543)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
+79 -75
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_scheduler
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_scheduler
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_scheduler.
pub trait WeightInfo {
@@ -71,8 +75,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `31`
// Estimated: `1489`
// Minimum execution time: 3_776_000 picoseconds.
Weight::from_parts(3_992_000, 1489)
// Minimum execution time: 3_991_000 picoseconds.
Weight::from_parts(4_174_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -83,10 +87,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 3_418_000 picoseconds.
Weight::from_parts(8_606_012, 110487)
// Standard Error: 769
.saturating_add(Weight::from_parts(309_376, 0).saturating_mul(s.into()))
// Minimum execution time: 3_581_000 picoseconds.
Weight::from_parts(7_413_174, 110487)
// Standard Error: 971
.saturating_add(Weight::from_parts(348_077, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -94,8 +98,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_624_000 picoseconds.
Weight::from_parts(5_758_000, 0)
// Minimum execution time: 5_250_000 picoseconds.
Weight::from_parts(5_549_000, 0)
}
/// Storage: Preimage PreimageFor (r:1 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured)
@@ -106,10 +110,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `179 + s * (1 ±0)`
// Estimated: `3644 + s * (1 ±0)`
// Minimum execution time: 20_150_000 picoseconds.
Weight::from_parts(20_271_000, 3644)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_132, 0).saturating_mul(s.into()))
// Minimum execution time: 20_089_000 picoseconds.
Weight::from_parts(20_376_000, 3644)
// Standard Error: 3
.saturating_add(Weight::from_parts(1_170, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
@@ -120,30 +124,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_451_000 picoseconds.
Weight::from_parts(7_693_000, 0)
// Minimum execution time: 6_998_000 picoseconds.
Weight::from_parts(7_303_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
fn service_task_periodic() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_477_000 picoseconds.
Weight::from_parts(5_733_000, 0)
// Minimum execution time: 5_078_000 picoseconds.
Weight::from_parts(5_315_000, 0)
}
fn execute_dispatch_signed() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_675_000 picoseconds.
Weight::from_parts(2_870_000, 0)
// Minimum execution time: 2_228_000 picoseconds.
Weight::from_parts(2_352_000, 0)
}
fn execute_dispatch_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_697_000 picoseconds.
Weight::from_parts(2_807_000, 0)
// Minimum execution time: 2_226_000 picoseconds.
Weight::from_parts(2_371_000, 0)
}
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
@@ -152,10 +156,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 13_921_000 picoseconds.
Weight::from_parts(18_717_223, 110487)
// Standard Error: 771
.saturating_add(Weight::from_parts(333_102, 0).saturating_mul(s.into()))
// Minimum execution time: 12_683_000 picoseconds.
Weight::from_parts(16_951_846, 110487)
// Standard Error: 1_046
.saturating_add(Weight::from_parts(380_842, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -168,10 +172,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_552_000 picoseconds.
Weight::from_parts(19_006_016, 110487)
// Standard Error: 1_115
.saturating_add(Weight::from_parts(495_979, 0).saturating_mul(s.into()))
// Minimum execution time: 16_201_000 picoseconds.
Weight::from_parts(18_259_422, 110487)
// Standard Error: 1_344
.saturating_add(Weight::from_parts(545_863, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -184,10 +188,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `596 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_240_000 picoseconds.
Weight::from_parts(24_376_370, 110487)
// Standard Error: 928
.saturating_add(Weight::from_parts(331_209, 0).saturating_mul(s.into()))
// Minimum execution time: 16_180_000 picoseconds.
Weight::from_parts(25_128_925, 110487)
// Standard Error: 1_118
.saturating_add(Weight::from_parts(375_631, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -200,10 +204,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `709 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 19_731_000 picoseconds.
Weight::from_parts(23_787_948, 110487)
// Standard Error: 1_133
.saturating_add(Weight::from_parts(503_805, 0).saturating_mul(s.into()))
// Minimum execution time: 18_244_000 picoseconds.
Weight::from_parts(21_439_366, 110487)
// Standard Error: 1_084
.saturating_add(Weight::from_parts(557_691, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -217,8 +221,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `31`
// Estimated: `1489`
// Minimum execution time: 3_776_000 picoseconds.
Weight::from_parts(3_992_000, 1489)
// Minimum execution time: 3_991_000 picoseconds.
Weight::from_parts(4_174_000, 1489)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -229,10 +233,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 3_418_000 picoseconds.
Weight::from_parts(8_606_012, 110487)
// Standard Error: 769
.saturating_add(Weight::from_parts(309_376, 0).saturating_mul(s.into()))
// Minimum execution time: 3_581_000 picoseconds.
Weight::from_parts(7_413_174, 110487)
// Standard Error: 971
.saturating_add(Weight::from_parts(348_077, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -240,8 +244,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_624_000 picoseconds.
Weight::from_parts(5_758_000, 0)
// Minimum execution time: 5_250_000 picoseconds.
Weight::from_parts(5_549_000, 0)
}
/// Storage: Preimage PreimageFor (r:1 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured)
@@ -252,10 +256,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `179 + s * (1 ±0)`
// Estimated: `3644 + s * (1 ±0)`
// Minimum execution time: 20_150_000 picoseconds.
Weight::from_parts(20_271_000, 3644)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_132, 0).saturating_mul(s.into()))
// Minimum execution time: 20_089_000 picoseconds.
Weight::from_parts(20_376_000, 3644)
// Standard Error: 3
.saturating_add(Weight::from_parts(1_170, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
@@ -266,30 +270,30 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_451_000 picoseconds.
Weight::from_parts(7_693_000, 0)
// Minimum execution time: 6_998_000 picoseconds.
Weight::from_parts(7_303_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
fn service_task_periodic() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_477_000 picoseconds.
Weight::from_parts(5_733_000, 0)
// Minimum execution time: 5_078_000 picoseconds.
Weight::from_parts(5_315_000, 0)
}
fn execute_dispatch_signed() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_675_000 picoseconds.
Weight::from_parts(2_870_000, 0)
// Minimum execution time: 2_228_000 picoseconds.
Weight::from_parts(2_352_000, 0)
}
fn execute_dispatch_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_697_000 picoseconds.
Weight::from_parts(2_807_000, 0)
// Minimum execution time: 2_226_000 picoseconds.
Weight::from_parts(2_371_000, 0)
}
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
@@ -298,10 +302,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 13_921_000 picoseconds.
Weight::from_parts(18_717_223, 110487)
// Standard Error: 771
.saturating_add(Weight::from_parts(333_102, 0).saturating_mul(s.into()))
// Minimum execution time: 12_683_000 picoseconds.
Weight::from_parts(16_951_846, 110487)
// Standard Error: 1_046
.saturating_add(Weight::from_parts(380_842, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -314,10 +318,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_552_000 picoseconds.
Weight::from_parts(19_006_016, 110487)
// Standard Error: 1_115
.saturating_add(Weight::from_parts(495_979, 0).saturating_mul(s.into()))
// Minimum execution time: 16_201_000 picoseconds.
Weight::from_parts(18_259_422, 110487)
// Standard Error: 1_344
.saturating_add(Weight::from_parts(545_863, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -330,10 +334,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `596 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_240_000 picoseconds.
Weight::from_parts(24_376_370, 110487)
// Standard Error: 928
.saturating_add(Weight::from_parts(331_209, 0).saturating_mul(s.into()))
// Minimum execution time: 16_180_000 picoseconds.
Weight::from_parts(25_128_925, 110487)
// Standard Error: 1_118
.saturating_add(Weight::from_parts(375_631, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -346,10 +350,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `709 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 19_731_000 picoseconds.
Weight::from_parts(23_787_948, 110487)
// Standard Error: 1_133
.saturating_add(Weight::from_parts(503_805, 0).saturating_mul(s.into()))
// Minimum execution time: 18_244_000 picoseconds.
Weight::from_parts(21_439_366, 110487)
// Standard Error: 1_084
.saturating_add(Weight::from_parts(557_691, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
+23 -19
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_session
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_session
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_session.
pub trait WeightInfo {
@@ -63,10 +67,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn set_keys() -> Weight {
// Proof Size summary in bytes:
// Measured: `1891`
// Estimated: `12781`
// Minimum execution time: 48_507_000 picoseconds.
Weight::from_parts(49_214_000, 12781)
// Measured: `1924`
// Estimated: `12814`
// Minimum execution time: 55_459_000 picoseconds.
Weight::from_parts(56_180_000, 12814)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -78,10 +82,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn purge_keys() -> Weight {
// Proof Size summary in bytes:
// Measured: `1758`
// Estimated: `5223`
// Minimum execution time: 35_388_000 picoseconds.
Weight::from_parts(35_763_000, 5223)
// Measured: `1791`
// Estimated: `5256`
// Minimum execution time: 40_194_000 picoseconds.
Weight::from_parts(41_313_000, 5256)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -97,10 +101,10 @@ impl WeightInfo for () {
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn set_keys() -> Weight {
// Proof Size summary in bytes:
// Measured: `1891`
// Estimated: `12781`
// Minimum execution time: 48_507_000 picoseconds.
Weight::from_parts(49_214_000, 12781)
// Measured: `1924`
// Estimated: `12814`
// Minimum execution time: 55_459_000 picoseconds.
Weight::from_parts(56_180_000, 12814)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -112,10 +116,10 @@ impl WeightInfo for () {
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn purge_keys() -> Weight {
// Proof Size summary in bytes:
// Measured: `1758`
// Estimated: `5223`
// Minimum execution time: 35_388_000 picoseconds.
Weight::from_parts(35_763_000, 5223)
// Measured: `1791`
// Estimated: `5256`
// Minimum execution time: 40_194_000 picoseconds.
Weight::from_parts(41_313_000, 5256)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
+221 -237
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_staking
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_staking
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_staking.
pub trait WeightInfo {
@@ -99,8 +103,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1047`
// Estimated: `4764`
// Minimum execution time: 54_907_000 picoseconds.
Weight::from_parts(55_685_000, 4764)
// Minimum execution time: 53_983_000 picoseconds.
Weight::from_parts(55_296_000, 4764)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -120,8 +124,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2028`
// Estimated: `8877`
// Minimum execution time: 94_779_000 picoseconds.
Weight::from_parts(95_455_000, 8877)
// Minimum execution time: 96_590_000 picoseconds.
Weight::from_parts(98_921_000, 8877)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -137,8 +141,6 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// 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)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:0)
@@ -149,10 +151,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2233`
// Estimated: `8877`
// Minimum execution time: 98_004_000 picoseconds.
Weight::from_parts(98_730_000, 8877)
.saturating_add(T::DbWeight::get().reads(13_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
// Minimum execution time: 99_901_000 picoseconds.
Weight::from_parts(102_919_000, 8877)
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
/// Storage: Staking Ledger (r:1 w:1)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
@@ -162,19 +164,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// 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 `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1021`
// Estimated: `4764`
// Minimum execution time: 45_888_000 picoseconds.
Weight::from_parts(47_568_327, 4764)
// Standard Error: 402
.saturating_add(Weight::from_parts(7_520, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Minimum execution time: 45_230_000 picoseconds.
Weight::from_parts(47_052_829, 4764)
// Standard Error: 1_044
.saturating_add(Weight::from_parts(43_887, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: Staking Ledger (r:1 w:1)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
@@ -196,8 +196,6 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
/// Storage: VoterList CounterForListNodes (r:1 w:1)
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// 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)
@@ -211,12 +209,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2294 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 93_288_000 picoseconds.
Weight::from_parts(99_415_523, 6248)
// Standard Error: 3_291
.saturating_add(Weight::from_parts(1_296_734, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(14_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
// Minimum execution time: 97_534_000 picoseconds.
Weight::from_parts(104_772_163, 6248)
// Standard Error: 3_674
.saturating_add(Weight::from_parts(1_470_124, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13_u64))
.saturating_add(T::DbWeight::get().writes(11_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
}
@@ -246,8 +244,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1414`
// Estimated: `4556`
// Minimum execution time: 58_755_000 picoseconds.
Weight::from_parts(59_424_000, 4556)
// Minimum execution time: 57_467_000 picoseconds.
Weight::from_parts(59_437_000, 4556)
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -258,12 +256,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `k` is `[1, 128]`.
fn kick(k: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1260 + k * (569 ±0)`
// Measured: `1285 + k * (569 ±0)`
// Estimated: `4556 + k * (3033 ±0)`
// Minimum execution time: 29_399_000 picoseconds.
Weight::from_parts(30_443_621, 4556)
// Standard Error: 10_402
.saturating_add(Weight::from_parts(7_890_220, 0).saturating_mul(k.into()))
// Minimum execution time: 32_857_000 picoseconds.
Weight::from_parts(37_116_967, 4556)
// Standard Error: 9_522
.saturating_add(Weight::from_parts(8_796_167, 0).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
@@ -294,12 +292,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1888 + n * (105 ±0)`
// Measured: `1908 + n * (102 ±0)`
// Estimated: `6248 + n * (2520 ±0)`
// Minimum execution time: 68_471_000 picoseconds.
Weight::from_parts(65_972_990, 6248)
// Standard Error: 13_983
.saturating_add(Weight::from_parts(3_255_731, 0).saturating_mul(n.into()))
// Minimum execution time: 69_613_000 picoseconds.
Weight::from_parts(68_079_061, 6248)
// Standard Error: 18_554
.saturating_add(Weight::from_parts(4_012_761, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
@@ -323,8 +321,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1748`
// Estimated: `6248`
// Minimum execution time: 59_537_000 picoseconds.
Weight::from_parts(60_446_000, 6248)
// Minimum execution time: 60_430_000 picoseconds.
Weight::from_parts(62_702_000, 6248)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -336,8 +334,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `808`
// Estimated: `4556`
// Minimum execution time: 15_403_000 picoseconds.
Weight::from_parts(15_676_000, 4556)
// Minimum execution time: 14_276_000 picoseconds.
Weight::from_parts(14_766_000, 4556)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -349,8 +347,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `907`
// Estimated: `8122`
// Minimum execution time: 23_316_000 picoseconds.
Weight::from_parts(23_670_000, 8122)
// Minimum execution time: 21_710_000 picoseconds.
Weight::from_parts(22_430_000, 8122)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -360,8 +358,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_558_000 picoseconds.
Weight::from_parts(3_759_000, 0)
// Minimum execution time: 2_970_000 picoseconds.
Weight::from_parts(3_120_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Staking ForceEra (r:0 w:1)
@@ -370,8 +368,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_724_000 picoseconds.
Weight::from_parts(13_047_000, 0)
// Minimum execution time: 9_362_000 picoseconds.
Weight::from_parts(9_785_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Staking ForceEra (r:0 w:1)
@@ -380,8 +378,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_734_000 picoseconds.
Weight::from_parts(13_218_000, 0)
// Minimum execution time: 9_275_000 picoseconds.
Weight::from_parts(9_678_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Staking ForceEra (r:0 w:1)
@@ -390,8 +388,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_996_000 picoseconds.
Weight::from_parts(13_375_000, 0)
// Minimum execution time: 9_414_000 picoseconds.
Weight::from_parts(9_848_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Staking Invulnerables (r:0 w:1)
@@ -401,10 +399,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_920_000 picoseconds.
Weight::from_parts(4_619_469, 0)
// Standard Error: 22
.saturating_add(Weight::from_parts(10_108, 0).saturating_mul(v.into()))
// Minimum execution time: 3_061_000 picoseconds.
Weight::from_parts(3_618_535, 0)
// Standard Error: 44
.saturating_add(Weight::from_parts(10_774, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Staking Bonded (r:1 w:1)
@@ -440,10 +438,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2018 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 86_516_000 picoseconds.
Weight::from_parts(92_324_464, 6248)
// Standard Error: 2_925
.saturating_add(Weight::from_parts(1_286_284, 0).saturating_mul(s.into()))
// Minimum execution time: 87_914_000 picoseconds.
Weight::from_parts(95_688_129, 6248)
// Standard Error: 5_030
.saturating_add(Weight::from_parts(1_487_249, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -456,10 +454,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `66639`
// Estimated: `70104`
// Minimum execution time: 90_193_000 picoseconds.
Weight::from_parts(821_522_318, 70104)
// Standard Error: 57_922
.saturating_add(Weight::from_parts(4_554_659, 0).saturating_mul(s.into()))
// Minimum execution time: 99_269_000 picoseconds.
Weight::from_parts(1_154_264_637, 70104)
// Standard Error: 76_592
.saturating_add(Weight::from_parts(6_490_888, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -486,10 +484,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `20217 + n * (143 ±0)`
// Estimated: `19844 + n * (2603 ±1)`
// Minimum execution time: 80_329_000 picoseconds.
Weight::from_parts(97_340_643, 19844)
// Standard Error: 22_713
.saturating_add(Weight::from_parts(29_087_425, 0).saturating_mul(n.into()))
// Minimum execution time: 91_767_000 picoseconds.
Weight::from_parts(146_781_264, 19844)
// Standard Error: 31_341
.saturating_add(Weight::from_parts(30_553_008, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -521,12 +519,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[0, 256]`.
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `34971 + n * (401 ±0)`
// Estimated: `32376 + n * (3774 ±0)`
// Minimum execution time: 105_591_000 picoseconds.
Weight::from_parts(111_587_915, 32376)
// Standard Error: 15_598
.saturating_add(Weight::from_parts(48_948_195, 0).saturating_mul(n.into()))
// Measured: `33190 + n * (377 ±0)`
// Estimated: `30845 + n * (3774 ±0)`
// Minimum execution time: 121_303_000 picoseconds.
Weight::from_parts(151_046_907, 30845)
// Standard Error: 41_899
.saturating_add(Weight::from_parts(49_837_804, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
@@ -539,8 +537,6 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// 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)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:0)
@@ -552,15 +548,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2029 + l * (7 ±0)`
// Estimated: `8877`
// Minimum execution time: 89_420_000 picoseconds.
Weight::from_parts(90_743_615, 8877)
// Standard Error: 1_260
.saturating_add(Weight::from_parts(50_832, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
// Minimum execution time: 90_068_000 picoseconds.
Weight::from_parts(93_137_456, 8877)
// Standard Error: 4_799
.saturating_add(Weight::from_parts(54_421, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:1)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:1)
@@ -592,12 +586,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2294 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 100_911_000 picoseconds.
Weight::from_parts(102_678_006, 6248)
// Standard Error: 2_349
.saturating_add(Weight::from_parts(1_262_431, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
// Minimum execution time: 103_139_000 picoseconds.
Weight::from_parts(107_036_296, 6248)
// Standard Error: 3_935
.saturating_add(Weight::from_parts(1_465_860, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().writes(11_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
}
@@ -641,12 +635,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0 + n * (720 ±0) + v * (3598 ±0)`
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
// Minimum execution time: 554_712_000 picoseconds.
Weight::from_parts(556_603_000, 512390)
// Standard Error: 1_925_251
.saturating_add(Weight::from_parts(62_627_196, 0).saturating_mul(v.into()))
// Standard Error: 191_840
.saturating_add(Weight::from_parts(16_681_790, 0).saturating_mul(n.into()))
// Minimum execution time: 587_156_000 picoseconds.
Weight::from_parts(590_176_000, 512390)
// Standard Error: 2_008_420
.saturating_add(Weight::from_parts(64_526_052, 0).saturating_mul(v.into()))
// Standard Error: 200_128
.saturating_add(Weight::from_parts(18_070_222, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(206_u64))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -675,14 +669,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[500, 1000]`.
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `3135 + n * (911 ±0) + v * (395 ±0)`
// Measured: `3217 + n * (911 ±0) + v * (395 ±0)`
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
// Minimum execution time: 31_770_670_000 picoseconds.
Weight::from_parts(31_839_042_000, 512390)
// Standard Error: 355_382
.saturating_add(Weight::from_parts(5_044_540, 0).saturating_mul(v.into()))
// Standard Error: 355_382
.saturating_add(Weight::from_parts(3_205_722, 0).saturating_mul(n.into()))
// Minimum execution time: 34_399_721_000 picoseconds.
Weight::from_parts(34_605_803_000, 512390)
// Standard Error: 380_106
.saturating_add(Weight::from_parts(5_426_220, 0).saturating_mul(v.into()))
// Standard Error: 380_106
.saturating_add(Weight::from_parts(3_318_197, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(201_u64))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -699,10 +693,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `983 + v * (50 ±0)`
// Estimated: `3510 + v * (2520 ±0)`
// Minimum execution time: 2_253_567_000 picoseconds.
Weight::from_parts(61_440_613, 3510)
// Standard Error: 5_276
.saturating_add(Weight::from_parts(4_414_153, 0).saturating_mul(v.into()))
// Minimum execution time: 2_392_849_000 picoseconds.
Weight::from_parts(64_373_879, 3510)
// Standard Error: 8_995
.saturating_add(Weight::from_parts(4_721_536, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
@@ -723,8 +717,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_292_000 picoseconds.
Weight::from_parts(9_587_000, 0)
// Minimum execution time: 7_529_000 picoseconds.
Weight::from_parts(7_970_000, 0)
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: Staking MinCommission (r:0 w:1)
@@ -743,8 +737,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_294_000 picoseconds.
Weight::from_parts(8_597_000, 0)
// Minimum execution time: 7_011_000 picoseconds.
Weight::from_parts(7_317_000, 0)
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: Staking Ledger (r:1 w:0)
@@ -771,8 +765,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1871`
// Estimated: `6248`
// Minimum execution time: 75_742_000 picoseconds.
Weight::from_parts(76_252_000, 6248)
// Minimum execution time: 75_982_000 picoseconds.
Weight::from_parts(77_412_000, 6248)
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -784,8 +778,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `694`
// Estimated: `3510`
// Minimum execution time: 16_407_000 picoseconds.
Weight::from_parts(16_726_000, 3510)
// Minimum execution time: 13_923_000 picoseconds.
Weight::from_parts(14_356_000, 3510)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -795,8 +789,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_977_000 picoseconds.
Weight::from_parts(5_224_000, 0)
// Minimum execution time: 3_415_000 picoseconds.
Weight::from_parts(3_679_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
@@ -819,8 +813,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1047`
// Estimated: `4764`
// Minimum execution time: 54_907_000 picoseconds.
Weight::from_parts(55_685_000, 4764)
// Minimum execution time: 53_983_000 picoseconds.
Weight::from_parts(55_296_000, 4764)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -840,8 +834,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2028`
// Estimated: `8877`
// Minimum execution time: 94_779_000 picoseconds.
Weight::from_parts(95_455_000, 8877)
// Minimum execution time: 96_590_000 picoseconds.
Weight::from_parts(98_921_000, 8877)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -857,8 +851,6 @@ impl WeightInfo for () {
/// 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)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:0)
@@ -869,10 +861,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2233`
// Estimated: `8877`
// Minimum execution time: 98_004_000 picoseconds.
Weight::from_parts(98_730_000, 8877)
.saturating_add(RocksDbWeight::get().reads(13_u64))
.saturating_add(RocksDbWeight::get().writes(8_u64))
// Minimum execution time: 99_901_000 picoseconds.
Weight::from_parts(102_919_000, 8877)
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
/// Storage: Staking Ledger (r:1 w:1)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
@@ -882,19 +874,17 @@ impl WeightInfo for () {
/// 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 `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1021`
// Estimated: `4764`
// Minimum execution time: 45_888_000 picoseconds.
Weight::from_parts(47_568_327, 4764)
// Standard Error: 402
.saturating_add(Weight::from_parts(7_520, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Minimum execution time: 45_230_000 picoseconds.
Weight::from_parts(47_052_829, 4764)
// Standard Error: 1_044
.saturating_add(Weight::from_parts(43_887, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: Staking Ledger (r:1 w:1)
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
@@ -916,8 +906,6 @@ impl WeightInfo for () {
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
/// Storage: VoterList CounterForListNodes (r:1 w:1)
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// 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)
@@ -931,12 +919,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2294 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 93_288_000 picoseconds.
Weight::from_parts(99_415_523, 6248)
// Standard Error: 3_291
.saturating_add(Weight::from_parts(1_296_734, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(14_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
// Minimum execution time: 97_534_000 picoseconds.
Weight::from_parts(104_772_163, 6248)
// Standard Error: 3_674
.saturating_add(Weight::from_parts(1_470_124, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(13_u64))
.saturating_add(RocksDbWeight::get().writes(11_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
}
@@ -966,8 +954,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1414`
// Estimated: `4556`
// Minimum execution time: 58_755_000 picoseconds.
Weight::from_parts(59_424_000, 4556)
// Minimum execution time: 57_467_000 picoseconds.
Weight::from_parts(59_437_000, 4556)
.saturating_add(RocksDbWeight::get().reads(11_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -978,12 +966,12 @@ impl WeightInfo for () {
/// The range of component `k` is `[1, 128]`.
fn kick(k: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1260 + k * (569 ±0)`
// Measured: `1285 + k * (569 ±0)`
// Estimated: `4556 + k * (3033 ±0)`
// Minimum execution time: 29_399_000 picoseconds.
Weight::from_parts(30_443_621, 4556)
// Standard Error: 10_402
.saturating_add(Weight::from_parts(7_890_220, 0).saturating_mul(k.into()))
// Minimum execution time: 32_857_000 picoseconds.
Weight::from_parts(37_116_967, 4556)
// Standard Error: 9_522
.saturating_add(Weight::from_parts(8_796_167, 0).saturating_mul(k.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
@@ -1014,12 +1002,12 @@ impl WeightInfo for () {
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1888 + n * (105 ±0)`
// Measured: `1908 + n * (102 ±0)`
// Estimated: `6248 + n * (2520 ±0)`
// Minimum execution time: 68_471_000 picoseconds.
Weight::from_parts(65_972_990, 6248)
// Standard Error: 13_983
.saturating_add(Weight::from_parts(3_255_731, 0).saturating_mul(n.into()))
// Minimum execution time: 69_613_000 picoseconds.
Weight::from_parts(68_079_061, 6248)
// Standard Error: 18_554
.saturating_add(Weight::from_parts(4_012_761, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
@@ -1043,8 +1031,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1748`
// Estimated: `6248`
// Minimum execution time: 59_537_000 picoseconds.
Weight::from_parts(60_446_000, 6248)
// Minimum execution time: 60_430_000 picoseconds.
Weight::from_parts(62_702_000, 6248)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -1056,8 +1044,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `808`
// Estimated: `4556`
// Minimum execution time: 15_403_000 picoseconds.
Weight::from_parts(15_676_000, 4556)
// Minimum execution time: 14_276_000 picoseconds.
Weight::from_parts(14_766_000, 4556)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1069,8 +1057,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `907`
// Estimated: `8122`
// Minimum execution time: 23_316_000 picoseconds.
Weight::from_parts(23_670_000, 8122)
// Minimum execution time: 21_710_000 picoseconds.
Weight::from_parts(22_430_000, 8122)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -1080,8 +1068,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_558_000 picoseconds.
Weight::from_parts(3_759_000, 0)
// Minimum execution time: 2_970_000 picoseconds.
Weight::from_parts(3_120_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Staking ForceEra (r:0 w:1)
@@ -1090,8 +1078,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_724_000 picoseconds.
Weight::from_parts(13_047_000, 0)
// Minimum execution time: 9_362_000 picoseconds.
Weight::from_parts(9_785_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Staking ForceEra (r:0 w:1)
@@ -1100,8 +1088,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_734_000 picoseconds.
Weight::from_parts(13_218_000, 0)
// Minimum execution time: 9_275_000 picoseconds.
Weight::from_parts(9_678_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Staking ForceEra (r:0 w:1)
@@ -1110,8 +1098,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_996_000 picoseconds.
Weight::from_parts(13_375_000, 0)
// Minimum execution time: 9_414_000 picoseconds.
Weight::from_parts(9_848_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Staking Invulnerables (r:0 w:1)
@@ -1121,10 +1109,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_920_000 picoseconds.
Weight::from_parts(4_619_469, 0)
// Standard Error: 22
.saturating_add(Weight::from_parts(10_108, 0).saturating_mul(v.into()))
// Minimum execution time: 3_061_000 picoseconds.
Weight::from_parts(3_618_535, 0)
// Standard Error: 44
.saturating_add(Weight::from_parts(10_774, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Staking Bonded (r:1 w:1)
@@ -1160,10 +1148,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2018 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 86_516_000 picoseconds.
Weight::from_parts(92_324_464, 6248)
// Standard Error: 2_925
.saturating_add(Weight::from_parts(1_286_284, 0).saturating_mul(s.into()))
// Minimum execution time: 87_914_000 picoseconds.
Weight::from_parts(95_688_129, 6248)
// Standard Error: 5_030
.saturating_add(Weight::from_parts(1_487_249, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -1176,10 +1164,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `66639`
// Estimated: `70104`
// Minimum execution time: 90_193_000 picoseconds.
Weight::from_parts(821_522_318, 70104)
// Standard Error: 57_922
.saturating_add(Weight::from_parts(4_554_659, 0).saturating_mul(s.into()))
// Minimum execution time: 99_269_000 picoseconds.
Weight::from_parts(1_154_264_637, 70104)
// Standard Error: 76_592
.saturating_add(Weight::from_parts(6_490_888, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1206,10 +1194,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `20217 + n * (143 ±0)`
// Estimated: `19844 + n * (2603 ±1)`
// Minimum execution time: 80_329_000 picoseconds.
Weight::from_parts(97_340_643, 19844)
// Standard Error: 22_713
.saturating_add(Weight::from_parts(29_087_425, 0).saturating_mul(n.into()))
// Minimum execution time: 91_767_000 picoseconds.
Weight::from_parts(146_781_264, 19844)
// Standard Error: 31_341
.saturating_add(Weight::from_parts(30_553_008, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -1241,12 +1229,12 @@ impl WeightInfo for () {
/// The range of component `n` is `[0, 256]`.
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `34971 + n * (401 ±0)`
// Estimated: `32376 + n * (3774 ±0)`
// Minimum execution time: 105_591_000 picoseconds.
Weight::from_parts(111_587_915, 32376)
// Standard Error: 15_598
.saturating_add(Weight::from_parts(48_948_195, 0).saturating_mul(n.into()))
// Measured: `33190 + n * (377 ±0)`
// Estimated: `30845 + n * (3774 ±0)`
// Minimum execution time: 121_303_000 picoseconds.
Weight::from_parts(151_046_907, 30845)
// Standard Error: 41_899
.saturating_add(Weight::from_parts(49_837_804, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_u64))
.saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
@@ -1259,8 +1247,6 @@ impl WeightInfo for () {
/// 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)
/// Storage: VoterList ListNodes (r:3 w:3)
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:0)
@@ -1272,15 +1258,13 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2029 + l * (7 ±0)`
// Estimated: `8877`
// Minimum execution time: 89_420_000 picoseconds.
Weight::from_parts(90_743_615, 8877)
// Standard Error: 1_260
.saturating_add(Weight::from_parts(50_832, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(8_u64))
// Minimum execution time: 90_068_000 picoseconds.
Weight::from_parts(93_137_456, 8877)
// Standard Error: 4_799
.saturating_add(Weight::from_parts(54_421, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Staking Bonded (r:1 w:1)
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// Storage: Staking Ledger (r:1 w:1)
@@ -1312,12 +1296,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2294 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 100_911_000 picoseconds.
Weight::from_parts(102_678_006, 6248)
// Standard Error: 2_349
.saturating_add(Weight::from_parts(1_262_431, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(13_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
// Minimum execution time: 103_139_000 picoseconds.
Weight::from_parts(107_036_296, 6248)
// Standard Error: 3_935
.saturating_add(Weight::from_parts(1_465_860, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().writes(11_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
}
@@ -1361,12 +1345,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0 + n * (720 ±0) + v * (3598 ±0)`
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
// Minimum execution time: 554_712_000 picoseconds.
Weight::from_parts(556_603_000, 512390)
// Standard Error: 1_925_251
.saturating_add(Weight::from_parts(62_627_196, 0).saturating_mul(v.into()))
// Standard Error: 191_840
.saturating_add(Weight::from_parts(16_681_790, 0).saturating_mul(n.into()))
// Minimum execution time: 587_156_000 picoseconds.
Weight::from_parts(590_176_000, 512390)
// Standard Error: 2_008_420
.saturating_add(Weight::from_parts(64_526_052, 0).saturating_mul(v.into()))
// Standard Error: 200_128
.saturating_add(Weight::from_parts(18_070_222, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(206_u64))
.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -1395,14 +1379,14 @@ impl WeightInfo for () {
/// The range of component `n` is `[500, 1000]`.
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `3135 + n * (911 ±0) + v * (395 ±0)`
// Measured: `3217 + n * (911 ±0) + v * (395 ±0)`
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
// Minimum execution time: 31_770_670_000 picoseconds.
Weight::from_parts(31_839_042_000, 512390)
// Standard Error: 355_382
.saturating_add(Weight::from_parts(5_044_540, 0).saturating_mul(v.into()))
// Standard Error: 355_382
.saturating_add(Weight::from_parts(3_205_722, 0).saturating_mul(n.into()))
// Minimum execution time: 34_399_721_000 picoseconds.
Weight::from_parts(34_605_803_000, 512390)
// Standard Error: 380_106
.saturating_add(Weight::from_parts(5_426_220, 0).saturating_mul(v.into()))
// Standard Error: 380_106
.saturating_add(Weight::from_parts(3_318_197, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(201_u64))
.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(n.into())))
@@ -1419,10 +1403,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `983 + v * (50 ±0)`
// Estimated: `3510 + v * (2520 ±0)`
// Minimum execution time: 2_253_567_000 picoseconds.
Weight::from_parts(61_440_613, 3510)
// Standard Error: 5_276
.saturating_add(Weight::from_parts(4_414_153, 0).saturating_mul(v.into()))
// Minimum execution time: 2_392_849_000 picoseconds.
Weight::from_parts(64_373_879, 3510)
// Standard Error: 8_995
.saturating_add(Weight::from_parts(4_721_536, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
@@ -1443,8 +1427,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_292_000 picoseconds.
Weight::from_parts(9_587_000, 0)
// Minimum execution time: 7_529_000 picoseconds.
Weight::from_parts(7_970_000, 0)
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: Staking MinCommission (r:0 w:1)
@@ -1463,8 +1447,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_294_000 picoseconds.
Weight::from_parts(8_597_000, 0)
// Minimum execution time: 7_011_000 picoseconds.
Weight::from_parts(7_317_000, 0)
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: Staking Ledger (r:1 w:0)
@@ -1491,8 +1475,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1871`
// Estimated: `6248`
// Minimum execution time: 75_742_000 picoseconds.
Weight::from_parts(76_252_000, 6248)
// Minimum execution time: 75_982_000 picoseconds.
Weight::from_parts(77_412_000, 6248)
.saturating_add(RocksDbWeight::get().reads(11_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -1504,8 +1488,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `694`
// Estimated: `3510`
// Minimum execution time: 16_407_000 picoseconds.
Weight::from_parts(16_726_000, 3510)
// Minimum execution time: 13_923_000 picoseconds.
Weight::from_parts(14_356_000, 3510)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1515,8 +1499,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_977_000 picoseconds.
Weight::from_parts(5_224_000, 0)
// Minimum execution time: 3_415_000 picoseconds.
Weight::from_parts(3_679_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+39 -35
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_state_trie_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_state_trie_migration
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_state_trie_migration.
pub trait WeightInfo {
@@ -68,8 +72,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `108`
// Estimated: `2527`
// Minimum execution time: 17_385_000 picoseconds.
Weight::from_parts(17_766_000, 2527)
// Minimum execution time: 14_297_000 picoseconds.
Weight::from_parts(14_832_000, 2527)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -79,16 +83,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `1493`
// Minimum execution time: 4_537_000 picoseconds.
Weight::from_parts(4_734_000, 1493)
// Minimum execution time: 4_237_000 picoseconds.
Weight::from_parts(4_646_000, 1493)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn migrate_custom_top_success() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_127_000 picoseconds.
Weight::from_parts(10_384_000, 0)
// Minimum execution time: 8_898_000 picoseconds.
Weight::from_parts(9_237_000, 0)
}
/// Storage: unknown `0x666f6f` (r:1 w:1)
/// Proof Skipped: unknown `0x666f6f` (r:1 w:1)
@@ -96,8 +100,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `113`
// Estimated: `3578`
// Minimum execution time: 31_113_000 picoseconds.
Weight::from_parts(31_833_000, 3578)
// Minimum execution time: 29_291_000 picoseconds.
Weight::from_parts(30_424_000, 3578)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -105,8 +109,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_445_000 picoseconds.
Weight::from_parts(10_726_000, 0)
// Minimum execution time: 9_094_000 picoseconds.
Weight::from_parts(9_544_000, 0)
}
/// Storage: unknown `0x666f6f` (r:1 w:1)
/// Proof Skipped: unknown `0x666f6f` (r:1 w:1)
@@ -114,8 +118,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `105`
// Estimated: `3570`
// Minimum execution time: 31_795_000 picoseconds.
Weight::from_parts(32_737_000, 3570)
// Minimum execution time: 30_286_000 picoseconds.
Weight::from_parts(30_948_000, 3570)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -126,10 +130,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `197 + v * (1 ±0)`
// Estimated: `3662 + v * (1 ±0)`
// Minimum execution time: 5_933_000 picoseconds.
Weight::from_parts(6_040_000, 3662)
// Standard Error: 3
.saturating_add(Weight::from_parts(1_336, 0).saturating_mul(v.into()))
// Minimum execution time: 5_420_000 picoseconds.
Weight::from_parts(5_560_000, 3662)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_139, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(v.into()))
@@ -146,8 +150,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `108`
// Estimated: `2527`
// Minimum execution time: 17_385_000 picoseconds.
Weight::from_parts(17_766_000, 2527)
// Minimum execution time: 14_297_000 picoseconds.
Weight::from_parts(14_832_000, 2527)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -157,16 +161,16 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `1493`
// Minimum execution time: 4_537_000 picoseconds.
Weight::from_parts(4_734_000, 1493)
// Minimum execution time: 4_237_000 picoseconds.
Weight::from_parts(4_646_000, 1493)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
fn migrate_custom_top_success() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_127_000 picoseconds.
Weight::from_parts(10_384_000, 0)
// Minimum execution time: 8_898_000 picoseconds.
Weight::from_parts(9_237_000, 0)
}
/// Storage: unknown `0x666f6f` (r:1 w:1)
/// Proof Skipped: unknown `0x666f6f` (r:1 w:1)
@@ -174,8 +178,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `113`
// Estimated: `3578`
// Minimum execution time: 31_113_000 picoseconds.
Weight::from_parts(31_833_000, 3578)
// Minimum execution time: 29_291_000 picoseconds.
Weight::from_parts(30_424_000, 3578)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -183,8 +187,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_445_000 picoseconds.
Weight::from_parts(10_726_000, 0)
// Minimum execution time: 9_094_000 picoseconds.
Weight::from_parts(9_544_000, 0)
}
/// Storage: unknown `0x666f6f` (r:1 w:1)
/// Proof Skipped: unknown `0x666f6f` (r:1 w:1)
@@ -192,8 +196,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `105`
// Estimated: `3570`
// Minimum execution time: 31_795_000 picoseconds.
Weight::from_parts(32_737_000, 3570)
// Minimum execution time: 30_286_000 picoseconds.
Weight::from_parts(30_948_000, 3570)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -204,10 +208,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `197 + v * (1 ±0)`
// Estimated: `3662 + v * (1 ±0)`
// Minimum execution time: 5_933_000 picoseconds.
Weight::from_parts(6_040_000, 3662)
// Standard Error: 3
.saturating_add(Weight::from_parts(1_336, 0).saturating_mul(v.into()))
// Minimum execution time: 5_420_000 picoseconds.
Weight::from_parts(5_560_000, 3662)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_139, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(v.into()))
+21 -19
View File
@@ -18,26 +18,28 @@
//! Autogenerated weights for pallet_sudo
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_sudo
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_sudo
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/sudo/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -64,8 +66,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `165`
// Estimated: `1517`
// Minimum execution time: 13_962_000 picoseconds.
Weight::from_parts(14_283_000, 1517)
// Minimum execution time: 12_918_000 picoseconds.
Weight::from_parts(13_403_000, 1517)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -75,8 +77,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `165`
// Estimated: `1517`
// Minimum execution time: 14_009_000 picoseconds.
Weight::from_parts(14_400_000, 1517)
// Minimum execution time: 12_693_000 picoseconds.
Weight::from_parts(13_001_000, 1517)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Sudo Key (r:1 w:0)
@@ -85,8 +87,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `165`
// Estimated: `1517`
// Minimum execution time: 13_954_000 picoseconds.
Weight::from_parts(14_248_000, 1517)
// Minimum execution time: 12_590_000 picoseconds.
Weight::from_parts(12_994_000, 1517)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
}
@@ -99,8 +101,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `165`
// Estimated: `1517`
// Minimum execution time: 13_962_000 picoseconds.
Weight::from_parts(14_283_000, 1517)
// Minimum execution time: 12_918_000 picoseconds.
Weight::from_parts(13_403_000, 1517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -110,8 +112,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `165`
// Estimated: `1517`
// Minimum execution time: 14_009_000 picoseconds.
Weight::from_parts(14_400_000, 1517)
// Minimum execution time: 12_693_000 picoseconds.
Weight::from_parts(13_001_000, 1517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Sudo Key (r:1 w:0)
@@ -120,8 +122,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `165`
// Estimated: `1517`
// Minimum execution time: 13_954_000 picoseconds.
Weight::from_parts(14_248_000, 1517)
// Minimum execution time: 12_590_000 picoseconds.
Weight::from_parts(12_994_000, 1517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
}
@@ -16,8 +16,8 @@
// limitations under the License.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06 (Y/M/D)
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-06-16 (Y/M/D)
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -44,17 +44,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 386_820, 419_676
/// Average: 392_184
/// Median: 389_668
/// Std-Dev: 5285.57
/// Min, Max: 376_949, 622_462
/// Average: 390_584
/// Median: 386_322
/// Std-Dev: 24792.0
///
/// Percentiles nanoseconds:
/// 99th: 406_316
/// 95th: 399_697
/// 75th: 396_532
/// 99th: 433_299
/// 95th: 402_688
/// 75th: 391_645
pub const BlockExecutionWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(392_184), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(390_584), 0);
}
#[cfg(test)]
@@ -16,8 +16,8 @@
// limitations under the License.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06 (Y/M/D)
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-06-16 (Y/M/D)
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
@@ -44,17 +44,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 113_246, 114_346
/// Average: 113_638
/// Median: 113_641
/// Std-Dev: 188.44
/// Min, Max: 123_875, 128_419
/// Average: 124_414
/// Median: 124_332
/// Std-Dev: 497.74
///
/// Percentiles nanoseconds:
/// 99th: 114_181
/// 95th: 113_961
/// 75th: 113_703
/// 99th: 125_245
/// 95th: 124_989
/// 75th: 124_498
pub const ExtrinsicBaseWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(113_638), 0);
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(124_414), 0);
}
#[cfg(test)]
+60 -57
View File
@@ -18,31 +18,34 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=frame_system
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=frame_system
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/system/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use core::marker::PhantomData;
@@ -66,20 +69,20 @@ impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_344_000 picoseconds.
Weight::from_parts(2_471_000, 0)
// Minimum execution time: 2_037_000 picoseconds.
Weight::from_parts(2_118_000, 0)
// Standard Error: 0
.saturating_add(Weight::from_parts(364, 0).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(386, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_815_000 picoseconds.
Weight::from_parts(9_140_000, 0)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_122, 0).saturating_mul(b.into()))
// Minimum execution time: 7_828_000 picoseconds.
Weight::from_parts(5_872_198, 0)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_384, 0).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
@@ -89,8 +92,8 @@ impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 5_233_000 picoseconds.
Weight::from_parts(5_462_000, 1485)
// Minimum execution time: 4_339_000 picoseconds.
Weight::from_parts(4_688_000, 1485)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -102,8 +105,8 @@ impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 58_606_683_000 picoseconds.
Weight::from_parts(59_115_121_000, 1485)
// Minimum execution time: 82_624_498_000 picoseconds.
Weight::from_parts(83_553_373_000, 1485)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -114,10 +117,10 @@ impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_317_000 picoseconds.
Weight::from_parts(2_457_000, 0)
// Standard Error: 894
.saturating_add(Weight::from_parts(750_850, 0).saturating_mul(i.into()))
// Minimum execution time: 2_097_000 picoseconds.
Weight::from_parts(2_213_000, 0)
// Standard Error: 711
.saturating_add(Weight::from_parts(817_161, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
@@ -127,10 +130,10 @@ impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_498_000 picoseconds.
Weight::from_parts(2_552_000, 0)
// Standard Error: 1_027
.saturating_add(Weight::from_parts(566_064, 0).saturating_mul(i.into()))
// Minimum execution time: 2_061_000 picoseconds.
Weight::from_parts(2_207_000, 0)
// Standard Error: 887
.saturating_add(Weight::from_parts(616_055, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
@@ -138,12 +141,12 @@ impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `116 + p * (69 ±0)`
// Estimated: `121 + p * (70 ±0)`
// Minimum execution time: 4_646_000 picoseconds.
Weight::from_parts(4_725_000, 121)
// Standard Error: 1_195
.saturating_add(Weight::from_parts(1_144_884, 0).saturating_mul(p.into()))
// Measured: `115 + p * (69 ±0)`
// Estimated: `128 + p * (70 ±0)`
// Minimum execution time: 3_857_000 picoseconds.
Weight::from_parts(4_094_000, 128)
// Standard Error: 1_935
.saturating_add(Weight::from_parts(1_342_833, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
@@ -157,20 +160,20 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_344_000 picoseconds.
Weight::from_parts(2_471_000, 0)
// Minimum execution time: 2_037_000 picoseconds.
Weight::from_parts(2_118_000, 0)
// Standard Error: 0
.saturating_add(Weight::from_parts(364, 0).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(386, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_815_000 picoseconds.
Weight::from_parts(9_140_000, 0)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_122, 0).saturating_mul(b.into()))
// Minimum execution time: 7_828_000 picoseconds.
Weight::from_parts(5_872_198, 0)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_384, 0).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
@@ -180,8 +183,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 5_233_000 picoseconds.
Weight::from_parts(5_462_000, 1485)
// Minimum execution time: 4_339_000 picoseconds.
Weight::from_parts(4_688_000, 1485)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -193,8 +196,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
// Minimum execution time: 58_606_683_000 picoseconds.
Weight::from_parts(59_115_121_000, 1485)
// Minimum execution time: 82_624_498_000 picoseconds.
Weight::from_parts(83_553_373_000, 1485)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -205,10 +208,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_317_000 picoseconds.
Weight::from_parts(2_457_000, 0)
// Standard Error: 894
.saturating_add(Weight::from_parts(750_850, 0).saturating_mul(i.into()))
// Minimum execution time: 2_097_000 picoseconds.
Weight::from_parts(2_213_000, 0)
// Standard Error: 711
.saturating_add(Weight::from_parts(817_161, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
@@ -218,10 +221,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_498_000 picoseconds.
Weight::from_parts(2_552_000, 0)
// Standard Error: 1_027
.saturating_add(Weight::from_parts(566_064, 0).saturating_mul(i.into()))
// Minimum execution time: 2_061_000 picoseconds.
Weight::from_parts(2_207_000, 0)
// Standard Error: 887
.saturating_add(Weight::from_parts(616_055, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
@@ -229,12 +232,12 @@ impl WeightInfo for () {
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `116 + p * (69 ±0)`
// Estimated: `121 + p * (70 ±0)`
// Minimum execution time: 4_646_000 picoseconds.
Weight::from_parts(4_725_000, 121)
// Standard Error: 1_195
.saturating_add(Weight::from_parts(1_144_884, 0).saturating_mul(p.into()))
// Measured: `115 + p * (69 ±0)`
// Estimated: `128 + p * (70 ±0)`
// Minimum execution time: 3_857_000 picoseconds.
Weight::from_parts(4_094_000, 128)
// Standard Error: 1_935
.saturating_add(Weight::from_parts(1_342_833, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
+15 -11
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_timestamp
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_timestamp
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_timestamp.
pub trait WeightInfo {
@@ -63,8 +67,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `312`
// Estimated: `1493`
// Minimum execution time: 10_834_000 picoseconds.
Weight::from_parts(11_099_000, 1493)
// Minimum execution time: 9_857_000 picoseconds.
Weight::from_parts(10_492_000, 1493)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -72,8 +76,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `161`
// Estimated: `0`
// Minimum execution time: 4_472_000 picoseconds.
Weight::from_parts(4_645_000, 0)
// Minimum execution time: 4_175_000 picoseconds.
Weight::from_parts(4_334_000, 0)
}
}
@@ -87,8 +91,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `312`
// Estimated: `1493`
// Minimum execution time: 10_834_000 picoseconds.
Weight::from_parts(11_099_000, 1493)
// Minimum execution time: 9_857_000 picoseconds.
Weight::from_parts(10_492_000, 1493)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -96,7 +100,7 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `161`
// Estimated: `0`
// Minimum execution time: 4_472_000 picoseconds.
Weight::from_parts(4_645_000, 0)
// Minimum execution time: 4_175_000 picoseconds.
Weight::from_parts(4_334_000, 0)
}
}
+55 -51
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_tips
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_tips
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_tips.
pub trait WeightInfo {
@@ -68,10 +72,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3469`
// Minimum execution time: 30_728_000 picoseconds.
Weight::from_parts(31_794_924, 3469)
// Standard Error: 171
.saturating_add(Weight::from_parts(1_020, 0).saturating_mul(r.into()))
// Minimum execution time: 29_576_000 picoseconds.
Weight::from_parts(30_722_650, 3469)
// Standard Error: 192
.saturating_add(Weight::from_parts(2_601, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -83,8 +87,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `221`
// Estimated: `3686`
// Minimum execution time: 29_183_000 picoseconds.
Weight::from_parts(30_017_000, 3686)
// Minimum execution time: 28_522_000 picoseconds.
Weight::from_parts(29_323_000, 3686)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -100,12 +104,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `526 + t * (64 ±0)`
// Estimated: `3991 + t * (64 ±0)`
// Minimum execution time: 20_726_000 picoseconds.
Weight::from_parts(20_964_411, 3991)
// Standard Error: 119
.saturating_add(Weight::from_parts(1_230, 0).saturating_mul(r.into()))
// Standard Error: 2_837
.saturating_add(Weight::from_parts(81_831, 0).saturating_mul(t.into()))
// Minimum execution time: 19_650_000 picoseconds.
Weight::from_parts(19_837_982, 3991)
// Standard Error: 151
.saturating_add(Weight::from_parts(1_746, 0).saturating_mul(r.into()))
// Standard Error: 3_588
.saturating_add(Weight::from_parts(102_359, 0).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(t.into()))
@@ -119,10 +123,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `747 + t * (112 ±0)`
// Estimated: `4212 + t * (112 ±0)`
// Minimum execution time: 16_048_000 picoseconds.
Weight::from_parts(16_694_981, 4212)
// Standard Error: 4_480
.saturating_add(Weight::from_parts(179_723, 0).saturating_mul(t.into()))
// Minimum execution time: 15_641_000 picoseconds.
Weight::from_parts(15_745_460, 4212)
// Standard Error: 5_106
.saturating_add(Weight::from_parts(229_475, 0).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into()))
@@ -140,10 +144,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `786 + t * (112 ±0)`
// Estimated: `4242 + t * (112 ±0)`
// Minimum execution time: 61_319_000 picoseconds.
Weight::from_parts(62_217_195, 4242)
// Standard Error: 6_721
.saturating_add(Weight::from_parts(186_620, 0).saturating_mul(t.into()))
// Minimum execution time: 62_059_000 picoseconds.
Weight::from_parts(64_604_554, 4242)
// Standard Error: 11_818
.saturating_add(Weight::from_parts(116_297, 0).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into()))
@@ -157,10 +161,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `269`
// Estimated: `3734`
// Minimum execution time: 15_397_000 picoseconds.
Weight::from_parts(15_942_494, 3734)
// Standard Error: 1_657
.saturating_add(Weight::from_parts(4_128, 0).saturating_mul(t.into()))
// Minimum execution time: 14_133_000 picoseconds.
Weight::from_parts(14_957_547, 3734)
// Standard Error: 2_765
.saturating_add(Weight::from_parts(22_138, 0).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -177,10 +181,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3469`
// Minimum execution time: 30_728_000 picoseconds.
Weight::from_parts(31_794_924, 3469)
// Standard Error: 171
.saturating_add(Weight::from_parts(1_020, 0).saturating_mul(r.into()))
// Minimum execution time: 29_576_000 picoseconds.
Weight::from_parts(30_722_650, 3469)
// Standard Error: 192
.saturating_add(Weight::from_parts(2_601, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -192,8 +196,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `221`
// Estimated: `3686`
// Minimum execution time: 29_183_000 picoseconds.
Weight::from_parts(30_017_000, 3686)
// Minimum execution time: 28_522_000 picoseconds.
Weight::from_parts(29_323_000, 3686)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -209,12 +213,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `526 + t * (64 ±0)`
// Estimated: `3991 + t * (64 ±0)`
// Minimum execution time: 20_726_000 picoseconds.
Weight::from_parts(20_964_411, 3991)
// Standard Error: 119
.saturating_add(Weight::from_parts(1_230, 0).saturating_mul(r.into()))
// Standard Error: 2_837
.saturating_add(Weight::from_parts(81_831, 0).saturating_mul(t.into()))
// Minimum execution time: 19_650_000 picoseconds.
Weight::from_parts(19_837_982, 3991)
// Standard Error: 151
.saturating_add(Weight::from_parts(1_746, 0).saturating_mul(r.into()))
// Standard Error: 3_588
.saturating_add(Weight::from_parts(102_359, 0).saturating_mul(t.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 64).saturating_mul(t.into()))
@@ -228,10 +232,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `747 + t * (112 ±0)`
// Estimated: `4212 + t * (112 ±0)`
// Minimum execution time: 16_048_000 picoseconds.
Weight::from_parts(16_694_981, 4212)
// Standard Error: 4_480
.saturating_add(Weight::from_parts(179_723, 0).saturating_mul(t.into()))
// Minimum execution time: 15_641_000 picoseconds.
Weight::from_parts(15_745_460, 4212)
// Standard Error: 5_106
.saturating_add(Weight::from_parts(229_475, 0).saturating_mul(t.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into()))
@@ -249,10 +253,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `786 + t * (112 ±0)`
// Estimated: `4242 + t * (112 ±0)`
// Minimum execution time: 61_319_000 picoseconds.
Weight::from_parts(62_217_195, 4242)
// Standard Error: 6_721
.saturating_add(Weight::from_parts(186_620, 0).saturating_mul(t.into()))
// Minimum execution time: 62_059_000 picoseconds.
Weight::from_parts(64_604_554, 4242)
// Standard Error: 11_818
.saturating_add(Weight::from_parts(116_297, 0).saturating_mul(t.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into()))
@@ -266,10 +270,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `269`
// Estimated: `3734`
// Minimum execution time: 15_397_000 picoseconds.
Weight::from_parts(15_942_494, 3734)
// Standard Error: 1_657
.saturating_add(Weight::from_parts(4_128, 0).saturating_mul(t.into()))
// Minimum execution time: 14_133_000 picoseconds.
Weight::from_parts(14_957_547, 3734)
// Standard Error: 2_765
.saturating_add(Weight::from_parts(22_138, 0).saturating_mul(t.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
+23 -19
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_transaction_storage
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_transaction_storage
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_transaction_storage.
pub trait WeightInfo {
@@ -67,10 +71,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `176`
// Estimated: `38351`
// Minimum execution time: 36_983_000 picoseconds.
Weight::from_parts(37_296_000, 38351)
// Standard Error: 2
.saturating_add(Weight::from_parts(4_908, 0).saturating_mul(l.into()))
// Minimum execution time: 34_844_000 picoseconds.
Weight::from_parts(35_489_000, 38351)
// Standard Error: 11
.saturating_add(Weight::from_parts(6_912, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -86,8 +90,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `40351`
// Minimum execution time: 44_637_000 picoseconds.
Weight::from_parts(45_464_000, 40351)
// Minimum execution time: 48_244_000 picoseconds.
Weight::from_parts(50_939_000, 40351)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -105,8 +109,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `37145`
// Estimated: `40351`
// Minimum execution time: 59_653_000 picoseconds.
Weight::from_parts(61_068_000, 40351)
// Minimum execution time: 80_913_000 picoseconds.
Weight::from_parts(84_812_000, 40351)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -125,10 +129,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `176`
// Estimated: `38351`
// Minimum execution time: 36_983_000 picoseconds.
Weight::from_parts(37_296_000, 38351)
// Standard Error: 2
.saturating_add(Weight::from_parts(4_908, 0).saturating_mul(l.into()))
// Minimum execution time: 34_844_000 picoseconds.
Weight::from_parts(35_489_000, 38351)
// Standard Error: 11
.saturating_add(Weight::from_parts(6_912, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -144,8 +148,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `40351`
// Minimum execution time: 44_637_000 picoseconds.
Weight::from_parts(45_464_000, 40351)
// Minimum execution time: 48_244_000 picoseconds.
Weight::from_parts(50_939_000, 40351)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -163,8 +167,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `37145`
// Estimated: `40351`
// Minimum execution time: 59_653_000 picoseconds.
Weight::from_parts(61_068_000, 40351)
// Minimum execution time: 80_913_000 picoseconds.
Weight::from_parts(84_812_000, 40351)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+51 -47
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_treasury
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_treasury
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_treasury.
pub trait WeightInfo {
@@ -67,10 +71,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Measured: `76`
// Estimated: `1887`
// Minimum execution time: 16_592_000 picoseconds.
Weight::from_parts(16_959_000, 1887)
// Minimum execution time: 15_057_000 picoseconds.
Weight::from_parts(15_803_000, 1887)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -80,10 +84,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn propose_spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `143`
// Measured: `177`
// Estimated: `1489`
// Minimum execution time: 29_742_000 picoseconds.
Weight::from_parts(30_359_000, 1489)
// Minimum execution time: 28_923_000 picoseconds.
Weight::from_parts(29_495_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -93,10 +97,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn reject_proposal() -> Weight {
// Proof Size summary in bytes:
// Measured: `301`
// Measured: `335`
// Estimated: `3593`
// Minimum execution time: 31_248_000 picoseconds.
Weight::from_parts(31_882_000, 3593)
// Minimum execution time: 30_539_000 picoseconds.
Weight::from_parts(30_986_000, 3593)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -107,12 +111,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `470 + p * (8 ±0)`
// Measured: `504 + p * (8 ±0)`
// Estimated: `3573`
// Minimum execution time: 10_441_000 picoseconds.
Weight::from_parts(13_061_079, 3573)
// Standard Error: 877
.saturating_add(Weight::from_parts(26_940, 0).saturating_mul(p.into()))
// Minimum execution time: 9_320_000 picoseconds.
Weight::from_parts(12_606_599, 3573)
// Standard Error: 1_302
.saturating_add(Weight::from_parts(71_054, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -120,10 +124,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn remove_approval() -> Weight {
// Proof Size summary in bytes:
// Measured: `127`
// Measured: `161`
// Estimated: `1887`
// Minimum execution time: 7_935_000 picoseconds.
Weight::from_parts(8_153_000, 1887)
// Minimum execution time: 7_231_000 picoseconds.
Weight::from_parts(7_459_000, 1887)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -140,12 +144,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `387 + p * (251 ±0)`
// Measured: `421 + p * (251 ±0)`
// Estimated: `1887 + p * (5206 ±0)`
// Minimum execution time: 45_306_000 picoseconds.
Weight::from_parts(53_639_830, 1887)
// Standard Error: 32_330
.saturating_add(Weight::from_parts(38_930_307, 0).saturating_mul(p.into()))
// Minimum execution time: 44_769_000 picoseconds.
Weight::from_parts(57_915_572, 1887)
// Standard Error: 59_484
.saturating_add(Weight::from_parts(42_343_732, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
@@ -164,10 +168,10 @@ impl WeightInfo for () {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Measured: `76`
// Estimated: `1887`
// Minimum execution time: 16_592_000 picoseconds.
Weight::from_parts(16_959_000, 1887)
// Minimum execution time: 15_057_000 picoseconds.
Weight::from_parts(15_803_000, 1887)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -177,10 +181,10 @@ impl WeightInfo for () {
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn propose_spend() -> Weight {
// Proof Size summary in bytes:
// Measured: `143`
// Measured: `177`
// Estimated: `1489`
// Minimum execution time: 29_742_000 picoseconds.
Weight::from_parts(30_359_000, 1489)
// Minimum execution time: 28_923_000 picoseconds.
Weight::from_parts(29_495_000, 1489)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -190,10 +194,10 @@ impl WeightInfo for () {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn reject_proposal() -> Weight {
// Proof Size summary in bytes:
// Measured: `301`
// Measured: `335`
// Estimated: `3593`
// Minimum execution time: 31_248_000 picoseconds.
Weight::from_parts(31_882_000, 3593)
// Minimum execution time: 30_539_000 picoseconds.
Weight::from_parts(30_986_000, 3593)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -204,12 +208,12 @@ impl WeightInfo for () {
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `470 + p * (8 ±0)`
// Measured: `504 + p * (8 ±0)`
// Estimated: `3573`
// Minimum execution time: 10_441_000 picoseconds.
Weight::from_parts(13_061_079, 3573)
// Standard Error: 877
.saturating_add(Weight::from_parts(26_940, 0).saturating_mul(p.into()))
// Minimum execution time: 9_320_000 picoseconds.
Weight::from_parts(12_606_599, 3573)
// Standard Error: 1_302
.saturating_add(Weight::from_parts(71_054, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -217,10 +221,10 @@ impl WeightInfo for () {
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn remove_approval() -> Weight {
// Proof Size summary in bytes:
// Measured: `127`
// Measured: `161`
// Estimated: `1887`
// Minimum execution time: 7_935_000 picoseconds.
Weight::from_parts(8_153_000, 1887)
// Minimum execution time: 7_231_000 picoseconds.
Weight::from_parts(7_459_000, 1887)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -237,12 +241,12 @@ impl WeightInfo for () {
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `387 + p * (251 ±0)`
// Measured: `421 + p * (251 ±0)`
// Estimated: `1887 + p * (5206 ±0)`
// Minimum execution time: 45_306_000 picoseconds.
Weight::from_parts(53_639_830, 1887)
// Standard Error: 32_330
.saturating_add(Weight::from_parts(38_930_307, 0).saturating_mul(p.into()))
// Minimum execution time: 44_769_000 picoseconds.
Weight::from_parts(57_915_572, 1887)
// Standard Error: 59_484
.saturating_add(Weight::from_parts(42_343_732, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
+127 -123
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_uniques
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_uniques
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_uniques.
pub trait WeightInfo {
@@ -87,8 +91,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `249`
// Estimated: `3643`
// Minimum execution time: 32_067_000 picoseconds.
Weight::from_parts(32_817_000, 3643)
// Minimum execution time: 30_534_000 picoseconds.
Weight::from_parts(31_876_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -100,8 +104,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3643`
// Minimum execution time: 16_365_000 picoseconds.
Weight::from_parts(16_707_000, 3643)
// Minimum execution time: 14_394_000 picoseconds.
Weight::from_parts(15_042_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -128,14 +132,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `418 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
// Estimated: `3643 + a * (2839 ±0) + m * (2583 ±0) + n * (2597 ±0)`
// Minimum execution time: 2_498_918_000 picoseconds.
Weight::from_parts(2_516_809_000, 3643)
// Standard Error: 26_297
.saturating_add(Weight::from_parts(6_648_035, 0).saturating_mul(n.into()))
// Standard Error: 26_297
.saturating_add(Weight::from_parts(354_268, 0).saturating_mul(m.into()))
// Standard Error: 26_297
.saturating_add(Weight::from_parts(223_770, 0).saturating_mul(a.into()))
// Minimum execution time: 3_025_324_000 picoseconds.
Weight::from_parts(3_050_363_000, 3643)
// Standard Error: 30_739
.saturating_add(Weight::from_parts(6_839_633, 0).saturating_mul(n.into()))
// Standard Error: 30_739
.saturating_add(Weight::from_parts(291_566, 0).saturating_mul(m.into()))
// Standard Error: 30_739
.saturating_add(Weight::from_parts(514_334, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
@@ -160,8 +164,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 38_157_000 picoseconds.
Weight::from_parts(38_677_000, 3643)
// Minimum execution time: 35_959_000 picoseconds.
Weight::from_parts(36_974_000, 3643)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -177,8 +181,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 39_069_000 picoseconds.
Weight::from_parts(40_442_000, 3643)
// Minimum execution time: 37_318_000 picoseconds.
Weight::from_parts(38_531_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -194,8 +198,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 28_085_000 picoseconds.
Weight::from_parts(28_403_000, 3643)
// Minimum execution time: 25_943_000 picoseconds.
Weight::from_parts(27_112_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -208,10 +212,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `805 + i * (76 ±0)`
// Estimated: `3643 + i * (2597 ±0)`
// Minimum execution time: 16_202_000 picoseconds.
Weight::from_parts(16_380_000, 3643)
// Standard Error: 18_639
.saturating_add(Weight::from_parts(16_047_161, 0).saturating_mul(i.into()))
// Minimum execution time: 13_946_000 picoseconds.
Weight::from_parts(14_259_000, 3643)
// Standard Error: 14_996
.saturating_add(Weight::from_parts(16_873_386, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -226,8 +230,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 20_131_000 picoseconds.
Weight::from_parts(20_535_000, 3643)
// Minimum execution time: 17_872_000 picoseconds.
Weight::from_parts(18_398_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -239,8 +243,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 19_895_000 picoseconds.
Weight::from_parts(20_198_000, 3643)
// Minimum execution time: 17_623_000 picoseconds.
Weight::from_parts(18_401_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -250,8 +254,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 15_312_000 picoseconds.
Weight::from_parts(15_555_000, 3643)
// Minimum execution time: 12_967_000 picoseconds.
Weight::from_parts(13_462_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -261,8 +265,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 15_145_000 picoseconds.
Weight::from_parts(15_371_000, 3643)
// Minimum execution time: 12_840_000 picoseconds.
Weight::from_parts(13_375_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -276,8 +280,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `423`
// Estimated: `3643`
// Minimum execution time: 23_800_000 picoseconds.
Weight::from_parts(23_991_000, 3643)
// Minimum execution time: 21_594_000 picoseconds.
Weight::from_parts(22_151_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -287,8 +291,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 15_929_000 picoseconds.
Weight::from_parts(16_219_000, 3643)
// Minimum execution time: 13_388_000 picoseconds.
Weight::from_parts(14_130_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -300,8 +304,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 18_617_000 picoseconds.
Weight::from_parts(19_016_000, 3643)
// Minimum execution time: 16_539_000 picoseconds.
Weight::from_parts(17_107_000, 3643)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -315,8 +319,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `547`
// Estimated: `3829`
// Minimum execution time: 41_982_000 picoseconds.
Weight::from_parts(42_329_000, 3829)
// Minimum execution time: 39_314_000 picoseconds.
Weight::from_parts(40_531_000, 3829)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -330,8 +334,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `936`
// Estimated: `3829`
// Minimum execution time: 39_921_000 picoseconds.
Weight::from_parts(40_499_000, 3829)
// Minimum execution time: 37_804_000 picoseconds.
Weight::from_parts(38_790_000, 3829)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -343,8 +347,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `415`
// Estimated: `3643`
// Minimum execution time: 31_774_000 picoseconds.
Weight::from_parts(32_327_000, 3643)
// Minimum execution time: 29_583_000 picoseconds.
Weight::from_parts(30_559_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -356,8 +360,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `547`
// Estimated: `3643`
// Minimum execution time: 32_551_000 picoseconds.
Weight::from_parts(32_891_000, 3643)
// Minimum execution time: 30_036_000 picoseconds.
Weight::from_parts(31_043_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -369,8 +373,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 33_490_000 picoseconds.
Weight::from_parts(34_617_000, 3643)
// Minimum execution time: 31_063_000 picoseconds.
Weight::from_parts(31_803_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -382,8 +386,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `461`
// Estimated: `3643`
// Minimum execution time: 31_691_000 picoseconds.
Weight::from_parts(32_042_000, 3643)
// Minimum execution time: 29_707_000 picoseconds.
Weight::from_parts(30_428_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -395,8 +399,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 20_738_000 picoseconds.
Weight::from_parts(21_067_000, 3643)
// Minimum execution time: 18_328_000 picoseconds.
Weight::from_parts(18_927_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -408,8 +412,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `528`
// Estimated: `3643`
// Minimum execution time: 20_404_000 picoseconds.
Weight::from_parts(20_999_000, 3643)
// Minimum execution time: 18_350_000 picoseconds.
Weight::from_parts(19_072_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -419,8 +423,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3517`
// Minimum execution time: 17_047_000 picoseconds.
Weight::from_parts(17_307_000, 3517)
// Minimum execution time: 14_729_000 picoseconds.
Weight::from_parts(15_084_000, 3517)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -432,8 +436,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 17_829_000 picoseconds.
Weight::from_parts(18_194_000, 3643)
// Minimum execution time: 14_907_000 picoseconds.
Weight::from_parts(15_556_000, 3643)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -445,8 +449,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3587`
// Minimum execution time: 17_620_000 picoseconds.
Weight::from_parts(17_931_000, 3587)
// Minimum execution time: 15_312_000 picoseconds.
Weight::from_parts(15_721_000, 3587)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -462,8 +466,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `607`
// Estimated: `3643`
// Minimum execution time: 39_550_000 picoseconds.
Weight::from_parts(40_052_000, 3643)
// Minimum execution time: 35_381_000 picoseconds.
Weight::from_parts(36_347_000, 3643)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -479,8 +483,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `249`
// Estimated: `3643`
// Minimum execution time: 32_067_000 picoseconds.
Weight::from_parts(32_817_000, 3643)
// Minimum execution time: 30_534_000 picoseconds.
Weight::from_parts(31_876_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -492,8 +496,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3643`
// Minimum execution time: 16_365_000 picoseconds.
Weight::from_parts(16_707_000, 3643)
// Minimum execution time: 14_394_000 picoseconds.
Weight::from_parts(15_042_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -520,14 +524,14 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `418 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
// Estimated: `3643 + a * (2839 ±0) + m * (2583 ±0) + n * (2597 ±0)`
// Minimum execution time: 2_498_918_000 picoseconds.
Weight::from_parts(2_516_809_000, 3643)
// Standard Error: 26_297
.saturating_add(Weight::from_parts(6_648_035, 0).saturating_mul(n.into()))
// Standard Error: 26_297
.saturating_add(Weight::from_parts(354_268, 0).saturating_mul(m.into()))
// Standard Error: 26_297
.saturating_add(Weight::from_parts(223_770, 0).saturating_mul(a.into()))
// Minimum execution time: 3_025_324_000 picoseconds.
Weight::from_parts(3_050_363_000, 3643)
// Standard Error: 30_739
.saturating_add(Weight::from_parts(6_839_633, 0).saturating_mul(n.into()))
// Standard Error: 30_739
.saturating_add(Weight::from_parts(291_566, 0).saturating_mul(m.into()))
// Standard Error: 30_739
.saturating_add(Weight::from_parts(514_334, 0).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
@@ -552,8 +556,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 38_157_000 picoseconds.
Weight::from_parts(38_677_000, 3643)
// Minimum execution time: 35_959_000 picoseconds.
Weight::from_parts(36_974_000, 3643)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -569,8 +573,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 39_069_000 picoseconds.
Weight::from_parts(40_442_000, 3643)
// Minimum execution time: 37_318_000 picoseconds.
Weight::from_parts(38_531_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -586,8 +590,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 28_085_000 picoseconds.
Weight::from_parts(28_403_000, 3643)
// Minimum execution time: 25_943_000 picoseconds.
Weight::from_parts(27_112_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -600,10 +604,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `805 + i * (76 ±0)`
// Estimated: `3643 + i * (2597 ±0)`
// Minimum execution time: 16_202_000 picoseconds.
Weight::from_parts(16_380_000, 3643)
// Standard Error: 18_639
.saturating_add(Weight::from_parts(16_047_161, 0).saturating_mul(i.into()))
// Minimum execution time: 13_946_000 picoseconds.
Weight::from_parts(14_259_000, 3643)
// Standard Error: 14_996
.saturating_add(Weight::from_parts(16_873_386, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -618,8 +622,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 20_131_000 picoseconds.
Weight::from_parts(20_535_000, 3643)
// Minimum execution time: 17_872_000 picoseconds.
Weight::from_parts(18_398_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -631,8 +635,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 19_895_000 picoseconds.
Weight::from_parts(20_198_000, 3643)
// Minimum execution time: 17_623_000 picoseconds.
Weight::from_parts(18_401_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -642,8 +646,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 15_312_000 picoseconds.
Weight::from_parts(15_555_000, 3643)
// Minimum execution time: 12_967_000 picoseconds.
Weight::from_parts(13_462_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -653,8 +657,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 15_145_000 picoseconds.
Weight::from_parts(15_371_000, 3643)
// Minimum execution time: 12_840_000 picoseconds.
Weight::from_parts(13_375_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -668,8 +672,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `423`
// Estimated: `3643`
// Minimum execution time: 23_800_000 picoseconds.
Weight::from_parts(23_991_000, 3643)
// Minimum execution time: 21_594_000 picoseconds.
Weight::from_parts(22_151_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -679,8 +683,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 15_929_000 picoseconds.
Weight::from_parts(16_219_000, 3643)
// Minimum execution time: 13_388_000 picoseconds.
Weight::from_parts(14_130_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -692,8 +696,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 18_617_000 picoseconds.
Weight::from_parts(19_016_000, 3643)
// Minimum execution time: 16_539_000 picoseconds.
Weight::from_parts(17_107_000, 3643)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -707,8 +711,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `547`
// Estimated: `3829`
// Minimum execution time: 41_982_000 picoseconds.
Weight::from_parts(42_329_000, 3829)
// Minimum execution time: 39_314_000 picoseconds.
Weight::from_parts(40_531_000, 3829)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -722,8 +726,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `936`
// Estimated: `3829`
// Minimum execution time: 39_921_000 picoseconds.
Weight::from_parts(40_499_000, 3829)
// Minimum execution time: 37_804_000 picoseconds.
Weight::from_parts(38_790_000, 3829)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -735,8 +739,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `415`
// Estimated: `3643`
// Minimum execution time: 31_774_000 picoseconds.
Weight::from_parts(32_327_000, 3643)
// Minimum execution time: 29_583_000 picoseconds.
Weight::from_parts(30_559_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -748,8 +752,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `547`
// Estimated: `3643`
// Minimum execution time: 32_551_000 picoseconds.
Weight::from_parts(32_891_000, 3643)
// Minimum execution time: 30_036_000 picoseconds.
Weight::from_parts(31_043_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -761,8 +765,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 33_490_000 picoseconds.
Weight::from_parts(34_617_000, 3643)
// Minimum execution time: 31_063_000 picoseconds.
Weight::from_parts(31_803_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -774,8 +778,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `461`
// Estimated: `3643`
// Minimum execution time: 31_691_000 picoseconds.
Weight::from_parts(32_042_000, 3643)
// Minimum execution time: 29_707_000 picoseconds.
Weight::from_parts(30_428_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -787,8 +791,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3643`
// Minimum execution time: 20_738_000 picoseconds.
Weight::from_parts(21_067_000, 3643)
// Minimum execution time: 18_328_000 picoseconds.
Weight::from_parts(18_927_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -800,8 +804,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `528`
// Estimated: `3643`
// Minimum execution time: 20_404_000 picoseconds.
Weight::from_parts(20_999_000, 3643)
// Minimum execution time: 18_350_000 picoseconds.
Weight::from_parts(19_072_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -811,8 +815,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `109`
// Estimated: `3517`
// Minimum execution time: 17_047_000 picoseconds.
Weight::from_parts(17_307_000, 3517)
// Minimum execution time: 14_729_000 picoseconds.
Weight::from_parts(15_084_000, 3517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -824,8 +828,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `3643`
// Minimum execution time: 17_829_000 picoseconds.
Weight::from_parts(18_194_000, 3643)
// Minimum execution time: 14_907_000 picoseconds.
Weight::from_parts(15_556_000, 3643)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -837,8 +841,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3587`
// Minimum execution time: 17_620_000 picoseconds.
Weight::from_parts(17_931_000, 3587)
// Minimum execution time: 15_312_000 picoseconds.
Weight::from_parts(15_721_000, 3587)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -854,8 +858,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `607`
// Estimated: `3643`
// Minimum execution time: 39_550_000 picoseconds.
Weight::from_parts(40_052_000, 3643)
// Minimum execution time: 35_381_000 picoseconds.
Weight::from_parts(36_347_000, 3643)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
+39 -35
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_utility
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_utility
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_utility.
pub trait WeightInfo {
@@ -63,44 +67,44 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_932_000 picoseconds.
Weight::from_parts(24_064_040, 0)
// Standard Error: 2_486
.saturating_add(Weight::from_parts(4_238_449, 0).saturating_mul(c.into()))
// Minimum execution time: 6_763_000 picoseconds.
Weight::from_parts(16_943_157, 0)
// Standard Error: 1_904
.saturating_add(Weight::from_parts(4_653_855, 0).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_536_000 picoseconds.
Weight::from_parts(5_963_000, 0)
// Minimum execution time: 5_149_000 picoseconds.
Weight::from_parts(5_268_000, 0)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_820_000 picoseconds.
Weight::from_parts(18_969_535, 0)
// Standard Error: 2_228
.saturating_add(Weight::from_parts(4_448_073, 0).saturating_mul(c.into()))
// Minimum execution time: 6_976_000 picoseconds.
Weight::from_parts(16_448_433, 0)
// Standard Error: 1_834
.saturating_add(Weight::from_parts(4_796_983, 0).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_811_000 picoseconds.
Weight::from_parts(10_162_000, 0)
// Minimum execution time: 9_102_000 picoseconds.
Weight::from_parts(9_353_000, 0)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_829_000 picoseconds.
Weight::from_parts(12_960_288, 0)
// Standard Error: 2_222
.saturating_add(Weight::from_parts(4_272_019, 0).saturating_mul(c.into()))
// Minimum execution time: 6_840_000 picoseconds.
Weight::from_parts(17_748_474, 0)
// Standard Error: 2_059
.saturating_add(Weight::from_parts(4_630_079, 0).saturating_mul(c.into()))
}
}
@@ -111,43 +115,43 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_932_000 picoseconds.
Weight::from_parts(24_064_040, 0)
// Standard Error: 2_486
.saturating_add(Weight::from_parts(4_238_449, 0).saturating_mul(c.into()))
// Minimum execution time: 6_763_000 picoseconds.
Weight::from_parts(16_943_157, 0)
// Standard Error: 1_904
.saturating_add(Weight::from_parts(4_653_855, 0).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_536_000 picoseconds.
Weight::from_parts(5_963_000, 0)
// Minimum execution time: 5_149_000 picoseconds.
Weight::from_parts(5_268_000, 0)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_820_000 picoseconds.
Weight::from_parts(18_969_535, 0)
// Standard Error: 2_228
.saturating_add(Weight::from_parts(4_448_073, 0).saturating_mul(c.into()))
// Minimum execution time: 6_976_000 picoseconds.
Weight::from_parts(16_448_433, 0)
// Standard Error: 1_834
.saturating_add(Weight::from_parts(4_796_983, 0).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_811_000 picoseconds.
Weight::from_parts(10_162_000, 0)
// Minimum execution time: 9_102_000 picoseconds.
Weight::from_parts(9_353_000, 0)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_829_000 picoseconds.
Weight::from_parts(12_960_288, 0)
// Standard Error: 2_222
.saturating_add(Weight::from_parts(4_272_019, 0).saturating_mul(c.into()))
// Minimum execution time: 6_840_000 picoseconds.
Weight::from_parts(17_748_474, 0)
// Standard Error: 2_059
.saturating_add(Weight::from_parts(4_630_079, 0).saturating_mul(c.into()))
}
}
+103 -99
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_vesting
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_vesting
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_vesting.
pub trait WeightInfo {
@@ -73,12 +77,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 36_182_000 picoseconds.
Weight::from_parts(35_159_830, 4764)
// Standard Error: 952
.saturating_add(Weight::from_parts(63_309, 0).saturating_mul(l.into()))
// Standard Error: 1_694
.saturating_add(Weight::from_parts(62_244, 0).saturating_mul(s.into()))
// Minimum execution time: 35_336_000 picoseconds.
Weight::from_parts(34_290_169, 4764)
// Standard Error: 1_381
.saturating_add(Weight::from_parts(76_354, 0).saturating_mul(l.into()))
// Standard Error: 2_457
.saturating_add(Weight::from_parts(81_362, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -94,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 39_344_000 picoseconds.
Weight::from_parts(38_921_936, 4764)
// Standard Error: 1_283
.saturating_add(Weight::from_parts(61_531, 0).saturating_mul(l.into()))
// Standard Error: 2_283
.saturating_add(Weight::from_parts(36_175, 0).saturating_mul(s.into()))
// Minimum execution time: 38_540_000 picoseconds.
Weight::from_parts(38_893_820, 4764)
// Standard Error: 1_710
.saturating_add(Weight::from_parts(62_106, 0).saturating_mul(l.into()))
// Standard Error: 3_043
.saturating_add(Weight::from_parts(41_966, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -117,12 +121,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 39_461_000 picoseconds.
Weight::from_parts(38_206_465, 4764)
// Standard Error: 743
.saturating_add(Weight::from_parts(56_973, 0).saturating_mul(l.into()))
// Standard Error: 1_322
.saturating_add(Weight::from_parts(65_059, 0).saturating_mul(s.into()))
// Minimum execution time: 37_529_000 picoseconds.
Weight::from_parts(36_781_151, 4764)
// Standard Error: 1_490
.saturating_add(Weight::from_parts(76_322, 0).saturating_mul(l.into()))
// Standard Error: 2_652
.saturating_add(Weight::from_parts(76_914, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -140,12 +144,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 42_029_000 picoseconds.
Weight::from_parts(42_153_438, 4764)
// Standard Error: 1_108
.saturating_add(Weight::from_parts(50_058, 0).saturating_mul(l.into()))
// Standard Error: 1_971
.saturating_add(Weight::from_parts(32_391, 0).saturating_mul(s.into()))
// Minimum execution time: 41_217_000 picoseconds.
Weight::from_parts(40_942_515, 4764)
// Standard Error: 2_098
.saturating_add(Weight::from_parts(65_213, 0).saturating_mul(l.into()))
// Standard Error: 3_733
.saturating_add(Weight::from_parts(63_326, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -163,12 +167,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 75_223_000 picoseconds.
Weight::from_parts(76_675_778, 4764)
// Standard Error: 2_534
.saturating_add(Weight::from_parts(70_731, 0).saturating_mul(l.into()))
// Standard Error: 4_509
.saturating_add(Weight::from_parts(108_866, 0).saturating_mul(s.into()))
// Minimum execution time: 76_396_000 picoseconds.
Weight::from_parts(77_085_336, 4764)
// Standard Error: 2_795
.saturating_add(Weight::from_parts(88_995, 0).saturating_mul(l.into()))
// Standard Error: 4_974
.saturating_add(Weight::from_parts(135_384, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -186,12 +190,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `6196`
// Minimum execution time: 76_922_000 picoseconds.
Weight::from_parts(78_634_098, 6196)
// Standard Error: 2_099
.saturating_add(Weight::from_parts(68_218, 0).saturating_mul(l.into()))
// Standard Error: 3_736
.saturating_add(Weight::from_parts(95_990, 0).saturating_mul(s.into()))
// Minimum execution time: 77_312_000 picoseconds.
Weight::from_parts(79_600_900, 6196)
// Standard Error: 3_232
.saturating_add(Weight::from_parts(78_018, 0).saturating_mul(l.into()))
// Standard Error: 5_750
.saturating_add(Weight::from_parts(100_848, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -209,12 +213,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 39_476_000 picoseconds.
Weight::from_parts(38_261_747, 4764)
// Standard Error: 1_794
.saturating_add(Weight::from_parts(69_639, 0).saturating_mul(l.into()))
// Standard Error: 3_313
.saturating_add(Weight::from_parts(73_202, 0).saturating_mul(s.into()))
// Minimum execution time: 38_769_000 picoseconds.
Weight::from_parts(37_752_437, 4764)
// Standard Error: 1_415
.saturating_add(Weight::from_parts(78_398, 0).saturating_mul(l.into()))
// Standard Error: 2_614
.saturating_add(Weight::from_parts(78_922, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -232,12 +236,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 43_764_000 picoseconds.
Weight::from_parts(42_679_386, 4764)
// Standard Error: 1_224
.saturating_add(Weight::from_parts(65_857, 0).saturating_mul(l.into()))
// Standard Error: 2_261
.saturating_add(Weight::from_parts(70_861, 0).saturating_mul(s.into()))
// Minimum execution time: 43_021_000 picoseconds.
Weight::from_parts(42_182_858, 4764)
// Standard Error: 1_747
.saturating_add(Weight::from_parts(83_938, 0).saturating_mul(l.into()))
// Standard Error: 3_227
.saturating_add(Weight::from_parts(84_652, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -257,12 +261,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 36_182_000 picoseconds.
Weight::from_parts(35_159_830, 4764)
// Standard Error: 952
.saturating_add(Weight::from_parts(63_309, 0).saturating_mul(l.into()))
// Standard Error: 1_694
.saturating_add(Weight::from_parts(62_244, 0).saturating_mul(s.into()))
// Minimum execution time: 35_336_000 picoseconds.
Weight::from_parts(34_290_169, 4764)
// Standard Error: 1_381
.saturating_add(Weight::from_parts(76_354, 0).saturating_mul(l.into()))
// Standard Error: 2_457
.saturating_add(Weight::from_parts(81_362, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -278,12 +282,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 39_344_000 picoseconds.
Weight::from_parts(38_921_936, 4764)
// Standard Error: 1_283
.saturating_add(Weight::from_parts(61_531, 0).saturating_mul(l.into()))
// Standard Error: 2_283
.saturating_add(Weight::from_parts(36_175, 0).saturating_mul(s.into()))
// Minimum execution time: 38_540_000 picoseconds.
Weight::from_parts(38_893_820, 4764)
// Standard Error: 1_710
.saturating_add(Weight::from_parts(62_106, 0).saturating_mul(l.into()))
// Standard Error: 3_043
.saturating_add(Weight::from_parts(41_966, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -301,12 +305,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 39_461_000 picoseconds.
Weight::from_parts(38_206_465, 4764)
// Standard Error: 743
.saturating_add(Weight::from_parts(56_973, 0).saturating_mul(l.into()))
// Standard Error: 1_322
.saturating_add(Weight::from_parts(65_059, 0).saturating_mul(s.into()))
// Minimum execution time: 37_529_000 picoseconds.
Weight::from_parts(36_781_151, 4764)
// Standard Error: 1_490
.saturating_add(Weight::from_parts(76_322, 0).saturating_mul(l.into()))
// Standard Error: 2_652
.saturating_add(Weight::from_parts(76_914, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -324,12 +328,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 42_029_000 picoseconds.
Weight::from_parts(42_153_438, 4764)
// Standard Error: 1_108
.saturating_add(Weight::from_parts(50_058, 0).saturating_mul(l.into()))
// Standard Error: 1_971
.saturating_add(Weight::from_parts(32_391, 0).saturating_mul(s.into()))
// Minimum execution time: 41_217_000 picoseconds.
Weight::from_parts(40_942_515, 4764)
// Standard Error: 2_098
.saturating_add(Weight::from_parts(65_213, 0).saturating_mul(l.into()))
// Standard Error: 3_733
.saturating_add(Weight::from_parts(63_326, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -347,12 +351,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 75_223_000 picoseconds.
Weight::from_parts(76_675_778, 4764)
// Standard Error: 2_534
.saturating_add(Weight::from_parts(70_731, 0).saturating_mul(l.into()))
// Standard Error: 4_509
.saturating_add(Weight::from_parts(108_866, 0).saturating_mul(s.into()))
// Minimum execution time: 76_396_000 picoseconds.
Weight::from_parts(77_085_336, 4764)
// Standard Error: 2_795
.saturating_add(Weight::from_parts(88_995, 0).saturating_mul(l.into()))
// Standard Error: 4_974
.saturating_add(Weight::from_parts(135_384, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -370,12 +374,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `6196`
// Minimum execution time: 76_922_000 picoseconds.
Weight::from_parts(78_634_098, 6196)
// Standard Error: 2_099
.saturating_add(Weight::from_parts(68_218, 0).saturating_mul(l.into()))
// Standard Error: 3_736
.saturating_add(Weight::from_parts(95_990, 0).saturating_mul(s.into()))
// Minimum execution time: 77_312_000 picoseconds.
Weight::from_parts(79_600_900, 6196)
// Standard Error: 3_232
.saturating_add(Weight::from_parts(78_018, 0).saturating_mul(l.into()))
// Standard Error: 5_750
.saturating_add(Weight::from_parts(100_848, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -393,12 +397,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 39_476_000 picoseconds.
Weight::from_parts(38_261_747, 4764)
// Standard Error: 1_794
.saturating_add(Weight::from_parts(69_639, 0).saturating_mul(l.into()))
// Standard Error: 3_313
.saturating_add(Weight::from_parts(73_202, 0).saturating_mul(s.into()))
// Minimum execution time: 38_769_000 picoseconds.
Weight::from_parts(37_752_437, 4764)
// Standard Error: 1_415
.saturating_add(Weight::from_parts(78_398, 0).saturating_mul(l.into()))
// Standard Error: 2_614
.saturating_add(Weight::from_parts(78_922, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -416,12 +420,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `4764`
// Minimum execution time: 43_764_000 picoseconds.
Weight::from_parts(42_679_386, 4764)
// Standard Error: 1_224
.saturating_add(Weight::from_parts(65_857, 0).saturating_mul(l.into()))
// Standard Error: 2_261
.saturating_add(Weight::from_parts(70_861, 0).saturating_mul(s.into()))
// Minimum execution time: 43_021_000 picoseconds.
Weight::from_parts(42_182_858, 4764)
// Standard Error: 1_747
.saturating_add(Weight::from_parts(83_938, 0).saturating_mul(l.into()))
// Standard Error: 3_227
.saturating_add(Weight::from_parts(84_652, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
+29 -25
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_whitelist
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,6 +31,9 @@
// --steps=50
// --repeat=20
// --pallet=pallet_whitelist
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -42,9 +45,10 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions needed for pallet_whitelist.
pub trait WeightInfo {
@@ -65,8 +69,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `217`
// Estimated: `3556`
// Minimum execution time: 21_370_000 picoseconds.
Weight::from_parts(21_834_000, 3556)
// Minimum execution time: 19_914_000 picoseconds.
Weight::from_parts(20_892_000, 3556)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -78,8 +82,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `346`
// Estimated: `3556`
// Minimum execution time: 19_222_000 picoseconds.
Weight::from_parts(19_582_000, 3556)
// Minimum execution time: 18_142_000 picoseconds.
Weight::from_parts(18_529_000, 3556)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -94,10 +98,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `422 + n * (1 ±0)`
// Estimated: `3886 + n * (1 ±0)`
// Minimum execution time: 31_417_000 picoseconds.
Weight::from_parts(31_620_000, 3886)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into()))
// Minimum execution time: 30_671_000 picoseconds.
Weight::from_parts(31_197_000, 3886)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_163, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
@@ -111,10 +115,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `346`
// Estimated: `3556`
// Minimum execution time: 23_092_000 picoseconds.
Weight::from_parts(24_043_432, 3556)
// Minimum execution time: 22_099_000 picoseconds.
Weight::from_parts(23_145_477, 3556)
// Standard Error: 5
.saturating_add(Weight::from_parts(1_227, 0).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(1_422, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -130,8 +134,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `217`
// Estimated: `3556`
// Minimum execution time: 21_370_000 picoseconds.
Weight::from_parts(21_834_000, 3556)
// Minimum execution time: 19_914_000 picoseconds.
Weight::from_parts(20_892_000, 3556)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -143,8 +147,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `346`
// Estimated: `3556`
// Minimum execution time: 19_222_000 picoseconds.
Weight::from_parts(19_582_000, 3556)
// Minimum execution time: 18_142_000 picoseconds.
Weight::from_parts(18_529_000, 3556)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -159,10 +163,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `422 + n * (1 ±0)`
// Estimated: `3886 + n * (1 ±0)`
// Minimum execution time: 31_417_000 picoseconds.
Weight::from_parts(31_620_000, 3886)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into()))
// Minimum execution time: 30_671_000 picoseconds.
Weight::from_parts(31_197_000, 3886)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_163, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
@@ -176,10 +180,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `346`
// Estimated: `3556`
// Minimum execution time: 23_092_000 picoseconds.
Weight::from_parts(24_043_432, 3556)
// Minimum execution time: 22_099_000 picoseconds.
Weight::from_parts(23_145_477, 3556)
// Standard Error: 5
.saturating_add(Weight::from_parts(1_227, 0).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(1_422, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}