mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Update all weights, add run_all_benches.sh script (#3400)
* update all weights * add run_all_benches.sh
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for runtime_common::slots
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-06-25, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2021-07-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -31,7 +31,7 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/westend/src/weights/runtime_common_slots.rs
|
||||
// --output=./runtime/westend/src/weights/
|
||||
|
||||
|
||||
#![allow(unused_parens)]
|
||||
@@ -44,16 +44,16 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T> {
|
||||
fn force_lease() -> Weight {
|
||||
(53_939_000 as Weight)
|
||||
(45_355_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
|
||||
(0 as Weight)
|
||||
// Standard Error: 37_000
|
||||
.saturating_add((19_723_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 37_000
|
||||
.saturating_add((42_186_000 as Weight).saturating_mul(t as Weight))
|
||||
// Standard Error: 16_000
|
||||
.saturating_add((16_002_000 as Weight).saturating_mul(c as Weight))
|
||||
// Standard Error: 16_000
|
||||
.saturating_add((33_337_000 as Weight).saturating_mul(t as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
|
||||
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(t as Weight)))
|
||||
@@ -62,12 +62,12 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
|
||||
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(t as Weight)))
|
||||
}
|
||||
fn clear_all_leases() -> Weight {
|
||||
(249_570_000 as Weight)
|
||||
(191_822_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(9 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(9 as Weight))
|
||||
}
|
||||
fn trigger_onboard() -> Weight {
|
||||
(49_692_000 as Weight)
|
||||
(40_822_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user