mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 14:57:56 +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:
@@ -18,7 +18,7 @@
|
||||
//! Autogenerated weights for pallet_gilt
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-02-23, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! 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:
|
||||
@@ -58,50 +58,50 @@ pub trait WeightInfo {
|
||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
(79_274_000 as Weight)
|
||||
(60_401_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((289_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((146_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn place_bid_max() -> Weight {
|
||||
(297_825_000 as Weight)
|
||||
(178_653_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
(79_731_000 as Weight)
|
||||
(61_026_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((231_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((119_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn set_target() -> Weight {
|
||||
(6_113_000 as Weight)
|
||||
(5_756_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn thaw() -> Weight {
|
||||
(74_792_000 as Weight)
|
||||
(72_668_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn pursue_target_noop() -> Weight {
|
||||
(3_468_000 as Weight)
|
||||
(3_449_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
}
|
||||
fn pursue_target_per_item(b: u32, ) -> Weight {
|
||||
(65_792_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((11_402_000 as Weight).saturating_mul(b as Weight))
|
||||
(58_182_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((10_005_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
|
||||
}
|
||||
fn pursue_target_per_queue(q: u32, ) -> Weight {
|
||||
(32_391_000 as Weight)
|
||||
(21_740_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((18_500_000 as Weight).saturating_mul(q as Weight))
|
||||
.saturating_add((16_849_000 as Weight).saturating_mul(q as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(q as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
@@ -112,50 +112,50 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
(79_274_000 as Weight)
|
||||
(60_401_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((289_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((146_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn place_bid_max() -> Weight {
|
||||
(297_825_000 as Weight)
|
||||
(178_653_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
(79_731_000 as Weight)
|
||||
(61_026_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((231_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((119_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn set_target() -> Weight {
|
||||
(6_113_000 as Weight)
|
||||
(5_756_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn thaw() -> Weight {
|
||||
(74_792_000 as Weight)
|
||||
(72_668_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn pursue_target_noop() -> Weight {
|
||||
(3_468_000 as Weight)
|
||||
(3_449_000 as Weight)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
|
||||
}
|
||||
fn pursue_target_per_item(b: u32, ) -> Weight {
|
||||
(65_792_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((11_402_000 as Weight).saturating_mul(b as Weight))
|
||||
(58_182_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((10_005_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
|
||||
}
|
||||
fn pursue_target_per_queue(q: u32, ) -> Weight {
|
||||
(32_391_000 as Weight)
|
||||
(21_740_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((18_500_000 as Weight).saturating_mul(q as Weight))
|
||||
.saturating_add((16_849_000 as Weight).saturating_mul(q as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(q as Weight)))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
|
||||
|
||||
Reference in New Issue
Block a user