difftreelog
chore regenerate weights
in: master
10 files changed
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -19,7 +19,7 @@
// --template
// .maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=200
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/evm-migration/src/weights.rs
@@ -45,25 +45,23 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (6_914_000 as Weight)
+ (8_035_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- (2_875_000 as Weight)
+ (3_076_000 as Weight)
// Standard Error: 0
- .saturating_add((794_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((828_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- (6_320_000 as Weight)
- // Standard Error: 0
- .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
+ fn finish(_b: u32, ) -> Weight {
+ (6_591_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -75,25 +73,23 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- (6_914_000 as Weight)
+ (8_035_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- (2_875_000 as Weight)
+ (3_076_000 as Weight)
// Standard Error: 0
- .saturating_add((794_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((828_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
- fn finish(b: u32, ) -> Weight {
- (6_320_000 as Weight)
- // Standard Error: 0
- .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
+ fn finish(_b: u32, ) -> Weight {
+ (6_591_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,16 +48,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (17_828_000 as Weight)
+ (18_195_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (17_574_000 as Weight)
+ (19_218_000 as Weight)
// Standard Error: 3_000
- .saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((4_516_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -66,27 +66,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (18_417_000 as Weight)
+ (18_719_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- (20_090_000 as Weight)
+ (20_563_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (17_532_000 as Weight)
+ (17_583_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- (29_869_000 as Weight)
+ (29_845_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -94,7 +94,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (27_835_000 as Weight)
+ (28_248_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -105,16 +105,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- (17_828_000 as Weight)
+ (18_195_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (17_574_000 as Weight)
+ (19_218_000 as Weight)
// Standard Error: 3_000
- .saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
+ .saturating_add((4_516_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -123,27 +123,27 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- (18_417_000 as Weight)
+ (18_719_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- (20_090_000 as Weight)
+ (20_563_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (17_532_000 as Weight)
+ (17_583_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- (29_869_000 as Weight)
+ (29_845_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
@@ -151,7 +151,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- (27_835_000 as Weight)
+ (28_248_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -57,7 +57,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (20_909_000 as Weight)
+ (25_905_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
@@ -66,9 +66,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (12_601_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))
+ (24_955_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((5_340_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -78,9 +78,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (0 as Weight)
- // Standard Error: 3_000
- .saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))
+ (13_666_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((8_299_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -94,7 +94,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- (29_746_000 as Weight)
+ (36_205_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -106,7 +106,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- (36_077_000 as Weight)
+ (44_550_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -120,8 +120,8 @@
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_605_000
- .saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_536_000
+ .saturating_add((312_125_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
@@ -132,14 +132,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (25_248_000 as Weight)
+ (31_116_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- (16_321_000 as Weight)
+ (20_802_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -148,7 +148,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (29_325_000 as Weight)
+ (36_083_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -160,15 +160,15 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (33_323_000 as Weight)
+ (41_781_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 62_000
- .saturating_add((16_222_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 58_000
+ .saturating_add((15_705_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -176,8 +176,8 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_750_000
- .saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_595_000
+ .saturating_add((590_344_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -185,14 +185,14 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_638_000
- .saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_664_000
+ .saturating_add((605_836_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- (2_986_000 as Weight)
+ (4_366_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
}
@@ -204,7 +204,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (20_909_000 as Weight)
+ (25_905_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
@@ -213,9 +213,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (12_601_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((4_920_000 as Weight).saturating_mul(b as Weight))
+ (24_955_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((5_340_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -225,9 +225,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- (0 as Weight)
- // Standard Error: 3_000
- .saturating_add((7_734_000 as Weight).saturating_mul(b as Weight))
+ (13_666_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((8_299_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -241,7 +241,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- (29_746_000 as Weight)
+ (36_205_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
@@ -253,7 +253,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- (36_077_000 as Weight)
+ (44_550_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
@@ -267,8 +267,8 @@
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_605_000
- .saturating_add((312_391_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 1_536_000
+ .saturating_add((312_125_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(7 as Weight))
.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
@@ -279,14 +279,14 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- (25_248_000 as Weight)
+ (31_116_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- (16_321_000 as Weight)
+ (20_802_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -295,7 +295,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- (29_325_000 as Weight)
+ (36_083_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -307,15 +307,15 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (33_323_000 as Weight)
+ (41_781_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 62_000
- .saturating_add((16_222_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 58_000
+ .saturating_add((15_705_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -323,8 +323,8 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_750_000
- .saturating_add((304_476_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_595_000
+ .saturating_add((590_344_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -332,14 +332,14 @@
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_638_000
- .saturating_add((294_096_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_664_000
+ .saturating_add((605_836_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- (2_986_000 as Weight)
+ (4_366_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
}
}
pallets/proxy-rmrk-core/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_proxy_rmrk_core3//! Autogenerated weights for pallet_proxy_rmrk_core4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024889// Executed Command:9// Executed Command:64 // Storage: Common CollectionById (r:0 w:1)64 // Storage: Common CollectionById (r:0 w:1)65 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)65 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)66 fn create_collection() -> Weight {66 fn create_collection() -> Weight {67 (49_365_000 as Weight)67 (49_754_000 as Weight)68 .saturating_add(T::DbWeight::get().reads(5 as Weight))68 .saturating_add(T::DbWeight::get().reads(5 as Weight))69 .saturating_add(T::DbWeight::get().writes(8 as Weight))69 .saturating_add(T::DbWeight::get().writes(8 as Weight))70 }70 }77 // Storage: Nonfungible TokensBurnt (r:0 w:1)77 // Storage: Nonfungible TokensBurnt (r:0 w:1)78 // Storage: Common AdminAmount (r:0 w:1)78 // Storage: Common AdminAmount (r:0 w:1)79 fn destroy_collection() -> Weight {79 fn destroy_collection() -> Weight {80 (49_903_000 as Weight)80 (48_588_000 as Weight)81 .saturating_add(T::DbWeight::get().reads(5 as Weight))81 .saturating_add(T::DbWeight::get().reads(5 as Weight))82 .saturating_add(T::DbWeight::get().writes(6 as Weight))82 .saturating_add(T::DbWeight::get().writes(6 as Weight))83 }83 }84 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)84 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)85 // Storage: Common CollectionById (r:1 w:1)85 // Storage: Common CollectionById (r:1 w:1)86 // Storage: Common CollectionProperties (r:1 w:0)86 // Storage: Common CollectionProperties (r:1 w:0)87 fn change_collection_issuer() -> Weight {87 fn change_collection_issuer() -> Weight {88 (26_134_000 as Weight)88 (25_054_000 as Weight)89 .saturating_add(T::DbWeight::get().reads(3 as Weight))89 .saturating_add(T::DbWeight::get().reads(3 as Weight))90 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 .saturating_add(T::DbWeight::get().writes(1 as Weight))91 }91 }95 // Storage: Nonfungible TokensMinted (r:1 w:0)95 // Storage: Nonfungible TokensMinted (r:1 w:0)96 // Storage: Nonfungible TokensBurnt (r:1 w:0)96 // Storage: Nonfungible TokensBurnt (r:1 w:0)97 fn lock_collection() -> Weight {97 fn lock_collection() -> Weight {98 (28_020_000 as Weight)98 (26_483_000 as Weight)99 .saturating_add(T::DbWeight::get().reads(5 as Weight))99 .saturating_add(T::DbWeight::get().reads(5 as Weight))100 .saturating_add(T::DbWeight::get().writes(1 as Weight))100 .saturating_add(T::DbWeight::get().writes(1 as Weight))101 }101 }109 // Storage: Nonfungible Owned (r:0 w:1)109 // Storage: Nonfungible Owned (r:0 w:1)110 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)110 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)111 fn mint_nft(b: u32, ) -> Weight {111 fn mint_nft(b: u32, ) -> Weight {112 (67_476_000 as Weight)112 (62_419_000 as Weight)113 // Standard Error: 19_000113 // Standard Error: 7_000114 .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))114 .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))115 .saturating_add(T::DbWeight::get().reads(6 as Weight))115 .saturating_add(T::DbWeight::get().reads(6 as Weight))116 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))116 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))117 .saturating_add(T::DbWeight::get().writes(5 as Weight))117 .saturating_add(T::DbWeight::get().writes(5 as Weight))129 // Storage: Nonfungible TokenProperties (r:0 w:1)129 // Storage: Nonfungible TokenProperties (r:0 w:1)130 fn burn_nft(b: u32, ) -> Weight {130 fn burn_nft(b: u32, ) -> Weight {131 (0 as Weight)131 (0 as Weight)132 // Standard Error: 1_500_000132 // Standard Error: 1_488_000133 .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))133 .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))134 .saturating_add(T::DbWeight::get().reads(9 as Weight))134 .saturating_add(T::DbWeight::get().reads(9 as Weight))135 .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))135 .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))136 .saturating_add(T::DbWeight::get().writes(6 as Weight))136 .saturating_add(T::DbWeight::get().writes(6 as Weight))146 // Storage: Nonfungible TokenChildren (r:0 w:1)146 // Storage: Nonfungible TokenChildren (r:0 w:1)147 // Storage: Nonfungible Owned (r:0 w:2)147 // Storage: Nonfungible Owned (r:0 w:2)148 fn send() -> Weight {148 fn send() -> Weight {149 (84_023_000 as Weight)149 (81_942_000 as Weight)150 .saturating_add(T::DbWeight::get().reads(12 as Weight))150 .saturating_add(T::DbWeight::get().reads(12 as Weight))151 .saturating_add(T::DbWeight::get().writes(6 as Weight))151 .saturating_add(T::DbWeight::get().writes(6 as Weight))152 }152 }161 // Storage: Nonfungible TokenChildren (r:0 w:1)161 // Storage: Nonfungible TokenChildren (r:0 w:1)162 // Storage: Nonfungible Owned (r:0 w:2)162 // Storage: Nonfungible Owned (r:0 w:2)163 fn accept_nft() -> Weight {163 fn accept_nft() -> Weight {164 (98_502_000 as Weight)164 (97_925_000 as Weight)165 .saturating_add(T::DbWeight::get().reads(16 as Weight))165 .saturating_add(T::DbWeight::get().reads(16 as Weight))166 .saturating_add(T::DbWeight::get().writes(8 as Weight))166 .saturating_add(T::DbWeight::get().writes(8 as Weight))167 }167 }177 // Storage: Nonfungible Allowance (r:5 w:0)177 // Storage: Nonfungible Allowance (r:5 w:0)178 // Storage: Nonfungible Owned (r:0 w:5)178 // Storage: Nonfungible Owned (r:0 w:5)179 fn reject_nft() -> Weight {179 fn reject_nft() -> Weight {180 (277_017_000 as Weight)180 (277_794_000 as Weight)181 .saturating_add(T::DbWeight::get().reads(30 as Weight))181 .saturating_add(T::DbWeight::get().reads(30 as Weight))182 .saturating_add(T::DbWeight::get().writes(26 as Weight))182 .saturating_add(T::DbWeight::get().writes(26 as Weight))183 }183 }187 // Storage: Nonfungible TokenProperties (r:1 w:1)187 // Storage: Nonfungible TokenProperties (r:1 w:1)188 // Storage: Nonfungible TokenData (r:5 w:0)188 // Storage: Nonfungible TokenData (r:5 w:0)189 fn set_property() -> Weight {189 fn set_property() -> Weight {190 (55_408_000 as Weight)190 (54_657_000 as Weight)191 .saturating_add(T::DbWeight::get().reads(9 as Weight))191 .saturating_add(T::DbWeight::get().reads(9 as Weight))192 .saturating_add(T::DbWeight::get().writes(1 as Weight))192 .saturating_add(T::DbWeight::get().writes(1 as Weight))193 }193 }197 // Storage: Nonfungible TokenProperties (r:1 w:1)197 // Storage: Nonfungible TokenProperties (r:1 w:1)198 // Storage: Nonfungible TokenData (r:5 w:0)198 // Storage: Nonfungible TokenData (r:5 w:0)199 fn set_priority() -> Weight {199 fn set_priority() -> Weight {200 (55_063_000 as Weight)200 (55_056_000 as Weight)201 .saturating_add(T::DbWeight::get().reads(9 as Weight))201 .saturating_add(T::DbWeight::get().reads(9 as Weight))202 .saturating_add(T::DbWeight::get().writes(1 as Weight))202 .saturating_add(T::DbWeight::get().writes(1 as Weight))203 }203 }208 // Storage: Nonfungible TokenProperties (r:1 w:1)208 // Storage: Nonfungible TokenProperties (r:1 w:1)209 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)209 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)210 fn add_basic_resource() -> Weight {210 fn add_basic_resource() -> Weight {211 (64_656_000 as Weight)211 (61_673_000 as Weight)212 .saturating_add(T::DbWeight::get().reads(10 as Weight))212 .saturating_add(T::DbWeight::get().reads(10 as Weight))213 .saturating_add(T::DbWeight::get().writes(2 as Weight))213 .saturating_add(T::DbWeight::get().writes(2 as Weight))214 }214 }219 // Storage: Nonfungible TokenProperties (r:1 w:1)219 // Storage: Nonfungible TokenProperties (r:1 w:1)220 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)220 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)221 fn add_composable_resource() -> Weight {221 fn add_composable_resource() -> Weight {222 (67_593_000 as Weight)222 (67_125_000 as Weight)223 .saturating_add(T::DbWeight::get().reads(11 as Weight))223 .saturating_add(T::DbWeight::get().reads(11 as Weight))224 .saturating_add(T::DbWeight::get().writes(3 as Weight))224 .saturating_add(T::DbWeight::get().writes(3 as Weight))225 }225 }230 // Storage: Nonfungible TokenProperties (r:1 w:1)230 // Storage: Nonfungible TokenProperties (r:1 w:1)231 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)231 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)232 fn add_slot_resource() -> Weight {232 fn add_slot_resource() -> Weight {233 (63_845_000 as Weight)233 (69_058_000 as Weight)234 .saturating_add(T::DbWeight::get().reads(10 as Weight))234 .saturating_add(T::DbWeight::get().reads(10 as Weight))235 .saturating_add(T::DbWeight::get().writes(2 as Weight))235 .saturating_add(T::DbWeight::get().writes(2 as Weight))236 }236 }240 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)240 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)241 // Storage: Nonfungible TokenData (r:5 w:0)241 // Storage: Nonfungible TokenData (r:5 w:0)242 fn remove_resource() -> Weight {242 fn remove_resource() -> Weight {243 (53_414_000 as Weight)243 (53_427_000 as Weight)244 .saturating_add(T::DbWeight::get().reads(9 as Weight))244 .saturating_add(T::DbWeight::get().reads(9 as Weight))245 .saturating_add(T::DbWeight::get().writes(1 as Weight))245 .saturating_add(T::DbWeight::get().writes(1 as Weight))246 }246 }250 // Storage: Nonfungible TokenData (r:5 w:0)250 // Storage: Nonfungible TokenData (r:5 w:0)251 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)251 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)252 fn accept_resource() -> Weight {252 fn accept_resource() -> Weight {253 (51_869_000 as Weight)253 (50_623_000 as Weight)254 .saturating_add(T::DbWeight::get().reads(9 as Weight))254 .saturating_add(T::DbWeight::get().reads(9 as Weight))255 .saturating_add(T::DbWeight::get().writes(1 as Weight))255 .saturating_add(T::DbWeight::get().writes(1 as Weight))256 }256 }260 // Storage: Nonfungible TokenData (r:5 w:0)260 // Storage: Nonfungible TokenData (r:5 w:0)261 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)261 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)262 fn accept_resource_removal() -> Weight {262 fn accept_resource_removal() -> Weight {263 (53_168_000 as Weight)263 (50_917_000 as Weight)264 .saturating_add(T::DbWeight::get().reads(9 as Weight))264 .saturating_add(T::DbWeight::get().reads(9 as Weight))265 .saturating_add(T::DbWeight::get().writes(1 as Weight))265 .saturating_add(T::DbWeight::get().writes(1 as Weight))266 }266 }277 // Storage: Common CollectionById (r:0 w:1)277 // Storage: Common CollectionById (r:0 w:1)278 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)278 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)279 fn create_collection() -> Weight {279 fn create_collection() -> Weight {280 (49_365_000 as Weight)280 (49_754_000 as Weight)281 .saturating_add(RocksDbWeight::get().reads(5 as Weight))281 .saturating_add(RocksDbWeight::get().reads(5 as Weight))282 .saturating_add(RocksDbWeight::get().writes(8 as Weight))282 .saturating_add(RocksDbWeight::get().writes(8 as Weight))283 }283 }290 // Storage: Nonfungible TokensBurnt (r:0 w:1)290 // Storage: Nonfungible TokensBurnt (r:0 w:1)291 // Storage: Common AdminAmount (r:0 w:1)291 // Storage: Common AdminAmount (r:0 w:1)292 fn destroy_collection() -> Weight {292 fn destroy_collection() -> Weight {293 (49_903_000 as Weight)293 (48_588_000 as Weight)294 .saturating_add(RocksDbWeight::get().reads(5 as Weight))294 .saturating_add(RocksDbWeight::get().reads(5 as Weight))295 .saturating_add(RocksDbWeight::get().writes(6 as Weight))295 .saturating_add(RocksDbWeight::get().writes(6 as Weight))296 }296 }297 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)297 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)298 // Storage: Common CollectionById (r:1 w:1)298 // Storage: Common CollectionById (r:1 w:1)299 // Storage: Common CollectionProperties (r:1 w:0)299 // Storage: Common CollectionProperties (r:1 w:0)300 fn change_collection_issuer() -> Weight {300 fn change_collection_issuer() -> Weight {301 (26_134_000 as Weight)301 (25_054_000 as Weight)302 .saturating_add(RocksDbWeight::get().reads(3 as Weight))302 .saturating_add(RocksDbWeight::get().reads(3 as Weight))303 .saturating_add(RocksDbWeight::get().writes(1 as Weight))303 .saturating_add(RocksDbWeight::get().writes(1 as Weight))304 }304 }308 // Storage: Nonfungible TokensMinted (r:1 w:0)308 // Storage: Nonfungible TokensMinted (r:1 w:0)309 // Storage: Nonfungible TokensBurnt (r:1 w:0)309 // Storage: Nonfungible TokensBurnt (r:1 w:0)310 fn lock_collection() -> Weight {310 fn lock_collection() -> Weight {311 (28_020_000 as Weight)311 (26_483_000 as Weight)312 .saturating_add(RocksDbWeight::get().reads(5 as Weight))312 .saturating_add(RocksDbWeight::get().reads(5 as Weight))313 .saturating_add(RocksDbWeight::get().writes(1 as Weight))313 .saturating_add(RocksDbWeight::get().writes(1 as Weight))314 }314 }322 // Storage: Nonfungible Owned (r:0 w:1)322 // Storage: Nonfungible Owned (r:0 w:1)323 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)323 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)324 fn mint_nft(b: u32, ) -> Weight {324 fn mint_nft(b: u32, ) -> Weight {325 (67_476_000 as Weight)325 (62_419_000 as Weight)326 // Standard Error: 19_000326 // Standard Error: 7_000327 .saturating_add((12_373_000 as Weight).saturating_mul(b as Weight))327 .saturating_add((12_325_000 as Weight).saturating_mul(b as Weight))328 .saturating_add(RocksDbWeight::get().reads(6 as Weight))328 .saturating_add(RocksDbWeight::get().reads(6 as Weight))329 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))329 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))330 .saturating_add(RocksDbWeight::get().writes(5 as Weight))330 .saturating_add(RocksDbWeight::get().writes(5 as Weight))342 // Storage: Nonfungible TokenProperties (r:0 w:1)342 // Storage: Nonfungible TokenProperties (r:0 w:1)343 fn burn_nft(b: u32, ) -> Weight {343 fn burn_nft(b: u32, ) -> Weight {344 (0 as Weight)344 (0 as Weight)345 // Standard Error: 1_500_000345 // Standard Error: 1_488_000346 .saturating_add((300_520_000 as Weight).saturating_mul(b as Weight))346 .saturating_add((298_367_000 as Weight).saturating_mul(b as Weight))347 .saturating_add(RocksDbWeight::get().reads(9 as Weight))347 .saturating_add(RocksDbWeight::get().reads(9 as Weight))348 .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))348 .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))349 .saturating_add(RocksDbWeight::get().writes(6 as Weight))349 .saturating_add(RocksDbWeight::get().writes(6 as Weight))359 // Storage: Nonfungible TokenChildren (r:0 w:1)359 // Storage: Nonfungible TokenChildren (r:0 w:1)360 // Storage: Nonfungible Owned (r:0 w:2)360 // Storage: Nonfungible Owned (r:0 w:2)361 fn send() -> Weight {361 fn send() -> Weight {362 (84_023_000 as Weight)362 (81_942_000 as Weight)363 .saturating_add(RocksDbWeight::get().reads(12 as Weight))363 .saturating_add(RocksDbWeight::get().reads(12 as Weight))364 .saturating_add(RocksDbWeight::get().writes(6 as Weight))364 .saturating_add(RocksDbWeight::get().writes(6 as Weight))365 }365 }374 // Storage: Nonfungible TokenChildren (r:0 w:1)374 // Storage: Nonfungible TokenChildren (r:0 w:1)375 // Storage: Nonfungible Owned (r:0 w:2)375 // Storage: Nonfungible Owned (r:0 w:2)376 fn accept_nft() -> Weight {376 fn accept_nft() -> Weight {377 (98_502_000 as Weight)377 (97_925_000 as Weight)378 .saturating_add(RocksDbWeight::get().reads(16 as Weight))378 .saturating_add(RocksDbWeight::get().reads(16 as Weight))379 .saturating_add(RocksDbWeight::get().writes(8 as Weight))379 .saturating_add(RocksDbWeight::get().writes(8 as Weight))380 }380 }390 // Storage: Nonfungible Allowance (r:5 w:0)390 // Storage: Nonfungible Allowance (r:5 w:0)391 // Storage: Nonfungible Owned (r:0 w:5)391 // Storage: Nonfungible Owned (r:0 w:5)392 fn reject_nft() -> Weight {392 fn reject_nft() -> Weight {393 (277_017_000 as Weight)393 (277_794_000 as Weight)394 .saturating_add(RocksDbWeight::get().reads(30 as Weight))394 .saturating_add(RocksDbWeight::get().reads(30 as Weight))395 .saturating_add(RocksDbWeight::get().writes(26 as Weight))395 .saturating_add(RocksDbWeight::get().writes(26 as Weight))396 }396 }400 // Storage: Nonfungible TokenProperties (r:1 w:1)400 // Storage: Nonfungible TokenProperties (r:1 w:1)401 // Storage: Nonfungible TokenData (r:5 w:0)401 // Storage: Nonfungible TokenData (r:5 w:0)402 fn set_property() -> Weight {402 fn set_property() -> Weight {403 (55_408_000 as Weight)403 (54_657_000 as Weight)404 .saturating_add(RocksDbWeight::get().reads(9 as Weight))404 .saturating_add(RocksDbWeight::get().reads(9 as Weight))405 .saturating_add(RocksDbWeight::get().writes(1 as Weight))405 .saturating_add(RocksDbWeight::get().writes(1 as Weight))406 }406 }410 // Storage: Nonfungible TokenProperties (r:1 w:1)410 // Storage: Nonfungible TokenProperties (r:1 w:1)411 // Storage: Nonfungible TokenData (r:5 w:0)411 // Storage: Nonfungible TokenData (r:5 w:0)412 fn set_priority() -> Weight {412 fn set_priority() -> Weight {413 (55_063_000 as Weight)413 (55_056_000 as Weight)414 .saturating_add(RocksDbWeight::get().reads(9 as Weight))414 .saturating_add(RocksDbWeight::get().reads(9 as Weight))415 .saturating_add(RocksDbWeight::get().writes(1 as Weight))415 .saturating_add(RocksDbWeight::get().writes(1 as Weight))416 }416 }421 // Storage: Nonfungible TokenProperties (r:1 w:1)421 // Storage: Nonfungible TokenProperties (r:1 w:1)422 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)422 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)423 fn add_basic_resource() -> Weight {423 fn add_basic_resource() -> Weight {424 (64_656_000 as Weight)424 (61_673_000 as Weight)425 .saturating_add(RocksDbWeight::get().reads(10 as Weight))425 .saturating_add(RocksDbWeight::get().reads(10 as Weight))426 .saturating_add(RocksDbWeight::get().writes(2 as Weight))426 .saturating_add(RocksDbWeight::get().writes(2 as Weight))427 }427 }432 // Storage: Nonfungible TokenProperties (r:1 w:1)432 // Storage: Nonfungible TokenProperties (r:1 w:1)433 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)433 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)434 fn add_composable_resource() -> Weight {434 fn add_composable_resource() -> Weight {435 (67_593_000 as Weight)435 (67_125_000 as Weight)436 .saturating_add(RocksDbWeight::get().reads(11 as Weight))436 .saturating_add(RocksDbWeight::get().reads(11 as Weight))437 .saturating_add(RocksDbWeight::get().writes(3 as Weight))437 .saturating_add(RocksDbWeight::get().writes(3 as Weight))438 }438 }443 // Storage: Nonfungible TokenProperties (r:1 w:1)443 // Storage: Nonfungible TokenProperties (r:1 w:1)444 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)444 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)445 fn add_slot_resource() -> Weight {445 fn add_slot_resource() -> Weight {446 (63_845_000 as Weight)446 (69_058_000 as Weight)447 .saturating_add(RocksDbWeight::get().reads(10 as Weight))447 .saturating_add(RocksDbWeight::get().reads(10 as Weight))448 .saturating_add(RocksDbWeight::get().writes(2 as Weight))448 .saturating_add(RocksDbWeight::get().writes(2 as Weight))449 }449 }453 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)453 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)454 // Storage: Nonfungible TokenData (r:5 w:0)454 // Storage: Nonfungible TokenData (r:5 w:0)455 fn remove_resource() -> Weight {455 fn remove_resource() -> Weight {456 (53_414_000 as Weight)456 (53_427_000 as Weight)457 .saturating_add(RocksDbWeight::get().reads(9 as Weight))457 .saturating_add(RocksDbWeight::get().reads(9 as Weight))458 .saturating_add(RocksDbWeight::get().writes(1 as Weight))458 .saturating_add(RocksDbWeight::get().writes(1 as Weight))459 }459 }463 // Storage: Nonfungible TokenData (r:5 w:0)463 // Storage: Nonfungible TokenData (r:5 w:0)464 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)464 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)465 fn accept_resource() -> Weight {465 fn accept_resource() -> Weight {466 (51_869_000 as Weight)466 (50_623_000 as Weight)467 .saturating_add(RocksDbWeight::get().reads(9 as Weight))467 .saturating_add(RocksDbWeight::get().reads(9 as Weight))468 .saturating_add(RocksDbWeight::get().writes(1 as Weight))468 .saturating_add(RocksDbWeight::get().writes(1 as Weight))469 }469 }473 // Storage: Nonfungible TokenData (r:5 w:0)473 // Storage: Nonfungible TokenData (r:5 w:0)474 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)474 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)475 fn accept_resource_removal() -> Weight {475 fn accept_resource_removal() -> Weight {476 (53_168_000 as Weight)476 (50_917_000 as Weight)477 .saturating_add(RocksDbWeight::get().reads(9 as Weight))477 .saturating_add(RocksDbWeight::get().reads(9 as Weight))478 .saturating_add(RocksDbWeight::get().writes(1 as Weight))478 .saturating_add(RocksDbWeight::get().writes(1 as Weight))479 }479 }pallets/proxy-rmrk-equip/src/weights.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/src/weights.rs
+++ b/pallets/proxy-rmrk-equip/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_proxy_rmrk_equip
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-07-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -54,9 +54,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (57_871_000 as Weight)
- // Standard Error: 21_000
- .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))
+ (58_417_000 as Weight)
+ // Standard Error: 27_000
+ .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
@@ -71,9 +71,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_121_000 as Weight)
- // Standard Error: 31_000
- .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))
+ (46_005_000 as Weight)
+ // Standard Error: 42_000
+ .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
@@ -82,7 +82,7 @@
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_032_000 as Weight)
+ (32_526_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -103,9 +103,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_base(b: u32, ) -> Weight {
- (57_871_000 as Weight)
- // Standard Error: 21_000
- .saturating_add((19_870_000 as Weight).saturating_mul(b as Weight))
+ (58_417_000 as Weight)
+ // Standard Error: 27_000
+ .saturating_add((20_439_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(8 as Weight))
@@ -120,9 +120,9 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn theme_add(b: u32, ) -> Weight {
- (46_121_000 as Weight)
- // Standard Error: 31_000
- .saturating_add((2_988_000 as Weight).saturating_mul(b as Weight))
+ (46_005_000 as Weight)
+ // Standard Error: 42_000
+ .saturating_add((2_922_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
@@ -131,7 +131,7 @@
// Storage: RmrkEquip InernalPartId (r:1 w:0)
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn equippable() -> Weight {
- (32_032_000 as Weight)
+ (32_526_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_refungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-01, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -64,147 +64,150 @@
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_197_000 as Weight)
+ (29_527_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().writes(6 as Weight))
+ .saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (10_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
+ (28_541_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (9_978_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
+ (24_366_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (15_419_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
+ (27_574_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(T::DbWeight::get().writes(3 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ // Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (25_578_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (42_943_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (33_593_000 as Weight)
+ (36_861_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
- .saturating_add(T::DbWeight::get().writes(7 as Weight))
+ .saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (21_049_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ (27_789_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (24_646_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (32_893_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (26_570_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (34_703_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (28_906_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (37_547_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (16_451_000 as Weight)
+ (20_039_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (29_545_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(3 as Weight))
+ (37_628_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (33_392_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (42_072_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (35_446_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ (43_024_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (37_762_000 as Weight)
- .saturating_add(T::DbWeight::get().reads(5 as Weight))
+ (45_910_000 as Weight)
+ .saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
@@ -212,19 +215,18 @@
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (42_620_000 as Weight)
+ (48_584_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
- .saturating_add(T::DbWeight::get().writes(8 as Weight))
+ .saturating_add(T::DbWeight::get().writes(7 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 65_000
- .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 60_000
+ .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -232,8 +234,8 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_583_000
- .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_609_000
+ .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -241,15 +243,15 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_699_000
- .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_637_000
+ .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (19_206_000 as Weight)
+ (22_356_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -257,13 +259,13 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_parent_nft_unchecked() -> Weight {
- (10_189_000 as Weight)
+ (12_015_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (8_205_000 as Weight)
+ (9_431_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
}
@@ -274,147 +276,150 @@
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn create_item() -> Weight {
- (25_197_000 as Weight)
+ (29_527_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes(6 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- (10_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((8_087_000 as Weight).saturating_mul(b as Weight))
+ (28_541_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((6_671_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible TokenData (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- (9_978_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((10_848_000 as Weight).saturating_mul(b as Weight))
+ (24_366_000 as Weight)
+ // Standard Error: 5_000
+ .saturating_add((9_338_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))
+ .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TokensMinted (r:1 w:1)
// Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible AccountBalance (r:4 w:4)
// Storage: Refungible Balance (r:0 w:4)
// Storage: Refungible Owned (r:0 w:4)
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- (15_419_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((7_813_000 as Weight).saturating_mul(b as Weight))
+ (27_574_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((7_193_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
- .saturating_add(RocksDbWeight::get().writes(3 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
}
// Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ // Storage: Refungible Balance (r:3 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible Owned (r:0 w:1)
fn burn_item_partial() -> Weight {
- (25_578_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (42_943_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_item_fully() -> Weight {
- (33_593_000 as Weight)
+ (36_861_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
- .saturating_add(RocksDbWeight::get().writes(7 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_normal() -> Weight {
- (21_049_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ (27_789_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_creating() -> Weight {
- (24_646_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (32_893_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_removing() -> Weight {
- (26_570_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (34_703_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_creating_removing() -> Weight {
- (28_906_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (37_547_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Refungible Balance (r:1 w:0)
// Storage: Refungible Allowance (r:0 w:1)
fn approve() -> Weight {
- (16_451_000 as Weight)
+ (20_039_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
fn transfer_from_normal() -> Weight {
- (29_545_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(3 as Weight))
+ (37_628_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_creating() -> Weight {
- (33_392_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (42_072_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:1 w:1)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:1)
fn transfer_from_removing() -> Weight {
- (35_446_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ (43_024_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
// Storage: Refungible Balance (r:2 w:2)
// Storage: Refungible AccountBalance (r:2 w:2)
+ // Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible Owned (r:0 w:2)
fn transfer_from_creating_removing() -> Weight {
- (37_762_000 as Weight)
- .saturating_add(RocksDbWeight::get().reads(5 as Weight))
+ (45_910_000 as Weight)
+ .saturating_add(RocksDbWeight::get().reads(6 as Weight))
.saturating_add(RocksDbWeight::get().writes(7 as Weight))
}
// Storage: Refungible Allowance (r:1 w:1)
@@ -422,19 +427,18 @@
// Storage: Refungible Balance (r:1 w:1)
// Storage: Refungible AccountBalance (r:1 w:1)
// Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible TokenData (r:0 w:1)
// Storage: Refungible Owned (r:0 w:1)
// Storage: Refungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- (42_620_000 as Weight)
+ (48_584_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
- .saturating_add(RocksDbWeight::get().writes(8 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(7 as Weight))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 65_000
- .saturating_add((16_513_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 60_000
+ .saturating_add((15_533_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -442,8 +446,8 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_583_000
- .saturating_add((291_392_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_609_000
+ .saturating_add((590_204_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -451,15 +455,15 @@
// Storage: Refungible TokenProperties (r:1 w:1)
fn delete_token_properties(b: u32, ) -> Weight {
(0 as Weight)
- // Standard Error: 1_699_000
- .saturating_add((293_270_000 as Weight).saturating_mul(b as Weight))
+ // Standard Error: 3_637_000
+ .saturating_add((603_468_000 as Weight).saturating_mul(b as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible TotalSupply (r:1 w:1)
// Storage: Refungible Balance (r:1 w:1)
fn repartition_item() -> Weight {
- (19_206_000 as Weight)
+ (22_356_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -467,13 +471,13 @@
// Storage: Refungible TotalSupply (r:1 w:0)
// Storage: Refungible TokenProperties (r:1 w:1)
fn set_parent_nft_unchecked() -> Weight {
- (10_189_000 as Weight)
+ (12_015_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Refungible Balance (r:2 w:0)
fn token_owner() -> Weight {
- (8_205_000 as Weight)
+ (9_431_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
}
}
pallets/scheduler/src/weights.rsdiffbeforeafterboth--- a/pallets/scheduler/src/weights.rs
+++ b/pallets/scheduler/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_unique_scheduler
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -55,9 +55,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (27_374_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
+ (26_641_000 as Weight)
+ // Standard Error: 9_000
+ .saturating_add((8_547_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -69,9 +69,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (25_967_000 as Weight)
- // Standard Error: 6_000
- .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
+ (23_941_000 as Weight)
+ // Standard Error: 17_000
+ .saturating_add((5_282_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -82,9 +82,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic(s: u32, ) -> Weight {
- (27_097_000 as Weight)
- // Standard Error: 5_000
- .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
+ (24_858_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((8_657_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -96,9 +96,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (43_116_000 as Weight)
- // Standard Error: 18_000
- .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
+ (25_515_000 as Weight)
+ // Standard Error: 14_000
+ .saturating_add((8_656_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -107,9 +107,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (4_921_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
+ (7_584_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((2_065_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -120,9 +120,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (26_934_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
+ (25_552_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_187_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -130,9 +130,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (6_423_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
+ (8_980_000 as Weight)
+ // Standard Error: 12_000
+ .saturating_add((2_050_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -143,9 +143,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (27_586_000 as Weight)
- // Standard Error: 11_000
- .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
+ (24_482_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_249_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -156,9 +156,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_resolved(s: u32, ) -> Weight {
- (24_356_000 as Weight)
+ (25_187_000 as Weight)
// Standard Error: 4_000
- .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((5_216_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -166,18 +166,18 @@
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (14_871_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((183_000 as Weight).saturating_mul(s as Weight))
+ (17_316_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (16_676_000 as Weight)
+ (15_652_000 as Weight)
// Standard Error: 1_000
- .saturating_add((500_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((436_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -191,9 +191,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (27_374_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
+ (26_641_000 as Weight)
+ // Standard Error: 9_000
+ .saturating_add((8_547_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -205,9 +205,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (25_967_000 as Weight)
- // Standard Error: 6_000
- .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
+ (23_941_000 as Weight)
+ // Standard Error: 17_000
+ .saturating_add((5_282_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -218,9 +218,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic(s: u32, ) -> Weight {
- (27_097_000 as Weight)
- // Standard Error: 5_000
- .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
+ (24_858_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((8_657_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -232,9 +232,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (43_116_000 as Weight)
- // Standard Error: 18_000
- .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
+ (25_515_000 as Weight)
+ // Standard Error: 14_000
+ .saturating_add((8_656_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -243,9 +243,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (4_921_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
+ (7_584_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((2_065_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -256,9 +256,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (26_934_000 as Weight)
- // Standard Error: 7_000
- .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
+ (25_552_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_187_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -266,9 +266,9 @@
// Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (6_423_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
+ (8_980_000 as Weight)
+ // Standard Error: 12_000
+ .saturating_add((2_050_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -279,9 +279,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (27_586_000 as Weight)
- // Standard Error: 11_000
- .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
+ (24_482_000 as Weight)
+ // Standard Error: 4_000
+ .saturating_add((5_249_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -292,9 +292,9 @@
// Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_resolved(s: u32, ) -> Weight {
- (24_356_000 as Weight)
+ (25_187_000 as Weight)
// Standard Error: 4_000
- .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((5_216_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -302,18 +302,18 @@
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (14_871_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((183_000 as Weight).saturating_mul(s as Weight))
+ (17_316_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((82_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (16_676_000 as Weight)
+ (15_652_000 as Weight)
// Standard Error: 1_000
- .saturating_add((500_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add((436_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -19,7 +19,7 @@
// --template
// .maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=200
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/structure/src/weights.rs
@@ -42,7 +42,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- (7_013_000 as Weight)
+ (7_180_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
}
@@ -52,7 +52,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- (7_013_000 as Weight)
+ (7_180_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
}
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-28, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -57,7 +57,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (53_511_000 as Weight)
+ (43_143_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
@@ -69,27 +69,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- (69_481_000 as Weight)
+ (50_188_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (22_892_000 as Weight)
+ (18_238_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- (22_973_000 as Weight)
+ (18_084_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- (22_392_000 as Weight)
+ (18_265_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -97,7 +97,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (30_298_000 as Weight)
+ (23_558_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -105,37 +105,37 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (32_842_000 as Weight)
+ (25_285_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- (22_613_000 as Weight)
+ (17_885_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- (22_462_000 as Weight)
+ (17_897_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- (21_730_000 as Weight)
+ (17_836_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- (10_941_000 as Weight)
+ (9_714_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- (22_363_000 as Weight)
+ (18_166_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -150,7 +150,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- (53_511_000 as Weight)
+ (43_143_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
@@ -162,27 +162,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- (69_481_000 as Weight)
+ (50_188_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(6 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- (22_892_000 as Weight)
+ (18_238_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- (22_973_000 as Weight)
+ (18_084_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- (22_392_000 as Weight)
+ (18_265_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
@@ -190,7 +190,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- (30_298_000 as Weight)
+ (23_558_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
@@ -198,37 +198,37 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- (32_842_000 as Weight)
+ (25_285_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- (22_613_000 as Weight)
+ (17_885_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- (22_462_000 as Weight)
+ (17_897_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- (21_730_000 as Weight)
+ (17_836_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- (10_941_000 as Weight)
+ (9_714_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- (22_363_000 as Weight)
+ (18_166_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -36,10 +36,10 @@
pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
// Targeting 0.1 UNQ per transfer
-pub const WEIGHT_TO_FEE_COEFF: u32 = /*<weight2fee>*/207_267_232/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u32 = /*<weight2fee>*/207_163_598/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_019_488_372_383/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_019_483_274_941/*</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.