mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Fixes PoV over-estimation (#13766)
* Align log Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use max instead of sum Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Make comment ordering deterministic Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Dont add Pov overhead when all is ignored Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update test pallet weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Re-run weights on bm2 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Actually use new weights Fucked up the merge for this file... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update contract weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
46e2d3e5f8
commit
ebfe00d590
Generated
+162
-165
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_uniques
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -31,9 +31,6 @@
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_uniques
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -90,8 +87,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `249`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 27_805_000 picoseconds.
|
||||
Weight::from_parts(28_303_000, 3643)
|
||||
// Minimum execution time: 32_067_000 picoseconds.
|
||||
Weight::from_parts(32_817_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -103,8 +100,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `109`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 16_257_000 picoseconds.
|
||||
Weight::from_parts(16_626_000, 3643)
|
||||
// Minimum execution time: 16_365_000 picoseconds.
|
||||
Weight::from_parts(16_707_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -129,16 +126,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `418 + n * (76 ±0) + m * (56 ±0) + a * (107 ±0)`
|
||||
// Estimated: `9210 + n * (2597 ±0) + a * (2839 ±0) + m * (2583 ±0)`
|
||||
// Minimum execution time: 2_510_772_000 picoseconds.
|
||||
Weight::from_parts(2_522_511_000, 9210)
|
||||
// Standard Error: 27_455
|
||||
.saturating_add(Weight::from_parts(6_708_827, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 27_455
|
||||
.saturating_add(Weight::from_parts(375_591, 0).saturating_mul(m.into()))
|
||||
// Standard Error: 27_455
|
||||
.saturating_add(Weight::from_parts(251_697, 0).saturating_mul(a.into()))
|
||||
// Measured: `418 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
|
||||
// Estimated: `3643 + a * (2839 ±0) + m * (2583 ±0) + n * (2597 ±0)`
|
||||
// Minimum execution time: 2_498_918_000 picoseconds.
|
||||
Weight::from_parts(2_516_809_000, 3643)
|
||||
// Standard Error: 26_297
|
||||
.saturating_add(Weight::from_parts(6_648_035, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 26_297
|
||||
.saturating_add(Weight::from_parts(354_268, 0).saturating_mul(m.into()))
|
||||
// Standard Error: 26_297
|
||||
.saturating_add(Weight::from_parts(223_770, 0).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
|
||||
@@ -147,9 +144,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2839).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2583).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
|
||||
}
|
||||
/// Storage: Uniques Asset (r:1 w:1)
|
||||
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
|
||||
@@ -162,9 +159,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn mint() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `10719`
|
||||
// Minimum execution time: 33_959_000 picoseconds.
|
||||
Weight::from_parts(34_380_000, 10719)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 38_157_000 picoseconds.
|
||||
Weight::from_parts(38_677_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -179,9 +176,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn burn() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 34_194_000 picoseconds.
|
||||
Weight::from_parts(34_808_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 39_069_000 picoseconds.
|
||||
Weight::from_parts(40_442_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -196,9 +193,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 27_841_000 picoseconds.
|
||||
Weight::from_parts(28_263_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 28_085_000 picoseconds.
|
||||
Weight::from_parts(28_403_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -210,11 +207,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `805 + i * (76 ±0)`
|
||||
// Estimated: `4633 + i * (2597 ±0)`
|
||||
// Minimum execution time: 15_577_000 picoseconds.
|
||||
Weight::from_parts(15_706_000, 4633)
|
||||
// Standard Error: 17_679
|
||||
.saturating_add(Weight::from_parts(14_173_779, 0).saturating_mul(i.into()))
|
||||
// Estimated: `3643 + i * (2597 ±0)`
|
||||
// Minimum execution time: 16_202_000 picoseconds.
|
||||
Weight::from_parts(16_380_000, 3643)
|
||||
// Standard Error: 18_639
|
||||
.saturating_add(Weight::from_parts(16_047_161, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
@@ -228,9 +225,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn freeze() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 19_474_000 picoseconds.
|
||||
Weight::from_parts(19_807_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 20_131_000 picoseconds.
|
||||
Weight::from_parts(20_535_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -241,9 +238,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn thaw() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 19_526_000 picoseconds.
|
||||
Weight::from_parts(19_818_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 19_895_000 picoseconds.
|
||||
Weight::from_parts(20_198_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -253,8 +250,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 15_324_000 picoseconds.
|
||||
Weight::from_parts(15_599_000, 3643)
|
||||
// Minimum execution time: 15_312_000 picoseconds.
|
||||
Weight::from_parts(15_555_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -264,8 +261,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 15_294_000 picoseconds.
|
||||
Weight::from_parts(15_504_000, 3643)
|
||||
// Minimum execution time: 15_145_000 picoseconds.
|
||||
Weight::from_parts(15_371_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -278,9 +275,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `423`
|
||||
// Estimated: `7160`
|
||||
// Minimum execution time: 24_007_000 picoseconds.
|
||||
Weight::from_parts(24_555_000, 7160)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 23_800_000 picoseconds.
|
||||
Weight::from_parts(23_991_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -290,8 +287,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 15_616_000 picoseconds.
|
||||
Weight::from_parts(15_897_000, 3643)
|
||||
// Minimum execution time: 15_929_000 picoseconds.
|
||||
Weight::from_parts(16_219_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -303,8 +300,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 18_459_000 picoseconds.
|
||||
Weight::from_parts(18_705_000, 3643)
|
||||
// Minimum execution time: 18_617_000 picoseconds.
|
||||
Weight::from_parts(19_016_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -317,9 +314,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_attribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `547`
|
||||
// Estimated: `11045`
|
||||
// Minimum execution time: 39_056_000 picoseconds.
|
||||
Weight::from_parts(39_513_000, 11045)
|
||||
// Estimated: `3829`
|
||||
// Minimum execution time: 41_982_000 picoseconds.
|
||||
Weight::from_parts(42_329_000, 3829)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -332,9 +329,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn clear_attribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `936`
|
||||
// Estimated: `11045`
|
||||
// Minimum execution time: 37_441_000 picoseconds.
|
||||
Weight::from_parts(37_859_000, 11045)
|
||||
// Estimated: `3829`
|
||||
// Minimum execution time: 39_921_000 picoseconds.
|
||||
Weight::from_parts(40_499_000, 3829)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -345,9 +342,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `415`
|
||||
// Estimated: `7216`
|
||||
// Minimum execution time: 29_456_000 picoseconds.
|
||||
Weight::from_parts(29_930_000, 7216)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 31_774_000 picoseconds.
|
||||
Weight::from_parts(32_327_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -358,9 +355,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn clear_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `547`
|
||||
// Estimated: `7216`
|
||||
// Minimum execution time: 29_817_000 picoseconds.
|
||||
Weight::from_parts(30_364_000, 7216)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 32_551_000 picoseconds.
|
||||
Weight::from_parts(32_891_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -371,9 +368,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `7196`
|
||||
// Minimum execution time: 29_392_000 picoseconds.
|
||||
Weight::from_parts(29_878_000, 7196)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 33_490_000 picoseconds.
|
||||
Weight::from_parts(34_617_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -384,9 +381,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `461`
|
||||
// Estimated: `7196`
|
||||
// Minimum execution time: 27_234_000 picoseconds.
|
||||
Weight::from_parts(27_664_000, 7196)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 31_691_000 picoseconds.
|
||||
Weight::from_parts(32_042_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -397,9 +394,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn approve_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 20_447_000 picoseconds.
|
||||
Weight::from_parts(20_886_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 20_738_000 picoseconds.
|
||||
Weight::from_parts(21_067_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -410,9 +407,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn cancel_approval() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `528`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 20_934_000 picoseconds.
|
||||
Weight::from_parts(21_271_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 20_404_000 picoseconds.
|
||||
Weight::from_parts(20_999_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -422,8 +419,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `109`
|
||||
// Estimated: `3517`
|
||||
// Minimum execution time: 17_004_000 picoseconds.
|
||||
Weight::from_parts(17_401_000, 3517)
|
||||
// Minimum execution time: 17_047_000 picoseconds.
|
||||
Weight::from_parts(17_307_000, 3517)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -434,9 +431,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `7132`
|
||||
// Minimum execution time: 17_371_000 picoseconds.
|
||||
Weight::from_parts(18_103_000, 7132)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 17_829_000 picoseconds.
|
||||
Weight::from_parts(18_194_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -448,8 +445,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `326`
|
||||
// Estimated: `3587`
|
||||
// Minimum execution time: 17_624_000 picoseconds.
|
||||
Weight::from_parts(17_866_000, 3587)
|
||||
// Minimum execution time: 17_620_000 picoseconds.
|
||||
Weight::from_parts(17_931_000, 3587)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -464,9 +461,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn buy_item() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `607`
|
||||
// Estimated: `10784`
|
||||
// Minimum execution time: 39_736_000 picoseconds.
|
||||
Weight::from_parts(40_855_000, 10784)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 39_550_000 picoseconds.
|
||||
Weight::from_parts(40_052_000, 3643)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -482,8 +479,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `249`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 27_805_000 picoseconds.
|
||||
Weight::from_parts(28_303_000, 3643)
|
||||
// Minimum execution time: 32_067_000 picoseconds.
|
||||
Weight::from_parts(32_817_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -495,8 +492,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `109`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 16_257_000 picoseconds.
|
||||
Weight::from_parts(16_626_000, 3643)
|
||||
// Minimum execution time: 16_365_000 picoseconds.
|
||||
Weight::from_parts(16_707_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -521,16 +518,16 @@ impl WeightInfo for () {
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `418 + n * (76 ±0) + m * (56 ±0) + a * (107 ±0)`
|
||||
// Estimated: `9210 + n * (2597 ±0) + a * (2839 ±0) + m * (2583 ±0)`
|
||||
// Minimum execution time: 2_510_772_000 picoseconds.
|
||||
Weight::from_parts(2_522_511_000, 9210)
|
||||
// Standard Error: 27_455
|
||||
.saturating_add(Weight::from_parts(6_708_827, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 27_455
|
||||
.saturating_add(Weight::from_parts(375_591, 0).saturating_mul(m.into()))
|
||||
// Standard Error: 27_455
|
||||
.saturating_add(Weight::from_parts(251_697, 0).saturating_mul(a.into()))
|
||||
// Measured: `418 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
|
||||
// Estimated: `3643 + a * (2839 ±0) + m * (2583 ±0) + n * (2597 ±0)`
|
||||
// Minimum execution time: 2_498_918_000 picoseconds.
|
||||
Weight::from_parts(2_516_809_000, 3643)
|
||||
// Standard Error: 26_297
|
||||
.saturating_add(Weight::from_parts(6_648_035, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 26_297
|
||||
.saturating_add(Weight::from_parts(354_268, 0).saturating_mul(m.into()))
|
||||
// Standard Error: 26_297
|
||||
.saturating_add(Weight::from_parts(223_770, 0).saturating_mul(a.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
|
||||
@@ -539,9 +536,9 @@ impl WeightInfo for () {
|
||||
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(n.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(m.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(a.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2839).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2583).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
|
||||
}
|
||||
/// Storage: Uniques Asset (r:1 w:1)
|
||||
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
|
||||
@@ -554,9 +551,9 @@ impl WeightInfo for () {
|
||||
fn mint() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `10719`
|
||||
// Minimum execution time: 33_959_000 picoseconds.
|
||||
Weight::from_parts(34_380_000, 10719)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 38_157_000 picoseconds.
|
||||
Weight::from_parts(38_677_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -571,9 +568,9 @@ impl WeightInfo for () {
|
||||
fn burn() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 34_194_000 picoseconds.
|
||||
Weight::from_parts(34_808_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 39_069_000 picoseconds.
|
||||
Weight::from_parts(40_442_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -588,9 +585,9 @@ impl WeightInfo for () {
|
||||
fn transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 27_841_000 picoseconds.
|
||||
Weight::from_parts(28_263_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 28_085_000 picoseconds.
|
||||
Weight::from_parts(28_403_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -602,11 +599,11 @@ impl WeightInfo for () {
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `805 + i * (76 ±0)`
|
||||
// Estimated: `4633 + i * (2597 ±0)`
|
||||
// Minimum execution time: 15_577_000 picoseconds.
|
||||
Weight::from_parts(15_706_000, 4633)
|
||||
// Standard Error: 17_679
|
||||
.saturating_add(Weight::from_parts(14_173_779, 0).saturating_mul(i.into()))
|
||||
// Estimated: `3643 + i * (2597 ±0)`
|
||||
// Minimum execution time: 16_202_000 picoseconds.
|
||||
Weight::from_parts(16_380_000, 3643)
|
||||
// Standard Error: 18_639
|
||||
.saturating_add(Weight::from_parts(16_047_161, 0).saturating_mul(i.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(i.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
@@ -620,9 +617,9 @@ impl WeightInfo for () {
|
||||
fn freeze() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 19_474_000 picoseconds.
|
||||
Weight::from_parts(19_807_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 20_131_000 picoseconds.
|
||||
Weight::from_parts(20_535_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -633,9 +630,9 @@ impl WeightInfo for () {
|
||||
fn thaw() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 19_526_000 picoseconds.
|
||||
Weight::from_parts(19_818_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 19_895_000 picoseconds.
|
||||
Weight::from_parts(20_198_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -645,8 +642,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 15_324_000 picoseconds.
|
||||
Weight::from_parts(15_599_000, 3643)
|
||||
// Minimum execution time: 15_312_000 picoseconds.
|
||||
Weight::from_parts(15_555_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -656,8 +653,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 15_294_000 picoseconds.
|
||||
Weight::from_parts(15_504_000, 3643)
|
||||
// Minimum execution time: 15_145_000 picoseconds.
|
||||
Weight::from_parts(15_371_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -670,9 +667,9 @@ impl WeightInfo for () {
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `423`
|
||||
// Estimated: `7160`
|
||||
// Minimum execution time: 24_007_000 picoseconds.
|
||||
Weight::from_parts(24_555_000, 7160)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 23_800_000 picoseconds.
|
||||
Weight::from_parts(23_991_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -682,8 +679,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 15_616_000 picoseconds.
|
||||
Weight::from_parts(15_897_000, 3643)
|
||||
// Minimum execution time: 15_929_000 picoseconds.
|
||||
Weight::from_parts(16_219_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -695,8 +692,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 18_459_000 picoseconds.
|
||||
Weight::from_parts(18_705_000, 3643)
|
||||
// Minimum execution time: 18_617_000 picoseconds.
|
||||
Weight::from_parts(19_016_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -709,9 +706,9 @@ impl WeightInfo for () {
|
||||
fn set_attribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `547`
|
||||
// Estimated: `11045`
|
||||
// Minimum execution time: 39_056_000 picoseconds.
|
||||
Weight::from_parts(39_513_000, 11045)
|
||||
// Estimated: `3829`
|
||||
// Minimum execution time: 41_982_000 picoseconds.
|
||||
Weight::from_parts(42_329_000, 3829)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -724,9 +721,9 @@ impl WeightInfo for () {
|
||||
fn clear_attribute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `936`
|
||||
// Estimated: `11045`
|
||||
// Minimum execution time: 37_441_000 picoseconds.
|
||||
Weight::from_parts(37_859_000, 11045)
|
||||
// Estimated: `3829`
|
||||
// Minimum execution time: 39_921_000 picoseconds.
|
||||
Weight::from_parts(40_499_000, 3829)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -737,9 +734,9 @@ impl WeightInfo for () {
|
||||
fn set_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `415`
|
||||
// Estimated: `7216`
|
||||
// Minimum execution time: 29_456_000 picoseconds.
|
||||
Weight::from_parts(29_930_000, 7216)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 31_774_000 picoseconds.
|
||||
Weight::from_parts(32_327_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -750,9 +747,9 @@ impl WeightInfo for () {
|
||||
fn clear_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `547`
|
||||
// Estimated: `7216`
|
||||
// Minimum execution time: 29_817_000 picoseconds.
|
||||
Weight::from_parts(30_364_000, 7216)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 32_551_000 picoseconds.
|
||||
Weight::from_parts(32_891_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -763,9 +760,9 @@ impl WeightInfo for () {
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `7196`
|
||||
// Minimum execution time: 29_392_000 picoseconds.
|
||||
Weight::from_parts(29_878_000, 7196)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 33_490_000 picoseconds.
|
||||
Weight::from_parts(34_617_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -776,9 +773,9 @@ impl WeightInfo for () {
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `461`
|
||||
// Estimated: `7196`
|
||||
// Minimum execution time: 27_234_000 picoseconds.
|
||||
Weight::from_parts(27_664_000, 7196)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 31_691_000 picoseconds.
|
||||
Weight::from_parts(32_042_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -789,9 +786,9 @@ impl WeightInfo for () {
|
||||
fn approve_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 20_447_000 picoseconds.
|
||||
Weight::from_parts(20_886_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 20_738_000 picoseconds.
|
||||
Weight::from_parts(21_067_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -802,9 +799,9 @@ impl WeightInfo for () {
|
||||
fn cancel_approval() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `528`
|
||||
// Estimated: `7230`
|
||||
// Minimum execution time: 20_934_000 picoseconds.
|
||||
Weight::from_parts(21_271_000, 7230)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 20_404_000 picoseconds.
|
||||
Weight::from_parts(20_999_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -814,8 +811,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `109`
|
||||
// Estimated: `3517`
|
||||
// Minimum execution time: 17_004_000 picoseconds.
|
||||
Weight::from_parts(17_401_000, 3517)
|
||||
// Minimum execution time: 17_047_000 picoseconds.
|
||||
Weight::from_parts(17_307_000, 3517)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -826,9 +823,9 @@ impl WeightInfo for () {
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `7132`
|
||||
// Minimum execution time: 17_371_000 picoseconds.
|
||||
Weight::from_parts(18_103_000, 7132)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 17_829_000 picoseconds.
|
||||
Weight::from_parts(18_194_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -840,8 +837,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `326`
|
||||
// Estimated: `3587`
|
||||
// Minimum execution time: 17_624_000 picoseconds.
|
||||
Weight::from_parts(17_866_000, 3587)
|
||||
// Minimum execution time: 17_620_000 picoseconds.
|
||||
Weight::from_parts(17_931_000, 3587)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -856,9 +853,9 @@ impl WeightInfo for () {
|
||||
fn buy_item() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `607`
|
||||
// Estimated: `10784`
|
||||
// Minimum execution time: 39_736_000 picoseconds.
|
||||
Weight::from_parts(40_855_000, 10784)
|
||||
// Estimated: `3643`
|
||||
// Minimum execution time: 39_550_000 picoseconds.
|
||||
Weight::from_parts(40_052_000, 3643)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user