Skip to content

Commit

Permalink
Update weights (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 committed Aug 6, 2023
1 parent caea6d7 commit 9dd8e3f
Show file tree
Hide file tree
Showing 30 changed files with 1,739 additions and 1,974 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 @@ -19,7 +19,7 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-04, 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 @@ -51,13 +51,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(12_761_000)
Weight::from_ref_time(16_530_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(14_000_000)
Weight::from_ref_time(13_770_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
34 changes: 17 additions & 17 deletions runtime/common/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-05, 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,41 +50,41 @@ use frame_support::{
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(19_766_390)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(744).saturating_mul(b.into()))
Weight::from_ref_time(8_310_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(736).saturating_mul(b.into()))
}
fn remark_with_event(b: u32) -> Weight {
Weight::from_ref_time(25_430_000)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(2_575).saturating_mul(b.into()))
Weight::from_ref_time(26_690_000)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(2_552).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(20_660_000)
Weight::from_ref_time(21_740_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(9_380_000)
// Standard Error: 5_116
.saturating_add(Weight::from_ref_time(1_191_116).saturating_mul(i.into()))
Weight::from_ref_time(13_617_603)
// Standard Error: 10_697
.saturating_add(Weight::from_ref_time(1_193_287).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(8_680_000)
// Standard Error: 5_971
.saturating_add(Weight::from_ref_time(1_029_338).saturating_mul(i.into()))
Weight::from_ref_time(287_703)
// Standard Error: 10_038
.saturating_add(Weight::from_ref_time(1_039_732).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(13_530_000)
// Standard Error: 9_303
.saturating_add(Weight::from_ref_time(2_263_779).saturating_mul(p.into()))
Weight::from_ref_time(14_620_000)
// Standard Error: 9_413
.saturating_add(Weight::from_ref_time(2_130_455).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 @@ -19,7 +19,7 @@
//! Autogenerated weights for orml_currencies
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-05, 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 @@ -49,33 +49,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(89_810_000)
Weight::from_ref_time(95_870_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(72_860_000)
Weight::from_ref_time(80_780_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(57_100_000)
Weight::from_ref_time(57_330_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(66_691_000)
Weight::from_ref_time(67_611_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(53_220_000)
Weight::from_ref_time(64_301_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 @@ -19,7 +19,7 @@
//! Autogenerated weights for orml_tokens
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-05, 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 @@ -49,36 +49,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(80_760_000)
Weight::from_ref_time(84_390_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(84_790_000)
Weight::from_ref_time(84_860_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(79_030_000)
Weight::from_ref_time(66_500_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(87_561_000)
Weight::from_ref_time(86_851_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(66_451_000)
Weight::from_ref_time(66_770_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_inherent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_author_inherent
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-04, 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 @@ -56,7 +56,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(56_870_000)
Weight::from_ref_time(44_241_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 @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_author_mapping
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-04, 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 @@ -53,37 +53,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(61_531_000)
Weight::from_ref_time(69_090_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(54_930_000)
Weight::from_ref_time(48_700_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(70_010_000)
Weight::from_ref_time(60_150_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(70_170_000)
Weight::from_ref_time(78_330_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(62_070_000)
Weight::from_ref_time(53_200_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 @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_author_slot_filter
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-04, 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 @@ -51,6 +51,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(31_110_000).saturating_add(T::DbWeight::get().writes(1))
Weight::from_ref_time(28_890_000).saturating_add(T::DbWeight::get().writes(1))
}
}
16 changes: 8 additions & 8 deletions runtime/common/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_balances
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-05, 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 @@ -51,43 +51,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::weights::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:2 w:2)
fn transfer() -> Weight {
Weight::from_ref_time(108_550_000)
Weight::from_ref_time(109_200_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
Weight::from_ref_time(71_400_000)
Weight::from_ref_time(60_490_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(54_450_000)
Weight::from_ref_time(54_180_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(61_450_000)
Weight::from_ref_time(60_760_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:3 w:3)
fn force_transfer() -> Weight {
Weight::from_ref_time(107_260_000)
Weight::from_ref_time(90_620_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
Weight::from_ref_time(80_670_000)
Weight::from_ref_time(69_090_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(47_780_000)
Weight::from_ref_time(47_010_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down
Loading

0 comments on commit 9dd8e3f

Please sign in to comment.