Skip to content

Commit

Permalink
Update weights (zeitgeistpm#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 authored Jan 23, 2023
1 parent 1247ddd commit 257ad65
Show file tree
Hide file tree
Showing 29 changed files with 757 additions and 780 deletions.
6 changes: 3 additions & 3 deletions runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -50,13 +50,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::weights::WeightInfo for WeightInfo<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
Weight::from_ref_time(4_785_000)
Weight::from_ref_time(13_891_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
Weight::from_ref_time(4_691_000)
Weight::from_ref_time(13_630_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
28 changes: 15 additions & 13 deletions runtime/common/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -48,40 +48,42 @@ use frame_support::{
/// Weight functions for frame_system (automatically generated)
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T> {
fn remark(_b: u32) -> Weight {
Weight::from_ref_time(6_388_000)
fn remark(b: u32) -> Weight {
Weight::from_ref_time(0)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000).saturating_mul(b.into()))
}
fn remark_with_event(b: u32) -> Weight {
Weight::from_ref_time(0)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(2_000).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
Weight::from_ref_time(5_605_000)
Weight::from_ref_time(15_370_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
fn set_storage(i: u32) -> Weight {
Weight::from_ref_time(417_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(411_000).saturating_mul(i.into()))
Weight::from_ref_time(8_585_000)
// Standard Error: 8_000
.saturating_add(Weight::from_ref_time(1_059_000).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
fn kill_storage(i: u32) -> Weight {
Weight::from_ref_time(0)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(369_000).saturating_mul(i.into()))
// Standard Error: 8_000
.saturating_add(Weight::from_ref_time(1_075_000).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
fn kill_prefix(p: u32) -> Weight {
Weight::from_ref_time(3_542_000)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(792_000).saturating_mul(p.into()))
Weight::from_ref_time(4_159_000)
// Standard Error: 14_000
.saturating_add(Weight::from_ref_time(2_234_000).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
12 changes: 6 additions & 6 deletions runtime/common/src/weights/orml_currencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for orml_currencies
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -48,33 +48,33 @@ impl<T: frame_system::Config> orml_currencies::WeightInfo for WeightInfo<T> {
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_non_native_currency() -> Weight {
Weight::from_ref_time(28_582_000)
Weight::from_ref_time(76_920_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: System Account (r:1 w:1)
fn transfer_native_currency() -> Weight {
Weight::from_ref_time(26_474_000)
Weight::from_ref_time(56_290_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Tokens Accounts (r:1 w:1)
// Storage: Tokens TotalIssuance (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn update_balance_non_native_currency() -> Weight {
Weight::from_ref_time(21_690_000)
Weight::from_ref_time(53_350_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: System Account (r:1 w:1)
fn update_balance_native_currency_creating() -> Weight {
Weight::from_ref_time(21_531_000)
Weight::from_ref_time(52_710_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn update_balance_native_currency_killing() -> Weight {
Weight::from_ref_time(19_409_000)
Weight::from_ref_time(48_730_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
12 changes: 6 additions & 6 deletions runtime/common/src/weights/orml_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for orml_tokens
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -48,36 +48,36 @@ impl<T: frame_system::Config> orml_tokens::WeightInfo for WeightInfo<T> {
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
Weight::from_ref_time(28_003_000)
Weight::from_ref_time(76_440_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
Weight::from_ref_time(30_502_000)
Weight::from_ref_time(78_740_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
Weight::from_ref_time(25_994_000)
Weight::from_ref_time(61_710_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:2 w:1)
fn force_transfer() -> Weight {
Weight::from_ref_time(29_043_000)
Weight::from_ref_time(68_460_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Tokens Accounts (r:1 w:1)
// Storage: Tokens TotalIssuance (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn set_balance() -> Weight {
Weight::from_ref_time(21_069_000)
Weight::from_ref_time(51_830_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
Expand Down
10 changes: 5 additions & 5 deletions runtime/common/src/weights/pallet_author_inherent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
//! Autogenerated weights for pallet_author_inherent
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-05, STEPS: `10`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// ./target/release/zeitgeist
// ./target/production/zeitgeist
// benchmark
// pallet
// --chain=dev
// --steps=10
// --repeat=10
// --steps=50
// --repeat=20
// --pallet=pallet_author_inherent
// --extrinsic=*
// --execution=wasm
Expand Down Expand Up @@ -55,7 +55,7 @@ impl<T: frame_system::Config> pallet_author_inherent::weights::WeightInfo for We
// Storage: AuthorFilter EligibleCount (r:1 w:0)
// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)
fn kick_off_authorship_validation() -> Weight {
Weight::from_ref_time(28_113_000)
Weight::from_ref_time(47_670_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
12 changes: 6 additions & 6 deletions runtime/common/src/weights/pallet_author_mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for pallet_author_mapping
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -52,37 +52,37 @@ impl<T: frame_system::Config> pallet_author_mapping::weights::WeightInfo for Wei
// Storage: System Account (r:1 w:1)
// Storage: AuthorMapping NimbusLookup (r:0 w:1)
fn add_association() -> Weight {
Weight::from_ref_time(22_310_000)
Weight::from_ref_time(59_320_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: AuthorMapping MappingWithDeposit (r:2 w:2)
// Storage: AuthorMapping NimbusLookup (r:0 w:1)
fn update_association() -> Weight {
Weight::from_ref_time(18_658_000)
Weight::from_ref_time(42_141_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: AuthorMapping MappingWithDeposit (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: AuthorMapping NimbusLookup (r:0 w:1)
fn clear_association() -> Weight {
Weight::from_ref_time(25_042_000)
Weight::from_ref_time(54_180_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: AuthorMapping NimbusLookup (r:1 w:1)
// Storage: AuthorMapping MappingWithDeposit (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn remove_keys() -> Weight {
Weight::from_ref_time(27_303_000)
Weight::from_ref_time(66_530_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: AuthorMapping NimbusLookup (r:1 w:1)
// Storage: AuthorMapping MappingWithDeposit (r:2 w:2)
fn set_keys() -> Weight {
Weight::from_ref_time(21_261_000)
Weight::from_ref_time(52_730_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
Expand Down
4 changes: 2 additions & 2 deletions runtime/common/src/weights/pallet_author_slot_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for pallet_author_slot_filter
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -50,6 +50,6 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_author_slot_filter::weights::WeightInfo for WeightInfo<T> {
// Storage: AuthorFilter EligibleCount (r:0 w:1)
fn set_eligible() -> Weight {
Weight::from_ref_time(9_138_000).saturating_add(T::DbWeight::get().writes(1))
Weight::from_ref_time(24_640_000).saturating_add(T::DbWeight::get().writes(1))
}
}
22 changes: 11 additions & 11 deletions runtime/common/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
//! Autogenerated weights for pallet_balances
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-05, STEPS: `2`, REPEAT: 2, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// ./target/release/zeitgeist
// ./target/production/zeitgeist
// benchmark
// pallet
// --chain=dev
// --steps=2
// --repeat=2
// --steps=50
// --repeat=20
// --pallet=pallet_balances
// --extrinsic=*
// --execution=wasm
Expand All @@ -50,43 +50,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::weights::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
Weight::from_ref_time(64_342_000)
Weight::from_ref_time(75_550_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
Weight::from_ref_time(48_802_000)
Weight::from_ref_time(61_350_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
Weight::from_ref_time(35_618_000)
Weight::from_ref_time(44_461_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
Weight::from_ref_time(38_954_000)
Weight::from_ref_time(47_560_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
Weight::from_ref_time(61_868_000)
Weight::from_ref_time(74_281_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
Weight::from_ref_time(55_986_000)
Weight::from_ref_time(65_200_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
Weight::from_ref_time(31_510_000)
Weight::from_ref_time(37_050_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
Loading

0 comments on commit 257ad65

Please sign in to comment.