Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions runtime/litentry/src/weights/cumulus_pallet_xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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-11-18, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-01, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20

Expand Down Expand Up @@ -49,13 +49,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
Weight::from_ref_time(10_009_000 as u64)
// Minimum execution time: 9_581 nanoseconds.
Weight::from_ref_time(9_977_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
Weight::from_ref_time(9_863_000 as u64)
// Minimum execution time: 9_387 nanoseconds.
Weight::from_ref_time(9_828_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand Down
49 changes: 26 additions & 23 deletions runtime/litentry/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-18, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-01, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20

Expand Down Expand Up @@ -49,48 +49,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
Weight::from_ref_time(5_083_000 as u64)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(798 as u64).saturating_mul(b as u64))
// Minimum execution time: 5_045 nanoseconds.
Weight::from_ref_time(5_137_000 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(669 as u64).saturating_mul(b as u64))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
Weight::from_ref_time(18_371_000 as u64)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(2_489 as u64).saturating_mul(b as u64))
// Minimum execution time: 18_700 nanoseconds.
Weight::from_ref_time(127_629_347 as u64)
// Standard Error: 19
.saturating_add(Weight::from_ref_time(2_365 as u64).saturating_mul(b as u64))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
Weight::from_ref_time(11_214_000 as u64)
// Minimum execution time: 11_536 nanoseconds.
Weight::from_ref_time(12_492_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[1, 1000]`.
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
Weight::from_ref_time(6_886_000 as u64)
// Standard Error: 3_977
.saturating_add(Weight::from_ref_time(989_722 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 5_287 nanoseconds.
Weight::from_ref_time(5_501_000 as u64)
// Standard Error: 13_010
.saturating_add(Weight::from_ref_time(1_116_757 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[1, 1000]`.
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
Weight::from_ref_time(6_594_000 as u64)
// Standard Error: 11_193
.saturating_add(Weight::from_ref_time(940_885 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 5_138 nanoseconds.
Weight::from_ref_time(5_335_000 as u64)
// Standard Error: 5_996
.saturating_add(Weight::from_ref_time(899_519 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[1, 1000]`.
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
Weight::from_ref_time(9_478_000 as u64)
// Standard Error: 2_689
.saturating_add(Weight::from_ref_time(1_825_045 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 7_501 nanoseconds.
Weight::from_ref_time(7_660_000 as u64)
// Standard Error: 3_985
.saturating_add(Weight::from_ref_time(1_906_464 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
}
}
17 changes: 11 additions & 6 deletions runtime/litentry/src/weights/pallet_asset_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_asset_manager`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-18, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-01, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20

Expand Down Expand Up @@ -52,35 +52,40 @@ impl<T: frame_system::Config> pallet_asset_manager::WeightInfo for WeightInfo<T>
// Storage: AssetManager AssetIdType (r:0 w:1)
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
fn register_foreign_asset_type() -> Weight {
Weight::from_ref_time(41_828_000 as u64)
// Minimum execution time: 40_812 nanoseconds.
Weight::from_ref_time(41_765_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: AssetManager AssetIdType (r:1 w:0)
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
fn update_foreign_asset_metadata() -> Weight {
Weight::from_ref_time(28_742_000 as u64)
// Minimum execution time: 28_246 nanoseconds.
Weight::from_ref_time(28_880_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AssetManager AssetIdType (r:1 w:0)
// Storage: AssetManager AssetIdUnitsPerSecond (r:0 w:1)
fn set_asset_units_per_second() -> Weight {
Weight::from_ref_time(27_815_000 as u64)
// Minimum execution time: 27_419 nanoseconds.
Weight::from_ref_time(27_884_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: AssetManager AssetIdType (r:1 w:1)
// Storage: AssetManager AssetTypeId (r:1 w:1)
fn add_asset_type() -> Weight {
Weight::from_ref_time(33_329_000 as u64)
// Minimum execution time: 32_796 nanoseconds.
Weight::from_ref_time(33_720_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: AssetManager AssetTypeId (r:2 w:1)
// Storage: AssetManager AssetIdType (r:0 w:1)
fn remove_asset_type() -> Weight {
Weight::from_ref_time(41_326_000 as u64)
// Minimum execution time: 40_999 nanoseconds.
Weight::from_ref_time(42_009_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
Expand Down
23 changes: 15 additions & 8 deletions runtime/litentry/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-18, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-01, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20

Expand Down Expand Up @@ -49,43 +49,50 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
Weight::from_ref_time(67_818_000 as u64)
// Minimum execution time: 66_331 nanoseconds.
Weight::from_ref_time(67_558_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
Weight::from_ref_time(49_707_000 as u64)
// Minimum execution time: 48_266 nanoseconds.
Weight::from_ref_time(49_680_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
Weight::from_ref_time(37_701_000 as u64)
// Minimum execution time: 36_866 nanoseconds.
Weight::from_ref_time(38_322_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
Weight::from_ref_time(42_468_000 as u64)
// Minimum execution time: 41_507 nanoseconds.
Weight::from_ref_time(42_364_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
Weight::from_ref_time(67_060_000 as u64)
// Minimum execution time: 65_843 nanoseconds.
Weight::from_ref_time(67_312_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
Weight::from_ref_time(58_133_000 as u64)
// Minimum execution time: 56_278 nanoseconds.
Weight::from_ref_time(57_368_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
Weight::from_ref_time(31_167_000 as u64)
// Minimum execution time: 30_569 nanoseconds.
Weight::from_ref_time(31_243_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand Down
32 changes: 21 additions & 11 deletions runtime/litentry/src/weights/pallet_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_bridge`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-18, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-01, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20

Expand Down Expand Up @@ -49,42 +49,49 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_bridge::WeightInfo for WeightInfo<T> {
// Storage: ChainBridge RelayerThreshold (r:0 w:1)
fn set_threshold() -> Weight {
Weight::from_ref_time(19_293_000 as u64)
// Minimum execution time: 20_723 nanoseconds.
Weight::from_ref_time(21_323_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ChainBridge Resources (r:0 w:1)
fn set_resource() -> Weight {
Weight::from_ref_time(7_904_000 as u64)
// Minimum execution time: 8_609 nanoseconds.
Weight::from_ref_time(8_852_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ChainBridge Resources (r:0 w:1)
fn remove_resource() -> Weight {
Weight::from_ref_time(7_593_000 as u64)
// Minimum execution time: 7_459 nanoseconds.
Weight::from_ref_time(7_691_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ChainBridge ChainNonces (r:1 w:1)
fn whitelist_chain() -> Weight {
Weight::from_ref_time(23_559_000 as u64)
// Minimum execution time: 23_336 nanoseconds.
Weight::from_ref_time(24_207_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ChainBridge Relayers (r:1 w:1)
// Storage: ChainBridge RelayerCount (r:1 w:1)
fn add_relayer() -> Weight {
Weight::from_ref_time(27_831_000 as u64)
// Minimum execution time: 27_379 nanoseconds.
Weight::from_ref_time(28_099_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: ChainBridge Relayers (r:1 w:1)
// Storage: ChainBridge RelayerCount (r:1 w:1)
fn remove_relayer() -> Weight {
Weight::from_ref_time(30_340_000 as u64)
// Minimum execution time: 30_008 nanoseconds.
Weight::from_ref_time(30_630_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: ChainBridge BridgeFee (r:0 w:1)
fn update_fee() -> Weight {
Weight::from_ref_time(20_170_000 as u64)
// Minimum execution time: 22_526 nanoseconds.
Weight::from_ref_time(23_892_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ChainBridge Relayers (r:1 w:0)
Expand All @@ -94,7 +101,8 @@ impl<T: frame_system::Config> pallet_bridge::WeightInfo for WeightInfo<T> {
// Storage: ChainBridge RelayerThreshold (r:1 w:0)
// Storage: ChainBridge RelayerCount (r:1 w:0)
fn acknowledge_proposal() -> Weight {
Weight::from_ref_time(64_635_000 as u64)
// Minimum execution time: 65_791 nanoseconds.
Weight::from_ref_time(66_739_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -105,15 +113,17 @@ impl<T: frame_system::Config> pallet_bridge::WeightInfo for WeightInfo<T> {
// Storage: ChainBridge RelayerThreshold (r:1 w:0)
// Storage: ChainBridge RelayerCount (r:1 w:0)
fn reject_proposal() -> Weight {
Weight::from_ref_time(55_135_000 as u64)
// Minimum execution time: 57_634 nanoseconds.
Weight::from_ref_time(58_588_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ChainBridge Votes (r:1 w:1)
// Storage: ChainBridge RelayerThreshold (r:1 w:0)
// Storage: ChainBridge RelayerCount (r:1 w:0)
fn eval_vote_state() -> Weight {
Weight::from_ref_time(26_571_000 as u64)
// Minimum execution time: 28_405 nanoseconds.
Weight::from_ref_time(28_990_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand Down
14 changes: 9 additions & 5 deletions runtime/litentry/src/weights/pallet_bridge_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_bridge_transfer`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-18, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-01, STEPS: `20`, REPEAT: 50, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `parachain-benchmark`, CPU: `Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("litentry-dev"), DB CACHE: 20

Expand Down Expand Up @@ -53,27 +53,31 @@ impl<T: frame_system::Config> pallet_bridge_transfer::WeightInfo for WeightInfo<
// Storage: System Account (r:2 w:2)
// Storage: ChainBridge BridgeEvents (r:1 w:1)
fn transfer_native() -> Weight {
Weight::from_ref_time(90_477_000 as u64)
// Minimum execution time: 89_682 nanoseconds.
Weight::from_ref_time(91_027_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: BridgeTransfer MaximumIssuance (r:1 w:0)
// Storage: BridgeTransfer ExternalBalances (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
Weight::from_ref_time(46_982_000 as u64)
// Minimum execution time: 47_080 nanoseconds.
Weight::from_ref_time(47_745_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: BridgeTransfer MaximumIssuance (r:1 w:1)
fn set_maximum_issuance() -> Weight {
Weight::from_ref_time(22_626_000 as u64)
// Minimum execution time: 23_279 nanoseconds.
Weight::from_ref_time(23_737_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: BridgeTransfer ExternalBalances (r:0 w:1)
fn set_external_balances() -> Weight {
Weight::from_ref_time(6_555_000 as u64)
// Minimum execution time: 7_013 nanoseconds.
Weight::from_ref_time(7_217_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
Loading