Skip to content

Commit

Permalink
Update weights (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 committed Jul 11, 2022
1 parent 899ed47 commit 893344f
Show file tree
Hide file tree
Showing 25 changed files with 512 additions and 523 deletions.
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ impl parachain_staking::Config for Runtime {
type MonetaryGovernanceOrigin = EnsureRoot<AccountId>;
type RevokeDelegationDelay = RevokeDelegationDelay;
type RewardPaymentDelay = RewardPaymentDelay;
type WeightInfo = parachain_staking::weights::SubstrateWeight<Runtime>;
type WeightInfo = weights::parachain_staking::WeightInfo<Runtime>;
}

impl orml_currencies::Config for Runtime {
Expand Down
6 changes: 3 additions & 3 deletions runtime/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,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-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-07-08, 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 @@ -33,13 +33,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 {
(7_770_000 as Weight)
(8_060_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
(7_780_000 as Weight)
(9_490_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand Down
20 changes: 10 additions & 10 deletions runtime/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-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-07-08, 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 @@ -32,7 +32,7 @@ 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 {
(8_454_000 as Weight)
(1_605_000 as Weight)
}
fn remark_with_event(b: u32) -> Weight {
(0 as Weight)
Expand All @@ -49,22 +49,22 @@ impl<T: frame_system::Config> frame_system::weights::WeightInfo for WeightInfo<T
// Storage: Skipped Metadata (r:0 w:0)
fn set_storage(i: u32) -> Weight {
(0 as Weight)
// Standard Error: 11_000
.saturating_add((1_156_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 13_000
.saturating_add((1_057_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
// Storage: Skipped Metadata (r:0 w:0)
fn kill_storage(i: u32) -> Weight {
(0 as Weight)
// Standard Error: 8_000
.saturating_add((811_000 as Weight).saturating_mul(i as Weight))
(334_000 as Weight)
// Standard Error: 7_000
.saturating_add((724_000 as Weight).saturating_mul(i as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
}
// Storage: Skipped Metadata (r:0 w:0)
fn kill_prefix(p: u32) -> Weight {
(0 as Weight)
// Standard Error: 13_000
.saturating_add((1_787_000 as Weight).saturating_mul(p as Weight))
(928_000 as Weight)
// Standard Error: 12_000
.saturating_add((1_562_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
}
}
12 changes: 6 additions & 6 deletions runtime/src/weights/orml_currencies.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for orml_currencies
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-07-08, 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 @@ -31,33 +31,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 {
(86_030_000 as Weight)
(83_740_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_native_currency() -> Weight {
(84_950_000 as Weight)
(80_240_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// 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 {
(68_330_000 as Weight)
(64_920_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 update_balance_native_currency_creating() -> Weight {
(62_650_000 as Weight)
(60_630_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 update_balance_native_currency_killing() -> Weight {
(55_260_000 as Weight)
(53_250_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand Down
12 changes: 6 additions & 6 deletions runtime/src/weights/orml_tokens.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for orml_tokens
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-07-08, 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 @@ -31,36 +31,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 {
(86_980_000 as Weight)
(84_630_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
(93_420_000 as Weight)
(90_980_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
(78_330_000 as Weight)
(75_250_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Tokens Accounts (r:2 w:2)
// Storage: System Account (r:2 w:1)
fn force_transfer() -> Weight {
(94_710_000 as Weight)
(85_250_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// 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 {
(64_300_000 as Weight)
(62_890_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand Down
8 changes: 4 additions & 4 deletions runtime/src/weights/pallet_author_mapping.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Autogenerated weights for pallet_author_mapping
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-07-08, 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 @@ -34,20 +34,20 @@ impl<T: frame_system::Config> pallet_author_mapping::weights::WeightInfo for Wei
// Storage: AuthorMapping MappingWithDeposit (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn add_association() -> Weight {
(59_400_000 as Weight)
(74_210_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: AuthorMapping MappingWithDeposit (r:2 w:2)
fn update_association() -> Weight {
(45_450_000 as Weight)
(46_040_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: AuthorMapping MappingWithDeposit (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn clear_association() -> Weight {
(60_730_000 as Weight)
(73_920_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
Expand Down
4 changes: 2 additions & 2 deletions runtime/src/weights/pallet_author_slot_filter.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,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-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-07-08, 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 @@ -33,6 +33,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 {
(27_340_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
(23_460_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
16 changes: 8 additions & 8 deletions runtime/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-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-07-08, 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 @@ -33,43 +33,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 {
(116_230_000 as Weight)
(92_910_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 transfer_keep_alive() -> Weight {
(86_400_000 as Weight)
(70_730_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 {
(52_770_000 as Weight)
(44_240_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 {
(90_290_000 as Weight)
(50_940_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:2 w:2)
fn force_transfer() -> Weight {
(173_310_000 as Weight)
(92_850_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_all() -> Weight {
(153_590_000 as Weight)
(85_430_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 {
(67_880_000 as Weight)
(40_190_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand Down
Loading

0 comments on commit 893344f

Please sign in to comment.