mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +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 pallet_gilt
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-06-18, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,50 +44,50 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
(51_257_000 as Weight)
|
||||
(57_179_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((171_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((195_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 {
|
||||
(196_161_000 as Weight)
|
||||
(226_003_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 {
|
||||
(51_317_000 as Weight)
|
||||
(57_082_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((144_000 as Weight).saturating_mul(l as Weight))
|
||||
.saturating_add((166_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 {
|
||||
(5_785_000 as Weight)
|
||||
(5_948_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn thaw() -> Weight {
|
||||
(68_092_000 as Weight)
|
||||
(70_070_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_242_000 as Weight)
|
||||
(3_347_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
}
|
||||
fn pursue_target_per_item(b: u32, ) -> Weight {
|
||||
(52_205_000 as Weight)
|
||||
(56_853_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((9_944_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add((10_238_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 {
|
||||
(16_887_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((16_321_000 as Weight).saturating_mul(q as Weight))
|
||||
(23_272_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((16_821_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))
|
||||
|
||||
Reference in New Issue
Block a user