Skip to content

Commit

Permalink
Merge branch 'fer-cdp-treasury-bench' of https://github.com/AcalaNetw…
Browse files Browse the repository at this point in the history
…ork/Acala into fer-cdp-treasury-bench
  • Loading branch information
ferrell-code committed Nov 16, 2021
2 parents 837cc83 + 8a0a3e6 commit 48f2e1f
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions runtime/mandala/src/weights/module_cdp_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for module_cdp_engine
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
// Executed Command:
Expand Down Expand Up @@ -48,35 +48,38 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> module_cdp_engine::WeightInfo for WeightInfo<T> {
fn on_initialize(c: u32, ) -> Weight {
(48_417_000 as Weight)
// Standard Error: 999_000
.saturating_add((43_934_000 as Weight).saturating_mul(c as Weight))
(48_807_000 as Weight)
// Standard Error: 1_035_000
.saturating_add((46_350_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight)))
}
fn set_collateral_params() -> Weight {
(54_959_000 as Weight)
(56_882_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_global_params() -> Weight {
(18_769_000 as Weight)
(19_257_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn liquidate_by_auction(_b: u32) -> Weight {
(3_060_628_000 as Weight)
fn liquidate_by_auction(b: u32, ) -> Weight {
(233_927_000 as Weight)
// Standard Error: 161_000
.saturating_add((30_664_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(23 as Weight))
.saturating_add(T::DbWeight::get().writes(313 as Weight))
.saturating_add(T::DbWeight::get().writes(15 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
fn liquidate_by_dex() -> Weight {
(372_358_000 as Weight)
(381_589_000 as Weight)
.saturating_add(T::DbWeight::get().reads(27 as Weight))
.saturating_add(T::DbWeight::get().writes(15 as Weight))
}
fn settle() -> Weight {
(157_754_000 as Weight)
(162_567_000 as Weight)
.saturating_add(T::DbWeight::get().reads(13 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
Expand Down

0 comments on commit 48f2e1f

Please sign in to comment.