Skip to content

Commit 53eb26e

Browse files
shaunxwAcala Benchmarking Bot
and
Acala Benchmarking Bot
authored
Rerun benchmarks (#1369)
* Update orml-benchmarking. * cargo run --release --color=never --bin=acala --features=runtime-benchmarks --features=with-karura-runtime -- benchmark --chain=karura-dev --steps=50 --repeat=20 --pallet=* --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/karura/src/weights/ Co-authored-by: Acala Benchmarking Bot <[email protected]>
1 parent 8043791 commit 53eb26e

23 files changed

+258
-257
lines changed

runtime/karura/src/weights/module_auction_manager.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
//! Autogenerated weights for module_auction_manager
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
22-
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23-
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22+
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23+
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128
2424
2525
// Executed Command:
2626
// target/release/acala
2727
// benchmark
28-
// --chain=karura-latest
28+
// --chain=karura-dev
2929
// --steps=50
3030
// --repeat=20
3131
// --pallet=*
@@ -48,8 +48,8 @@ use sp_std::marker::PhantomData;
4848
pub struct WeightInfo<T>(PhantomData<T>);
4949
impl<T: frame_system::Config> module_auction_manager::WeightInfo for WeightInfo<T> {
5050
fn cancel_collateral_auction() -> Weight {
51-
(167_880_000 as Weight)
52-
.saturating_add(T::DbWeight::get().reads(10 as Weight))
53-
.saturating_add(T::DbWeight::get().writes(7 as Weight))
51+
(144_908_000 as Weight)
52+
.saturating_add(T::DbWeight::get().reads(11 as Weight))
53+
.saturating_add(T::DbWeight::get().writes(8 as Weight))
5454
}
5555
}

runtime/karura/src/weights/module_cdp_engine.rs

+17-17
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
//! Autogenerated weights for module_cdp_engine
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
22-
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23-
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22+
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23+
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128
2424
2525
// Executed Command:
2626
// target/release/acala
2727
// benchmark
28-
// --chain=karura-latest
28+
// --chain=karura-dev
2929
// --steps=50
3030
// --repeat=20
3131
// --pallet=*
@@ -48,34 +48,34 @@ use sp_std::marker::PhantomData;
4848
pub struct WeightInfo<T>(PhantomData<T>);
4949
impl<T: frame_system::Config> module_cdp_engine::WeightInfo for WeightInfo<T> {
5050
fn on_initialize(c: u32, ) -> Weight {
51-
(39_230_000 as Weight)
52-
// Standard Error: 76_000
53-
.saturating_add((5_596_000 as Weight).saturating_mul(c as Weight))
51+
(33_833_000 as Weight)
52+
// Standard Error: 65_000
53+
.saturating_add((4_102_000 as Weight).saturating_mul(c as Weight))
5454
.saturating_add(T::DbWeight::get().reads(7 as Weight))
5555
.saturating_add(T::DbWeight::get().writes(2 as Weight))
5656
}
5757
fn set_collateral_params() -> Weight {
58-
(72_051_000 as Weight)
58+
(58_369_000 as Weight)
5959
.saturating_add(T::DbWeight::get().reads(1 as Weight))
6060
.saturating_add(T::DbWeight::get().writes(1 as Weight))
6161
}
6262
fn set_global_params() -> Weight {
63-
(23_355_000 as Weight)
63+
(19_431_000 as Weight)
6464
.saturating_add(T::DbWeight::get().writes(1 as Weight))
6565
}
6666
fn liquidate_by_auction() -> Weight {
67-
(304_585_000 as Weight)
68-
.saturating_add(T::DbWeight::get().reads(21 as Weight))
69-
.saturating_add(T::DbWeight::get().writes(15 as Weight))
67+
(310_239_000 as Weight)
68+
.saturating_add(T::DbWeight::get().reads(24 as Weight))
69+
.saturating_add(T::DbWeight::get().writes(17 as Weight))
7070
}
7171
fn liquidate_by_dex() -> Weight {
72-
(431_778_000 as Weight)
73-
.saturating_add(T::DbWeight::get().reads(24 as Weight))
74-
.saturating_add(T::DbWeight::get().writes(15 as Weight))
72+
(413_203_000 as Weight)
73+
.saturating_add(T::DbWeight::get().reads(27 as Weight))
74+
.saturating_add(T::DbWeight::get().writes(16 as Weight))
7575
}
7676
fn settle() -> Weight {
77-
(189_487_000 as Weight)
78-
.saturating_add(T::DbWeight::get().reads(12 as Weight))
77+
(168_511_000 as Weight)
78+
.saturating_add(T::DbWeight::get().reads(13 as Weight))
7979
.saturating_add(T::DbWeight::get().writes(8 as Weight))
8080
}
8181
}

runtime/karura/src/weights/module_cdp_treasury.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
//! Autogenerated weights for module_cdp_treasury
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
22-
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23-
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22+
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23+
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128
2424
2525
// Executed Command:
2626
// target/release/acala
2727
// benchmark
28-
// --chain=karura-latest
28+
// --chain=karura-dev
2929
// --steps=50
3030
// --repeat=20
3131
// --pallet=*
@@ -48,16 +48,16 @@ use sp_std::marker::PhantomData;
4848
pub struct WeightInfo<T>(PhantomData<T>);
4949
impl<T: frame_system::Config> module_cdp_treasury::WeightInfo for WeightInfo<T> {
5050
fn auction_collateral() -> Weight {
51-
(76_537_000 as Weight)
51+
(67_011_000 as Weight)
5252
.saturating_add(T::DbWeight::get().reads(6 as Weight))
53-
.saturating_add(T::DbWeight::get().writes(6 as Weight))
53+
.saturating_add(T::DbWeight::get().writes(7 as Weight))
5454
}
5555
fn set_expected_collateral_auction_size() -> Weight {
56-
(24_995_000 as Weight)
56+
(21_097_000 as Weight)
5757
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5858
}
5959
fn extract_surplus_to_treasury() -> Weight {
60-
(84_873_000 as Weight)
60+
(73_179_000 as Weight)
6161
.saturating_add(T::DbWeight::get().reads(4 as Weight))
6262
.saturating_add(T::DbWeight::get().writes(3 as Weight))
6363
}

runtime/karura/src/weights/module_collator_selection.rs

+27-29
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
//! Autogenerated weights for module_collator_selection
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
22-
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23-
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22+
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23+
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128
2424
2525
// Executed Command:
2626
// target/release/acala
2727
// benchmark
28-
// --chain=karura-latest
28+
// --chain=karura-dev
2929
// --steps=50
3030
// --repeat=20
3131
// --pallet=*
@@ -48,69 +48,67 @@ use sp_std::marker::PhantomData;
4848
pub struct WeightInfo<T>(PhantomData<T>);
4949
impl<T: frame_system::Config> module_collator_selection::WeightInfo for WeightInfo<T> {
5050
fn set_invulnerables(b: u32, ) -> Weight {
51-
(22_991_000 as Weight)
52-
// Standard Error: 8_000
53-
.saturating_add((422_000 as Weight).saturating_mul(b as Weight))
51+
(19_091_000 as Weight)
52+
// Standard Error: 11_000
53+
.saturating_add((257_000 as Weight).saturating_mul(b as Weight))
5454
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5555
}
5656
fn set_desired_candidates() -> Weight {
57-
(21_382_000 as Weight)
57+
(17_387_000 as Weight)
5858
.saturating_add(T::DbWeight::get().writes(1 as Weight))
5959
}
6060
fn set_candidacy_bond() -> Weight {
61-
(22_122_000 as Weight)
61+
(17_669_000 as Weight)
6262
.saturating_add(T::DbWeight::get().writes(1 as Weight))
6363
}
6464
fn register_as_candidate(c: u32, ) -> Weight {
65-
(103_150_000 as Weight)
66-
// Standard Error: 8_000
67-
.saturating_add((735_000 as Weight).saturating_mul(c as Weight))
65+
(82_952_000 as Weight)
66+
// Standard Error: 17_000
67+
.saturating_add((563_000 as Weight).saturating_mul(c as Weight))
6868
.saturating_add(T::DbWeight::get().reads(7 as Weight))
6969
.saturating_add(T::DbWeight::get().writes(3 as Weight))
7070
}
7171
fn register_candidate(c: u32, ) -> Weight {
72-
(55_710_000 as Weight)
72+
(47_412_000 as Weight)
7373
// Standard Error: 9_000
74-
.saturating_add((768_000 as Weight).saturating_mul(c as Weight))
74+
.saturating_add((486_000 as Weight).saturating_mul(c as Weight))
7575
.saturating_add(T::DbWeight::get().reads(5 as Weight))
7676
.saturating_add(T::DbWeight::get().writes(1 as Weight))
7777
}
7878
fn leave_intent(c: u32, ) -> Weight {
79-
(43_533_000 as Weight)
80-
// Standard Error: 10_000
81-
.saturating_add((566_000 as Weight).saturating_mul(c as Weight))
79+
(32_513_000 as Weight)
80+
// Standard Error: 6_000
81+
.saturating_add((422_000 as Weight).saturating_mul(c as Weight))
8282
.saturating_add(T::DbWeight::get().reads(2 as Weight))
8383
.saturating_add(T::DbWeight::get().writes(2 as Weight))
8484
}
8585
fn withdraw_bond() -> Weight {
86-
(80_641_000 as Weight)
86+
(62_819_000 as Weight)
8787
.saturating_add(T::DbWeight::get().reads(3 as Weight))
8888
.saturating_add(T::DbWeight::get().writes(2 as Weight))
8989
}
9090
fn note_author() -> Weight {
91-
(84_778_000 as Weight)
91+
(65_677_000 as Weight)
9292
.saturating_add(T::DbWeight::get().reads(4 as Weight))
9393
.saturating_add(T::DbWeight::get().writes(3 as Weight))
9494
}
9595
fn new_session() -> Weight {
96-
(44_580_000 as Weight)
96+
(32_622_000 as Weight)
9797
.saturating_add(T::DbWeight::get().reads(3 as Weight))
9898
.saturating_add(T::DbWeight::get().writes(1 as Weight))
9999
}
100-
fn start_session(r: u32, c: u32, ) -> Weight {
101-
(22_733_000 as Weight)
102-
// Standard Error: 8_000
103-
.saturating_add((8_000 as Weight).saturating_mul(r as Weight))
104-
// Standard Error: 8_000
105-
.saturating_add((3_208_000 as Weight).saturating_mul(c as Weight))
100+
fn start_session(_r: u32, c: u32, ) -> Weight {
101+
(19_664_000 as Weight)
102+
// Standard Error: 20_000
103+
.saturating_add((2_807_000 as Weight).saturating_mul(c as Weight))
106104
.saturating_add(T::DbWeight::get().reads(3 as Weight))
107105
.saturating_add(T::DbWeight::get().writes(1 as Weight))
108106
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
109107
}
110108
fn end_session(_r: u32, c: u32, ) -> Weight {
111-
(1_496_669_000 as Weight)
112-
// Standard Error: 72_000
113-
.saturating_add((10_802_000 as Weight).saturating_mul(c as Weight))
109+
(1_202_592_000 as Weight)
110+
// Standard Error: 65_000
111+
.saturating_add((9_299_000 as Weight).saturating_mul(c as Weight))
114112
.saturating_add(T::DbWeight::get().reads(4 as Weight))
115113
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
116114
.saturating_add(T::DbWeight::get().writes(49 as Weight))

runtime/karura/src/weights/module_currencies.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
//! Autogenerated weights for module_currencies
2020
//!
21-
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
22-
//! DATE: 2021-07-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23-
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-latest"), DB CACHE: 128
21+
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22+
//! DATE: 2021-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
23+
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 128
2424
2525
// Executed Command:
2626
// target/release/acala
2727
// benchmark
28-
// --chain=karura-latest
28+
// --chain=karura-dev
2929
// --steps=50
3030
// --repeat=20
3131
// --pallet=*
@@ -48,27 +48,27 @@ use sp_std::marker::PhantomData;
4848
pub struct WeightInfo<T>(PhantomData<T>);
4949
impl<T: frame_system::Config> module_currencies::WeightInfo for WeightInfo<T> {
5050
fn transfer_non_native_currency() -> Weight {
51-
(124_284_000 as Weight)
51+
(101_211_000 as Weight)
5252
.saturating_add(T::DbWeight::get().reads(5 as Weight))
5353
.saturating_add(T::DbWeight::get().writes(4 as Weight))
5454
}
5555
fn transfer_native_currency() -> Weight {
56-
(122_245_000 as Weight)
56+
(99_695_000 as Weight)
5757
.saturating_add(T::DbWeight::get().reads(3 as Weight))
5858
.saturating_add(T::DbWeight::get().writes(2 as Weight))
5959
}
6060
fn update_balance_non_native_currency() -> Weight {
61-
(67_987_000 as Weight)
61+
(53_836_000 as Weight)
6262
.saturating_add(T::DbWeight::get().reads(3 as Weight))
6363
.saturating_add(T::DbWeight::get().writes(3 as Weight))
6464
}
6565
fn update_balance_native_currency_creating() -> Weight {
66-
(65_446_000 as Weight)
66+
(52_771_000 as Weight)
6767
.saturating_add(T::DbWeight::get().reads(1 as Weight))
6868
.saturating_add(T::DbWeight::get().writes(1 as Weight))
6969
}
7070
fn update_balance_native_currency_killing() -> Weight {
71-
(75_384_000 as Weight)
71+
(62_244_000 as Weight)
7272
.saturating_add(T::DbWeight::get().reads(3 as Weight))
7373
.saturating_add(T::DbWeight::get().writes(2 as Weight))
7474
}

0 commit comments

Comments
 (0)