Skip to content

Commit

Permalink
altair: Update benchmark computed in the cloud (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoAlexandre authored Mar 21, 2022
1 parent 2e03d0a commit 091e3e3
Show file tree
Hide file tree
Showing 22 changed files with 369 additions and 367 deletions.
12 changes: 6 additions & 6 deletions runtime/altair/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-17, 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("altair-dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -40,23 +40,23 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
}
fn set_heap_pages() -> Weight {
(6_303_000 as Weight)
(6_261_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn set_storage(i: u32) -> Weight {
(0 as Weight) // Standard Error: 2_000
.saturating_add((1_014_000 as Weight).saturating_mul(i as Weight))
.saturating_add((1_022_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
fn kill_storage(i: u32) -> Weight {
(0 as Weight) // Standard Error: 1_000
.saturating_add((669_000 as Weight).saturating_mul(i as Weight))
.saturating_add((682_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
fn kill_prefix(p: u32) -> Weight {
(0 as Weight) // Standard Error: 3_000
.saturating_add((1_417_000 as Weight).saturating_mul(p as Weight))
(0 as Weight) // Standard Error: 2_000
.saturating_add((1_493_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
}
}
16 changes: 8 additions & 8 deletions runtime/altair/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for pallet_balances
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-17, 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("altair-dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -32,37 +32,37 @@ use sp_std::marker::PhantomData;
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn transfer() -> Weight {
(82_969_000 as Weight)
(82_265_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn transfer_keep_alive() -> Weight {
(63_199_000 as Weight)
(62_322_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_balance_creating() -> Weight {
(39_622_000 as Weight)
(39_087_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_balance_killing() -> Weight {
(46_221_000 as Weight)
(44_803_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn force_transfer() -> Weight {
(81_754_000 as Weight)
(82_240_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn transfer_all() -> Weight {
(74_889_000 as Weight)
(74_498_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn force_unreserve() -> Weight {
(35_663_000 as Weight)
(34_662_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand Down
6 changes: 3 additions & 3 deletions runtime/altair/src/weights/pallet_collator_allowlist.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for pallet_collator_allowlist
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-17, 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("altair-dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -32,12 +32,12 @@ use sp_std::marker::PhantomData;
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn add() -> Weight {
(30_582_000 as Weight)
(32_372_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn remove() -> Weight {
(24_939_000 as Weight)
(26_029_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand Down
62 changes: 31 additions & 31 deletions runtime/altair/src/weights/pallet_collective.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for pallet_collective
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-17, 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("altair-dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -33,73 +33,73 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_members(m: u32, n: u32, p: u32) -> Weight {
(0 as Weight) // Standard Error: 17_000
.saturating_add((27_290_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 17_000
.saturating_add((368_000 as Weight).saturating_mul(n as Weight)) // Standard Error: 17_000
.saturating_add((34_068_000 as Weight).saturating_mul(p as Weight))
.saturating_add((27_257_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 17_000
.saturating_add((155_000 as Weight).saturating_mul(n as Weight)) // Standard Error: 17_000
.saturating_add((33_862_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)))
}
fn execute(b: u32, m: u32) -> Weight {
(26_631_000 as Weight) // Standard Error: 0
(26_821_000 as Weight) // Standard Error: 0
.saturating_add((5_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0
.saturating_add((152_000 as Weight).saturating_mul(m as Weight))
.saturating_add((128_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
fn propose_execute(b: u32, m: u32) -> Weight {
(30_969_000 as Weight) // Standard Error: 0
.saturating_add((6_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000
.saturating_add((300_000 as Weight).saturating_mul(m as Weight))
(34_580_000 as Weight) // Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 1_000
.saturating_add((221_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
fn propose_proposed(b: u32, m: u32, p: u32) -> Weight {
(37_369_000 as Weight) // Standard Error: 0
.saturating_add((18_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 3_000
.saturating_add((189_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000
.saturating_add((645_000 as Weight).saturating_mul(p as Weight))
(43_144_000 as Weight) // Standard Error: 0
.saturating_add((16_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 3_000
.saturating_add((133_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000
.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(4 as Weight))
}
fn vote(m: u32) -> Weight {
(64_361_000 as Weight) // Standard Error: 4_000
.saturating_add((390_000 as Weight).saturating_mul(m as Weight))
(68_519_000 as Weight) // Standard Error: 4_000
.saturating_add((282_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))
}
fn close_early_disapproved(m: u32, p: u32) -> Weight {
(57_290_000 as Weight) // Standard Error: 3_000
.saturating_add((321_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 3_000
.saturating_add((490_000 as Weight).saturating_mul(p as Weight))
(58_196_000 as Weight) // Standard Error: 4_000
.saturating_add((275_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000
.saturating_add((479_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))
}
fn close_early_approved(b: u32, m: u32, p: u32) -> Weight {
(66_475_000 as Weight) // Standard Error: 0
.saturating_add((9_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 4_000
.saturating_add((372_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000
.saturating_add((624_000 as Weight).saturating_mul(p as Weight))
(53_476_000 as Weight) // Standard Error: 0
.saturating_add((18_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 5_000
.saturating_add((346_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 5_000
.saturating_add((648_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))
}
fn close_disapproved(m: u32, p: u32) -> Weight {
(58_682_000 as Weight) // Standard Error: 4_000
.saturating_add((367_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000
.saturating_add((520_000 as Weight).saturating_mul(p as Weight))
(61_701_000 as Weight) // Standard Error: 4_000
.saturating_add((284_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000
.saturating_add((512_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))
}
fn close_approved(b: u32, m: u32, p: u32) -> Weight {
(61_096_000 as Weight) // Standard Error: 0
.saturating_add((16_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 4_000
.saturating_add((398_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000
.saturating_add((667_000 as Weight).saturating_mul(p as Weight))
(71_553_000 as Weight) // Standard Error: 0
.saturating_add((16_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 5_000
.saturating_add((278_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 4_000
.saturating_add((588_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))
}
fn disapprove_proposal(p: u32) -> Weight {
(32_586_000 as Weight) // Standard Error: 3_000
.saturating_add((586_000 as Weight).saturating_mul(p as Weight))
(34_814_000 as Weight) // Standard Error: 3_000
.saturating_add((552_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
20 changes: 10 additions & 10 deletions runtime/altair/src/weights/pallet_crowdloan_claim.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for pallet_crowdloan_claim
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-17, 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("altair-dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -32,38 +32,38 @@ use sp_std::marker::PhantomData;
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn claim_reward_ed25519() -> Weight {
(284_222_000 as Weight)
(305_835_000 as Weight)
.saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
fn claim_reward_sr25519() -> Weight {
(292_008_000 as Weight)
(311_852_000 as Weight)
.saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
fn claim_reward_ecdsa() -> Weight {
(470_153_000 as Weight)
(485_403_000 as Weight)
.saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
fn initialize() -> Weight {
(36_548_000 as Weight)
(38_136_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
fn set_lease_start() -> Weight {
(18_669_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(19_377_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_lease_period() -> Weight {
(18_524_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(19_126_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_contributions_root() -> Weight {
(20_026_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(20_597_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_locked_at() -> Weight {
(18_530_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(19_294_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_crowdloan_trie_index() -> Weight {
(18_606_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(19_177_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
10 changes: 5 additions & 5 deletions runtime/altair/src/weights/pallet_crowdloan_reward.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for pallet_crowdloan_reward
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-17, 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("altair-dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -32,15 +32,15 @@ use sp_std::marker::PhantomData;
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn initialize() -> Weight {
(23_009_000 as Weight).saturating_add(T::DbWeight::get().writes(3 as Weight))
(22_303_000 as Weight).saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn set_vesting_start() -> Weight {
(18_298_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(19_066_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_vesting_period() -> Weight {
(18_396_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(19_361_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_direct_payout_ratio() -> Weight {
(18_329_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(19_626_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
Loading

0 comments on commit 091e3e3

Please sign in to comment.