mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
New Weights for All Pallets (#9148)
* Create run_benchmarks.sh * Update run_benchmarks.sh * new weights * Delete run_benchmarks.sh * wrong folder * remove grandpa weight * Update weights.rs
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
|
||||
//! Autogenerated weights for pallet_lottery
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2021-01-05, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-06-19, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -56,33 +56,33 @@ pub trait WeightInfo {
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn buy_ticket() -> Weight {
|
||||
(97_799_000 as Weight)
|
||||
(71_604_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn set_calls(n: u32, ) -> Weight {
|
||||
(20_932_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((513_000 as Weight).saturating_mul(n as Weight))
|
||||
(15_015_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((301_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn start_lottery() -> Weight {
|
||||
(77_600_000 as Weight)
|
||||
(58_855_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn stop_repeat() -> Weight {
|
||||
(10_707_000 as Weight)
|
||||
(7_524_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn on_initialize_end() -> Weight {
|
||||
(162_126_000 as Weight)
|
||||
(114_766_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn on_initialize_repeat() -> Weight {
|
||||
(169_310_000 as Weight)
|
||||
(119_402_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
@@ -91,33 +91,33 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
fn buy_ticket() -> Weight {
|
||||
(97_799_000 as Weight)
|
||||
(71_604_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn set_calls(n: u32, ) -> Weight {
|
||||
(20_932_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((513_000 as Weight).saturating_mul(n as Weight))
|
||||
(15_015_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((301_000 as Weight).saturating_mul(n as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn start_lottery() -> Weight {
|
||||
(77_600_000 as Weight)
|
||||
(58_855_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn stop_repeat() -> Weight {
|
||||
(10_707_000 as Weight)
|
||||
(7_524_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn on_initialize_end() -> Weight {
|
||||
(162_126_000 as Weight)
|
||||
(114_766_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn on_initialize_repeat() -> Weight {
|
||||
(169_310_000 as Weight)
|
||||
(119_402_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(7 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user