Skip to content

Commit

Permalink
Pushing benchmark changes
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Mar 21, 2022
1 parent e8a52d3 commit 9bc2fe7
Show file tree
Hide file tree
Showing 54 changed files with 918 additions and 920 deletions.
16 changes: 8 additions & 8 deletions runtime/composable/src/weights/balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Autogenerated weights for `balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-03-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -31,43 +31,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:2 w:2)
fn transfer() -> Weight {
(97_708_000 as Weight)
(95_037_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
(59_179_000 as Weight)
(58_879_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
(35_330_000 as Weight)
(34_804_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
(42_008_000 as Weight)
(41_604_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: System Account (r:3 w:3)
fn force_transfer() -> Weight {
(98_561_000 as Weight)
(95_676_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
(71_214_000 as Weight)
(70_772_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
(32_176_000 as Weight)
(32_437_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand Down
30 changes: 15 additions & 15 deletions runtime/composable/src/weights/collator_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Autogenerated weights for `collator_selection`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-03-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -32,20 +32,20 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Storage: Session NextKeys (r:1 w:0)
// Storage: CollatorSelection Invulnerables (r:0 w:1)
fn set_invulnerables(b: u32, ) -> Weight {
(18_597_000 as Weight)
(16_673_000 as Weight)
// Standard Error: 7_000
.saturating_add((6_973_000 as Weight).saturating_mul(b as Weight))
.saturating_add((6_970_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
(17_774_000 as Weight)
(16_896_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
(18_019_000 as Weight)
(16_956_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
Expand All @@ -55,26 +55,26 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn register_as_candidate(c: u32, ) -> Weight {
(109_348_000 as Weight)
// Standard Error: 1_000
.saturating_add((309_000 as Weight).saturating_mul(c as Weight))
(117_333_000 as Weight)
// Standard Error: 2_000
.saturating_add((307_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn leave_intent(c: u32, ) -> Weight {
(125_679_000 as Weight)
(138_310_000 as Weight)
// Standard Error: 4_000
.saturating_add((359_000 as Weight).saturating_mul(c as Weight))
.saturating_add((351_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: System Account (r:2 w:2)
// Storage: System BlockWeight (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn note_author() -> Weight {
(71_906_000 as Weight)
(70_700_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
Expand All @@ -85,10 +85,10 @@ impl<T: frame_system::Config> collator_selection::WeightInfo for WeightInfo<T> {
// Storage: System BlockWeight (r:1 w:1)
fn new_session(r: u32, c: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 5_695_000
.saturating_add((29_149_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 5_695_000
.saturating_add((150_451_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 5_632_000
.saturating_add((28_678_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 5_632_000
.saturating_add((148_534_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
Expand Down
70 changes: 35 additions & 35 deletions runtime/composable/src/weights/collective.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Autogenerated weights for `collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-03-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("composable-dev"), DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -35,34 +35,34 @@ impl<T: frame_system::Config> collective::WeightInfo for WeightInfo<T> {
// Storage: Council Prime (r:0 w:1)
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 47_000
.saturating_add((25_271_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 47_000
.saturating_add((158_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 47_000
.saturating_add((31_219_000 as Weight).saturating_mul(p as Weight))
// Standard Error: 16_000
.saturating_add((28_694_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 16_000
.saturating_add((277_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 16_000
.saturating_add((34_676_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
}
// Storage: Council Members (r:1 w:0)
fn execute(b: u32, m: u32, ) -> Weight {
(25_549_000 as Weight)
(25_784_000 as Weight)
// Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((120_000 as Weight).saturating_mul(m as Weight))
.saturating_add((121_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:0)
fn propose_execute(b: u32, m: u32, ) -> Weight {
(29_904_000 as Weight)
(29_738_000 as Weight)
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((229_000 as Weight).saturating_mul(m as Weight))
.saturating_add((232_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
// Storage: Council Members (r:1 w:0)
Expand All @@ -71,22 +71,22 @@ impl<T: frame_system::Config> collective::WeightInfo for WeightInfo<T> {
// Storage: Council ProposalCount (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
(33_895_000 as Weight)
(31_957_000 as Weight)
// Standard Error: 0
.saturating_add((15_000 as Weight).saturating_mul(b as Weight))
.saturating_add((17_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 3_000
.saturating_add((175_000 as Weight).saturating_mul(m as Weight))
.saturating_add((167_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 3_000
.saturating_add((546_000 as Weight).saturating_mul(p as Weight))
.saturating_add((558_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council Voting (r:1 w:1)
fn vote(m: u32, ) -> Weight {
(58_371_000 as Weight)
// Standard Error: 3_000
.saturating_add((312_000 as Weight).saturating_mul(m as Weight))
(60_623_000 as Weight)
// Standard Error: 4_000
.saturating_add((291_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand All @@ -95,11 +95,11 @@ impl<T: frame_system::Config> collective::WeightInfo for WeightInfo<T> {
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalOf (r:0 w:1)
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
(51_647_000 as Weight)
(50_374_000 as Weight)
// Standard Error: 3_000
.saturating_add((260_000 as Weight).saturating_mul(m as Weight))
.saturating_add((257_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 3_000
.saturating_add((428_000 as Weight).saturating_mul(p as Weight))
.saturating_add((457_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -108,13 +108,13 @@ impl<T: frame_system::Config> collective::WeightInfo for WeightInfo<T> {
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
(51_171_000 as Weight)
(50_092_000 as Weight)
// Standard Error: 0
.saturating_add((12_000 as Weight).saturating_mul(b as Weight))
.saturating_add((14_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 3_000
.saturating_add((325_000 as Weight).saturating_mul(m as Weight))
.saturating_add((321_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 3_000
.saturating_add((562_000 as Weight).saturating_mul(p as Weight))
.saturating_add((593_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -124,11 +124,11 @@ impl<T: frame_system::Config> collective::WeightInfo for WeightInfo<T> {
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalOf (r:0 w:1)
fn close_disapproved(m: u32, p: u32, ) -> Weight {
(56_576_000 as Weight)
(52_096_000 as Weight)
// Standard Error: 3_000
.saturating_add((277_000 as Weight).saturating_mul(m as Weight))
.saturating_add((310_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 3_000
.saturating_add((427_000 as Weight).saturating_mul(p as Weight))
.saturating_add((478_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -138,23 +138,23 @@ impl<T: frame_system::Config> collective::WeightInfo for WeightInfo<T> {
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
(54_862_000 as Weight)
(59_760_000 as Weight)
// Standard Error: 0
.saturating_add((11_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 4_000
.saturating_add((308_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 3_000
.saturating_add((362_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 3_000
.saturating_add((580_000 as Weight).saturating_mul(p as Weight))
.saturating_add((596_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Council Proposals (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
// Storage: Council ProposalOf (r:0 w:1)
fn disapprove_proposal(p: u32, ) -> Weight {
(30_884_000 as Weight)
(30_583_000 as Weight)
// Standard Error: 2_000
.saturating_add((493_000 as Weight).saturating_mul(p as Weight))
.saturating_add((505_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand Down
Loading

0 comments on commit 9bc2fe7

Please sign in to comment.