".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
+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())))