Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark for liquidity mining #313

Merged
merged 1 commit into from
Sep 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions runtime/bifrost/src/weights/bifrost_liquidity_mining.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for `bifrost_liquidity_mining`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-09-23, STEPS: `50`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-09-24, STEPS: `50`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bifrost-local"), DB CACHE: 128

// Executed Command:
Expand All @@ -34,7 +34,7 @@
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./HEADER-GPL3
// --output=./runtime/bifrost/src/weights/bifrost_liquidity_mining
// --output=./runtime/bifrost/src/weights/bifrost-liquidity-mining.rs


#![cfg_attr(rustfmt, rustfmt_skip)]
Expand All @@ -56,7 +56,7 @@ impl<T: frame_system::Config> bifrost_liquidity_mining::WeightInfo for WeightInf
// Storage: System EventCount (r:1 w:1)
// Storage: System Events (r:1 w:1)
fn charge() -> Weight {
(132_000_000 as Weight)
(332_610_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
}
Expand All @@ -69,7 +69,7 @@ impl<T: frame_system::Config> bifrost_liquidity_mining::WeightInfo for WeightInf
// Storage: System EventCount (r:1 w:1)
// Storage: System Events (r:1 w:1)
fn deposit() -> Weight {
(88_000_000 as Weight)
(250_610_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
Expand All @@ -83,7 +83,7 @@ impl<T: frame_system::Config> bifrost_liquidity_mining::WeightInfo for WeightInf
// Storage: System Events (r:1 w:1)
// Storage: Tokens Locks (r:2 w:2)
fn redeem() -> Weight {
(179_000_000 as Weight)
(446_501_000 as Weight)
.saturating_add(T::DbWeight::get().reads(13 as Weight))
.saturating_add(T::DbWeight::get().writes(11 as Weight))
}
Expand All @@ -97,7 +97,7 @@ impl<T: frame_system::Config> bifrost_liquidity_mining::WeightInfo for WeightInf
// Storage: System Events (r:1 w:1)
// Storage: Tokens Locks (r:2 w:2)
fn volunteer_to_redeem() -> Weight {
(199_000_000 as Weight)
(497_906_000 as Weight)
.saturating_add(T::DbWeight::get().reads(14 as Weight))
.saturating_add(T::DbWeight::get().writes(11 as Weight))
}
Expand All @@ -110,7 +110,7 @@ impl<T: frame_system::Config> bifrost_liquidity_mining::WeightInfo for WeightInf
// Storage: System EventCount (r:1 w:1)
// Storage: System Events (r:1 w:1)
fn claim() -> Weight {
(117_000_000 as Weight)
(299_343_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
}
Expand Down