difftreelog
build run benchmarks
in: master
16 files changed
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@
$(eval $(call _bench,identity))
$(eval $(call _bench,app-promotion))
$(eval $(call _bench,maintenance))
-$(eval $(call _bench,xcm,,./runtime/common/weights/xcm.rs,"--template=.maintain/external-weights/template.hbs"))
+$(eval $(call _bench,xcm,,./runtime/common/weights/xcm.rs,"--template=.maintain/external-weight-template.hbs"))
.PHONY: bench
bench: bench-app-promotion bench-common bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-configuration bench-foreign-assets bench-maintenance bench-xcm bench-collator-selection bench-identity
pallets/app-promotion/src/weights.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_app_promotion
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-10-12, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `ubuntu-11`, CPU: `QEMU Virtual CPU version 2.5+`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -63,10 +63,10 @@
// Proof Size summary in bytes:
// Measured: `222 + b * (285 ±0)`
// Estimated: `3622 + b * (3774 ±0)`
- // Minimum execution time: 6_031_000 picoseconds.
- Weight::from_parts(6_880_848, 3622)
- // Standard Error: 18_753
- .saturating_add(Weight::from_parts(22_907_186, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_767_000 picoseconds.
+ Weight::from_parts(6_702_740, 3622)
+ // Standard Error: 23_437
+ .saturating_add(Weight::from_parts(21_208_495, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -78,8 +78,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_565_000 picoseconds.
- Weight::from_parts(7_795_000, 0)
+ // Minimum execution time: 7_836_000 picoseconds.
+ Weight::from_parts(8_115_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `AppPromotion::Admin` (r:1 w:0)
@@ -105,10 +105,10 @@
// Proof Size summary in bytes:
// Measured: `564 + b * (641 ±0)`
// Estimated: `3593 + b * (25550 ±0)`
- // Minimum execution time: 146_577_000 picoseconds.
- Weight::from_parts(147_970_000, 3593)
- // Standard Error: 59_065
- .saturating_add(Weight::from_parts(115_527_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 136_584_000 picoseconds.
+ Weight::from_parts(3_372_327, 3593)
+ // Standard Error: 21_362
+ .saturating_add(Weight::from_parts(103_567_863, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
@@ -135,8 +135,8 @@
// Proof Size summary in bytes:
// Measured: `389`
// Estimated: `4764`
- // Minimum execution time: 46_889_000 picoseconds.
- Weight::from_parts(47_549_000, 4764)
+ // Minimum execution time: 43_464_000 picoseconds.
+ Weight::from_parts(44_032_000, 4764)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -154,8 +154,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 63_069_000 picoseconds.
- Weight::from_parts(64_522_000, 29095)
+ // Minimum execution time: 58_179_000 picoseconds.
+ Weight::from_parts(58_981_000, 29095)
.saturating_add(T::DbWeight::get().reads(14_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -173,8 +173,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 84_649_000 picoseconds.
- Weight::from_parts(86_173_000, 29095)
+ // Minimum execution time: 74_937_000 picoseconds.
+ Weight::from_parts(76_167_000, 29095)
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -186,8 +186,8 @@
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `4325`
- // Minimum execution time: 24_396_000 picoseconds.
- Weight::from_parts(24_917_000, 4325)
+ // Minimum execution time: 23_306_000 picoseconds.
+ Weight::from_parts(23_680_000, 4325)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -199,8 +199,8 @@
// Proof Size summary in bytes:
// Measured: `1092`
// Estimated: `4325`
- // Minimum execution time: 22_412_000 picoseconds.
- Weight::from_parts(23_033_000, 4325)
+ // Minimum execution time: 21_298_000 picoseconds.
+ Weight::from_parts(21_651_000, 4325)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -212,8 +212,8 @@
// Proof Size summary in bytes:
// Measured: `198`
// Estimated: `1517`
- // Minimum execution time: 21_621_000 picoseconds.
- Weight::from_parts(22_041_000, 1517)
+ // Minimum execution time: 20_356_000 picoseconds.
+ Weight::from_parts(20_764_000, 1517)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -225,8 +225,8 @@
// Proof Size summary in bytes:
// Measured: `396`
// Estimated: `3527`
- // Minimum execution time: 19_186_000 picoseconds.
- Weight::from_parts(19_616_000, 3527)
+ // Minimum execution time: 18_207_000 picoseconds.
+ Weight::from_parts(18_565_000, 3527)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -249,10 +249,10 @@
// Proof Size summary in bytes:
// Measured: `222 + b * (285 ±0)`
// Estimated: `3622 + b * (3774 ±0)`
- // Minimum execution time: 6_031_000 picoseconds.
- Weight::from_parts(6_880_848, 3622)
- // Standard Error: 18_753
- .saturating_add(Weight::from_parts(22_907_186, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_767_000 picoseconds.
+ Weight::from_parts(6_702_740, 3622)
+ // Standard Error: 23_437
+ .saturating_add(Weight::from_parts(21_208_495, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -264,8 +264,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_565_000 picoseconds.
- Weight::from_parts(7_795_000, 0)
+ // Minimum execution time: 7_836_000 picoseconds.
+ Weight::from_parts(8_115_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `AppPromotion::Admin` (r:1 w:0)
@@ -291,10 +291,10 @@
// Proof Size summary in bytes:
// Measured: `564 + b * (641 ±0)`
// Estimated: `3593 + b * (25550 ±0)`
- // Minimum execution time: 146_577_000 picoseconds.
- Weight::from_parts(147_970_000, 3593)
- // Standard Error: 59_065
- .saturating_add(Weight::from_parts(115_527_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 136_584_000 picoseconds.
+ Weight::from_parts(3_372_327, 3593)
+ // Standard Error: 21_362
+ .saturating_add(Weight::from_parts(103_567_863, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().reads((13_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
@@ -321,8 +321,8 @@
// Proof Size summary in bytes:
// Measured: `389`
// Estimated: `4764`
- // Minimum execution time: 46_889_000 picoseconds.
- Weight::from_parts(47_549_000, 4764)
+ // Minimum execution time: 43_464_000 picoseconds.
+ Weight::from_parts(44_032_000, 4764)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -340,8 +340,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 63_069_000 picoseconds.
- Weight::from_parts(64_522_000, 29095)
+ // Minimum execution time: 58_179_000 picoseconds.
+ Weight::from_parts(58_981_000, 29095)
.saturating_add(RocksDbWeight::get().reads(14_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -359,8 +359,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 84_649_000 picoseconds.
- Weight::from_parts(86_173_000, 29095)
+ // Minimum execution time: 74_937_000 picoseconds.
+ Weight::from_parts(76_167_000, 29095)
.saturating_add(RocksDbWeight::get().reads(15_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -372,8 +372,8 @@
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `4325`
- // Minimum execution time: 24_396_000 picoseconds.
- Weight::from_parts(24_917_000, 4325)
+ // Minimum execution time: 23_306_000 picoseconds.
+ Weight::from_parts(23_680_000, 4325)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -385,8 +385,8 @@
// Proof Size summary in bytes:
// Measured: `1092`
// Estimated: `4325`
- // Minimum execution time: 22_412_000 picoseconds.
- Weight::from_parts(23_033_000, 4325)
+ // Minimum execution time: 21_298_000 picoseconds.
+ Weight::from_parts(21_651_000, 4325)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -398,8 +398,8 @@
// Proof Size summary in bytes:
// Measured: `198`
// Estimated: `1517`
- // Minimum execution time: 21_621_000 picoseconds.
- Weight::from_parts(22_041_000, 1517)
+ // Minimum execution time: 20_356_000 picoseconds.
+ Weight::from_parts(20_764_000, 1517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -411,8 +411,8 @@
// Proof Size summary in bytes:
// Measured: `396`
// Estimated: `3527`
- // Minimum execution time: 19_186_000 picoseconds.
- Weight::from_parts(19_616_000, 3527)
+ // Minimum execution time: 18_207_000 picoseconds.
+ Weight::from_parts(18_565_000, 3527)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/collator-selection/src/weights.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/weights.rs
+++ b/pallets/collator-selection/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_collator_selection
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/collator-selection/src/weights.rs
@@ -47,373 +47,373 @@
/// Weights for pallet_collator_selection using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[2, 8]`.
fn add_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `403 + b * (45 ±0)`
- // Estimated: `3873 + b * (45 ±0)`
- // Minimum execution time: 10_975_000 picoseconds.
- Weight::from_parts(11_362_608, 3873)
- // Standard Error: 411
- .saturating_add(Weight::from_parts(152_014, 0).saturating_mul(b.into()))
+ // Measured: `358 + b * (45 ±0)`
+ // Estimated: `3829 + b * (45 ±0)`
+ // Minimum execution time: 18_241_000 picoseconds.
+ Weight::from_parts(18_396_907, 3829)
+ // Standard Error: 1_022
+ .saturating_add(Weight::from_parts(184_843, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into()))
}
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[1, 8]`.
fn remove_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96 + b * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 6_369_000 picoseconds.
- Weight::from_parts(6_604_933, 1806)
- // Standard Error: 424
- .saturating_add(Weight::from_parts(145_929, 0).saturating_mul(b.into()))
+ // Minimum execution time: 11_945_000 picoseconds.
+ Weight::from_parts(12_355_271, 1806)
+ // Standard Error: 1_116
+ .saturating_add(Weight::from_parts(121_483, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 9]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[1, 10]`.
fn get_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `668 + c * (46 ±0)`
- // Estimated: `4131 + c * (47 ±0)`
- // Minimum execution time: 23_857_000 picoseconds.
- Weight::from_parts(25_984_655, 4131)
- // Standard Error: 4_364
- .saturating_add(Weight::from_parts(521_198, 0).saturating_mul(c.into()))
+ // Measured: `655 + c * (47 ±0)`
+ // Estimated: `4119 + c * (47 ±0)`
+ // Minimum execution time: 48_737_000 picoseconds.
+ Weight::from_parts(51_476_545, 4119)
+ // Standard Error: 9_412
+ .saturating_add(Weight::from_parts(444_940, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into()))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:0)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 7]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:0)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[2, 8]`.
fn onboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `414 + c * (54 ±0)`
+ // Measured: `360 + c * (54 ±0)`
// Estimated: `3529`
- // Minimum execution time: 14_337_000 picoseconds.
- Weight::from_parts(14_827_525, 3529)
- // Standard Error: 1_210
- .saturating_add(Weight::from_parts(298_748, 0).saturating_mul(c.into()))
+ // Minimum execution time: 24_530_000 picoseconds.
+ Weight::from_parts(24_716_259, 3529)
+ // Standard Error: 2_330
+ .saturating_add(Weight::from_parts(277_933, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn offboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `111 + c * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 7_320_000 picoseconds.
- Weight::from_parts(7_646_004, 1806)
- // Standard Error: 479
- .saturating_add(Weight::from_parts(160_089, 0).saturating_mul(c.into()))
+ // Minimum execution time: 13_646_000 picoseconds.
+ Weight::from_parts(14_002_776, 1806)
+ // Standard Error: 1_225
+ .saturating_add(Weight::from_parts(168_628, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_821_000 picoseconds.
- Weight::from_parts(23_668_202, 3834)
- // Standard Error: 6_654
- .saturating_add(Weight::from_parts(844_978, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 46_688_000 picoseconds.
+ Weight::from_parts(47_862_445, 3694)
+ // Standard Error: 9_538
+ .saturating_add(Weight::from_parts(709_448, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn force_release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_462_000 picoseconds.
- Weight::from_parts(23_215_875, 3834)
- // Standard Error: 6_450
- .saturating_add(Weight::from_parts(830_887, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 45_887_000 picoseconds.
+ Weight::from_parts(47_099_490, 3694)
+ // Standard Error: 9_203
+ .saturating_add(Weight::from_parts(708_747, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
fn note_author() -> Weight {
// Proof Size summary in bytes:
// Measured: `155`
// Estimated: `6196`
- // Minimum execution time: 17_624_000 picoseconds.
- Weight::from_parts(18_025_000, 6196)
+ // Minimum execution time: 43_192_000 picoseconds.
+ Weight::from_parts(43_667_000, 6196)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:8 w:0)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:7 w:7)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:7 w:7)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: System Account (r:8 w:8)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:8 w:0)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:7 w:7)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:7 w:7)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:8 w:8)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 8]`.
/// The range of component `c` is `[1, 8]`.
fn new_session(r: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `725 + c * (84 ±0) + r * (254 ±0)`
- // Estimated: `6196 + c * (2519 ±0) + r * (2844 ±0)`
- // Minimum execution time: 11_318_000 picoseconds.
- Weight::from_parts(11_615_000, 6196)
- // Standard Error: 69_557
- .saturating_add(Weight::from_parts(13_016_275, 0).saturating_mul(c.into()))
+ // Measured: `725 + c * (84 ±0) + r * (239 ±0)`
+ // Estimated: `26857 + c * (2519 ±0) + r * (2704 ±4)`
+ // Minimum execution time: 18_204_000 picoseconds.
+ Weight::from_parts(18_486_000, 26857)
+ // Standard Error: 368_905
+ .saturating_add(Weight::from_parts(27_883_644, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
- .saturating_add(Weight::from_parts(0, 2844).saturating_mul(r.into()))
+ .saturating_add(Weight::from_parts(0, 2704).saturating_mul(r.into()))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[2, 8]`.
fn add_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `403 + b * (45 ±0)`
- // Estimated: `3873 + b * (45 ±0)`
- // Minimum execution time: 10_975_000 picoseconds.
- Weight::from_parts(11_362_608, 3873)
- // Standard Error: 411
- .saturating_add(Weight::from_parts(152_014, 0).saturating_mul(b.into()))
+ // Measured: `358 + b * (45 ±0)`
+ // Estimated: `3829 + b * (45 ±0)`
+ // Minimum execution time: 18_241_000 picoseconds.
+ Weight::from_parts(18_396_907, 3829)
+ // Standard Error: 1_022
+ .saturating_add(Weight::from_parts(184_843, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into()))
}
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[1, 8]`.
fn remove_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96 + b * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 6_369_000 picoseconds.
- Weight::from_parts(6_604_933, 1806)
- // Standard Error: 424
- .saturating_add(Weight::from_parts(145_929, 0).saturating_mul(b.into()))
+ // Minimum execution time: 11_945_000 picoseconds.
+ Weight::from_parts(12_355_271, 1806)
+ // Standard Error: 1_116
+ .saturating_add(Weight::from_parts(121_483, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 9]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[1, 10]`.
fn get_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `668 + c * (46 ±0)`
- // Estimated: `4131 + c * (47 ±0)`
- // Minimum execution time: 23_857_000 picoseconds.
- Weight::from_parts(25_984_655, 4131)
- // Standard Error: 4_364
- .saturating_add(Weight::from_parts(521_198, 0).saturating_mul(c.into()))
+ // Measured: `655 + c * (47 ±0)`
+ // Estimated: `4119 + c * (47 ±0)`
+ // Minimum execution time: 48_737_000 picoseconds.
+ Weight::from_parts(51_476_545, 4119)
+ // Standard Error: 9_412
+ .saturating_add(Weight::from_parts(444_940, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into()))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:0)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 7]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:0)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[2, 8]`.
fn onboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `414 + c * (54 ±0)`
+ // Measured: `360 + c * (54 ±0)`
// Estimated: `3529`
- // Minimum execution time: 14_337_000 picoseconds.
- Weight::from_parts(14_827_525, 3529)
- // Standard Error: 1_210
- .saturating_add(Weight::from_parts(298_748, 0).saturating_mul(c.into()))
+ // Minimum execution time: 24_530_000 picoseconds.
+ Weight::from_parts(24_716_259, 3529)
+ // Standard Error: 2_330
+ .saturating_add(Weight::from_parts(277_933, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn offboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `111 + c * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 7_320_000 picoseconds.
- Weight::from_parts(7_646_004, 1806)
- // Standard Error: 479
- .saturating_add(Weight::from_parts(160_089, 0).saturating_mul(c.into()))
+ // Minimum execution time: 13_646_000 picoseconds.
+ Weight::from_parts(14_002_776, 1806)
+ // Standard Error: 1_225
+ .saturating_add(Weight::from_parts(168_628, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_821_000 picoseconds.
- Weight::from_parts(23_668_202, 3834)
- // Standard Error: 6_654
- .saturating_add(Weight::from_parts(844_978, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 46_688_000 picoseconds.
+ Weight::from_parts(47_862_445, 3694)
+ // Standard Error: 9_538
+ .saturating_add(Weight::from_parts(709_448, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn force_release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_462_000 picoseconds.
- Weight::from_parts(23_215_875, 3834)
- // Standard Error: 6_450
- .saturating_add(Weight::from_parts(830_887, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 45_887_000 picoseconds.
+ Weight::from_parts(47_099_490, 3694)
+ // Standard Error: 9_203
+ .saturating_add(Weight::from_parts(708_747, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
fn note_author() -> Weight {
// Proof Size summary in bytes:
// Measured: `155`
// Estimated: `6196`
- // Minimum execution time: 17_624_000 picoseconds.
- Weight::from_parts(18_025_000, 6196)
+ // Minimum execution time: 43_192_000 picoseconds.
+ Weight::from_parts(43_667_000, 6196)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:8 w:0)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:7 w:7)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:7 w:7)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: System Account (r:8 w:8)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:8 w:0)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:7 w:7)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:7 w:7)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:8 w:8)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 8]`.
/// The range of component `c` is `[1, 8]`.
fn new_session(r: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `725 + c * (84 ±0) + r * (254 ±0)`
- // Estimated: `6196 + c * (2519 ±0) + r * (2844 ±0)`
- // Minimum execution time: 11_318_000 picoseconds.
- Weight::from_parts(11_615_000, 6196)
- // Standard Error: 69_557
- .saturating_add(Weight::from_parts(13_016_275, 0).saturating_mul(c.into()))
+ // Measured: `725 + c * (84 ±0) + r * (239 ±0)`
+ // Estimated: `26857 + c * (2519 ±0) + r * (2704 ±4)`
+ // Minimum execution time: 18_204_000 picoseconds.
+ Weight::from_parts(18_486_000, 26857)
+ // Standard Error: 368_905
+ .saturating_add(Weight::from_parts(27_883_644, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
- .saturating_add(Weight::from_parts(0, 2844).saturating_mul(r.into()))
+ .saturating_add(Weight::from_parts(0, 2704).saturating_mul(r.into()))
}
}
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -5,7 +5,7 @@
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,10 +48,10 @@
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_560_000 picoseconds.
- Weight::from_parts(28_643_440, 44457)
- // Standard Error: 28_941
- .saturating_add(Weight::from_parts(18_277_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 7_698_000 picoseconds.
+ Weight::from_parts(996_959, 44457)
+ // Standard Error: 56_401
+ .saturating_add(Weight::from_parts(36_272_294, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -61,8 +61,8 @@
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
- // Minimum execution time: 4_290_000 picoseconds.
- Weight::from_parts(4_460_000, 3535)
+ // Minimum execution time: 6_235_000 picoseconds.
+ Weight::from_parts(6_437_000, 3535)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Common::IsAdmin` (r:1 w:0)
@@ -73,8 +73,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `20191`
- // Minimum execution time: 6_100_000 picoseconds.
- Weight::from_parts(6_350_000, 20191)
+ // Minimum execution time: 8_907_000 picoseconds.
+ Weight::from_parts(9_168_000, 20191)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
@@ -88,10 +88,10 @@
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_560_000 picoseconds.
- Weight::from_parts(28_643_440, 44457)
- // Standard Error: 28_941
- .saturating_add(Weight::from_parts(18_277_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 7_698_000 picoseconds.
+ Weight::from_parts(996_959, 44457)
+ // Standard Error: 56_401
+ .saturating_add(Weight::from_parts(36_272_294, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -101,8 +101,8 @@
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
- // Minimum execution time: 4_290_000 picoseconds.
- Weight::from_parts(4_460_000, 3535)
+ // Minimum execution time: 6_235_000 picoseconds.
+ Weight::from_parts(6_437_000, 3535)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Common::IsAdmin` (r:1 w:0)
@@ -113,8 +113,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `20191`
- // Minimum execution time: 6_100_000 picoseconds.
- Weight::from_parts(6_350_000, 20191)
+ // Minimum execution time: 8_907_000 picoseconds.
+ Weight::from_parts(9_168_000, 20191)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/configuration/src/weights.rsdiffbeforeafterboth--- a/pallets/configuration/src/weights.rs
+++ b/pallets/configuration/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_configuration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/configuration/src/weights.rs
@@ -44,136 +44,136 @@
/// Weights for pallet_configuration using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
- /// Proof: Configuration WeightToFeeCoefficientOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
+ /// Storage: `Configuration::WeightToFeeCoefficientOverride` (r:0 w:1)
+ /// Proof: `Configuration::WeightToFeeCoefficientOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn set_weight_to_fee_coefficient_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 990_000 picoseconds.
- Weight::from_parts(1_090_000, 0)
+ // Minimum execution time: 2_478_000 picoseconds.
+ Weight::from_parts(2_614_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration MinGasPriceOverride (r:0 w:1)
- /// Proof: Configuration MinGasPriceOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Storage: `Configuration::MinGasPriceOverride` (r:0 w:1)
+ /// Proof: `Configuration::MinGasPriceOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
fn set_min_gas_price_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_469_000 picoseconds.
- Weight::from_parts(1_565_000, 0)
+ // Minimum execution time: 3_934_000 picoseconds.
+ Weight::from_parts(4_092_000, 0)
.saturating_add(T::DbWeight::get().writes(3_u64))
}
- /// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
- /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: `Configuration::AppPromomotionConfigurationOverride` (r:0 w:1)
+ /// Proof: `Configuration::AppPromomotionConfigurationOverride` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`)
fn set_app_promotion_configuration_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_027_000 picoseconds.
- Weight::from_parts(1_098_000, 0)
+ // Minimum execution time: 2_657_000 picoseconds.
+ Weight::from_parts(2_768_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_desired_collators() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_149_000 picoseconds.
- Weight::from_parts(4_326_000, 0)
+ // Minimum execution time: 9_148_000 picoseconds.
+ Weight::from_parts(9_521_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn set_collator_selection_license_bond() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_758_000 picoseconds.
- Weight::from_parts(2_911_000, 0)
+ // Minimum execution time: 6_652_000 picoseconds.
+ Weight::from_parts(6_908_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_kick_threshold() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_695_000 picoseconds.
- Weight::from_parts(2_829_000, 0)
+ // Minimum execution time: 6_681_000 picoseconds.
+ Weight::from_parts(6_885_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
- /// Proof: Configuration WeightToFeeCoefficientOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
+ /// Storage: `Configuration::WeightToFeeCoefficientOverride` (r:0 w:1)
+ /// Proof: `Configuration::WeightToFeeCoefficientOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn set_weight_to_fee_coefficient_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 990_000 picoseconds.
- Weight::from_parts(1_090_000, 0)
+ // Minimum execution time: 2_478_000 picoseconds.
+ Weight::from_parts(2_614_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration MinGasPriceOverride (r:0 w:1)
- /// Proof: Configuration MinGasPriceOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Storage: `Configuration::MinGasPriceOverride` (r:0 w:1)
+ /// Proof: `Configuration::MinGasPriceOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
fn set_min_gas_price_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_469_000 picoseconds.
- Weight::from_parts(1_565_000, 0)
+ // Minimum execution time: 3_934_000 picoseconds.
+ Weight::from_parts(4_092_000, 0)
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
- /// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
- /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: `Configuration::AppPromomotionConfigurationOverride` (r:0 w:1)
+ /// Proof: `Configuration::AppPromomotionConfigurationOverride` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`)
fn set_app_promotion_configuration_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_027_000 picoseconds.
- Weight::from_parts(1_098_000, 0)
+ // Minimum execution time: 2_657_000 picoseconds.
+ Weight::from_parts(2_768_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_desired_collators() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_149_000 picoseconds.
- Weight::from_parts(4_326_000, 0)
+ // Minimum execution time: 9_148_000 picoseconds.
+ Weight::from_parts(9_521_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn set_collator_selection_license_bond() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_758_000 picoseconds.
- Weight::from_parts(2_911_000, 0)
+ // Minimum execution time: 6_652_000 picoseconds.
+ Weight::from_parts(6_908_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_kick_threshold() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_695_000 picoseconds.
- Weight::from_parts(2_829_000, 0)
+ // Minimum execution time: 6_681_000 picoseconds.
+ Weight::from_parts(6_885_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/evm-migration/src/weights.rs
@@ -43,50 +43,50 @@
/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: System Account (r:1 w:0)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:1 w:0)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:1 w:0)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:1 w:0)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
// Estimated: `3593`
- // Minimum execution time: 6_131_000 picoseconds.
- Weight::from_parts(6_351_000, 3593)
+ // Minimum execution time: 12_866_000 picoseconds.
+ Weight::from_parts(13_129_000, 3593)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:0)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountStorages (r:0 w:80)
- /// Proof Skipped: EVM AccountStorages (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:0)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountStorages` (r:0 w:80)
+ /// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 4_522_000 picoseconds.
- Weight::from_parts(4_569_839, 3494)
- // Standard Error: 253
- .saturating_add(Weight::from_parts(743_780, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_855_000 picoseconds.
+ Weight::from_parts(7_515_980, 3494)
+ // Standard Error: 564
+ .saturating_add(Weight::from_parts(1_535_437, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:0 w:1)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:0 w:1)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn finish(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 5_329_000 picoseconds.
- Weight::from_parts(5_677_312, 3494)
- // Standard Error: 22
- .saturating_add(Weight::from_parts(1_369, 0).saturating_mul(b.into()))
+ // Minimum execution time: 9_414_000 picoseconds.
+ Weight::from_parts(9_880_884, 3494)
+ // Standard Error: 63
+ .saturating_add(Weight::from_parts(3_067, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -95,69 +95,69 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 890_000 picoseconds.
- Weight::from_parts(1_279_871, 0)
- // Standard Error: 112
- .saturating_add(Weight::from_parts(408_968, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_983_000 picoseconds.
+ Weight::from_parts(4_354_523, 0)
+ // Standard Error: 312
+ .saturating_add(Weight::from_parts(1_329_536, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 896_000 picoseconds.
- Weight::from_parts(1_975_680, 0)
- // Standard Error: 117
- .saturating_add(Weight::from_parts(1_003_721, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_172_000 picoseconds.
+ Weight::from_parts(4_622_224, 0)
+ // Standard Error: 825
+ .saturating_add(Weight::from_parts(3_311_216, 0).saturating_mul(b.into()))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: System Account (r:1 w:0)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:1 w:0)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:1 w:0)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:1 w:0)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
// Estimated: `3593`
- // Minimum execution time: 6_131_000 picoseconds.
- Weight::from_parts(6_351_000, 3593)
+ // Minimum execution time: 12_866_000 picoseconds.
+ Weight::from_parts(13_129_000, 3593)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:0)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountStorages (r:0 w:80)
- /// Proof Skipped: EVM AccountStorages (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:0)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountStorages` (r:0 w:80)
+ /// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 4_522_000 picoseconds.
- Weight::from_parts(4_569_839, 3494)
- // Standard Error: 253
- .saturating_add(Weight::from_parts(743_780, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_855_000 picoseconds.
+ Weight::from_parts(7_515_980, 3494)
+ // Standard Error: 564
+ .saturating_add(Weight::from_parts(1_535_437, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:0 w:1)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:0 w:1)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn finish(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 5_329_000 picoseconds.
- Weight::from_parts(5_677_312, 3494)
- // Standard Error: 22
- .saturating_add(Weight::from_parts(1_369, 0).saturating_mul(b.into()))
+ // Minimum execution time: 9_414_000 picoseconds.
+ Weight::from_parts(9_880_884, 3494)
+ // Standard Error: 63
+ .saturating_add(Weight::from_parts(3_067, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -166,20 +166,20 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 890_000 picoseconds.
- Weight::from_parts(1_279_871, 0)
- // Standard Error: 112
- .saturating_add(Weight::from_parts(408_968, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_983_000 picoseconds.
+ Weight::from_parts(4_354_523, 0)
+ // Standard Error: 312
+ .saturating_add(Weight::from_parts(1_329_536, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 896_000 picoseconds.
- Weight::from_parts(1_975_680, 0)
- // Standard Error: 117
- .saturating_add(Weight::from_parts(1_003_721, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_172_000 picoseconds.
+ Weight::from_parts(4_622_224, 0)
+ // Standard Error: 825
+ .saturating_add(Weight::from_parts(3_311_216, 0).saturating_mul(b.into()))
}
}
pallets/foreign-assets/src/weights.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_foreign_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/foreign-assets/src/weights.rs
@@ -40,49 +40,49 @@
/// Weights for pallet_foreign_assets using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
- /// Proof: ForeignAssets NextForeignAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
- /// Proof: ForeignAssets LocationToCurrencyIds (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetBinding (r:1 w:1)
- /// Proof: ForeignAssets AssetBinding (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::NextForeignAssetId` (r:1 w:1)
+ /// Proof: `ForeignAssets::NextForeignAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::LocationToCurrencyIds` (r:1 w:1)
+ /// Proof: `ForeignAssets::LocationToCurrencyIds` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetBinding` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetBinding` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `6196`
- // Minimum execution time: 33_294_000 picoseconds.
- Weight::from_parts(34_011_000, 6196)
+ // Minimum execution time: 73_798_000 picoseconds.
+ Weight::from_parts(74_677_000, 6196)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
}
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `4079`
- // Minimum execution time: 9_296_000 picoseconds.
- Weight::from_parts(9_594_000, 4079)
+ // Minimum execution time: 17_398_000 picoseconds.
+ Weight::from_parts(17_697_000, 4079)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -90,49 +90,49 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
- /// Proof: ForeignAssets NextForeignAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
- /// Proof: ForeignAssets LocationToCurrencyIds (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetBinding (r:1 w:1)
- /// Proof: ForeignAssets AssetBinding (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::NextForeignAssetId` (r:1 w:1)
+ /// Proof: `ForeignAssets::NextForeignAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::LocationToCurrencyIds` (r:1 w:1)
+ /// Proof: `ForeignAssets::LocationToCurrencyIds` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetBinding` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetBinding` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `6196`
- // Minimum execution time: 33_294_000 picoseconds.
- Weight::from_parts(34_011_000, 6196)
+ // Minimum execution time: 73_798_000 picoseconds.
+ Weight::from_parts(74_677_000, 6196)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
}
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `4079`
- // Minimum execution time: 9_296_000 picoseconds.
- Weight::from_parts(9_594_000, 4079)
+ // Minimum execution time: 17_398_000 picoseconds.
+ Weight::from_parts(17_697_000, 4079)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/fungible/src/weights.rs
@@ -47,120 +47,120 @@
/// Weights for pallet_fungible using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3542`
- // Minimum execution time: 7_228_000 picoseconds.
- Weight::from_parts(7_472_000, 3542)
+ // Minimum execution time: 16_400_000 picoseconds.
+ Weight::from_parts(16_766_000, 3542)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:200 w:200)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:200 w:200)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3493 + b * (2552 ±0)`
- // Minimum execution time: 2_398_000 picoseconds.
- Weight::from_parts(4_432_908, 3493)
- // Standard Error: 263
- .saturating_add(Weight::from_parts(2_617_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 4_433_000 picoseconds.
+ Weight::from_parts(8_081_231, 3493)
+ // Standard Error: 1_938
+ .saturating_add(Weight::from_parts(8_035_527, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
.saturating_add(Weight::from_parts(0, 2552).saturating_mul(b.into()))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `3542`
- // Minimum execution time: 9_444_000 picoseconds.
- Weight::from_parts(9_742_000, 3542)
+ // Minimum execution time: 18_076_000 picoseconds.
+ Weight::from_parts(18_369_000, 3542)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:2 w:2)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:2 w:2)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `6094`
- // Minimum execution time: 9_553_000 picoseconds.
- Weight::from_parts(9_852_000, 6094)
+ // Minimum execution time: 20_068_000 picoseconds.
+ Weight::from_parts(20_417_000, 6094)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `3542`
- // Minimum execution time: 8_435_000 picoseconds.
- Weight::from_parts(8_714_000, 3542)
+ // Minimum execution time: 16_407_000 picoseconds.
+ Weight::from_parts(16_695_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3542`
- // Minimum execution time: 8_475_000 picoseconds.
- Weight::from_parts(8_735_000, 3542)
+ // Minimum execution time: 16_794_000 picoseconds.
+ Weight::from_parts(17_217_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:0)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:0)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
// Estimated: `3558`
- // Minimum execution time: 4_426_000 picoseconds.
- Weight::from_parts(4_604_000, 3558)
+ // Minimum execution time: 6_608_000 picoseconds.
+ Weight::from_parts(6_770_000, 3558)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn set_allowance_unchecked_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_130_000 picoseconds.
- Weight::from_parts(4_275_000, 0)
+ // Minimum execution time: 10_426_000 picoseconds.
+ Weight::from_parts(10_666_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
// Estimated: `3558`
- // Minimum execution time: 14_878_000 picoseconds.
- Weight::from_parts(15_263_000, 3558)
+ // Minimum execution time: 30_352_000 picoseconds.
+ Weight::from_parts(30_909_000, 3558)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -168,120 +168,120 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3542`
- // Minimum execution time: 7_228_000 picoseconds.
- Weight::from_parts(7_472_000, 3542)
+ // Minimum execution time: 16_400_000 picoseconds.
+ Weight::from_parts(16_766_000, 3542)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:200 w:200)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:200 w:200)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3493 + b * (2552 ±0)`
- // Minimum execution time: 2_398_000 picoseconds.
- Weight::from_parts(4_432_908, 3493)
- // Standard Error: 263
- .saturating_add(Weight::from_parts(2_617_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 4_433_000 picoseconds.
+ Weight::from_parts(8_081_231, 3493)
+ // Standard Error: 1_938
+ .saturating_add(Weight::from_parts(8_035_527, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
.saturating_add(Weight::from_parts(0, 2552).saturating_mul(b.into()))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `3542`
- // Minimum execution time: 9_444_000 picoseconds.
- Weight::from_parts(9_742_000, 3542)
+ // Minimum execution time: 18_076_000 picoseconds.
+ Weight::from_parts(18_369_000, 3542)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:2 w:2)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:2 w:2)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `6094`
- // Minimum execution time: 9_553_000 picoseconds.
- Weight::from_parts(9_852_000, 6094)
+ // Minimum execution time: 20_068_000 picoseconds.
+ Weight::from_parts(20_417_000, 6094)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `3542`
- // Minimum execution time: 8_435_000 picoseconds.
- Weight::from_parts(8_714_000, 3542)
+ // Minimum execution time: 16_407_000 picoseconds.
+ Weight::from_parts(16_695_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3542`
- // Minimum execution time: 8_475_000 picoseconds.
- Weight::from_parts(8_735_000, 3542)
+ // Minimum execution time: 16_794_000 picoseconds.
+ Weight::from_parts(17_217_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:0)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:0)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
// Estimated: `3558`
- // Minimum execution time: 4_426_000 picoseconds.
- Weight::from_parts(4_604_000, 3558)
+ // Minimum execution time: 6_608_000 picoseconds.
+ Weight::from_parts(6_770_000, 3558)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn set_allowance_unchecked_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_130_000 picoseconds.
- Weight::from_parts(4_275_000, 0)
+ // Minimum execution time: 10_426_000 picoseconds.
+ Weight::from_parts(10_666_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
// Estimated: `3558`
- // Minimum execution time: 14_878_000 picoseconds.
- Weight::from_parts(15_263_000, 3558)
+ // Minimum execution time: 30_352_000 picoseconds.
+ Weight::from_parts(30_909_000, 3558)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
pallets/identity/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_identity4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-09-27, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-identity17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=40024// --heap-pages=409625// --output=./pallets/identity/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_identity.35pub trait WeightInfo {36 fn add_registrar(r: u32, ) -> Weight;37 fn set_identity(r: u32, x: u32, ) -> Weight;38 fn set_subs_new(s: u32, ) -> Weight;39 fn set_subs_old(p: u32, ) -> Weight;40 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight;41 fn request_judgement(r: u32, x: u32, ) -> Weight;42 fn cancel_request(r: u32, x: u32, ) -> Weight;43 fn set_fee(r: u32, ) -> Weight;44 fn set_account_id(r: u32, ) -> Weight;45 fn set_fields(r: u32, ) -> Weight;46 fn provide_judgement(r: u32, x: u32, ) -> Weight;47 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;48 fn force_insert_identities(x: u32, n: u32, ) -> Weight;49 fn force_remove_identities(x: u32, n: u32, ) -> Weight;50 fn force_set_subs(s: u32, n: u32, ) -> Weight;51 fn add_sub(s: u32, ) -> Weight;52 fn rename_sub(s: u32, ) -> Weight;53 fn remove_sub(s: u32, ) -> Weight;54 fn quit_sub(s: u32, ) -> Weight;55}5657/// Weights for pallet_identity using the Substrate node and recommended hardware.58pub struct SubstrateWeight<T>(PhantomData<T>);59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {60 /// Storage: Identity Registrars (r:1 w:1)61 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)62 /// The range of component `r` is `[1, 19]`.63 fn add_registrar(r: u32, ) -> Weight {64 // Proof Size summary in bytes:65 // Measured: `31 + r * (57 ±0)`66 // Estimated: `2626`67 // Minimum execution time: 6_759_000 picoseconds.68 Weight::from_parts(7_254_560, 2626)69 // Standard Error: 23170 .saturating_add(Weight::from_parts(64_513, 0).saturating_mul(r.into()))71 .saturating_add(T::DbWeight::get().reads(1_u64))72 .saturating_add(T::DbWeight::get().writes(1_u64))73 }74 /// Storage: Identity IdentityOf (r:1 w:1)75 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)76 /// The range of component `r` is `[1, 20]`.77 /// The range of component `x` is `[0, 100]`.78 fn set_identity(r: u32, x: u32, ) -> Weight {79 // Proof Size summary in bytes:80 // Measured: `441 + r * (5 ±0)`81 // Estimated: `11003`82 // Minimum execution time: 14_134_000 picoseconds.83 Weight::from_parts(12_591_985, 11003)84 // Standard Error: 56285 .saturating_add(Weight::from_parts(77_682, 0).saturating_mul(r.into()))86 // Standard Error: 10987 .saturating_add(Weight::from_parts(96_303, 0).saturating_mul(x.into()))88 .saturating_add(T::DbWeight::get().reads(1_u64))89 .saturating_add(T::DbWeight::get().writes(1_u64))90 }91 /// Storage: Identity IdentityOf (r:1 w:0)92 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)93 /// Storage: Identity SubsOf (r:1 w:1)94 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)95 /// Storage: Identity SuperOf (r:100 w:100)96 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)97 /// The range of component `s` is `[0, 100]`.98 fn set_subs_new(s: u32, ) -> Weight {99 // Proof Size summary in bytes:100 // Measured: `100`101 // Estimated: `11003 + s * (2589 ±0)`102 // Minimum execution time: 4_763_000 picoseconds.103 Weight::from_parts(11_344_974, 11003)104 // Standard Error: 401105 .saturating_add(Weight::from_parts(1_141_028, 0).saturating_mul(s.into()))106 .saturating_add(T::DbWeight::get().reads(2_u64))107 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))108 .saturating_add(T::DbWeight::get().writes(1_u64))109 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))110 .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))111 }112 /// Storage: Identity IdentityOf (r:1 w:0)113 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)114 /// Storage: Identity SubsOf (r:1 w:1)115 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)116 /// Storage: Identity SuperOf (r:0 w:100)117 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)118 /// The range of component `p` is `[0, 100]`.119 fn set_subs_old(p: u32, ) -> Weight {120 // Proof Size summary in bytes:121 // Measured: `193 + p * (32 ±0)`122 // Estimated: `11003`123 // Minimum execution time: 4_783_000 picoseconds.124 Weight::from_parts(11_531_027, 11003)125 // Standard Error: 369126 .saturating_add(Weight::from_parts(542_102, 0).saturating_mul(p.into()))127 .saturating_add(T::DbWeight::get().reads(2_u64))128 .saturating_add(T::DbWeight::get().writes(1_u64))129 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))130 }131 /// Storage: Identity SubsOf (r:1 w:1)132 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)133 /// Storage: Identity IdentityOf (r:1 w:1)134 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)135 /// Storage: Identity SuperOf (r:0 w:100)136 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)137 /// The range of component `r` is `[1, 20]`.138 /// The range of component `s` is `[0, 100]`.139 /// The range of component `x` is `[0, 100]`.140 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {141 // Proof Size summary in bytes:142 // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`143 // Estimated: `11003`144 // Minimum execution time: 23_175_000 picoseconds.145 Weight::from_parts(16_503_215, 11003)146 // Standard Error: 625147 .saturating_add(Weight::from_parts(1_175, 0).saturating_mul(r.into()))148 // Standard Error: 122149 .saturating_add(Weight::from_parts(533_184, 0).saturating_mul(s.into()))150 // Standard Error: 122151 .saturating_add(Weight::from_parts(94_600, 0).saturating_mul(x.into()))152 .saturating_add(T::DbWeight::get().reads(2_u64))153 .saturating_add(T::DbWeight::get().writes(2_u64))154 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))155 }156 /// Storage: Identity Registrars (r:1 w:0)157 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)158 /// Storage: Identity IdentityOf (r:1 w:1)159 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)160 /// The range of component `r` is `[1, 20]`.161 /// The range of component `x` is `[0, 100]`.162 fn request_judgement(r: u32, x: u32, ) -> Weight {163 // Proof Size summary in bytes:164 // Measured: `366 + r * (57 ±0) + x * (66 ±0)`165 // Estimated: `11003`166 // Minimum execution time: 15_322_000 picoseconds.167 Weight::from_parts(13_671_670, 11003)168 // Standard Error: 722169 .saturating_add(Weight::from_parts(73_665, 0).saturating_mul(r.into()))170 // Standard Error: 140171 .saturating_add(Weight::from_parts(124_598, 0).saturating_mul(x.into()))172 .saturating_add(T::DbWeight::get().reads(2_u64))173 .saturating_add(T::DbWeight::get().writes(1_u64))174 }175 /// Storage: Identity IdentityOf (r:1 w:1)176 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)177 /// The range of component `r` is `[1, 20]`.178 /// The range of component `x` is `[0, 100]`.179 fn cancel_request(r: u32, x: u32, ) -> Weight {180 // Proof Size summary in bytes:181 // Measured: `397 + x * (66 ±0)`182 // Estimated: `11003`183 // Minimum execution time: 13_268_000 picoseconds.184 Weight::from_parts(12_489_352, 11003)185 // Standard Error: 544186 .saturating_add(Weight::from_parts(35_424, 0).saturating_mul(r.into()))187 // Standard Error: 106188 .saturating_add(Weight::from_parts(123_149, 0).saturating_mul(x.into()))189 .saturating_add(T::DbWeight::get().reads(1_u64))190 .saturating_add(T::DbWeight::get().writes(1_u64))191 }192 /// Storage: Identity Registrars (r:1 w:1)193 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)194 /// The range of component `r` is `[1, 19]`.195 fn set_fee(r: u32, ) -> Weight {196 // Proof Size summary in bytes:197 // Measured: `88 + r * (57 ±0)`198 // Estimated: `2626`199 // Minimum execution time: 4_845_000 picoseconds.200 Weight::from_parts(5_147_478, 2626)201 // Standard Error: 169202 .saturating_add(Weight::from_parts(55_561, 0).saturating_mul(r.into()))203 .saturating_add(T::DbWeight::get().reads(1_u64))204 .saturating_add(T::DbWeight::get().writes(1_u64))205 }206 /// Storage: Identity Registrars (r:1 w:1)207 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)208 /// The range of component `r` is `[1, 19]`.209 fn set_account_id(r: u32, ) -> Weight {210 // Proof Size summary in bytes:211 // Measured: `88 + r * (57 ±0)`212 // Estimated: `2626`213 // Minimum execution time: 4_191_000 picoseconds.214 Weight::from_parts(4_478_351, 2626)215 // Standard Error: 138216 .saturating_add(Weight::from_parts(53_627, 0).saturating_mul(r.into()))217 .saturating_add(T::DbWeight::get().reads(1_u64))218 .saturating_add(T::DbWeight::get().writes(1_u64))219 }220 /// Storage: Identity Registrars (r:1 w:1)221 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)222 /// The range of component `r` is `[1, 19]`.223 fn set_fields(r: u32, ) -> Weight {224 // Proof Size summary in bytes:225 // Measured: `88 + r * (57 ±0)`226 // Estimated: `2626`227 // Minimum execution time: 4_003_000 picoseconds.228 Weight::from_parts(4_303_365, 2626)229 // Standard Error: 147230 .saturating_add(Weight::from_parts(52_472, 0).saturating_mul(r.into()))231 .saturating_add(T::DbWeight::get().reads(1_u64))232 .saturating_add(T::DbWeight::get().writes(1_u64))233 }234 /// Storage: Identity Registrars (r:1 w:0)235 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)236 /// Storage: Identity IdentityOf (r:1 w:1)237 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)238 /// The range of component `r` is `[1, 19]`.239 /// The range of component `x` is `[0, 100]`.240 fn provide_judgement(r: u32, x: u32, ) -> Weight {241 // Proof Size summary in bytes:242 // Measured: `444 + r * (57 ±0) + x * (66 ±0)`243 // Estimated: `11003`244 // Minimum execution time: 11_465_000 picoseconds.245 Weight::from_parts(10_326_049, 11003)246 // Standard Error: 660247 .saturating_add(Weight::from_parts(48_922, 0).saturating_mul(r.into()))248 // Standard Error: 122249 .saturating_add(Weight::from_parts(185_374, 0).saturating_mul(x.into()))250 .saturating_add(T::DbWeight::get().reads(2_u64))251 .saturating_add(T::DbWeight::get().writes(1_u64))252 }253 /// Storage: Identity SubsOf (r:1 w:1)254 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)255 /// Storage: Identity IdentityOf (r:1 w:1)256 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)257 /// Storage: System Account (r:2 w:2)258 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)259 /// Storage: Identity SuperOf (r:0 w:100)260 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)261 /// The range of component `r` is `[1, 20]`.262 /// The range of component `s` is `[0, 100]`.263 /// The range of component `x` is `[0, 100]`.264 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {265 // Proof Size summary in bytes:266 // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`267 // Estimated: `11003`268 // Minimum execution time: 34_933_000 picoseconds.269 Weight::from_parts(28_994_022, 11003)270 // Standard Error: 668271 .saturating_add(Weight::from_parts(21_722, 0).saturating_mul(r.into()))272 // Standard Error: 130273 .saturating_add(Weight::from_parts(540_580, 0).saturating_mul(s.into()))274 // Standard Error: 130275 .saturating_add(Weight::from_parts(89_348, 0).saturating_mul(x.into()))276 .saturating_add(T::DbWeight::get().reads(4_u64))277 .saturating_add(T::DbWeight::get().writes(4_u64))278 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))279 }280 /// Storage: Identity IdentityOf (r:0 w:600)281 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)282 /// The range of component `x` is `[0, 100]`.283 /// The range of component `n` is `[0, 600]`.284 fn force_insert_identities(x: u32, n: u32, ) -> Weight {285 // Proof Size summary in bytes:286 // Measured: `0`287 // Estimated: `0`288 // Minimum execution time: 2_770_000 picoseconds.289 Weight::from_parts(2_875_000, 0)290 // Standard Error: 281_295291 .saturating_add(Weight::from_parts(37_513_186, 0).saturating_mul(x.into()))292 // Standard Error: 46_799293 .saturating_add(Weight::from_parts(7_949_936, 0).saturating_mul(n.into()))294 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))295 }296 /// Storage: Identity SubsOf (r:600 w:0)297 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)298 /// Storage: Identity IdentityOf (r:0 w:600)299 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)300 /// The range of component `x` is `[0, 100]`.301 /// The range of component `n` is `[0, 600]`.302 fn force_remove_identities(x: u32, n: u32, ) -> Weight {303 // Proof Size summary in bytes:304 // Measured: `41`305 // Estimated: `990 + n * (5733 ±0)`306 // Minimum execution time: 2_751_000 picoseconds.307 Weight::from_parts(2_862_000, 990)308 // Standard Error: 953309 .saturating_add(Weight::from_parts(28_947, 0).saturating_mul(x.into()))310 // Standard Error: 158311 .saturating_add(Weight::from_parts(994_085, 0).saturating_mul(n.into()))312 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))313 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))314 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))315 }316 /// Storage: Identity SubsOf (r:600 w:600)317 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)318 /// Storage: Identity SuperOf (r:0 w:100)319 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)320 /// The range of component `s` is `[0, 100]`.321 /// The range of component `n` is `[0, 600]`.322 fn force_set_subs(s: u32, n: u32, ) -> Weight {323 // Proof Size summary in bytes:324 // Measured: `41`325 // Estimated: `990 + n * (5733 ±0)`326 // Minimum execution time: 2_671_000 picoseconds.327 Weight::from_parts(2_814_000, 990)328 // Standard Error: 785_159329 .saturating_add(Weight::from_parts(109_659_566, 0).saturating_mul(s.into()))330 // Standard Error: 130_628331 .saturating_add(Weight::from_parts(19_169_269, 0).saturating_mul(n.into()))332 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))333 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))334 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))335 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))336 }337 /// Storage: Identity IdentityOf (r:1 w:0)338 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)339 /// Storage: Identity SuperOf (r:1 w:1)340 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)341 /// Storage: Identity SubsOf (r:1 w:1)342 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)343 /// The range of component `s` is `[0, 99]`.344 fn add_sub(s: u32, ) -> Weight {345 // Proof Size summary in bytes:346 // Measured: `474 + s * (36 ±0)`347 // Estimated: `11003`348 // Minimum execution time: 12_571_000 picoseconds.349 Weight::from_parts(16_366_301, 11003)350 // Standard Error: 217351 .saturating_add(Weight::from_parts(42_542, 0).saturating_mul(s.into()))352 .saturating_add(T::DbWeight::get().reads(3_u64))353 .saturating_add(T::DbWeight::get().writes(2_u64))354 }355 /// Storage: Identity IdentityOf (r:1 w:0)356 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)357 /// Storage: Identity SuperOf (r:1 w:1)358 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)359 /// The range of component `s` is `[1, 100]`.360 fn rename_sub(s: u32, ) -> Weight {361 // Proof Size summary in bytes:362 // Measured: `590 + s * (3 ±0)`363 // Estimated: `11003`364 // Minimum execution time: 7_278_000 picoseconds.365 Weight::from_parts(9_227_799, 11003)366 // Standard Error: 104367 .saturating_add(Weight::from_parts(14_014, 0).saturating_mul(s.into()))368 .saturating_add(T::DbWeight::get().reads(2_u64))369 .saturating_add(T::DbWeight::get().writes(1_u64))370 }371 /// Storage: Identity IdentityOf (r:1 w:0)372 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)373 /// Storage: Identity SuperOf (r:1 w:1)374 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)375 /// Storage: Identity SubsOf (r:1 w:1)376 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)377 /// The range of component `s` is `[1, 100]`.378 fn remove_sub(s: u32, ) -> Weight {379 // Proof Size summary in bytes:380 // Measured: `637 + s * (35 ±0)`381 // Estimated: `11003`382 // Minimum execution time: 15_771_000 picoseconds.383 Weight::from_parts(18_105_475, 11003)384 // Standard Error: 129385 .saturating_add(Weight::from_parts(32_074, 0).saturating_mul(s.into()))386 .saturating_add(T::DbWeight::get().reads(3_u64))387 .saturating_add(T::DbWeight::get().writes(2_u64))388 }389 /// Storage: Identity SuperOf (r:1 w:1)390 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)391 /// Storage: Identity SubsOf (r:1 w:1)392 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)393 /// Storage: System Account (r:1 w:0)394 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)395 /// The range of component `s` is `[0, 99]`.396 fn quit_sub(s: u32, ) -> Weight {397 // Proof Size summary in bytes:398 // Measured: `703 + s * (37 ±0)`399 // Estimated: `6723`400 // Minimum execution time: 14_093_000 picoseconds.401 Weight::from_parts(16_125_177, 6723)402 // Standard Error: 146403 .saturating_add(Weight::from_parts(39_270, 0).saturating_mul(s.into()))404 .saturating_add(T::DbWeight::get().reads(3_u64))405 .saturating_add(T::DbWeight::get().writes(2_u64))406 }407}408409// For backwards compatibility and tests410impl WeightInfo for () {411 /// Storage: Identity Registrars (r:1 w:1)412 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)413 /// The range of component `r` is `[1, 19]`.414 fn add_registrar(r: u32, ) -> Weight {415 // Proof Size summary in bytes:416 // Measured: `31 + r * (57 ±0)`417 // Estimated: `2626`418 // Minimum execution time: 6_759_000 picoseconds.419 Weight::from_parts(7_254_560, 2626)420 // Standard Error: 231421 .saturating_add(Weight::from_parts(64_513, 0).saturating_mul(r.into()))422 .saturating_add(RocksDbWeight::get().reads(1_u64))423 .saturating_add(RocksDbWeight::get().writes(1_u64))424 }425 /// Storage: Identity IdentityOf (r:1 w:1)426 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)427 /// The range of component `r` is `[1, 20]`.428 /// The range of component `x` is `[0, 100]`.429 fn set_identity(r: u32, x: u32, ) -> Weight {430 // Proof Size summary in bytes:431 // Measured: `441 + r * (5 ±0)`432 // Estimated: `11003`433 // Minimum execution time: 14_134_000 picoseconds.434 Weight::from_parts(12_591_985, 11003)435 // Standard Error: 562436 .saturating_add(Weight::from_parts(77_682, 0).saturating_mul(r.into()))437 // Standard Error: 109438 .saturating_add(Weight::from_parts(96_303, 0).saturating_mul(x.into()))439 .saturating_add(RocksDbWeight::get().reads(1_u64))440 .saturating_add(RocksDbWeight::get().writes(1_u64))441 }442 /// Storage: Identity IdentityOf (r:1 w:0)443 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)444 /// Storage: Identity SubsOf (r:1 w:1)445 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)446 /// Storage: Identity SuperOf (r:100 w:100)447 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)448 /// The range of component `s` is `[0, 100]`.449 fn set_subs_new(s: u32, ) -> Weight {450 // Proof Size summary in bytes:451 // Measured: `100`452 // Estimated: `11003 + s * (2589 ±0)`453 // Minimum execution time: 4_763_000 picoseconds.454 Weight::from_parts(11_344_974, 11003)455 // Standard Error: 401456 .saturating_add(Weight::from_parts(1_141_028, 0).saturating_mul(s.into()))457 .saturating_add(RocksDbWeight::get().reads(2_u64))458 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into())))459 .saturating_add(RocksDbWeight::get().writes(1_u64))460 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))461 .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))462 }463 /// Storage: Identity IdentityOf (r:1 w:0)464 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)465 /// Storage: Identity SubsOf (r:1 w:1)466 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)467 /// Storage: Identity SuperOf (r:0 w:100)468 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)469 /// The range of component `p` is `[0, 100]`.470 fn set_subs_old(p: u32, ) -> Weight {471 // Proof Size summary in bytes:472 // Measured: `193 + p * (32 ±0)`473 // Estimated: `11003`474 // Minimum execution time: 4_783_000 picoseconds.475 Weight::from_parts(11_531_027, 11003)476 // Standard Error: 369477 .saturating_add(Weight::from_parts(542_102, 0).saturating_mul(p.into()))478 .saturating_add(RocksDbWeight::get().reads(2_u64))479 .saturating_add(RocksDbWeight::get().writes(1_u64))480 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))481 }482 /// Storage: Identity SubsOf (r:1 w:1)483 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)484 /// Storage: Identity IdentityOf (r:1 w:1)485 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)486 /// Storage: Identity SuperOf (r:0 w:100)487 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)488 /// The range of component `r` is `[1, 20]`.489 /// The range of component `s` is `[0, 100]`.490 /// The range of component `x` is `[0, 100]`.491 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {492 // Proof Size summary in bytes:493 // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`494 // Estimated: `11003`495 // Minimum execution time: 23_175_000 picoseconds.496 Weight::from_parts(16_503_215, 11003)497 // Standard Error: 625498 .saturating_add(Weight::from_parts(1_175, 0).saturating_mul(r.into()))499 // Standard Error: 122500 .saturating_add(Weight::from_parts(533_184, 0).saturating_mul(s.into()))501 // Standard Error: 122502 .saturating_add(Weight::from_parts(94_600, 0).saturating_mul(x.into()))503 .saturating_add(RocksDbWeight::get().reads(2_u64))504 .saturating_add(RocksDbWeight::get().writes(2_u64))505 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))506 }507 /// Storage: Identity Registrars (r:1 w:0)508 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)509 /// Storage: Identity IdentityOf (r:1 w:1)510 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)511 /// The range of component `r` is `[1, 20]`.512 /// The range of component `x` is `[0, 100]`.513 fn request_judgement(r: u32, x: u32, ) -> Weight {514 // Proof Size summary in bytes:515 // Measured: `366 + r * (57 ±0) + x * (66 ±0)`516 // Estimated: `11003`517 // Minimum execution time: 15_322_000 picoseconds.518 Weight::from_parts(13_671_670, 11003)519 // Standard Error: 722520 .saturating_add(Weight::from_parts(73_665, 0).saturating_mul(r.into()))521 // Standard Error: 140522 .saturating_add(Weight::from_parts(124_598, 0).saturating_mul(x.into()))523 .saturating_add(RocksDbWeight::get().reads(2_u64))524 .saturating_add(RocksDbWeight::get().writes(1_u64))525 }526 /// Storage: Identity IdentityOf (r:1 w:1)527 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)528 /// The range of component `r` is `[1, 20]`.529 /// The range of component `x` is `[0, 100]`.530 fn cancel_request(r: u32, x: u32, ) -> Weight {531 // Proof Size summary in bytes:532 // Measured: `397 + x * (66 ±0)`533 // Estimated: `11003`534 // Minimum execution time: 13_268_000 picoseconds.535 Weight::from_parts(12_489_352, 11003)536 // Standard Error: 544537 .saturating_add(Weight::from_parts(35_424, 0).saturating_mul(r.into()))538 // Standard Error: 106539 .saturating_add(Weight::from_parts(123_149, 0).saturating_mul(x.into()))540 .saturating_add(RocksDbWeight::get().reads(1_u64))541 .saturating_add(RocksDbWeight::get().writes(1_u64))542 }543 /// Storage: Identity Registrars (r:1 w:1)544 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)545 /// The range of component `r` is `[1, 19]`.546 fn set_fee(r: u32, ) -> Weight {547 // Proof Size summary in bytes:548 // Measured: `88 + r * (57 ±0)`549 // Estimated: `2626`550 // Minimum execution time: 4_845_000 picoseconds.551 Weight::from_parts(5_147_478, 2626)552 // Standard Error: 169553 .saturating_add(Weight::from_parts(55_561, 0).saturating_mul(r.into()))554 .saturating_add(RocksDbWeight::get().reads(1_u64))555 .saturating_add(RocksDbWeight::get().writes(1_u64))556 }557 /// Storage: Identity Registrars (r:1 w:1)558 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)559 /// The range of component `r` is `[1, 19]`.560 fn set_account_id(r: u32, ) -> Weight {561 // Proof Size summary in bytes:562 // Measured: `88 + r * (57 ±0)`563 // Estimated: `2626`564 // Minimum execution time: 4_191_000 picoseconds.565 Weight::from_parts(4_478_351, 2626)566 // Standard Error: 138567 .saturating_add(Weight::from_parts(53_627, 0).saturating_mul(r.into()))568 .saturating_add(RocksDbWeight::get().reads(1_u64))569 .saturating_add(RocksDbWeight::get().writes(1_u64))570 }571 /// Storage: Identity Registrars (r:1 w:1)572 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)573 /// The range of component `r` is `[1, 19]`.574 fn set_fields(r: u32, ) -> Weight {575 // Proof Size summary in bytes:576 // Measured: `88 + r * (57 ±0)`577 // Estimated: `2626`578 // Minimum execution time: 4_003_000 picoseconds.579 Weight::from_parts(4_303_365, 2626)580 // Standard Error: 147581 .saturating_add(Weight::from_parts(52_472, 0).saturating_mul(r.into()))582 .saturating_add(RocksDbWeight::get().reads(1_u64))583 .saturating_add(RocksDbWeight::get().writes(1_u64))584 }585 /// Storage: Identity Registrars (r:1 w:0)586 /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)587 /// Storage: Identity IdentityOf (r:1 w:1)588 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)589 /// The range of component `r` is `[1, 19]`.590 /// The range of component `x` is `[0, 100]`.591 fn provide_judgement(r: u32, x: u32, ) -> Weight {592 // Proof Size summary in bytes:593 // Measured: `444 + r * (57 ±0) + x * (66 ±0)`594 // Estimated: `11003`595 // Minimum execution time: 11_465_000 picoseconds.596 Weight::from_parts(10_326_049, 11003)597 // Standard Error: 660598 .saturating_add(Weight::from_parts(48_922, 0).saturating_mul(r.into()))599 // Standard Error: 122600 .saturating_add(Weight::from_parts(185_374, 0).saturating_mul(x.into()))601 .saturating_add(RocksDbWeight::get().reads(2_u64))602 .saturating_add(RocksDbWeight::get().writes(1_u64))603 }604 /// Storage: Identity SubsOf (r:1 w:1)605 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)606 /// Storage: Identity IdentityOf (r:1 w:1)607 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)608 /// Storage: System Account (r:2 w:2)609 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)610 /// Storage: Identity SuperOf (r:0 w:100)611 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)612 /// The range of component `r` is `[1, 20]`.613 /// The range of component `s` is `[0, 100]`.614 /// The range of component `x` is `[0, 100]`.615 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {616 // Proof Size summary in bytes:617 // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`618 // Estimated: `11003`619 // Minimum execution time: 34_933_000 picoseconds.620 Weight::from_parts(28_994_022, 11003)621 // Standard Error: 668622 .saturating_add(Weight::from_parts(21_722, 0).saturating_mul(r.into()))623 // Standard Error: 130624 .saturating_add(Weight::from_parts(540_580, 0).saturating_mul(s.into()))625 // Standard Error: 130626 .saturating_add(Weight::from_parts(89_348, 0).saturating_mul(x.into()))627 .saturating_add(RocksDbWeight::get().reads(4_u64))628 .saturating_add(RocksDbWeight::get().writes(4_u64))629 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))630 }631 /// Storage: Identity IdentityOf (r:0 w:600)632 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)633 /// The range of component `x` is `[0, 100]`.634 /// The range of component `n` is `[0, 600]`.635 fn force_insert_identities(x: u32, n: u32, ) -> Weight {636 // Proof Size summary in bytes:637 // Measured: `0`638 // Estimated: `0`639 // Minimum execution time: 2_770_000 picoseconds.640 Weight::from_parts(2_875_000, 0)641 // Standard Error: 281_295642 .saturating_add(Weight::from_parts(37_513_186, 0).saturating_mul(x.into()))643 // Standard Error: 46_799644 .saturating_add(Weight::from_parts(7_949_936, 0).saturating_mul(n.into()))645 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))646 }647 /// Storage: Identity SubsOf (r:600 w:0)648 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)649 /// Storage: Identity IdentityOf (r:0 w:600)650 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)651 /// The range of component `x` is `[0, 100]`.652 /// The range of component `n` is `[0, 600]`.653 fn force_remove_identities(x: u32, n: u32, ) -> Weight {654 // Proof Size summary in bytes:655 // Measured: `41`656 // Estimated: `990 + n * (5733 ±0)`657 // Minimum execution time: 2_751_000 picoseconds.658 Weight::from_parts(2_862_000, 990)659 // Standard Error: 953660 .saturating_add(Weight::from_parts(28_947, 0).saturating_mul(x.into()))661 // Standard Error: 158662 .saturating_add(Weight::from_parts(994_085, 0).saturating_mul(n.into()))663 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))664 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))665 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))666 }667 /// Storage: Identity SubsOf (r:600 w:600)668 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)669 /// Storage: Identity SuperOf (r:0 w:100)670 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)671 /// The range of component `s` is `[0, 100]`.672 /// The range of component `n` is `[0, 600]`.673 fn force_set_subs(s: u32, n: u32, ) -> Weight {674 // Proof Size summary in bytes:675 // Measured: `41`676 // Estimated: `990 + n * (5733 ±0)`677 // Minimum execution time: 2_671_000 picoseconds.678 Weight::from_parts(2_814_000, 990)679 // Standard Error: 785_159680 .saturating_add(Weight::from_parts(109_659_566, 0).saturating_mul(s.into()))681 // Standard Error: 130_628682 .saturating_add(Weight::from_parts(19_169_269, 0).saturating_mul(n.into()))683 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))684 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))685 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))686 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))687 }688 /// Storage: Identity IdentityOf (r:1 w:0)689 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)690 /// Storage: Identity SuperOf (r:1 w:1)691 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)692 /// Storage: Identity SubsOf (r:1 w:1)693 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)694 /// The range of component `s` is `[0, 99]`.695 fn add_sub(s: u32, ) -> Weight {696 // Proof Size summary in bytes:697 // Measured: `474 + s * (36 ±0)`698 // Estimated: `11003`699 // Minimum execution time: 12_571_000 picoseconds.700 Weight::from_parts(16_366_301, 11003)701 // Standard Error: 217702 .saturating_add(Weight::from_parts(42_542, 0).saturating_mul(s.into()))703 .saturating_add(RocksDbWeight::get().reads(3_u64))704 .saturating_add(RocksDbWeight::get().writes(2_u64))705 }706 /// Storage: Identity IdentityOf (r:1 w:0)707 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)708 /// Storage: Identity SuperOf (r:1 w:1)709 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)710 /// The range of component `s` is `[1, 100]`.711 fn rename_sub(s: u32, ) -> Weight {712 // Proof Size summary in bytes:713 // Measured: `590 + s * (3 ±0)`714 // Estimated: `11003`715 // Minimum execution time: 7_278_000 picoseconds.716 Weight::from_parts(9_227_799, 11003)717 // Standard Error: 104718 .saturating_add(Weight::from_parts(14_014, 0).saturating_mul(s.into()))719 .saturating_add(RocksDbWeight::get().reads(2_u64))720 .saturating_add(RocksDbWeight::get().writes(1_u64))721 }722 /// Storage: Identity IdentityOf (r:1 w:0)723 /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)724 /// Storage: Identity SuperOf (r:1 w:1)725 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)726 /// Storage: Identity SubsOf (r:1 w:1)727 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)728 /// The range of component `s` is `[1, 100]`.729 fn remove_sub(s: u32, ) -> Weight {730 // Proof Size summary in bytes:731 // Measured: `637 + s * (35 ±0)`732 // Estimated: `11003`733 // Minimum execution time: 15_771_000 picoseconds.734 Weight::from_parts(18_105_475, 11003)735 // Standard Error: 129736 .saturating_add(Weight::from_parts(32_074, 0).saturating_mul(s.into()))737 .saturating_add(RocksDbWeight::get().reads(3_u64))738 .saturating_add(RocksDbWeight::get().writes(2_u64))739 }740 /// Storage: Identity SuperOf (r:1 w:1)741 /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)742 /// Storage: Identity SubsOf (r:1 w:1)743 /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)744 /// Storage: System Account (r:1 w:0)745 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)746 /// The range of component `s` is `[0, 99]`.747 fn quit_sub(s: u32, ) -> Weight {748 // Proof Size summary in bytes:749 // Measured: `703 + s * (37 ±0)`750 // Estimated: `6723`751 // Minimum execution time: 14_093_000 picoseconds.752 Weight::from_parts(16_125_177, 6723)753 // Standard Error: 146754 .saturating_add(Weight::from_parts(39_270, 0).saturating_mul(s.into()))755 .saturating_add(RocksDbWeight::get().reads(3_u64))756 .saturating_add(RocksDbWeight::get().writes(2_u64))757 }758}7591// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_identity4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// ./target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-identity17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/identity/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_identity.35pub trait WeightInfo {36 fn add_registrar(r: u32, ) -> Weight;37 fn set_identity(x: u32, r: u32, ) -> Weight;38 fn set_subs_new(s: u32, ) -> Weight;39 fn set_subs_old(p: u32, ) -> Weight;40 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight;41 fn request_judgement(r: u32, x: u32, ) -> Weight;42 fn cancel_request(r: u32, x: u32, ) -> Weight;43 fn set_fee(r: u32, ) -> Weight;44 fn set_account_id(r: u32, ) -> Weight;45 fn set_fields(r: u32, ) -> Weight;46 fn provide_judgement(r: u32, x: u32, ) -> Weight;47 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;48 fn force_insert_identities(x: u32, n: u32, ) -> Weight;49 fn force_remove_identities(x: u32, n: u32, ) -> Weight;50 fn force_set_subs(s: u32, n: u32, ) -> Weight;51 fn add_sub(s: u32, ) -> Weight;52 fn rename_sub(s: u32, ) -> Weight;53 fn remove_sub(s: u32, ) -> Weight;54 fn quit_sub(s: u32, ) -> Weight;55}5657/// Weights for pallet_identity using the Substrate node and recommended hardware.58pub struct SubstrateWeight<T>(PhantomData<T>);59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {60 /// Storage: `Identity::Registrars` (r:1 w:1)61 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)62 /// The range of component `r` is `[2, 20]`.63 fn add_registrar(r: u32, ) -> Weight {64 // Proof Size summary in bytes:65 // Measured: `0 + r * (57 ±0)`66 // Estimated: `2626`67 // Minimum execution time: 11_751_000 picoseconds.68 Weight::from_parts(12_271_559, 2626)69 // Standard Error: 69670 .saturating_add(Weight::from_parts(85_076, 0).saturating_mul(r.into()))71 .saturating_add(T::DbWeight::get().reads(1_u64))72 .saturating_add(T::DbWeight::get().writes(1_u64))73 }74 /// Storage: `Identity::IdentityOf` (r:1 w:1)75 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)76 /// The range of component `x` is `[0, 100]`.77 /// The range of component `r` is `[1, 20]`.78 fn set_identity(x: u32, r: u32, ) -> Weight {79 // Proof Size summary in bytes:80 // Measured: `441 + r * (5 ±0)`81 // Estimated: `11003`82 // Minimum execution time: 30_152_000 picoseconds.83 Weight::from_parts(28_934_480, 11003)84 // Standard Error: 13185 .saturating_add(Weight::from_parts(407_556, 0).saturating_mul(x.into()))86 // Standard Error: 67287 .saturating_add(Weight::from_parts(82_838, 0).saturating_mul(r.into()))88 .saturating_add(T::DbWeight::get().reads(1_u64))89 .saturating_add(T::DbWeight::get().writes(1_u64))90 }91 /// Storage: `Identity::IdentityOf` (r:1 w:0)92 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)93 /// Storage: `Identity::SubsOf` (r:1 w:1)94 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)95 /// Storage: `Identity::SuperOf` (r:100 w:100)96 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)97 /// The range of component `s` is `[0, 100]`.98 fn set_subs_new(s: u32, ) -> Weight {99 // Proof Size summary in bytes:100 // Measured: `100`101 // Estimated: `11003 + s * (2589 ±0)`102 // Minimum execution time: 8_680_000 picoseconds.103 Weight::from_parts(23_228_498, 11003)104 // Standard Error: 1_817105 .saturating_add(Weight::from_parts(2_512_779, 0).saturating_mul(s.into()))106 .saturating_add(T::DbWeight::get().reads(2_u64))107 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))108 .saturating_add(T::DbWeight::get().writes(1_u64))109 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))110 .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))111 }112 /// Storage: `Identity::IdentityOf` (r:1 w:0)113 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)114 /// Storage: `Identity::SubsOf` (r:1 w:1)115 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)116 /// Storage: `Identity::SuperOf` (r:0 w:100)117 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)118 /// The range of component `p` is `[0, 100]`.119 fn set_subs_old(p: u32, ) -> Weight {120 // Proof Size summary in bytes:121 // Measured: `193 + p * (32 ±0)`122 // Estimated: `11003`123 // Minimum execution time: 8_493_000 picoseconds.124 Weight::from_parts(23_032_063, 11003)125 // Standard Error: 1_672126 .saturating_add(Weight::from_parts(1_039_127, 0).saturating_mul(p.into()))127 .saturating_add(T::DbWeight::get().reads(2_u64))128 .saturating_add(T::DbWeight::get().writes(1_u64))129 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))130 }131 /// Storage: `Identity::SubsOf` (r:1 w:1)132 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)133 /// Storage: `Identity::IdentityOf` (r:1 w:1)134 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)135 /// Storage: `Identity::SuperOf` (r:0 w:100)136 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)137 /// The range of component `r` is `[1, 20]`.138 /// The range of component `s` is `[0, 100]`.139 /// The range of component `x` is `[0, 100]`.140 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {141 // Proof Size summary in bytes:142 // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`143 // Estimated: `11003`144 // Minimum execution time: 50_797_000 picoseconds.145 Weight::from_parts(31_070_475, 11003)146 // Standard Error: 1_513147 .saturating_add(Weight::from_parts(35_164, 0).saturating_mul(r.into()))148 // Standard Error: 295149 .saturating_add(Weight::from_parts(1_030_210, 0).saturating_mul(s.into()))150 // Standard Error: 295151 .saturating_add(Weight::from_parts(219_795, 0).saturating_mul(x.into()))152 .saturating_add(T::DbWeight::get().reads(2_u64))153 .saturating_add(T::DbWeight::get().writes(2_u64))154 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))155 }156 /// Storage: `Identity::Registrars` (r:1 w:0)157 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)158 /// Storage: `Identity::IdentityOf` (r:1 w:1)159 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)160 /// The range of component `r` is `[1, 20]`.161 /// The range of component `x` is `[0, 100]`.162 fn request_judgement(r: u32, x: u32, ) -> Weight {163 // Proof Size summary in bytes:164 // Measured: `366 + r * (57 ±0) + x * (66 ±0)`165 // Estimated: `11003`166 // Minimum execution time: 30_925_000 picoseconds.167 Weight::from_parts(29_686_659, 11003)168 // Standard Error: 887169 .saturating_add(Weight::from_parts(92_175, 0).saturating_mul(r.into()))170 // Standard Error: 173171 .saturating_add(Weight::from_parts(421_779, 0).saturating_mul(x.into()))172 .saturating_add(T::DbWeight::get().reads(2_u64))173 .saturating_add(T::DbWeight::get().writes(1_u64))174 }175 /// Storage: `Identity::IdentityOf` (r:1 w:1)176 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)177 /// The range of component `r` is `[1, 20]`.178 /// The range of component `x` is `[0, 100]`.179 fn cancel_request(r: u32, x: u32, ) -> Weight {180 // Proof Size summary in bytes:181 // Measured: `397 + x * (66 ±0)`182 // Estimated: `11003`183 // Minimum execution time: 27_705_000 picoseconds.184 Weight::from_parts(27_264_552, 11003)185 // Standard Error: 791186 .saturating_add(Weight::from_parts(63_003, 0).saturating_mul(r.into()))187 // Standard Error: 154188 .saturating_add(Weight::from_parts(417_161, 0).saturating_mul(x.into()))189 .saturating_add(T::DbWeight::get().reads(1_u64))190 .saturating_add(T::DbWeight::get().writes(1_u64))191 }192 /// Storage: `Identity::Registrars` (r:1 w:1)193 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)194 /// The range of component `r` is `[2, 20]`.195 fn set_fee(r: u32, ) -> Weight {196 // Proof Size summary in bytes:197 // Measured: `31 + r * (57 ±0)`198 // Estimated: `2626`199 // Minimum execution time: 7_587_000 picoseconds.200 Weight::from_parts(7_938_817, 2626)201 // Standard Error: 494202 .saturating_add(Weight::from_parts(67_900, 0).saturating_mul(r.into()))203 .saturating_add(T::DbWeight::get().reads(1_u64))204 .saturating_add(T::DbWeight::get().writes(1_u64))205 }206 /// Storage: `Identity::Registrars` (r:1 w:1)207 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)208 /// The range of component `r` is `[2, 20]`.209 fn set_account_id(r: u32, ) -> Weight {210 // Proof Size summary in bytes:211 // Measured: `31 + r * (57 ±0)`212 // Estimated: `2626`213 // Minimum execution time: 6_558_000 picoseconds.214 Weight::from_parts(6_973_093, 2626)215 // Standard Error: 398216 .saturating_add(Weight::from_parts(63_901, 0).saturating_mul(r.into()))217 .saturating_add(T::DbWeight::get().reads(1_u64))218 .saturating_add(T::DbWeight::get().writes(1_u64))219 }220 /// Storage: `Identity::Registrars` (r:1 w:1)221 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)222 /// The range of component `r` is `[2, 20]`.223 fn set_fields(r: u32, ) -> Weight {224 // Proof Size summary in bytes:225 // Measured: `31 + r * (57 ±0)`226 // Estimated: `2626`227 // Minimum execution time: 6_666_000 picoseconds.228 Weight::from_parts(7_050_744, 2626)229 // Standard Error: 409230 .saturating_add(Weight::from_parts(61_617, 0).saturating_mul(r.into()))231 .saturating_add(T::DbWeight::get().reads(1_u64))232 .saturating_add(T::DbWeight::get().writes(1_u64))233 }234 /// Storage: `Identity::Registrars` (r:1 w:0)235 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)236 /// Storage: `Identity::IdentityOf` (r:1 w:1)237 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)238 /// The range of component `r` is `[2, 20]`.239 /// The range of component `x` is `[0, 100]`.240 fn provide_judgement(r: u32, x: u32, ) -> Weight {241 // Proof Size summary in bytes:242 // Measured: `387 + r * (57 ±0) + x * (66 ±0)`243 // Estimated: `11003`244 // Minimum execution time: 21_312_000 picoseconds.245 Weight::from_parts(21_058_525, 11003)246 // Standard Error: 905247 .saturating_add(Weight::from_parts(65_756, 0).saturating_mul(r.into()))248 // Standard Error: 167249 .saturating_add(Weight::from_parts(655_603, 0).saturating_mul(x.into()))250 .saturating_add(T::DbWeight::get().reads(2_u64))251 .saturating_add(T::DbWeight::get().writes(1_u64))252 }253 /// Storage: `Identity::SubsOf` (r:1 w:1)254 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)255 /// Storage: `Identity::IdentityOf` (r:1 w:1)256 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)257 /// Storage: `System::Account` (r:2 w:2)258 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)259 /// Storage: `Identity::SuperOf` (r:0 w:100)260 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)261 /// The range of component `r` is `[1, 20]`.262 /// The range of component `s` is `[0, 100]`.263 /// The range of component `x` is `[0, 100]`.264 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {265 // Proof Size summary in bytes:266 // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`267 // Estimated: `11003`268 // Minimum execution time: 75_631_000 picoseconds.269 Weight::from_parts(55_794_077, 11003)270 // Standard Error: 1_902271 .saturating_add(Weight::from_parts(64_363, 0).saturating_mul(r.into()))272 // Standard Error: 371273 .saturating_add(Weight::from_parts(1_042_200, 0).saturating_mul(s.into()))274 // Standard Error: 371275 .saturating_add(Weight::from_parts(221_969, 0).saturating_mul(x.into()))276 .saturating_add(T::DbWeight::get().reads(4_u64))277 .saturating_add(T::DbWeight::get().writes(4_u64))278 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))279 }280 /// Storage: `Identity::IdentityOf` (r:0 w:600)281 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)282 /// The range of component `x` is `[0, 100]`.283 /// The range of component `n` is `[0, 600]`.284 fn force_insert_identities(x: u32, n: u32, ) -> Weight {285 // Proof Size summary in bytes:286 // Measured: `0`287 // Estimated: `0`288 // Minimum execution time: 6_400_000 picoseconds.289 Weight::from_parts(6_550_000, 0)290 // Standard Error: 2_053_703291 .saturating_add(Weight::from_parts(125_508_622, 0).saturating_mul(x.into()))292 // Standard Error: 341_677293 .saturating_add(Weight::from_parts(25_567_941, 0).saturating_mul(n.into()))294 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))295 }296 /// Storage: `Identity::SubsOf` (r:600 w:0)297 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)298 /// Storage: `Identity::IdentityOf` (r:0 w:600)299 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)300 /// The range of component `x` is `[0, 100]`.301 /// The range of component `n` is `[0, 600]`.302 fn force_remove_identities(x: u32, n: u32, ) -> Weight {303 // Proof Size summary in bytes:304 // Measured: `41`305 // Estimated: `990 + n * (5733 ±0)`306 // Minimum execution time: 6_143_000 picoseconds.307 Weight::from_parts(6_298_000, 990)308 // Standard Error: 3_385309 .saturating_add(Weight::from_parts(50_803, 0).saturating_mul(x.into()))310 // Standard Error: 563311 .saturating_add(Weight::from_parts(2_108_225, 0).saturating_mul(n.into()))312 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))313 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))314 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))315 }316 /// Storage: `Identity::SubsOf` (r:600 w:600)317 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)318 /// Storage: `Identity::SuperOf` (r:0 w:100)319 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)320 /// The range of component `s` is `[0, 100]`.321 /// The range of component `n` is `[0, 600]`.322 fn force_set_subs(s: u32, n: u32, ) -> Weight {323 // Proof Size summary in bytes:324 // Measured: `41`325 // Estimated: `990 + n * (5733 ±0)`326 // Minimum execution time: 6_250_000 picoseconds.327 Weight::from_parts(6_366_000, 990)328 // Standard Error: 4_608_791329 .saturating_add(Weight::from_parts(290_267_031, 0).saturating_mul(s.into()))330 // Standard Error: 766_770331 .saturating_add(Weight::from_parts(50_932_487, 0).saturating_mul(n.into()))332 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))333 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))334 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))335 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))336 }337 /// Storage: `Identity::IdentityOf` (r:1 w:0)338 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)339 /// Storage: `Identity::SuperOf` (r:1 w:1)340 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)341 /// Storage: `Identity::SubsOf` (r:1 w:1)342 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)343 /// The range of component `s` is `[1, 100]`.344 fn add_sub(s: u32, ) -> Weight {345 // Proof Size summary in bytes:346 // Measured: `437 + s * (36 ±0)`347 // Estimated: `11003`348 // Minimum execution time: 26_954_000 picoseconds.349 Weight::from_parts(31_240_173, 11003)350 // Standard Error: 547351 .saturating_add(Weight::from_parts(52_287, 0).saturating_mul(s.into()))352 .saturating_add(T::DbWeight::get().reads(3_u64))353 .saturating_add(T::DbWeight::get().writes(2_u64))354 }355 /// Storage: `Identity::IdentityOf` (r:1 w:0)356 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)357 /// Storage: `Identity::SuperOf` (r:1 w:1)358 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)359 /// The range of component `s` is `[1, 100]`.360 fn rename_sub(s: u32, ) -> Weight {361 // Proof Size summary in bytes:362 // Measured: `590 + s * (3 ±0)`363 // Estimated: `11003`364 // Minimum execution time: 11_715_000 picoseconds.365 Weight::from_parts(13_599_708, 11003)366 // Standard Error: 236367 .saturating_add(Weight::from_parts(16_093, 0).saturating_mul(s.into()))368 .saturating_add(T::DbWeight::get().reads(2_u64))369 .saturating_add(T::DbWeight::get().writes(1_u64))370 }371 /// Storage: `Identity::IdentityOf` (r:1 w:0)372 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)373 /// Storage: `Identity::SuperOf` (r:1 w:1)374 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)375 /// Storage: `Identity::SubsOf` (r:1 w:1)376 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)377 /// The range of component `s` is `[1, 100]`.378 fn remove_sub(s: u32, ) -> Weight {379 // Proof Size summary in bytes:380 // Measured: `637 + s * (35 ±0)`381 // Estimated: `11003`382 // Minimum execution time: 30_270_000 picoseconds.383 Weight::from_parts(32_928_187, 11003)384 // Standard Error: 361385 .saturating_add(Weight::from_parts(39_163, 0).saturating_mul(s.into()))386 .saturating_add(T::DbWeight::get().reads(3_u64))387 .saturating_add(T::DbWeight::get().writes(2_u64))388 }389 /// Storage: `Identity::SuperOf` (r:1 w:1)390 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)391 /// Storage: `Identity::SubsOf` (r:1 w:1)392 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)393 /// Storage: `System::Account` (r:1 w:0)394 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)395 /// The range of component `s` is `[1, 100]`.396 fn quit_sub(s: u32, ) -> Weight {397 // Proof Size summary in bytes:398 // Measured: `665 + s * (37 ±0)`399 // Estimated: `6723`400 // Minimum execution time: 23_796_000 picoseconds.401 Weight::from_parts(26_106_458, 6723)402 // Standard Error: 384403 .saturating_add(Weight::from_parts(43_963, 0).saturating_mul(s.into()))404 .saturating_add(T::DbWeight::get().reads(3_u64))405 .saturating_add(T::DbWeight::get().writes(2_u64))406 }407}408409// For backwards compatibility and tests410impl WeightInfo for () {411 /// Storage: `Identity::Registrars` (r:1 w:1)412 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)413 /// The range of component `r` is `[2, 20]`.414 fn add_registrar(r: u32, ) -> Weight {415 // Proof Size summary in bytes:416 // Measured: `0 + r * (57 ±0)`417 // Estimated: `2626`418 // Minimum execution time: 11_751_000 picoseconds.419 Weight::from_parts(12_271_559, 2626)420 // Standard Error: 696421 .saturating_add(Weight::from_parts(85_076, 0).saturating_mul(r.into()))422 .saturating_add(RocksDbWeight::get().reads(1_u64))423 .saturating_add(RocksDbWeight::get().writes(1_u64))424 }425 /// Storage: `Identity::IdentityOf` (r:1 w:1)426 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)427 /// The range of component `x` is `[0, 100]`.428 /// The range of component `r` is `[1, 20]`.429 fn set_identity(x: u32, r: u32, ) -> Weight {430 // Proof Size summary in bytes:431 // Measured: `441 + r * (5 ±0)`432 // Estimated: `11003`433 // Minimum execution time: 30_152_000 picoseconds.434 Weight::from_parts(28_934_480, 11003)435 // Standard Error: 131436 .saturating_add(Weight::from_parts(407_556, 0).saturating_mul(x.into()))437 // Standard Error: 672438 .saturating_add(Weight::from_parts(82_838, 0).saturating_mul(r.into()))439 .saturating_add(RocksDbWeight::get().reads(1_u64))440 .saturating_add(RocksDbWeight::get().writes(1_u64))441 }442 /// Storage: `Identity::IdentityOf` (r:1 w:0)443 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)444 /// Storage: `Identity::SubsOf` (r:1 w:1)445 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)446 /// Storage: `Identity::SuperOf` (r:100 w:100)447 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)448 /// The range of component `s` is `[0, 100]`.449 fn set_subs_new(s: u32, ) -> Weight {450 // Proof Size summary in bytes:451 // Measured: `100`452 // Estimated: `11003 + s * (2589 ±0)`453 // Minimum execution time: 8_680_000 picoseconds.454 Weight::from_parts(23_228_498, 11003)455 // Standard Error: 1_817456 .saturating_add(Weight::from_parts(2_512_779, 0).saturating_mul(s.into()))457 .saturating_add(RocksDbWeight::get().reads(2_u64))458 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into())))459 .saturating_add(RocksDbWeight::get().writes(1_u64))460 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))461 .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))462 }463 /// Storage: `Identity::IdentityOf` (r:1 w:0)464 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)465 /// Storage: `Identity::SubsOf` (r:1 w:1)466 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)467 /// Storage: `Identity::SuperOf` (r:0 w:100)468 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)469 /// The range of component `p` is `[0, 100]`.470 fn set_subs_old(p: u32, ) -> Weight {471 // Proof Size summary in bytes:472 // Measured: `193 + p * (32 ±0)`473 // Estimated: `11003`474 // Minimum execution time: 8_493_000 picoseconds.475 Weight::from_parts(23_032_063, 11003)476 // Standard Error: 1_672477 .saturating_add(Weight::from_parts(1_039_127, 0).saturating_mul(p.into()))478 .saturating_add(RocksDbWeight::get().reads(2_u64))479 .saturating_add(RocksDbWeight::get().writes(1_u64))480 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))481 }482 /// Storage: `Identity::SubsOf` (r:1 w:1)483 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)484 /// Storage: `Identity::IdentityOf` (r:1 w:1)485 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)486 /// Storage: `Identity::SuperOf` (r:0 w:100)487 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)488 /// The range of component `r` is `[1, 20]`.489 /// The range of component `s` is `[0, 100]`.490 /// The range of component `x` is `[0, 100]`.491 fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {492 // Proof Size summary in bytes:493 // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`494 // Estimated: `11003`495 // Minimum execution time: 50_797_000 picoseconds.496 Weight::from_parts(31_070_475, 11003)497 // Standard Error: 1_513498 .saturating_add(Weight::from_parts(35_164, 0).saturating_mul(r.into()))499 // Standard Error: 295500 .saturating_add(Weight::from_parts(1_030_210, 0).saturating_mul(s.into()))501 // Standard Error: 295502 .saturating_add(Weight::from_parts(219_795, 0).saturating_mul(x.into()))503 .saturating_add(RocksDbWeight::get().reads(2_u64))504 .saturating_add(RocksDbWeight::get().writes(2_u64))505 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))506 }507 /// Storage: `Identity::Registrars` (r:1 w:0)508 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)509 /// Storage: `Identity::IdentityOf` (r:1 w:1)510 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)511 /// The range of component `r` is `[1, 20]`.512 /// The range of component `x` is `[0, 100]`.513 fn request_judgement(r: u32, x: u32, ) -> Weight {514 // Proof Size summary in bytes:515 // Measured: `366 + r * (57 ±0) + x * (66 ±0)`516 // Estimated: `11003`517 // Minimum execution time: 30_925_000 picoseconds.518 Weight::from_parts(29_686_659, 11003)519 // Standard Error: 887520 .saturating_add(Weight::from_parts(92_175, 0).saturating_mul(r.into()))521 // Standard Error: 173522 .saturating_add(Weight::from_parts(421_779, 0).saturating_mul(x.into()))523 .saturating_add(RocksDbWeight::get().reads(2_u64))524 .saturating_add(RocksDbWeight::get().writes(1_u64))525 }526 /// Storage: `Identity::IdentityOf` (r:1 w:1)527 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)528 /// The range of component `r` is `[1, 20]`.529 /// The range of component `x` is `[0, 100]`.530 fn cancel_request(r: u32, x: u32, ) -> Weight {531 // Proof Size summary in bytes:532 // Measured: `397 + x * (66 ±0)`533 // Estimated: `11003`534 // Minimum execution time: 27_705_000 picoseconds.535 Weight::from_parts(27_264_552, 11003)536 // Standard Error: 791537 .saturating_add(Weight::from_parts(63_003, 0).saturating_mul(r.into()))538 // Standard Error: 154539 .saturating_add(Weight::from_parts(417_161, 0).saturating_mul(x.into()))540 .saturating_add(RocksDbWeight::get().reads(1_u64))541 .saturating_add(RocksDbWeight::get().writes(1_u64))542 }543 /// Storage: `Identity::Registrars` (r:1 w:1)544 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)545 /// The range of component `r` is `[2, 20]`.546 fn set_fee(r: u32, ) -> Weight {547 // Proof Size summary in bytes:548 // Measured: `31 + r * (57 ±0)`549 // Estimated: `2626`550 // Minimum execution time: 7_587_000 picoseconds.551 Weight::from_parts(7_938_817, 2626)552 // Standard Error: 494553 .saturating_add(Weight::from_parts(67_900, 0).saturating_mul(r.into()))554 .saturating_add(RocksDbWeight::get().reads(1_u64))555 .saturating_add(RocksDbWeight::get().writes(1_u64))556 }557 /// Storage: `Identity::Registrars` (r:1 w:1)558 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)559 /// The range of component `r` is `[2, 20]`.560 fn set_account_id(r: u32, ) -> Weight {561 // Proof Size summary in bytes:562 // Measured: `31 + r * (57 ±0)`563 // Estimated: `2626`564 // Minimum execution time: 6_558_000 picoseconds.565 Weight::from_parts(6_973_093, 2626)566 // Standard Error: 398567 .saturating_add(Weight::from_parts(63_901, 0).saturating_mul(r.into()))568 .saturating_add(RocksDbWeight::get().reads(1_u64))569 .saturating_add(RocksDbWeight::get().writes(1_u64))570 }571 /// Storage: `Identity::Registrars` (r:1 w:1)572 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)573 /// The range of component `r` is `[2, 20]`.574 fn set_fields(r: u32, ) -> Weight {575 // Proof Size summary in bytes:576 // Measured: `31 + r * (57 ±0)`577 // Estimated: `2626`578 // Minimum execution time: 6_666_000 picoseconds.579 Weight::from_parts(7_050_744, 2626)580 // Standard Error: 409581 .saturating_add(Weight::from_parts(61_617, 0).saturating_mul(r.into()))582 .saturating_add(RocksDbWeight::get().reads(1_u64))583 .saturating_add(RocksDbWeight::get().writes(1_u64))584 }585 /// Storage: `Identity::Registrars` (r:1 w:0)586 /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)587 /// Storage: `Identity::IdentityOf` (r:1 w:1)588 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)589 /// The range of component `r` is `[2, 20]`.590 /// The range of component `x` is `[0, 100]`.591 fn provide_judgement(r: u32, x: u32, ) -> Weight {592 // Proof Size summary in bytes:593 // Measured: `387 + r * (57 ±0) + x * (66 ±0)`594 // Estimated: `11003`595 // Minimum execution time: 21_312_000 picoseconds.596 Weight::from_parts(21_058_525, 11003)597 // Standard Error: 905598 .saturating_add(Weight::from_parts(65_756, 0).saturating_mul(r.into()))599 // Standard Error: 167600 .saturating_add(Weight::from_parts(655_603, 0).saturating_mul(x.into()))601 .saturating_add(RocksDbWeight::get().reads(2_u64))602 .saturating_add(RocksDbWeight::get().writes(1_u64))603 }604 /// Storage: `Identity::SubsOf` (r:1 w:1)605 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)606 /// Storage: `Identity::IdentityOf` (r:1 w:1)607 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)608 /// Storage: `System::Account` (r:2 w:2)609 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)610 /// Storage: `Identity::SuperOf` (r:0 w:100)611 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)612 /// The range of component `r` is `[1, 20]`.613 /// The range of component `s` is `[0, 100]`.614 /// The range of component `x` is `[0, 100]`.615 fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {616 // Proof Size summary in bytes:617 // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`618 // Estimated: `11003`619 // Minimum execution time: 75_631_000 picoseconds.620 Weight::from_parts(55_794_077, 11003)621 // Standard Error: 1_902622 .saturating_add(Weight::from_parts(64_363, 0).saturating_mul(r.into()))623 // Standard Error: 371624 .saturating_add(Weight::from_parts(1_042_200, 0).saturating_mul(s.into()))625 // Standard Error: 371626 .saturating_add(Weight::from_parts(221_969, 0).saturating_mul(x.into()))627 .saturating_add(RocksDbWeight::get().reads(4_u64))628 .saturating_add(RocksDbWeight::get().writes(4_u64))629 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))630 }631 /// Storage: `Identity::IdentityOf` (r:0 w:600)632 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)633 /// The range of component `x` is `[0, 100]`.634 /// The range of component `n` is `[0, 600]`.635 fn force_insert_identities(x: u32, n: u32, ) -> Weight {636 // Proof Size summary in bytes:637 // Measured: `0`638 // Estimated: `0`639 // Minimum execution time: 6_400_000 picoseconds.640 Weight::from_parts(6_550_000, 0)641 // Standard Error: 2_053_703642 .saturating_add(Weight::from_parts(125_508_622, 0).saturating_mul(x.into()))643 // Standard Error: 341_677644 .saturating_add(Weight::from_parts(25_567_941, 0).saturating_mul(n.into()))645 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))646 }647 /// Storage: `Identity::SubsOf` (r:600 w:0)648 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)649 /// Storage: `Identity::IdentityOf` (r:0 w:600)650 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)651 /// The range of component `x` is `[0, 100]`.652 /// The range of component `n` is `[0, 600]`.653 fn force_remove_identities(x: u32, n: u32, ) -> Weight {654 // Proof Size summary in bytes:655 // Measured: `41`656 // Estimated: `990 + n * (5733 ±0)`657 // Minimum execution time: 6_143_000 picoseconds.658 Weight::from_parts(6_298_000, 990)659 // Standard Error: 3_385660 .saturating_add(Weight::from_parts(50_803, 0).saturating_mul(x.into()))661 // Standard Error: 563662 .saturating_add(Weight::from_parts(2_108_225, 0).saturating_mul(n.into()))663 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))664 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))665 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))666 }667 /// Storage: `Identity::SubsOf` (r:600 w:600)668 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)669 /// Storage: `Identity::SuperOf` (r:0 w:100)670 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)671 /// The range of component `s` is `[0, 100]`.672 /// The range of component `n` is `[0, 600]`.673 fn force_set_subs(s: u32, n: u32, ) -> Weight {674 // Proof Size summary in bytes:675 // Measured: `41`676 // Estimated: `990 + n * (5733 ±0)`677 // Minimum execution time: 6_250_000 picoseconds.678 Weight::from_parts(6_366_000, 990)679 // Standard Error: 4_608_791680 .saturating_add(Weight::from_parts(290_267_031, 0).saturating_mul(s.into()))681 // Standard Error: 766_770682 .saturating_add(Weight::from_parts(50_932_487, 0).saturating_mul(n.into()))683 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))684 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))685 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))686 .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))687 }688 /// Storage: `Identity::IdentityOf` (r:1 w:0)689 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)690 /// Storage: `Identity::SuperOf` (r:1 w:1)691 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)692 /// Storage: `Identity::SubsOf` (r:1 w:1)693 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)694 /// The range of component `s` is `[1, 100]`.695 fn add_sub(s: u32, ) -> Weight {696 // Proof Size summary in bytes:697 // Measured: `437 + s * (36 ±0)`698 // Estimated: `11003`699 // Minimum execution time: 26_954_000 picoseconds.700 Weight::from_parts(31_240_173, 11003)701 // Standard Error: 547702 .saturating_add(Weight::from_parts(52_287, 0).saturating_mul(s.into()))703 .saturating_add(RocksDbWeight::get().reads(3_u64))704 .saturating_add(RocksDbWeight::get().writes(2_u64))705 }706 /// Storage: `Identity::IdentityOf` (r:1 w:0)707 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)708 /// Storage: `Identity::SuperOf` (r:1 w:1)709 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)710 /// The range of component `s` is `[1, 100]`.711 fn rename_sub(s: u32, ) -> Weight {712 // Proof Size summary in bytes:713 // Measured: `590 + s * (3 ±0)`714 // Estimated: `11003`715 // Minimum execution time: 11_715_000 picoseconds.716 Weight::from_parts(13_599_708, 11003)717 // Standard Error: 236718 .saturating_add(Weight::from_parts(16_093, 0).saturating_mul(s.into()))719 .saturating_add(RocksDbWeight::get().reads(2_u64))720 .saturating_add(RocksDbWeight::get().writes(1_u64))721 }722 /// Storage: `Identity::IdentityOf` (r:1 w:0)723 /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)724 /// Storage: `Identity::SuperOf` (r:1 w:1)725 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)726 /// Storage: `Identity::SubsOf` (r:1 w:1)727 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)728 /// The range of component `s` is `[1, 100]`.729 fn remove_sub(s: u32, ) -> Weight {730 // Proof Size summary in bytes:731 // Measured: `637 + s * (35 ±0)`732 // Estimated: `11003`733 // Minimum execution time: 30_270_000 picoseconds.734 Weight::from_parts(32_928_187, 11003)735 // Standard Error: 361736 .saturating_add(Weight::from_parts(39_163, 0).saturating_mul(s.into()))737 .saturating_add(RocksDbWeight::get().reads(3_u64))738 .saturating_add(RocksDbWeight::get().writes(2_u64))739 }740 /// Storage: `Identity::SuperOf` (r:1 w:1)741 /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)742 /// Storage: `Identity::SubsOf` (r:1 w:1)743 /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)744 /// Storage: `System::Account` (r:1 w:0)745 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)746 /// The range of component `s` is `[1, 100]`.747 fn quit_sub(s: u32, ) -> Weight {748 // Proof Size summary in bytes:749 // Measured: `665 + s * (37 ±0)`750 // Estimated: `6723`751 // Minimum execution time: 23_796_000 picoseconds.752 Weight::from_parts(26_106_458, 6723)753 // Standard Error: 384754 .saturating_add(Weight::from_parts(43_963, 0).saturating_mul(s.into()))755 .saturating_add(RocksDbWeight::get().reads(3_u64))756 .saturating_add(RocksDbWeight::get().writes(2_u64))757 }758}759pallets/maintenance/src/weights.rsdiffbeforeafterboth--- a/pallets/maintenance/src/weights.rs
+++ b/pallets/maintenance/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_maintenance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/maintenance/src/weights.rs
@@ -40,48 +40,48 @@
/// Weights for pallet_maintenance using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn enable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_015_000 picoseconds.
- Weight::from_parts(3_184_000, 0)
+ // Minimum execution time: 7_175_000 picoseconds.
+ Weight::from_parts(7_380_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn disable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_976_000 picoseconds.
- Weight::from_parts(3_111_000, 0)
+ // Minimum execution time: 7_043_000 picoseconds.
+ Weight::from_parts(7_234_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn enable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_015_000 picoseconds.
- Weight::from_parts(3_184_000, 0)
+ // Minimum execution time: 7_175_000 picoseconds.
+ Weight::from_parts(7_380_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn disable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_976_000 picoseconds.
- Weight::from_parts(3_111_000, 0)
+ // Minimum execution time: 7_043_000 picoseconds.
+ Weight::from_parts(7_234_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -5,7 +5,7 @@
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -65,8 +65,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 15_410_000 picoseconds.
- Weight::from_parts(15_850_000, 3530)
+ // Minimum execution time: 25_209_000 picoseconds.
+ Weight::from_parts(25_648_000, 3530)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -83,10 +83,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(5_992_994, 3530)
- // Standard Error: 4_478
- .saturating_add(Weight::from_parts(8_002_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_239_000 picoseconds.
+ Weight::from_parts(11_021_733, 3530)
+ // Standard Error: 3_013
+ .saturating_add(Weight::from_parts(9_580_947, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -104,10 +104,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(3_980_000, 3481)
- // Standard Error: 1_382
- .saturating_add(Weight::from_parts(11_259_286, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_278_000 picoseconds.
+ Weight::from_parts(5_169_950, 3481)
+ // Standard Error: 3_419
+ .saturating_add(Weight::from_parts(13_514_569, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -132,8 +132,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `3530`
- // Minimum execution time: 26_360_000 picoseconds.
- Weight::from_parts(26_850_000, 3530)
+ // Minimum execution time: 39_015_000 picoseconds.
+ Weight::from_parts(39_562_000, 3530)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -149,8 +149,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `6070`
- // Minimum execution time: 22_710_000 picoseconds.
- Weight::from_parts(23_130_000, 6070)
+ // Minimum execution time: 32_930_000 picoseconds.
+ Weight::from_parts(33_398_000, 6070)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -162,8 +162,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3522`
- // Minimum execution time: 11_520_000 picoseconds.
- Weight::from_parts(12_030_000, 3522)
+ // Minimum execution time: 17_411_000 picoseconds.
+ Weight::from_parts(17_790_000, 3522)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -175,8 +175,8 @@
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `3522`
- // Minimum execution time: 11_570_000 picoseconds.
- Weight::from_parts(12_139_000, 3522)
+ // Minimum execution time: 17_707_000 picoseconds.
+ Weight::from_parts(18_035_000, 3522)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -186,8 +186,8 @@
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `3522`
- // Minimum execution time: 4_210_000 picoseconds.
- Weight::from_parts(4_350_000, 3522)
+ // Minimum execution time: 6_353_000 picoseconds.
+ Weight::from_parts(6_515_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::Allowance` (r:1 w:1)
@@ -208,8 +208,8 @@
// Proof Size summary in bytes:
// Measured: `463`
// Estimated: `3530`
- // Minimum execution time: 32_230_000 picoseconds.
- Weight::from_parts(33_210_000, 3530)
+ // Minimum execution time: 47_086_000 picoseconds.
+ Weight::from_parts(47_687_000, 3530)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -219,8 +219,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_180_000 picoseconds.
- Weight::from_parts(3_370_000, 36269)
+ // Minimum execution time: 4_868_000 picoseconds.
+ Weight::from_parts(4_994_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:0 w:1)
@@ -230,10 +230,10 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 440_000 picoseconds.
- Weight::from_parts(3_567_990, 0)
- // Standard Error: 24_013
- .saturating_add(Weight::from_parts(19_386_123, 0).saturating_mul(b.into()))
+ // Minimum execution time: 860_000 picoseconds.
+ Weight::from_parts(886_000, 0)
+ // Standard Error: 70_909
+ .saturating_add(Weight::from_parts(38_734_650, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)
@@ -243,10 +243,10 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_460_000 picoseconds.
- Weight::from_parts(1_530_000, 20191)
- // Standard Error: 124_929
- .saturating_add(Weight::from_parts(28_397_581, 0).saturating_mul(b.into()))
+ // Minimum execution time: 3_151_000 picoseconds.
+ Weight::from_parts(3_276_000, 20191)
+ // Standard Error: 169_159
+ .saturating_add(Weight::from_parts(38_018_122, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -256,8 +256,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_840_000 picoseconds.
- Weight::from_parts(7_160_000, 0)
+ // Minimum execution time: 11_146_000 picoseconds.
+ Weight::from_parts(11_344_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Nonfungible::CollectionAllowance` (r:1 w:0)
@@ -266,8 +266,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3576`
- // Minimum execution time: 3_630_000 picoseconds.
- Weight::from_parts(3_780_000, 3576)
+ // Minimum execution time: 5_413_000 picoseconds.
+ Weight::from_parts(5_593_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:1 w:1)
@@ -276,8 +276,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_280_000 picoseconds.
- Weight::from_parts(3_480_000, 36269)
+ // Minimum execution time: 4_968_000 picoseconds.
+ Weight::from_parts(5_138_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -297,8 +297,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 15_410_000 picoseconds.
- Weight::from_parts(15_850_000, 3530)
+ // Minimum execution time: 25_209_000 picoseconds.
+ Weight::from_parts(25_648_000, 3530)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -315,10 +315,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(5_992_994, 3530)
- // Standard Error: 4_478
- .saturating_add(Weight::from_parts(8_002_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_239_000 picoseconds.
+ Weight::from_parts(11_021_733, 3530)
+ // Standard Error: 3_013
+ .saturating_add(Weight::from_parts(9_580_947, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -336,10 +336,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(3_980_000, 3481)
- // Standard Error: 1_382
- .saturating_add(Weight::from_parts(11_259_286, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_278_000 picoseconds.
+ Weight::from_parts(5_169_950, 3481)
+ // Standard Error: 3_419
+ .saturating_add(Weight::from_parts(13_514_569, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -364,8 +364,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `3530`
- // Minimum execution time: 26_360_000 picoseconds.
- Weight::from_parts(26_850_000, 3530)
+ // Minimum execution time: 39_015_000 picoseconds.
+ Weight::from_parts(39_562_000, 3530)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -381,8 +381,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `6070`
- // Minimum execution time: 22_710_000 picoseconds.
- Weight::from_parts(23_130_000, 6070)
+ // Minimum execution time: 32_930_000 picoseconds.
+ Weight::from_parts(33_398_000, 6070)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -394,8 +394,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3522`
- // Minimum execution time: 11_520_000 picoseconds.
- Weight::from_parts(12_030_000, 3522)
+ // Minimum execution time: 17_411_000 picoseconds.
+ Weight::from_parts(17_790_000, 3522)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -407,8 +407,8 @@
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `3522`
- // Minimum execution time: 11_570_000 picoseconds.
- Weight::from_parts(12_139_000, 3522)
+ // Minimum execution time: 17_707_000 picoseconds.
+ Weight::from_parts(18_035_000, 3522)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -418,8 +418,8 @@
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `3522`
- // Minimum execution time: 4_210_000 picoseconds.
- Weight::from_parts(4_350_000, 3522)
+ // Minimum execution time: 6_353_000 picoseconds.
+ Weight::from_parts(6_515_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::Allowance` (r:1 w:1)
@@ -440,8 +440,8 @@
// Proof Size summary in bytes:
// Measured: `463`
// Estimated: `3530`
- // Minimum execution time: 32_230_000 picoseconds.
- Weight::from_parts(33_210_000, 3530)
+ // Minimum execution time: 47_086_000 picoseconds.
+ Weight::from_parts(47_687_000, 3530)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -451,8 +451,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_180_000 picoseconds.
- Weight::from_parts(3_370_000, 36269)
+ // Minimum execution time: 4_868_000 picoseconds.
+ Weight::from_parts(4_994_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:0 w:1)
@@ -462,10 +462,10 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 440_000 picoseconds.
- Weight::from_parts(3_567_990, 0)
- // Standard Error: 24_013
- .saturating_add(Weight::from_parts(19_386_123, 0).saturating_mul(b.into()))
+ // Minimum execution time: 860_000 picoseconds.
+ Weight::from_parts(886_000, 0)
+ // Standard Error: 70_909
+ .saturating_add(Weight::from_parts(38_734_650, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)
@@ -475,10 +475,10 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_460_000 picoseconds.
- Weight::from_parts(1_530_000, 20191)
- // Standard Error: 124_929
- .saturating_add(Weight::from_parts(28_397_581, 0).saturating_mul(b.into()))
+ // Minimum execution time: 3_151_000 picoseconds.
+ Weight::from_parts(3_276_000, 20191)
+ // Standard Error: 169_159
+ .saturating_add(Weight::from_parts(38_018_122, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -488,8 +488,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_840_000 picoseconds.
- Weight::from_parts(7_160_000, 0)
+ // Minimum execution time: 11_146_000 picoseconds.
+ Weight::from_parts(11_344_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Nonfungible::CollectionAllowance` (r:1 w:0)
@@ -498,8 +498,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3576`
- // Minimum execution time: 3_630_000 picoseconds.
- Weight::from_parts(3_780_000, 3576)
+ // Minimum execution time: 5_413_000 picoseconds.
+ Weight::from_parts(5_593_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:1 w:1)
@@ -508,8 +508,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_280_000 picoseconds.
- Weight::from_parts(3_480_000, 36269)
+ // Minimum execution time: 4_968_000 picoseconds.
+ Weight::from_parts(5_138_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -5,7 +5,7 @@
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -76,8 +76,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 19_400_000 picoseconds.
- Weight::from_parts(19_890_000, 3530)
+ // Minimum execution time: 29_966_000 picoseconds.
+ Weight::from_parts(30_393_000, 3530)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -96,10 +96,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 3_120_000 picoseconds.
- Weight::from_parts(3_310_000, 3530)
- // Standard Error: 2_748
- .saturating_add(Weight::from_parts(11_489_631, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_693_000 picoseconds.
+ Weight::from_parts(109_204, 3530)
+ // Standard Error: 5_369
+ .saturating_add(Weight::from_parts(13_553_747, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
@@ -119,10 +119,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 3_180_000 picoseconds.
- Weight::from_parts(2_015_490, 3481)
- // Standard Error: 6_052
- .saturating_add(Weight::from_parts(14_837_077, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_758_000 picoseconds.
+ Weight::from_parts(7_034_227, 3481)
+ // Standard Error: 3_531
+ .saturating_add(Weight::from_parts(17_131_873, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -144,10 +144,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 5_200_000 picoseconds.
- Weight::from_parts(25_301_631, 3481)
- // Standard Error: 6_177
- .saturating_add(Weight::from_parts(11_197_931, 0).saturating_mul(b.into()))
+ // Minimum execution time: 8_857_000 picoseconds.
+ Weight::from_parts(9_650_186, 3481)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(13_536_987, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -166,8 +166,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `8682`
- // Minimum execution time: 29_540_000 picoseconds.
- Weight::from_parts(30_190_000, 8682)
+ // Minimum execution time: 44_423_000 picoseconds.
+ Weight::from_parts(45_092_000, 8682)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -187,8 +187,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3554`
- // Minimum execution time: 30_650_000 picoseconds.
- Weight::from_parts(31_370_000, 3554)
+ // Minimum execution time: 44_902_000 picoseconds.
+ Weight::from_parts(45_473_000, 3554)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -200,8 +200,8 @@
// Proof Size summary in bytes:
// Measured: `365`
// Estimated: `6118`
- // Minimum execution time: 18_530_000 picoseconds.
- Weight::from_parts(19_010_000, 6118)
+ // Minimum execution time: 27_627_000 picoseconds.
+ Weight::from_parts(28_046_000, 6118)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -217,8 +217,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 24_240_000 picoseconds.
- Weight::from_parts(24_760_000, 6118)
+ // Minimum execution time: 35_866_000 picoseconds.
+ Weight::from_parts(36_441_000, 6118)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -234,8 +234,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `6118`
- // Minimum execution time: 25_990_000 picoseconds.
- Weight::from_parts(26_650_000, 6118)
+ // Minimum execution time: 38_370_000 picoseconds.
+ Weight::from_parts(38_855_000, 6118)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -251,8 +251,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 29_550_000 picoseconds.
- Weight::from_parts(30_530_000, 6118)
+ // Minimum execution time: 43_244_000 picoseconds.
+ Weight::from_parts(43_649_000, 6118)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -264,8 +264,8 @@
// Proof Size summary in bytes:
// Measured: `223`
// Estimated: `3554`
- // Minimum execution time: 11_420_000 picoseconds.
- Weight::from_parts(11_810_000, 3554)
+ // Minimum execution time: 17_775_000 picoseconds.
+ Weight::from_parts(18_062_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -277,8 +277,8 @@
// Proof Size summary in bytes:
// Measured: `211`
// Estimated: `3554`
- // Minimum execution time: 11_610_000 picoseconds.
- Weight::from_parts(11_950_000, 3554)
+ // Minimum execution time: 18_304_000 picoseconds.
+ Weight::from_parts(18_534_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -292,8 +292,8 @@
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `6118`
- // Minimum execution time: 28_510_000 picoseconds.
- Weight::from_parts(29_180_000, 6118)
+ // Minimum execution time: 42_123_000 picoseconds.
+ Weight::from_parts(42_887_000, 6118)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -311,8 +311,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 34_370_000 picoseconds.
- Weight::from_parts(35_270_000, 6118)
+ // Minimum execution time: 50_549_000 picoseconds.
+ Weight::from_parts(51_144_000, 6118)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -330,8 +330,8 @@
// Proof Size summary in bytes:
// Measured: `586`
// Estimated: `6118`
- // Minimum execution time: 36_490_000 picoseconds.
- Weight::from_parts(37_160_000, 6118)
+ // Minimum execution time: 52_978_000 picoseconds.
+ Weight::from_parts(53_931_000, 6118)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -349,8 +349,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 40_080_000 picoseconds.
- Weight::from_parts(48_310_000, 6118)
+ // Minimum execution time: 57_512_000 picoseconds.
+ Weight::from_parts(58_148_000, 6118)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -372,8 +372,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `3570`
- // Minimum execution time: 41_100_000 picoseconds.
- Weight::from_parts(42_060_000, 3570)
+ // Minimum execution time: 59_841_000 picoseconds.
+ Weight::from_parts(60_643_000, 3570)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -383,8 +383,8 @@
// Proof Size summary in bytes:
// Measured: `120`
// Estimated: `36269`
- // Minimum execution time: 2_520_000 picoseconds.
- Weight::from_parts(2_670_000, 36269)
+ // Minimum execution time: 3_752_000 picoseconds.
+ Weight::from_parts(3_933_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Refungible::TokenProperties` (r:0 w:1)
@@ -394,10 +394,10 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 490_000 picoseconds.
- Weight::from_parts(3_457_547, 0)
- // Standard Error: 24_239
- .saturating_add(Weight::from_parts(19_382_722, 0).saturating_mul(b.into()))
+ // Minimum execution time: 851_000 picoseconds.
+ Weight::from_parts(879_000, 0)
+ // Standard Error: 27_977
+ .saturating_add(Weight::from_parts(37_787_661, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)
@@ -407,10 +407,10 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_500_000 picoseconds.
- Weight::from_parts(1_590_000, 20191)
- // Standard Error: 123_927
- .saturating_add(Weight::from_parts(27_355_093, 0).saturating_mul(b.into()))
+ // Minimum execution time: 3_212_000 picoseconds.
+ Weight::from_parts(3_312_000, 20191)
+ // Standard Error: 169_099
+ .saturating_add(Weight::from_parts(37_467_090, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -422,8 +422,8 @@
// Proof Size summary in bytes:
// Measured: `288`
// Estimated: `3554`
- // Minimum execution time: 14_340_000 picoseconds.
- Weight::from_parts(14_590_000, 3554)
+ // Minimum execution time: 21_917_000 picoseconds.
+ Weight::from_parts(22_248_000, 3554)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -433,8 +433,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_390_000 picoseconds.
- Weight::from_parts(6_650_000, 0)
+ // Minimum execution time: 11_167_000 picoseconds.
+ Weight::from_parts(11_372_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Refungible::CollectionAllowance` (r:1 w:0)
@@ -443,8 +443,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3576`
- // Minimum execution time: 3_060_000 picoseconds.
- Weight::from_parts(3_210_000, 3576)
+ // Minimum execution time: 4_851_000 picoseconds.
+ Weight::from_parts(4_988_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Refungible::TokenProperties` (r:1 w:1)
@@ -453,8 +453,8 @@
// Proof Size summary in bytes:
// Measured: `120`
// Estimated: `36269`
- // Minimum execution time: 2_480_000 picoseconds.
- Weight::from_parts(2_620_000, 36269)
+ // Minimum execution time: 4_130_000 picoseconds.
+ Weight::from_parts(4_267_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -476,8 +476,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 19_400_000 picoseconds.
- Weight::from_parts(19_890_000, 3530)
+ // Minimum execution time: 29_966_000 picoseconds.
+ Weight::from_parts(30_393_000, 3530)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -496,10 +496,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 3_120_000 picoseconds.
- Weight::from_parts(3_310_000, 3530)
- // Standard Error: 2_748
- .saturating_add(Weight::from_parts(11_489_631, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_693_000 picoseconds.
+ Weight::from_parts(109_204, 3530)
+ // Standard Error: 5_369
+ .saturating_add(Weight::from_parts(13_553_747, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))
@@ -519,10 +519,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 3_180_000 picoseconds.
- Weight::from_parts(2_015_490, 3481)
- // Standard Error: 6_052
- .saturating_add(Weight::from_parts(14_837_077, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_758_000 picoseconds.
+ Weight::from_parts(7_034_227, 3481)
+ // Standard Error: 3_531
+ .saturating_add(Weight::from_parts(17_131_873, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -544,10 +544,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 5_200_000 picoseconds.
- Weight::from_parts(25_301_631, 3481)
- // Standard Error: 6_177
- .saturating_add(Weight::from_parts(11_197_931, 0).saturating_mul(b.into()))
+ // Minimum execution time: 8_857_000 picoseconds.
+ Weight::from_parts(9_650_186, 3481)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(13_536_987, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -566,8 +566,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `8682`
- // Minimum execution time: 29_540_000 picoseconds.
- Weight::from_parts(30_190_000, 8682)
+ // Minimum execution time: 44_423_000 picoseconds.
+ Weight::from_parts(45_092_000, 8682)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -587,8 +587,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3554`
- // Minimum execution time: 30_650_000 picoseconds.
- Weight::from_parts(31_370_000, 3554)
+ // Minimum execution time: 44_902_000 picoseconds.
+ Weight::from_parts(45_473_000, 3554)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -600,8 +600,8 @@
// Proof Size summary in bytes:
// Measured: `365`
// Estimated: `6118`
- // Minimum execution time: 18_530_000 picoseconds.
- Weight::from_parts(19_010_000, 6118)
+ // Minimum execution time: 27_627_000 picoseconds.
+ Weight::from_parts(28_046_000, 6118)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -617,8 +617,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 24_240_000 picoseconds.
- Weight::from_parts(24_760_000, 6118)
+ // Minimum execution time: 35_866_000 picoseconds.
+ Weight::from_parts(36_441_000, 6118)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -634,8 +634,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `6118`
- // Minimum execution time: 25_990_000 picoseconds.
- Weight::from_parts(26_650_000, 6118)
+ // Minimum execution time: 38_370_000 picoseconds.
+ Weight::from_parts(38_855_000, 6118)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -651,8 +651,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 29_550_000 picoseconds.
- Weight::from_parts(30_530_000, 6118)
+ // Minimum execution time: 43_244_000 picoseconds.
+ Weight::from_parts(43_649_000, 6118)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -664,8 +664,8 @@
// Proof Size summary in bytes:
// Measured: `223`
// Estimated: `3554`
- // Minimum execution time: 11_420_000 picoseconds.
- Weight::from_parts(11_810_000, 3554)
+ // Minimum execution time: 17_775_000 picoseconds.
+ Weight::from_parts(18_062_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -677,8 +677,8 @@
// Proof Size summary in bytes:
// Measured: `211`
// Estimated: `3554`
- // Minimum execution time: 11_610_000 picoseconds.
- Weight::from_parts(11_950_000, 3554)
+ // Minimum execution time: 18_304_000 picoseconds.
+ Weight::from_parts(18_534_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -692,8 +692,8 @@
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `6118`
- // Minimum execution time: 28_510_000 picoseconds.
- Weight::from_parts(29_180_000, 6118)
+ // Minimum execution time: 42_123_000 picoseconds.
+ Weight::from_parts(42_887_000, 6118)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -711,8 +711,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 34_370_000 picoseconds.
- Weight::from_parts(35_270_000, 6118)
+ // Minimum execution time: 50_549_000 picoseconds.
+ Weight::from_parts(51_144_000, 6118)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -730,8 +730,8 @@
// Proof Size summary in bytes:
// Measured: `586`
// Estimated: `6118`
- // Minimum execution time: 36_490_000 picoseconds.
- Weight::from_parts(37_160_000, 6118)
+ // Minimum execution time: 52_978_000 picoseconds.
+ Weight::from_parts(53_931_000, 6118)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -749,8 +749,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 40_080_000 picoseconds.
- Weight::from_parts(48_310_000, 6118)
+ // Minimum execution time: 57_512_000 picoseconds.
+ Weight::from_parts(58_148_000, 6118)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -772,8 +772,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `3570`
- // Minimum execution time: 41_100_000 picoseconds.
- Weight::from_parts(42_060_000, 3570)
+ // Minimum execution time: 59_841_000 picoseconds.
+ Weight::from_parts(60_643_000, 3570)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -783,8 +783,8 @@
// Proof Size summary in bytes:
// Measured: `120`
// Estimated: `36269`
- // Minimum execution time: 2_520_000 picoseconds.
- Weight::from_parts(2_670_000, 36269)
+ // Minimum execution time: 3_752_000 picoseconds.
+ Weight::from_parts(3_933_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Refungible::TokenProperties` (r:0 w:1)
@@ -794,10 +794,10 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 490_000 picoseconds.
- Weight::from_parts(3_457_547, 0)
- // Standard Error: 24_239
- .saturating_add(Weight::from_parts(19_382_722, 0).saturating_mul(b.into()))
+ // Minimum execution time: 851_000 picoseconds.
+ Weight::from_parts(879_000, 0)
+ // Standard Error: 27_977
+ .saturating_add(Weight::from_parts(37_787_661, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)
@@ -807,10 +807,10 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_500_000 picoseconds.
- Weight::from_parts(1_590_000, 20191)
- // Standard Error: 123_927
- .saturating_add(Weight::from_parts(27_355_093, 0).saturating_mul(b.into()))
+ // Minimum execution time: 3_212_000 picoseconds.
+ Weight::from_parts(3_312_000, 20191)
+ // Standard Error: 169_099
+ .saturating_add(Weight::from_parts(37_467_090, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -822,8 +822,8 @@
// Proof Size summary in bytes:
// Measured: `288`
// Estimated: `3554`
- // Minimum execution time: 14_340_000 picoseconds.
- Weight::from_parts(14_590_000, 3554)
+ // Minimum execution time: 21_917_000 picoseconds.
+ Weight::from_parts(22_248_000, 3554)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -833,8 +833,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_390_000 picoseconds.
- Weight::from_parts(6_650_000, 0)
+ // Minimum execution time: 11_167_000 picoseconds.
+ Weight::from_parts(11_372_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Refungible::CollectionAllowance` (r:1 w:0)
@@ -843,8 +843,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3576`
- // Minimum execution time: 3_060_000 picoseconds.
- Weight::from_parts(3_210_000, 3576)
+ // Minimum execution time: 4_851_000 picoseconds.
+ Weight::from_parts(4_988_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Refungible::TokenProperties` (r:1 w:1)
@@ -853,8 +853,8 @@
// Proof Size summary in bytes:
// Measured: `120`
// Estimated: `36269`
- // Minimum execution time: 2_480_000 picoseconds.
- Weight::from_parts(2_620_000, 36269)
+ // Minimum execution time: 4_130_000 picoseconds.
+ Weight::from_parts(4_267_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/structure/src/weights.rs
@@ -39,32 +39,32 @@
/// Weights for pallet_structure using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
// Measured: `667`
// Estimated: `4325`
- // Minimum execution time: 7_344_000 picoseconds.
- Weight::from_parts(7_578_000, 4325)
+ // Minimum execution time: 10_392_000 picoseconds.
+ Weight::from_parts(10_615_000, 4325)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
// Measured: `667`
// Estimated: `4325`
- // Minimum execution time: 7_344_000 picoseconds.
- Weight::from_parts(7_578_000, 4325)
+ // Minimum execution time: 10_392_000 picoseconds.
+ Weight::from_parts(10_615_000, 4325)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/unique/src/weights.rs
@@ -51,182 +51,182 @@
/// Weights for pallet_unique using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `245`
// Estimated: `6196`
- // Minimum execution time: 26_618_000 picoseconds.
- Weight::from_parts(27_287_000, 6196)
+ // Minimum execution time: 59_642_000 picoseconds.
+ Weight::from_parts(60_286_000, 6196)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:1)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensMinted (r:0 w:1)
- /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensBurnt (r:0 w:1)
- /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensMinted` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensBurnt` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `1200`
// Estimated: `4325`
- // Minimum execution time: 37_428_000 picoseconds.
- Weight::from_parts(38_258_000, 4325)
+ // Minimum execution time: 63_083_000 picoseconds.
+ Weight::from_parts(63_928_000, 4325)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_968_000 picoseconds.
- Weight::from_parts(10_388_000, 4325)
+ // Minimum execution time: 18_654_000 picoseconds.
+ Weight::from_parts(18_932_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1033`
// Estimated: `4325`
- // Minimum execution time: 9_600_000 picoseconds.
- Weight::from_parts(9_974_000, 4325)
+ // Minimum execution time: 18_361_000 picoseconds.
+ Weight::from_parts(18_584_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_185_000 picoseconds.
- Weight::from_parts(9_525_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_362_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1012`
// Estimated: `4325`
- // Minimum execution time: 12_704_000 picoseconds.
- Weight::from_parts(13_115_000, 4325)
+ // Minimum execution time: 24_063_000 picoseconds.
+ Weight::from_parts(24_374_000, 4325)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1107`
// Estimated: `4325`
- // Minimum execution time: 14_185_000 picoseconds.
- Weight::from_parts(14_492_000, 4325)
+ // Minimum execution time: 25_196_000 picoseconds.
+ Weight::from_parts(25_670_000, 4325)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_217_000 picoseconds.
- Weight::from_parts(9_499_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_388_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_993_000 picoseconds.
- Weight::from_parts(9_264_000, 4325)
+ // Minimum execution time: 16_730_000 picoseconds.
+ Weight::from_parts(16_965_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_804_000 picoseconds.
- Weight::from_parts(9_302_000, 4325)
+ // Minimum execution time: 16_504_000 picoseconds.
+ Weight::from_parts(16_836_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 5_985_000 picoseconds.
- Weight::from_parts(6_155_000, 4325)
+ // Minimum execution time: 10_285_000 picoseconds.
+ Weight::from_parts(10_505_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_288_000 picoseconds.
- Weight::from_parts(9_608_000, 4325)
+ // Minimum execution time: 17_160_000 picoseconds.
+ Weight::from_parts(17_427_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionProperties (r:1 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionProperties` (r:1 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_904_000 picoseconds.
- Weight::from_parts(5_142_000, 44457)
+ // Minimum execution time: 7_771_000 picoseconds.
+ Weight::from_parts(8_037_000, 44457)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -234,182 +234,182 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `245`
// Estimated: `6196`
- // Minimum execution time: 26_618_000 picoseconds.
- Weight::from_parts(27_287_000, 6196)
+ // Minimum execution time: 59_642_000 picoseconds.
+ Weight::from_parts(60_286_000, 6196)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:1)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensMinted (r:0 w:1)
- /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensBurnt (r:0 w:1)
- /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensMinted` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensBurnt` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `1200`
// Estimated: `4325`
- // Minimum execution time: 37_428_000 picoseconds.
- Weight::from_parts(38_258_000, 4325)
+ // Minimum execution time: 63_083_000 picoseconds.
+ Weight::from_parts(63_928_000, 4325)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_968_000 picoseconds.
- Weight::from_parts(10_388_000, 4325)
+ // Minimum execution time: 18_654_000 picoseconds.
+ Weight::from_parts(18_932_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1033`
// Estimated: `4325`
- // Minimum execution time: 9_600_000 picoseconds.
- Weight::from_parts(9_974_000, 4325)
+ // Minimum execution time: 18_361_000 picoseconds.
+ Weight::from_parts(18_584_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_185_000 picoseconds.
- Weight::from_parts(9_525_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_362_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1012`
// Estimated: `4325`
- // Minimum execution time: 12_704_000 picoseconds.
- Weight::from_parts(13_115_000, 4325)
+ // Minimum execution time: 24_063_000 picoseconds.
+ Weight::from_parts(24_374_000, 4325)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1107`
// Estimated: `4325`
- // Minimum execution time: 14_185_000 picoseconds.
- Weight::from_parts(14_492_000, 4325)
+ // Minimum execution time: 25_196_000 picoseconds.
+ Weight::from_parts(25_670_000, 4325)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_217_000 picoseconds.
- Weight::from_parts(9_499_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_388_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_993_000 picoseconds.
- Weight::from_parts(9_264_000, 4325)
+ // Minimum execution time: 16_730_000 picoseconds.
+ Weight::from_parts(16_965_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_804_000 picoseconds.
- Weight::from_parts(9_302_000, 4325)
+ // Minimum execution time: 16_504_000 picoseconds.
+ Weight::from_parts(16_836_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 5_985_000 picoseconds.
- Weight::from_parts(6_155_000, 4325)
+ // Minimum execution time: 10_285_000 picoseconds.
+ Weight::from_parts(10_505_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_288_000 picoseconds.
- Weight::from_parts(9_608_000, 4325)
+ // Minimum execution time: 17_160_000 picoseconds.
+ Weight::from_parts(17_427_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionProperties (r:1 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionProperties` (r:1 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_904_000 picoseconds.
- Weight::from_parts(5_142_000, 44457)
+ // Minimum execution time: 7_771_000 picoseconds.
+ Weight::from_parts(8_037_000, 44457)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -57,10 +57,10 @@
pub const SESSION_LENGTH: BlockNumber = HOURS;
// Targeting 0.1 UNQ per transfer
-pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_334_604_063_436_322/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/74_401_761_267_585_092/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_920_639_188_722/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_873_477_799_288/*</mingasprice>*/;
/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
/// This is used to limit the maximal weight of a single extrinsic.
runtime/common/weights/xcm.rsdiffbeforeafterboth--- a/runtime/common/weights/xcm.rs
+++ b/runtime/common/weights/xcm.rs
@@ -3,12 +3,12 @@
//! Autogenerated weights for pallet_xcm
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: 400, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -19,7 +19,7 @@
// *
// --template=.maintain/external-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./runtime/common/weights/xcm.rs
@@ -35,222 +35,222 @@
/// Weights for pallet_xcm using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn send() -> Weight {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3743`
- // Minimum execution time: 12_999_000 picoseconds.
- Weight::from_parts(13_426_000, 3743)
+ // Minimum execution time: 27_564_000 picoseconds.
+ Weight::from_parts(28_000_000, 3743)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: ParachainInfo ParachainId (r:1 w:0)
- /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
+ /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn teleport_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `169`
// Estimated: `1489`
- // Minimum execution time: 10_299_000 picoseconds.
- Weight::from_parts(10_647_000, 1489)
+ // Minimum execution time: 26_239_000 picoseconds.
+ Weight::from_parts(26_609_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
- /// Storage: ParachainInfo ParachainId (r:1 w:0)
- /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
+ /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn reserve_transfer_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `169`
// Estimated: `1489`
- // Minimum execution time: 10_094_000 picoseconds.
- Weight::from_parts(10_464_000, 1489)
+ // Minimum execution time: 26_032_000 picoseconds.
+ Weight::from_parts(26_417_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_485_000 picoseconds.
- Weight::from_parts(3_664_000, 0)
+ // Minimum execution time: 9_322_000 picoseconds.
+ Weight::from_parts(9_573_000, 0)
}
- /// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn force_xcm_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_717_000 picoseconds.
- Weight::from_parts(3_866_000, 0)
+ // Minimum execution time: 9_125_000 picoseconds.
+ Weight::from_parts(9_367_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn force_default_xcm_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_328_000 picoseconds.
- Weight::from_parts(1_400_000, 0)
+ // Minimum execution time: 2_923_000 picoseconds.
+ Weight::from_parts(3_053_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm QueryCounter (r:1 w:1)
- /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm Queries (r:0 w:1)
- /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
+ /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
+ /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn force_subscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3743`
- // Minimum execution time: 16_057_000 picoseconds.
- Weight::from_parts(16_483_000, 3743)
+ // Minimum execution time: 31_942_000 picoseconds.
+ Weight::from_parts(32_568_000, 3743)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
- /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm Queries (r:0 w:1)
- /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
+ /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn force_unsubscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `461`
// Estimated: `3926`
- // Minimum execution time: 18_009_000 picoseconds.
- Weight::from_parts(18_565_000, 3926)
+ // Minimum execution time: 32_521_000 picoseconds.
+ Weight::from_parts(32_922_000, 3926)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1)
- /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
+ /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn force_suspension() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_378_000 picoseconds.
- Weight::from_parts(1_447_000, 0)
+ // Minimum execution time: 3_026_000 picoseconds.
+ Weight::from_parts(3_126_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn migrate_supported_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `196`
// Estimated: `11086`
- // Minimum execution time: 10_770_000 picoseconds.
- Weight::from_parts(11_090_000, 11086)
+ // Minimum execution time: 16_157_000 picoseconds.
+ Weight::from_parts(16_556_000, 11086)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
- /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2)
+ /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn migrate_version_notifiers() -> Weight {
// Proof Size summary in bytes:
// Measured: `200`
// Estimated: `11090`
- // Minimum execution time: 10_760_000 picoseconds.
- Weight::from_parts(11_091_000, 11090)
+ // Minimum execution time: 16_300_000 picoseconds.
+ Weight::from_parts(16_774_000, 11090)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn already_notified_target() -> Weight {
// Proof Size summary in bytes:
// Measured: `207`
// Estimated: `13572`
- // Minimum execution time: 12_026_000 picoseconds.
- Weight::from_parts(12_321_000, 13572)
+ // Minimum execution time: 16_948_000 picoseconds.
+ Weight::from_parts(17_328_000, 13572)
.saturating_add(T::DbWeight::get().reads(5_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn notify_current_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `345`
// Estimated: `6285`
- // Minimum execution time: 15_508_000 picoseconds.
- Weight::from_parts(15_885_000, 6285)
+ // Minimum execution time: 29_235_000 picoseconds.
+ Weight::from_parts(29_652_000, 6285)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn notify_target_migration_fail() -> Weight {
// Proof Size summary in bytes:
// Measured: `239`
// Estimated: `8654`
- // Minimum execution time: 5_580_000 picoseconds.
- Weight::from_parts(5_753_000, 8654)
+ // Minimum execution time: 8_453_000 picoseconds.
+ Weight::from_parts(8_742_000, 8654)
.saturating_add(T::DbWeight::get().reads(3_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn migrate_version_notify_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `207`
// Estimated: `11097`
- // Minimum execution time: 10_951_000 picoseconds.
- Weight::from_parts(11_341_000, 11097)
+ // Minimum execution time: 16_522_000 picoseconds.
+ Weight::from_parts(16_863_000, 11097)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn migrate_and_notify_old_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `11239`
- // Minimum execution time: 19_990_000 picoseconds.
- Weight::from_parts(20_433_000, 11239)
+ // Minimum execution time: 35_386_000 picoseconds.
+ Weight::from_parts(35_854_000, 11239)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}