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

Rerun benchmarks #1369

Merged
merged 3 commits into from
Aug 31, 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
2 changes: 1 addition & 1 deletion orml
14 changes: 7 additions & 7 deletions runtime/karura/src/weights/module_auction_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

//! Autogenerated weights for module_auction_manager
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128

// Executed Command:
// target/release/acala
// benchmark
// --chain=karura-latest
// --chain=karura-dev
// --steps=50
// --repeat=20
// --pallet=*
Expand All @@ -48,8 +48,8 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> module_auction_manager::WeightInfo for WeightInfo<T> {
fn cancel_collateral_auction() -> Weight {
(167_880_000 as Weight)
.saturating_add(T::DbWeight::get().reads(10 as Weight))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
(144_908_000 as Weight)
.saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
}
34 changes: 17 additions & 17 deletions runtime/karura/src/weights/module_cdp_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

//! Autogenerated weights for module_cdp_engine
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128

// Executed Command:
// target/release/acala
// benchmark
// --chain=karura-latest
// --chain=karura-dev
// --steps=50
// --repeat=20
// --pallet=*
Expand All @@ -48,34 +48,34 @@ 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 {
(39_230_000 as Weight)
// Standard Error: 76_000
.saturating_add((5_596_000 as Weight).saturating_mul(c as Weight))
(33_833_000 as Weight)
// Standard Error: 65_000
.saturating_add((4_102_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn set_collateral_params() -> Weight {
(72_051_000 as Weight)
(58_369_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 {
(23_355_000 as Weight)
(19_431_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn liquidate_by_auction() -> Weight {
(304_585_000 as Weight)
.saturating_add(T::DbWeight::get().reads(21 as Weight))
.saturating_add(T::DbWeight::get().writes(15 as Weight))
(310_239_000 as Weight)
.saturating_add(T::DbWeight::get().reads(24 as Weight))
.saturating_add(T::DbWeight::get().writes(17 as Weight))
}
fn liquidate_by_dex() -> Weight {
(431_778_000 as Weight)
.saturating_add(T::DbWeight::get().reads(24 as Weight))
.saturating_add(T::DbWeight::get().writes(15 as Weight))
(413_203_000 as Weight)
.saturating_add(T::DbWeight::get().reads(27 as Weight))
.saturating_add(T::DbWeight::get().writes(16 as Weight))
}
fn settle() -> Weight {
(189_487_000 as Weight)
.saturating_add(T::DbWeight::get().reads(12 as Weight))
(168_511_000 as Weight)
.saturating_add(T::DbWeight::get().reads(13 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
}
}
16 changes: 8 additions & 8 deletions runtime/karura/src/weights/module_cdp_treasury.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

//! Autogenerated weights for module_cdp_treasury
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128

// Executed Command:
// target/release/acala
// benchmark
// --chain=karura-latest
// --chain=karura-dev
// --steps=50
// --repeat=20
// --pallet=*
Expand All @@ -48,16 +48,16 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> module_cdp_treasury::WeightInfo for WeightInfo<T> {
fn auction_collateral() -> Weight {
(76_537_000 as Weight)
(67_011_000 as Weight)
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
}
fn set_expected_collateral_auction_size() -> Weight {
(24_995_000 as Weight)
(21_097_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn extract_surplus_to_treasury() -> Weight {
(84_873_000 as Weight)
(73_179_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand Down
56 changes: 27 additions & 29 deletions runtime/karura/src/weights/module_collator_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

//! Autogenerated weights for module_collator_selection
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128

// Executed Command:
// target/release/acala
// benchmark
// --chain=karura-latest
// --chain=karura-dev
// --steps=50
// --repeat=20
// --pallet=*
Expand All @@ -48,69 +48,67 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> module_collator_selection::WeightInfo for WeightInfo<T> {
fn set_invulnerables(b: u32, ) -> Weight {
(22_991_000 as Weight)
// Standard Error: 8_000
.saturating_add((422_000 as Weight).saturating_mul(b as Weight))
(19_091_000 as Weight)
// Standard Error: 11_000
.saturating_add((257_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_desired_candidates() -> Weight {
(21_382_000 as Weight)
(17_387_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_candidacy_bond() -> Weight {
(22_122_000 as Weight)
(17_669_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn register_as_candidate(c: u32, ) -> Weight {
(103_150_000 as Weight)
// Standard Error: 8_000
.saturating_add((735_000 as Weight).saturating_mul(c as Weight))
(82_952_000 as Weight)
// Standard Error: 17_000
.saturating_add((563_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn register_candidate(c: u32, ) -> Weight {
(55_710_000 as Weight)
(47_412_000 as Weight)
// Standard Error: 9_000
.saturating_add((768_000 as Weight).saturating_mul(c as Weight))
.saturating_add((486_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn leave_intent(c: u32, ) -> Weight {
(43_533_000 as Weight)
// Standard Error: 10_000
.saturating_add((566_000 as Weight).saturating_mul(c as Weight))
(32_513_000 as Weight)
// Standard Error: 6_000
.saturating_add((422_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn withdraw_bond() -> Weight {
(80_641_000 as Weight)
(62_819_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn note_author() -> Weight {
(84_778_000 as Weight)
(65_677_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn new_session() -> Weight {
(44_580_000 as Weight)
(32_622_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn start_session(r: u32, c: u32, ) -> Weight {
(22_733_000 as Weight)
// Standard Error: 8_000
.saturating_add((8_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 8_000
.saturating_add((3_208_000 as Weight).saturating_mul(c as Weight))
fn start_session(_r: u32, c: u32, ) -> Weight {
(19_664_000 as Weight)
// Standard Error: 20_000
.saturating_add((2_807_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
}
fn end_session(_r: u32, c: u32, ) -> Weight {
(1_496_669_000 as Weight)
// Standard Error: 72_000
.saturating_add((10_802_000 as Weight).saturating_mul(c as Weight))
(1_202_592_000 as Weight)
// Standard Error: 65_000
.saturating_add((9_299_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes(49 as Weight))
Expand Down
18 changes: 9 additions & 9 deletions runtime/karura/src/weights/module_currencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

//! Autogenerated weights for module_currencies
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128

// Executed Command:
// target/release/acala
// benchmark
// --chain=karura-latest
// --chain=karura-dev
// --steps=50
// --repeat=20
// --pallet=*
Expand All @@ -48,27 +48,27 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> module_currencies::WeightInfo for WeightInfo<T> {
fn transfer_non_native_currency() -> Weight {
(124_284_000 as Weight)
(101_211_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn transfer_native_currency() -> Weight {
(122_245_000 as Weight)
(99_695_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn update_balance_non_native_currency() -> Weight {
(67_987_000 as Weight)
(53_836_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn update_balance_native_currency_creating() -> Weight {
(65_446_000 as Weight)
(52_771_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn update_balance_native_currency_killing() -> Weight {
(75_384_000 as Weight)
(62_244_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
Expand Down
Loading