#235 Updated benchmarks for the next release (#238)

Added benchmarking for EVM template.
Updated benchmarking for Generic Templates.
Fixed config for EVM template.
Added benchmarking utils.
This commit is contained in:
Nikita Khateev
2024-06-28 15:49:02 +04:00
committed by GitHub
parent 3c9696b982
commit be0abb6bf1
57 changed files with 5982 additions and 493 deletions
@@ -2,7 +2,7 @@
//! Autogenerated weights for `pallet_session`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-04-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-172-31-15-118`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024
@@ -16,10 +16,10 @@
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=results-pallet_session.json
// --json-file=benchmarking/results/results-pallet_session.json
// --pallet=pallet_session
// --chain=dev
// --output=new-benchmarks/pallet_session.rs
// --output=benchmarking/new-benchmarks/pallet_session.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -40,8 +40,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `3763`
// Minimum execution time: 21_752_000 picoseconds.
Weight::from_parts(22_330_000, 0)
// Minimum execution time: 21_355_000 picoseconds.
Weight::from_parts(22_180_000, 0)
.saturating_add(Weight::from_parts(0, 3763))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `280`
// Estimated: `3745`
// Minimum execution time: 15_661_000 picoseconds.
Weight::from_parts(16_188_000, 0)
// Minimum execution time: 15_417_000 picoseconds.
Weight::from_parts(16_045_000, 0)
.saturating_add(Weight::from_parts(0, 3745))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))