mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Backport weights from 9360 (#2038)
* [benchmarks] pr with weights (#2026) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights Collectives (#2025) * [benchmarks] pr with weights * provide veto method for trait Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com> * [benchmarks] pr with weights (#2027) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com>
This commit is contained in:
+17
-18
@@ -17,25 +17,24 @@
|
||||
//! 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-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=cumulus_pallet_xcmp_queue
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,16 +48,16 @@ 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 {
|
||||
// Minimum execution time: 7_524 nanoseconds.
|
||||
Weight::from_ref_time(7_779_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 6_810 nanoseconds.
|
||||
Weight::from_ref_time(7_136_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 {
|
||||
// Minimum execution time: 7_468 nanoseconds.
|
||||
Weight::from_ref_time(7_861_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 6_891 nanoseconds.
|
||||
Weight::from_ref_time(7_220_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
+34
-35
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `frame_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=frame_system
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/frame_system.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,51 +48,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 {
|
||||
// Minimum execution time: 4_164 nanoseconds.
|
||||
Weight::from_ref_time(149_826 as u64)
|
||||
// Minimum execution time: 3_681 nanoseconds.
|
||||
Weight::from_ref_time(3_824_000)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(411).saturating_mul(b.into()))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_916 nanoseconds.
|
||||
Weight::from_ref_time(14_216_000 as u64)
|
||||
// Minimum execution time: 12_708 nanoseconds.
|
||||
Weight::from_ref_time(12_912_000)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_482 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_773).saturating_mul(b.into()))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
// Minimum execution time: 8_909 nanoseconds.
|
||||
Weight::from_ref_time(9_270_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 7_668 nanoseconds.
|
||||
Weight::from_ref_time(8_140_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_203 nanoseconds.
|
||||
Weight::from_ref_time(4_300_000 as u64)
|
||||
// Standard Error: 816
|
||||
.saturating_add(Weight::from_ref_time(626_283 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
// Minimum execution time: 3_888 nanoseconds.
|
||||
Weight::from_ref_time(3_952_000)
|
||||
// Standard Error: 2_160
|
||||
.saturating_add(Weight::from_ref_time(615_707).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_136 nanoseconds.
|
||||
Weight::from_ref_time(4_228_000 as u64)
|
||||
// Standard Error: 997
|
||||
.saturating_add(Weight::from_ref_time(544_821 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||
// Minimum execution time: 3_878 nanoseconds.
|
||||
Weight::from_ref_time(3_991_000)
|
||||
// Standard Error: 972
|
||||
.saturating_add(Weight::from_ref_time(445_105).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_927 nanoseconds.
|
||||
Weight::from_ref_time(6_026_000 as u64)
|
||||
// Standard Error: 1_393
|
||||
.saturating_add(Weight::from_ref_time(1_129_967 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
// Minimum execution time: 5_434 nanoseconds.
|
||||
Weight::from_ref_time(5_510_000)
|
||||
// Standard Error: 1_293
|
||||
.saturating_add(Weight::from_ref_time(967_708).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
}
|
||||
}
|
||||
|
||||
+37
-38
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `pallet_balances`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_balances
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_balances.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,51 +48,51 @@ 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 {
|
||||
// Minimum execution time: 47_645 nanoseconds.
|
||||
Weight::from_ref_time(48_382_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 41_525 nanoseconds.
|
||||
Weight::from_ref_time(42_161_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 {
|
||||
// Minimum execution time: 35_350 nanoseconds.
|
||||
Weight::from_ref_time(36_529_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 31_463 nanoseconds.
|
||||
Weight::from_ref_time(32_025_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 {
|
||||
// Minimum execution time: 26_899 nanoseconds.
|
||||
Weight::from_ref_time(27_319_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 23_495 nanoseconds.
|
||||
Weight::from_ref_time(23_752_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 {
|
||||
// Minimum execution time: 30_564 nanoseconds.
|
||||
Weight::from_ref_time(30_989_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 25_757 nanoseconds.
|
||||
Weight::from_ref_time(26_221_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 {
|
||||
// Minimum execution time: 46_943 nanoseconds.
|
||||
Weight::from_ref_time(47_553_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 40_260 nanoseconds.
|
||||
Weight::from_ref_time(41_057_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 {
|
||||
// Minimum execution time: 41_889 nanoseconds.
|
||||
Weight::from_ref_time(42_678_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 36_058 nanoseconds.
|
||||
Weight::from_ref_time(36_775_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 {
|
||||
// Minimum execution time: 23_742 nanoseconds.
|
||||
Weight::from_ref_time(24_114_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 20_161 nanoseconds.
|
||||
Weight::from_ref_time(20_559_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
+45
-46
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `pallet_collator_selection`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_collator_selection
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_collator_selection.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -51,24 +50,24 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 100]`.
|
||||
fn set_invulnerables(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_476 nanoseconds.
|
||||
Weight::from_ref_time(25_244_018 as u64)
|
||||
// Standard Error: 3_006
|
||||
.saturating_add(Weight::from_ref_time(2_470_729 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 20_105 nanoseconds.
|
||||
Weight::from_ref_time(23_402_474)
|
||||
// Standard Error: 5_913
|
||||
.saturating_add(Weight::from_ref_time(2_214_697).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||
fn set_desired_candidates() -> Weight {
|
||||
// Minimum execution time: 14_256 nanoseconds.
|
||||
Weight::from_ref_time(14_699_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 12_491 nanoseconds.
|
||||
Weight::from_ref_time(12_788_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
fn set_candidacy_bond() -> Weight {
|
||||
// Minimum execution time: 14_610 nanoseconds.
|
||||
Weight::from_ref_time(14_849_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 12_882 nanoseconds.
|
||||
Weight::from_ref_time(13_141_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
||||
@@ -78,32 +77,32 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 999]`.
|
||||
fn register_as_candidate(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 49_939 nanoseconds.
|
||||
Weight::from_ref_time(65_000_471 as u64)
|
||||
// Standard Error: 971
|
||||
.saturating_add(Weight::from_ref_time(166_827 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 44_532 nanoseconds.
|
||||
Weight::from_ref_time(40_138_818)
|
||||
// Standard Error: 987
|
||||
.saturating_add(Weight::from_ref_time(126_048).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// The range of component `c` is `[6, 1000]`.
|
||||
fn leave_intent(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 39_651 nanoseconds.
|
||||
Weight::from_ref_time(64_330_763 as u64)
|
||||
// Standard Error: 1_784
|
||||
.saturating_add(Weight::from_ref_time(154_007 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 32_931 nanoseconds.
|
||||
Weight::from_ref_time(26_038_824)
|
||||
// Standard Error: 1_099
|
||||
.saturating_add(Weight::from_ref_time(123_313).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
fn note_author() -> Weight {
|
||||
// Minimum execution time: 36_425 nanoseconds.
|
||||
Weight::from_ref_time(37_314_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 30_412 nanoseconds.
|
||||
Weight::from_ref_time(30_796_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
||||
@@ -113,13 +112,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
/// The range of component `r` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn new_session(_r: u32, c: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_780 nanoseconds.
|
||||
Weight::from_ref_time(23_070_000 as u64)
|
||||
// Standard Error: 629_907
|
||||
.saturating_add(Weight::from_ref_time(22_042_278 as u64).saturating_mul(c as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||
// Minimum execution time: 18_664 nanoseconds.
|
||||
Weight::from_ref_time(19_115_000)
|
||||
// Standard Error: 745_087
|
||||
.saturating_add(Weight::from_ref_time(26_635_575).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
}
|
||||
}
|
||||
|
||||
+43
-44
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_multisig
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_multisig.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||
// Minimum execution time: 21_383 nanoseconds.
|
||||
Weight::from_ref_time(22_189_472)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(534).saturating_mul(z.into()))
|
||||
// Minimum execution time: 15_428 nanoseconds.
|
||||
Weight::from_ref_time(15_941_235)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(537).saturating_mul(z.into()))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 52_428 nanoseconds.
|
||||
Weight::from_ref_time(39_213_076)
|
||||
// Standard Error: 773
|
||||
.saturating_add(Weight::from_ref_time(144_541).saturating_mul(s.into()))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_553).saturating_mul(z.into()))
|
||||
// Minimum execution time: 44_197 nanoseconds.
|
||||
Weight::from_ref_time(36_539_501)
|
||||
// Standard Error: 904
|
||||
.saturating_add(Weight::from_ref_time(84_250).saturating_mul(s.into()))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_544).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -72,12 +71,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[3, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 41_359 nanoseconds.
|
||||
Weight::from_ref_time(29_318_634)
|
||||
// Standard Error: 723
|
||||
.saturating_add(Weight::from_ref_time(135_304).saturating_mul(s.into()))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_528).saturating_mul(z.into()))
|
||||
// Minimum execution time: 34_293 nanoseconds.
|
||||
Weight::from_ref_time(27_691_492)
|
||||
// Standard Error: 1_234
|
||||
.saturating_add(Weight::from_ref_time(76_671).saturating_mul(s.into()))
|
||||
// Standard Error: 12
|
||||
.saturating_add(Weight::from_ref_time(1_515).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -86,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 55_465 nanoseconds.
|
||||
Weight::from_ref_time(42_404_323)
|
||||
// Standard Error: 719
|
||||
.saturating_add(Weight::from_ref_time(155_812).saturating_mul(s.into()))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_550).saturating_mul(z.into()))
|
||||
// Minimum execution time: 48_305 nanoseconds.
|
||||
Weight::from_ref_time(38_790_283)
|
||||
// Standard Error: 649
|
||||
.saturating_add(Weight::from_ref_time(101_710).saturating_mul(s.into()))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_596).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -99,30 +98,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_194 nanoseconds.
|
||||
Weight::from_ref_time(38_567_667)
|
||||
// Standard Error: 1_067
|
||||
.saturating_add(Weight::from_ref_time(132_773).saturating_mul(s.into()))
|
||||
// Minimum execution time: 32_261 nanoseconds.
|
||||
Weight::from_ref_time(35_136_339)
|
||||
// Standard Error: 1_102
|
||||
.saturating_add(Weight::from_ref_time(87_710).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 25_984 nanoseconds.
|
||||
Weight::from_ref_time(27_881_834)
|
||||
// Standard Error: 910
|
||||
.saturating_add(Weight::from_ref_time(130_467).saturating_mul(s.into()))
|
||||
// Minimum execution time: 23_194 nanoseconds.
|
||||
Weight::from_ref_time(25_477_839)
|
||||
// Standard Error: 810
|
||||
.saturating_add(Weight::from_ref_time(83_750).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_468 nanoseconds.
|
||||
Weight::from_ref_time(38_351_354)
|
||||
// Standard Error: 1_069
|
||||
.saturating_add(Weight::from_ref_time(142_178).saturating_mul(s.into()))
|
||||
// Minimum execution time: 33_083 nanoseconds.
|
||||
Weight::from_ref_time(35_190_588)
|
||||
// Standard Error: 1_010
|
||||
.saturating_add(Weight::from_ref_time(90_855).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+17
-18
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `pallet_session`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_session
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_session.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -50,17 +49,17 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:1 w:1)
|
||||
fn set_keys() -> Weight {
|
||||
// Minimum execution time: 24_317 nanoseconds.
|
||||
Weight::from_ref_time(24_916_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 21_898 nanoseconds.
|
||||
Weight::from_ref_time(22_451_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:1)
|
||||
fn purge_keys() -> Weight {
|
||||
// Minimum execution time: 20_669 nanoseconds.
|
||||
Weight::from_ref_time(21_181_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 18_481 nanoseconds.
|
||||
Weight::from_ref_time(18_900_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `pallet_timestamp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_timestamp
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_timestamp.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,14 +47,15 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Aura CurrentSlot (r:1 w:0)
|
||||
fn set() -> Weight {
|
||||
// Minimum execution time: 8_019 nanoseconds.
|
||||
Weight::from_ref_time(8_317_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 9_095 nanoseconds.
|
||||
Weight::from_ref_time(9_288_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
// Minimum execution time: 4_248 nanoseconds.
|
||||
Weight::from_ref_time(4_485_000 as u64)
|
||||
// Minimum execution time: 3_901 nanoseconds.
|
||||
Weight::from_ref_time(4_060_000)
|
||||
}
|
||||
}
|
||||
|
||||
+25
-26
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `pallet_utility`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_utility
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_utility.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,31 +48,31 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_125 nanoseconds.
|
||||
Weight::from_ref_time(16_447_372)
|
||||
// Standard Error: 3_779
|
||||
.saturating_add(Weight::from_ref_time(3_932_973).saturating_mul(c.into()))
|
||||
// Minimum execution time: 12_045 nanoseconds.
|
||||
Weight::from_ref_time(18_369_157)
|
||||
// Standard Error: 2_756
|
||||
.saturating_add(Weight::from_ref_time(3_423_771).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Minimum execution time: 6_608 nanoseconds.
|
||||
Weight::from_ref_time(7_018_000)
|
||||
// Minimum execution time: 6_095 nanoseconds.
|
||||
Weight::from_ref_time(6_276_000)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_626 nanoseconds.
|
||||
Weight::from_ref_time(21_504_852)
|
||||
// Standard Error: 2_865
|
||||
.saturating_add(Weight::from_ref_time(4_036_604).saturating_mul(c.into()))
|
||||
// Minimum execution time: 12_131 nanoseconds.
|
||||
Weight::from_ref_time(21_947_782)
|
||||
// Standard Error: 3_030
|
||||
.saturating_add(Weight::from_ref_time(3_548_160).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Minimum execution time: 15_428 nanoseconds.
|
||||
Weight::from_ref_time(15_774_000)
|
||||
// Minimum execution time: 13_790 nanoseconds.
|
||||
Weight::from_ref_time(14_314_000)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_252 nanoseconds.
|
||||
Weight::from_ref_time(14_619_070)
|
||||
// Standard Error: 2_171
|
||||
.saturating_add(Weight::from_ref_time(3_886_755).saturating_mul(c.into()))
|
||||
// Minimum execution time: 11_873 nanoseconds.
|
||||
Weight::from_ref_time(15_041_181)
|
||||
// Standard Error: 4_925
|
||||
.saturating_add(Weight::from_ref_time(3_443_664).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+17
-18
@@ -18,26 +18,25 @@
|
||||
//! Autogenerated weights for `pallet_xcm_benchmarks::fungible`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-12-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --template=./templates/xcm-bench-template.hbs
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_xcm_benchmarks::fungible
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --template=./templates/xcm-bench-template.hbs
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/xcm/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -51,13 +50,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn withdraw_asset() -> Weight {
|
||||
Weight::from_ref_time(25_434_000 as u64)
|
||||
Weight::from_ref_time(26_021_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)
|
||||
pub(crate) fn transfer_asset() -> Weight {
|
||||
Weight::from_ref_time(36_180_000 as u64)
|
||||
Weight::from_ref_time(35_776_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -69,16 +68,16 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(83_476_000 as u64)
|
||||
Weight::from_ref_time(52_799_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||
Weight::from_ref_time(6_009_000 as u64)
|
||||
Weight::from_ref_time(5_784_000 as u64)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(27_729_000 as u64)
|
||||
Weight::from_ref_time(28_148_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -90,7 +89,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(44_605_000 as u64)
|
||||
Weight::from_ref_time(45_600_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -101,7 +100,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
pub(crate) fn initiate_teleport() -> Weight {
|
||||
Weight::from_ref_time(21_605_000 as u64)
|
||||
Weight::from_ref_time(23_402_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+26
-27
@@ -18,26 +18,25 @@
|
||||
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-12-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --template=./templates/xcm-bench-template.hbs
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_xcm_benchmarks::generic
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --template=./templates/xcm-bench-template.hbs
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/xcm/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -56,38 +55,38 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
pub(crate) fn query_holding() -> Weight {
|
||||
Weight::from_ref_time(21_039_000 as u64)
|
||||
Weight::from_ref_time(21_401_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn buy_execution() -> Weight {
|
||||
Weight::from_ref_time(5_375_000 as u64)
|
||||
Weight::from_ref_time(5_320_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(16_091_000 as u64)
|
||||
Weight::from_ref_time(16_749_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(19_057_000 as u64)
|
||||
Weight::from_ref_time(19_670_000 as u64)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(5_397_000 as u64)
|
||||
Weight::from_ref_time(5_373_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(5_347_000 as u64)
|
||||
Weight::from_ref_time(5_100_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(5_346_000 as u64)
|
||||
Weight::from_ref_time(5_288_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(5_310_000 as u64)
|
||||
Weight::from_ref_time(5_315_000 as u64)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(6_273_000 as u64)
|
||||
Weight::from_ref_time(6_432_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(5_279_000 as u64)
|
||||
Weight::from_ref_time(5_254_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
@@ -95,18 +94,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
pub(crate) fn report_error() -> Weight {
|
||||
Weight::from_ref_time(14_974_000 as u64)
|
||||
Weight::from_ref_time(15_047_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||
pub(crate) fn claim_asset() -> Weight {
|
||||
Weight::from_ref_time(20_711_000 as u64)
|
||||
Weight::from_ref_time(21_288_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
pub(crate) fn trap() -> Weight {
|
||||
Weight::from_ref_time(5_154_000 as u64)
|
||||
Weight::from_ref_time(5_120_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
@@ -115,13 +114,13 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
pub(crate) fn subscribe_version() -> Weight {
|
||||
Weight::from_ref_time(17_872_000 as u64)
|
||||
Weight::from_ref_time(17_992_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
||||
pub(crate) fn unsubscribe_version() -> Weight {
|
||||
Weight::from_ref_time(7_356_000 as u64)
|
||||
Weight::from_ref_time(7_321_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
@@ -131,7 +130,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||
Weight::from_ref_time(22_312_000 as u64)
|
||||
Weight::from_ref_time(22_846_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user