git.delta.rocks / unique-network / refs/commits / 2fb81764d405

difftreelog

chore run benchmarks

Igor Kozyrev2022-12-26parent: #f1d694e.patch.diff
in: master

9 files changed

modifiedMakefilediffbeforeafterboth
134 make _bench PALLET=app-promotion PALLET_DIR=app-promotion134 make _bench PALLET=app-promotion PALLET_DIR=app-promotion
135 135
136.PHONY: bench136.PHONY: bench
137# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip
137bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets138bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets
138139
modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_evm_migration3//! Autogenerated weights for pallet_evm_migration
4//!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-dev
6//! DATE: 2022-11-23, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-12-26, 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: 1024
88
9// Executed Command:9// Executed Command:
48 // Storage: System Account (r:1 w:0)48 // Storage: System Account (r:1 w:0)
49 // Storage: EVM AccountCodes (r:1 w:0)49 // Storage: EVM AccountCodes (r:1 w:0)
50 fn begin() -> Weight {50 fn begin() -> Weight {
51 Weight::from_ref_time(16_080_000 as u64)51 Weight::from_ref_time(15_073_000 as u64)
52 .saturating_add(T::DbWeight::get().reads(3 as u64))52 .saturating_add(T::DbWeight::get().reads(3 as u64))
53 .saturating_add(T::DbWeight::get().writes(1 as u64))53 .saturating_add(T::DbWeight::get().writes(1 as u64))
54 }54 }
55 // Storage: EvmMigration MigrationPending (r:1 w:0)55 // Storage: EvmMigration MigrationPending (r:1 w:0)
56 // Storage: EVM AccountStorages (r:0 w:1)56 // Storage: EVM AccountStorages (r:0 w:1)
57 fn set_data(b: u32, ) -> Weight {57 fn set_data(b: u32, ) -> Weight {
58 Weight::from_ref_time(7_945_000 as u64)58 Weight::from_ref_time(7_943_438 as u64)
59 // Standard Error: 1_27259 // Standard Error: 1_792
60 .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))60 .saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
61 .saturating_add(T::DbWeight::get().reads(1 as u64))61 .saturating_add(T::DbWeight::get().reads(1 as u64))
62 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))62 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
63 }63 }
64 // Storage: EvmMigration MigrationPending (r:1 w:1)64 // Storage: EvmMigration MigrationPending (r:1 w:1)
65 // Storage: EVM AccountCodes (r:0 w:1)65 // Storage: EVM AccountCodes (r:0 w:1)
66 fn finish(b: u32, ) -> Weight {66 fn finish(b: u32, ) -> Weight {
67 Weight::from_ref_time(8_336_000 as u64)67 Weight::from_ref_time(9_316_585 as u64)
68 // Standard Error: 8968 // Standard Error: 595
69 .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))69 .saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
70 .saturating_add(T::DbWeight::get().reads(1 as u64))70 .saturating_add(T::DbWeight::get().reads(1 as u64))
71 .saturating_add(T::DbWeight::get().writes(2 as u64))71 .saturating_add(T::DbWeight::get().writes(2 as u64))
72 }72 }
73 fn insert_eth_logs(b: u32, ) -> Weight {73 fn insert_eth_logs(b: u32, ) -> Weight {
74 Weight::from_ref_time(3_447_000 as u64)74 Weight::from_ref_time(6_570_767 as u64)
75 // Standard Error: 84375 // Standard Error: 2_292
76 .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))76 .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
77 }77 }
78 fn insert_events(b: u32, ) -> Weight {78 fn insert_events(b: u32, ) -> Weight {
79 Weight::from_ref_time(3_457_000 as u64)79 Weight::from_ref_time(10_936_376 as u64)
80 // Standard Error: 1_46080 // Standard Error: 1_227
81 .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))81 .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
82 }82 }
83}83}
8484
88 // Storage: System Account (r:1 w:0)88 // Storage: System Account (r:1 w:0)
89 // Storage: EVM AccountCodes (r:1 w:0)89 // Storage: EVM AccountCodes (r:1 w:0)
90 fn begin() -> Weight {90 fn begin() -> Weight {
91 Weight::from_ref_time(16_080_000 as u64)91 Weight::from_ref_time(15_073_000 as u64)
92 .saturating_add(RocksDbWeight::get().reads(3 as u64))92 .saturating_add(RocksDbWeight::get().reads(3 as u64))
93 .saturating_add(RocksDbWeight::get().writes(1 as u64))93 .saturating_add(RocksDbWeight::get().writes(1 as u64))
94 }94 }
95 // Storage: EvmMigration MigrationPending (r:1 w:0)95 // Storage: EvmMigration MigrationPending (r:1 w:0)
96 // Storage: EVM AccountStorages (r:0 w:1)96 // Storage: EVM AccountStorages (r:0 w:1)
97 fn set_data(b: u32, ) -> Weight {97 fn set_data(b: u32, ) -> Weight {
98 Weight::from_ref_time(7_945_000 as u64)98 Weight::from_ref_time(7_943_438 as u64)
99 // Standard Error: 1_27299 // Standard Error: 1_792
100 .saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))100 .saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
101 .saturating_add(RocksDbWeight::get().reads(1 as u64))101 .saturating_add(RocksDbWeight::get().reads(1 as u64))
102 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))102 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
103 }103 }
104 // Storage: EvmMigration MigrationPending (r:1 w:1)104 // Storage: EvmMigration MigrationPending (r:1 w:1)
105 // Storage: EVM AccountCodes (r:0 w:1)105 // Storage: EVM AccountCodes (r:0 w:1)
106 fn finish(b: u32, ) -> Weight {106 fn finish(b: u32, ) -> Weight {
107 Weight::from_ref_time(8_336_000 as u64)107 Weight::from_ref_time(9_316_585 as u64)
108 // Standard Error: 89108 // Standard Error: 595
109 .saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))109 .saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
110 .saturating_add(RocksDbWeight::get().reads(1 as u64))110 .saturating_add(RocksDbWeight::get().reads(1 as u64))
111 .saturating_add(RocksDbWeight::get().writes(2 as u64))111 .saturating_add(RocksDbWeight::get().writes(2 as u64))
112 }112 }
113 fn insert_eth_logs(b: u32, ) -> Weight {113 fn insert_eth_logs(b: u32, ) -> Weight {
114 Weight::from_ref_time(3_447_000 as u64)114 Weight::from_ref_time(6_570_767 as u64)
115 // Standard Error: 843115 // Standard Error: 2_292
116 .saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))116 .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
117 }117 }
118 fn insert_events(b: u32, ) -> Weight {118 fn insert_events(b: u32, ) -> Weight {
119 Weight::from_ref_time(3_457_000 as u64)119 Weight::from_ref_time(10_936_376 as u64)
120 // Standard Error: 1_460120 // Standard Error: 1_227
121 .saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))121 .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
122 }122 }
123}123}
124124
modifiedpallets/foreign-assets/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_foreign_assets3//! Autogenerated weights for pallet_foreign_assets
4//!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-dev
6//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-12-26, 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: 1024
88
9// Executed Command:9// Executed Command:
53 // Storage: Common CollectionProperties (r:0 w:1)53 // Storage: Common CollectionProperties (r:0 w:1)
54 // Storage: Common CollectionById (r:0 w:1)54 // Storage: Common CollectionById (r:0 w:1)
55 fn register_foreign_asset() -> Weight {55 fn register_foreign_asset() -> Weight {
56 Weight::from_ref_time(52_161_000)56 Weight::from_ref_time(54_196_000 as u64)
57 .saturating_add(T::DbWeight::get().reads(9 as u64))57 .saturating_add(T::DbWeight::get().reads(9 as u64))
58 .saturating_add(T::DbWeight::get().writes(11 as u64))58 .saturating_add(T::DbWeight::get().writes(11 as u64))
59 }59 }
60 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)60 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
61 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)61 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
62 fn update_foreign_asset() -> Weight {62 fn update_foreign_asset() -> Weight {
63 Weight::from_ref_time(19_111_000)63 Weight::from_ref_time(23_719_000 as u64)
64 .saturating_add(T::DbWeight::get().reads(2 as u64))64 .saturating_add(T::DbWeight::get().reads(2 as u64))
65 .saturating_add(T::DbWeight::get().writes(2 as u64))65 .saturating_add(T::DbWeight::get().writes(2 as u64))
66 }66 }
80 // Storage: Common CollectionProperties (r:0 w:1)80 // Storage: Common CollectionProperties (r:0 w:1)
81 // Storage: Common CollectionById (r:0 w:1)81 // Storage: Common CollectionById (r:0 w:1)
82 fn register_foreign_asset() -> Weight {82 fn register_foreign_asset() -> Weight {
83 Weight::from_ref_time(52_161_000)83 Weight::from_ref_time(54_196_000 as u64)
84 .saturating_add(RocksDbWeight::get().reads(9 as u64))84 .saturating_add(RocksDbWeight::get().reads(9 as u64))
85 .saturating_add(RocksDbWeight::get().writes(11 as u64))85 .saturating_add(RocksDbWeight::get().writes(11 as u64))
86 }86 }
87 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)87 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
88 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)88 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
89 fn update_foreign_asset() -> Weight {89 fn update_foreign_asset() -> Weight {
90 Weight::from_ref_time(19_111_000)90 Weight::from_ref_time(23_719_000 as u64)
91 .saturating_add(RocksDbWeight::get().reads(2 as u64))91 .saturating_add(RocksDbWeight::get().reads(2 as u64))
92 .saturating_add(RocksDbWeight::get().writes(2 as u64))92 .saturating_add(RocksDbWeight::get().writes(2 as u64))
93 }93 }
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_fungible3//! Autogenerated weights for pallet_fungible
4//!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-dev
6//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-12-26, 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: 1024
88
9// Executed Command:9// Executed Command:
26#![cfg_attr(rustfmt, rustfmt_skip)]26#![cfg_attr(rustfmt, rustfmt_skip)]
27#![allow(unused_parens)]27#![allow(unused_parens)]
28#![allow(unused_imports)]28#![allow(unused_imports)]
29#![allow(missing_docs)]
29#![allow(clippy::unnecessary_cast)]30#![allow(clippy::unnecessary_cast)]
3031
31use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
48 // Storage: Fungible TotalSupply (r:1 w:1)49 // Storage: Fungible TotalSupply (r:1 w:1)
49 // Storage: Fungible Balance (r:1 w:1)50 // Storage: Fungible Balance (r:1 w:1)
50 fn create_item() -> Weight {51 fn create_item() -> Weight {
51 Weight::from_ref_time(18_195_000)52 Weight::from_ref_time(19_626_000 as u64)
52 .saturating_add(T::DbWeight::get().reads(2 as u64))53 .saturating_add(T::DbWeight::get().reads(2 as u64))
53 .saturating_add(T::DbWeight::get().writes(2 as u64))54 .saturating_add(T::DbWeight::get().writes(2 as u64))
54 }55 }
55 // Storage: Fungible TotalSupply (r:1 w:1)56 // Storage: Fungible TotalSupply (r:1 w:1)
56 // Storage: Fungible Balance (r:4 w:4)57 // Storage: Fungible Balance (r:4 w:4)
57 fn create_multiple_items_ex(b: u32, ) -> Weight {58 fn create_multiple_items_ex(b: u32, ) -> Weight {
58 Weight::from_ref_time(19_218_000)59 Weight::from_ref_time(22_364_107 as u64)
59 // Standard Error: 3_00060 // Standard Error: 6_123
60 .saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))61 .saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
61 .saturating_add(T::DbWeight::get().reads(1 as u64))62 .saturating_add(T::DbWeight::get().reads(1 as u64))
62 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))63 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
63 .saturating_add(T::DbWeight::get().writes(1 as u64))64 .saturating_add(T::DbWeight::get().writes(1 as u64))
66 // Storage: Fungible TotalSupply (r:1 w:1)67 // Storage: Fungible TotalSupply (r:1 w:1)
67 // Storage: Fungible Balance (r:1 w:1)68 // Storage: Fungible Balance (r:1 w:1)
68 fn burn_item() -> Weight {69 fn burn_item() -> Weight {
69 Weight::from_ref_time(18_719_000)70 Weight::from_ref_time(21_886_000 as u64)
70 .saturating_add(T::DbWeight::get().reads(2 as u64))71 .saturating_add(T::DbWeight::get().reads(2 as u64))
71 .saturating_add(T::DbWeight::get().writes(2 as u64))72 .saturating_add(T::DbWeight::get().writes(2 as u64))
72 }73 }
73 // Storage: Fungible Balance (r:2 w:2)74 // Storage: Fungible Balance (r:2 w:2)
74 fn transfer() -> Weight {75 fn transfer() -> Weight {
75 Weight::from_ref_time(20_563_000)76 Weight::from_ref_time(23_827_000 as u64)
76 .saturating_add(T::DbWeight::get().reads(2 as u64))77 .saturating_add(T::DbWeight::get().reads(2 as u64))
77 .saturating_add(T::DbWeight::get().writes(2 as u64))78 .saturating_add(T::DbWeight::get().writes(2 as u64))
78 }79 }
79 // Storage: Fungible Balance (r:1 w:0)80 // Storage: Fungible Balance (r:1 w:0)
80 // Storage: Fungible Allowance (r:0 w:1)81 // Storage: Fungible Allowance (r:0 w:1)
81 fn approve() -> Weight {82 fn approve() -> Weight {
82 Weight::from_ref_time(17_583_000)83 Weight::from_ref_time(21_626_000 as u64)
83 .saturating_add(T::DbWeight::get().reads(1 as u64))84 .saturating_add(T::DbWeight::get().reads(1 as u64))
84 .saturating_add(T::DbWeight::get().writes(1 as u64))85 .saturating_add(T::DbWeight::get().writes(1 as u64))
85 }86 }
86 // Storage: Fungible Allowance (r:1 w:1)87 // Storage: Fungible Allowance (r:1 w:1)
87 // Storage: Fungible Balance (r:2 w:2)88 // Storage: Fungible Balance (r:2 w:2)
88 fn transfer_from() -> Weight {89 fn transfer_from() -> Weight {
89 Weight::from_ref_time(29_845_000)90 Weight::from_ref_time(31_398_000 as u64)
90 .saturating_add(T::DbWeight::get().reads(3 as u64))91 .saturating_add(T::DbWeight::get().reads(3 as u64))
91 .saturating_add(T::DbWeight::get().writes(3 as u64))92 .saturating_add(T::DbWeight::get().writes(3 as u64))
92 }93 }
93 // Storage: Fungible Allowance (r:1 w:1)94 // Storage: Fungible Allowance (r:1 w:1)
94 // Storage: Fungible TotalSupply (r:1 w:1)95 // Storage: Fungible TotalSupply (r:1 w:1)
95 // Storage: Fungible Balance (r:1 w:1)96 // Storage: Fungible Balance (r:1 w:1)
96 fn burn_from() -> Weight {97 fn burn_from() -> Weight {
97 Weight::from_ref_time(28_248_000)98 Weight::from_ref_time(30_499_000 as u64)
98 .saturating_add(T::DbWeight::get().reads(3 as u64))99 .saturating_add(T::DbWeight::get().reads(3 as u64))
99 .saturating_add(T::DbWeight::get().writes(3 as u64))100 .saturating_add(T::DbWeight::get().writes(3 as u64))
100 }101 }
105 // Storage: Fungible TotalSupply (r:1 w:1)106 // Storage: Fungible TotalSupply (r:1 w:1)
106 // Storage: Fungible Balance (r:1 w:1)107 // Storage: Fungible Balance (r:1 w:1)
107 fn create_item() -> Weight {108 fn create_item() -> Weight {
108 Weight::from_ref_time(18_195_000)109 Weight::from_ref_time(19_626_000 as u64)
109 .saturating_add(RocksDbWeight::get().reads(2 as u64))110 .saturating_add(RocksDbWeight::get().reads(2 as u64))
110 .saturating_add(RocksDbWeight::get().writes(2 as u64))111 .saturating_add(RocksDbWeight::get().writes(2 as u64))
111 }112 }
112 // Storage: Fungible TotalSupply (r:1 w:1)113 // Storage: Fungible TotalSupply (r:1 w:1)
113 // Storage: Fungible Balance (r:4 w:4)114 // Storage: Fungible Balance (r:4 w:4)
114 fn create_multiple_items_ex(b: u32, ) -> Weight {115 fn create_multiple_items_ex(b: u32, ) -> Weight {
115 Weight::from_ref_time(19_218_000)116 Weight::from_ref_time(22_364_107 as u64)
116 // Standard Error: 3_000117 // Standard Error: 6_123
117 .saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))118 .saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
118 .saturating_add(RocksDbWeight::get().reads(1 as u64))119 .saturating_add(RocksDbWeight::get().reads(1 as u64))
119 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))120 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
120 .saturating_add(RocksDbWeight::get().writes(1 as u64))121 .saturating_add(RocksDbWeight::get().writes(1 as u64))
123 // Storage: Fungible TotalSupply (r:1 w:1)124 // Storage: Fungible TotalSupply (r:1 w:1)
124 // Storage: Fungible Balance (r:1 w:1)125 // Storage: Fungible Balance (r:1 w:1)
125 fn burn_item() -> Weight {126 fn burn_item() -> Weight {
126 Weight::from_ref_time(18_719_000)127 Weight::from_ref_time(21_886_000 as u64)
127 .saturating_add(RocksDbWeight::get().reads(2 as u64))128 .saturating_add(RocksDbWeight::get().reads(2 as u64))
128 .saturating_add(RocksDbWeight::get().writes(2 as u64))129 .saturating_add(RocksDbWeight::get().writes(2 as u64))
129 }130 }
130 // Storage: Fungible Balance (r:2 w:2)131 // Storage: Fungible Balance (r:2 w:2)
131 fn transfer() -> Weight {132 fn transfer() -> Weight {
132 Weight::from_ref_time(20_563_000)133 Weight::from_ref_time(23_827_000 as u64)
133 .saturating_add(RocksDbWeight::get().reads(2 as u64))134 .saturating_add(RocksDbWeight::get().reads(2 as u64))
134 .saturating_add(RocksDbWeight::get().writes(2 as u64))135 .saturating_add(RocksDbWeight::get().writes(2 as u64))
135 }136 }
136 // Storage: Fungible Balance (r:1 w:0)137 // Storage: Fungible Balance (r:1 w:0)
137 // Storage: Fungible Allowance (r:0 w:1)138 // Storage: Fungible Allowance (r:0 w:1)
138 fn approve() -> Weight {139 fn approve() -> Weight {
139 Weight::from_ref_time(17_583_000)140 Weight::from_ref_time(21_626_000 as u64)
140 .saturating_add(RocksDbWeight::get().reads(1 as u64))141 .saturating_add(RocksDbWeight::get().reads(1 as u64))
141 .saturating_add(RocksDbWeight::get().writes(1 as u64))142 .saturating_add(RocksDbWeight::get().writes(1 as u64))
142 }143 }
143 // Storage: Fungible Allowance (r:1 w:1)144 // Storage: Fungible Allowance (r:1 w:1)
144 // Storage: Fungible Balance (r:2 w:2)145 // Storage: Fungible Balance (r:2 w:2)
145 fn transfer_from() -> Weight {146 fn transfer_from() -> Weight {
146 Weight::from_ref_time(29_845_000)147 Weight::from_ref_time(31_398_000 as u64)
147 .saturating_add(RocksDbWeight::get().reads(3 as u64))148 .saturating_add(RocksDbWeight::get().reads(3 as u64))
148 .saturating_add(RocksDbWeight::get().writes(3 as u64))149 .saturating_add(RocksDbWeight::get().writes(3 as u64))
149 }150 }
150 // Storage: Fungible Allowance (r:1 w:1)151 // Storage: Fungible Allowance (r:1 w:1)
151 // Storage: Fungible TotalSupply (r:1 w:1)152 // Storage: Fungible TotalSupply (r:1 w:1)
152 // Storage: Fungible Balance (r:1 w:1)153 // Storage: Fungible Balance (r:1 w:1)
153 fn burn_from() -> Weight {154 fn burn_from() -> Weight {
154 Weight::from_ref_time(28_248_000)155 Weight::from_ref_time(30_499_000 as u64)
155 .saturating_add(RocksDbWeight::get().reads(3 as u64))156 .saturating_add(RocksDbWeight::get().reads(3 as u64))
156 .saturating_add(RocksDbWeight::get().writes(3 as u64))157 .saturating_add(RocksDbWeight::get().writes(3 as u64))
157 }158 }
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_nonfungible3//! Autogenerated weights for pallet_nonfungible
4//!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-dev
6//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-12-26, 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: 1024
88
9// Executed Command:9// Executed Command:
61 // Storage: Nonfungible TokenData (r:0 w:1)61 // Storage: Nonfungible TokenData (r:0 w:1)
62 // Storage: Nonfungible Owned (r:0 w:1)62 // Storage: Nonfungible Owned (r:0 w:1)
63 fn create_item() -> Weight {63 fn create_item() -> Weight {
64 Weight::from_ref_time(25_905_000)64 Weight::from_ref_time(26_377_000 as u64)
65 .saturating_add(T::DbWeight::get().reads(2 as u64))65 .saturating_add(T::DbWeight::get().reads(2 as u64))
66 .saturating_add(T::DbWeight::get().writes(4 as u64))66 .saturating_add(T::DbWeight::get().writes(4 as u64))
67 }67 }
70 // Storage: Nonfungible TokenData (r:0 w:4)70 // Storage: Nonfungible TokenData (r:0 w:4)
71 // Storage: Nonfungible Owned (r:0 w:4)71 // Storage: Nonfungible Owned (r:0 w:4)
72 fn create_multiple_items(b: u32, ) -> Weight {72 fn create_multiple_items(b: u32, ) -> Weight {
73 Weight::from_ref_time(24_955_000)73 Weight::from_ref_time(20_059_186 as u64)
74 // Standard Error: 3_00074 // Standard Error: 4_735
75 .saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))75 .saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
76 .saturating_add(T::DbWeight::get().reads(2 as u64))76 .saturating_add(T::DbWeight::get().reads(2 as u64))
77 .saturating_add(T::DbWeight::get().writes(2 as u64))77 .saturating_add(T::DbWeight::get().writes(2 as u64))
78 .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(b as u64)))78 .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
82 // Storage: Nonfungible TokenData (r:0 w:4)82 // Storage: Nonfungible TokenData (r:0 w:4)
83 // Storage: Nonfungible Owned (r:0 w:4)83 // Storage: Nonfungible Owned (r:0 w:4)
84 fn create_multiple_items_ex(b: u32, ) -> Weight {84 fn create_multiple_items_ex(b: u32, ) -> Weight {
85 Weight::from_ref_time(13_666_000)85 Weight::from_ref_time(16_365_581 as u64)
86 // Standard Error: 5_00086 // Standard Error: 9_711
87 .saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))87 .saturating_add(Weight::from_ref_time(6_681_940 as u64).saturating_mul(b as u64))
88 .saturating_add(T::DbWeight::get().reads(1 as u64))88 .saturating_add(T::DbWeight::get().reads(1 as u64))
89 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))89 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
90 .saturating_add(T::DbWeight::get().writes(1 as u64))90 .saturating_add(T::DbWeight::get().writes(1 as u64))
98 // Storage: Nonfungible Owned (r:0 w:1)98 // Storage: Nonfungible Owned (r:0 w:1)
99 // Storage: Nonfungible TokenProperties (r:0 w:1)99 // Storage: Nonfungible TokenProperties (r:0 w:1)
100 fn burn_item() -> Weight {100 fn burn_item() -> Weight {
101 Weight::from_ref_time(36_205_000)101 Weight::from_ref_time(33_502_000 as u64)
102 .saturating_add(T::DbWeight::get().reads(5 as u64))102 .saturating_add(T::DbWeight::get().reads(5 as u64))
103 .saturating_add(T::DbWeight::get().writes(5 as u64))103 .saturating_add(T::DbWeight::get().writes(5 as u64))
104 }104 }
110 // Storage: Nonfungible Owned (r:0 w:1)110 // Storage: Nonfungible Owned (r:0 w:1)
111 // Storage: Nonfungible TokenProperties (r:0 w:1)111 // Storage: Nonfungible TokenProperties (r:0 w:1)
112 fn burn_recursively_self_raw() -> Weight {112 fn burn_recursively_self_raw() -> Weight {
113 Weight::from_ref_time(44_550_000)113 Weight::from_ref_time(43_255_000 as u64)
114 .saturating_add(T::DbWeight::get().reads(5 as u64))114 .saturating_add(T::DbWeight::get().reads(5 as u64))
115 .saturating_add(T::DbWeight::get().writes(5 as u64))115 .saturating_add(T::DbWeight::get().writes(5 as u64))
116 }116 }
123 // Storage: Nonfungible TokenProperties (r:0 w:1)123 // Storage: Nonfungible TokenProperties (r:0 w:1)
124 // Storage: Common CollectionById (r:1 w:0)124 // Storage: Common CollectionById (r:1 w:0)
125 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {125 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
126 (Weight::from_ref_time(0))126 Weight::from_ref_time(42_992_000 as u64)
127 // Standard Error: 1_536_000127 // Standard Error: 1_010_119
128 .saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))128 .saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
129 .saturating_add(T::DbWeight::get().reads(7 as u64))129 .saturating_add(T::DbWeight::get().reads(7 as u64))
130 .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))130 .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
131 .saturating_add(T::DbWeight::get().writes(6 as u64))131 .saturating_add(T::DbWeight::get().writes(6 as u64))
136 // Storage: Nonfungible Allowance (r:1 w:0)136 // Storage: Nonfungible Allowance (r:1 w:0)
137 // Storage: Nonfungible Owned (r:0 w:2)137 // Storage: Nonfungible Owned (r:0 w:2)
138 fn transfer() -> Weight {138 fn transfer() -> Weight {
139 Weight::from_ref_time(31_116_000)139 Weight::from_ref_time(31_239_000 as u64)
140 .saturating_add(T::DbWeight::get().reads(4 as u64))140 .saturating_add(T::DbWeight::get().reads(4 as u64))
141 .saturating_add(T::DbWeight::get().writes(5 as u64))141 .saturating_add(T::DbWeight::get().writes(5 as u64))
142 }142 }
143 // Storage: Nonfungible TokenData (r:1 w:0)143 // Storage: Nonfungible TokenData (r:1 w:0)
144 // Storage: Nonfungible Allowance (r:1 w:1)144 // Storage: Nonfungible Allowance (r:1 w:1)
145 fn approve() -> Weight {145 fn approve() -> Weight {
146 Weight::from_ref_time(20_802_000)146 Weight::from_ref_time(21_985_000 as u64)
147 .saturating_add(T::DbWeight::get().reads(2 as u64))147 .saturating_add(T::DbWeight::get().reads(2 as u64))
148 .saturating_add(T::DbWeight::get().writes(1 as u64))148 .saturating_add(T::DbWeight::get().writes(1 as u64))
149 }149 }
152 // Storage: Nonfungible AccountBalance (r:2 w:2)152 // Storage: Nonfungible AccountBalance (r:2 w:2)
153 // Storage: Nonfungible Owned (r:0 w:2)153 // Storage: Nonfungible Owned (r:0 w:2)
154 fn transfer_from() -> Weight {154 fn transfer_from() -> Weight {
155 Weight::from_ref_time(36_083_000)155 Weight::from_ref_time(36_382_000 as u64)
156 .saturating_add(T::DbWeight::get().reads(4 as u64))156 .saturating_add(T::DbWeight::get().reads(4 as u64))
157 .saturating_add(T::DbWeight::get().writes(6 as u64))157 .saturating_add(T::DbWeight::get().writes(6 as u64))
158 }158 }
164 // Storage: Nonfungible Owned (r:0 w:1)164 // Storage: Nonfungible Owned (r:0 w:1)
165 // Storage: Nonfungible TokenProperties (r:0 w:1)165 // Storage: Nonfungible TokenProperties (r:0 w:1)
166 fn burn_from() -> Weight {166 fn burn_from() -> Weight {
167 Weight::from_ref_time(41_781_000)167 Weight::from_ref_time(42_046_000 as u64)
168 .saturating_add(T::DbWeight::get().reads(5 as u64))168 .saturating_add(T::DbWeight::get().reads(5 as u64))
169 .saturating_add(T::DbWeight::get().writes(6 as u64))169 .saturating_add(T::DbWeight::get().writes(6 as u64))
170 }170 }
171 // Storage: Common CollectionPropertyPermissions (r:1 w:1)171 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
172 fn set_token_property_permissions(b: u32, ) -> Weight {172 fn set_token_property_permissions(b: u32, ) -> Weight {
173 (Weight::from_ref_time(0))173 Weight::from_ref_time(5_543_000 as u64)
174 // Standard Error: 58_000174 // Standard Error: 40_525
175 .saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))175 .saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
176 .saturating_add(T::DbWeight::get().reads(1 as u64))176 .saturating_add(T::DbWeight::get().reads(1 as u64))
177 .saturating_add(T::DbWeight::get().writes(1 as u64))177 .saturating_add(T::DbWeight::get().writes(1 as u64))
178 }178 }
179 // Storage: Common CollectionPropertyPermissions (r:1 w:0)179 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
180 // Storage: Nonfungible TokenProperties (r:1 w:1)180 // Storage: Nonfungible TokenProperties (r:1 w:1)
181 fn set_token_properties(b: u32, ) -> Weight {181 fn set_token_properties(b: u32, ) -> Weight {
182 (Weight::from_ref_time(0))182 Weight::from_ref_time(4_361_000 as u64)
183 // Standard Error: 3_595_000183 // Standard Error: 5_349_868
184 .saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))184 .saturating_add(Weight::from_ref_time(637_246_356 as u64).saturating_mul(b as u64))
185 .saturating_add(T::DbWeight::get().reads(2 as u64))185 .saturating_add(T::DbWeight::get().reads(2 as u64))
186 .saturating_add(T::DbWeight::get().writes(1 as u64))186 .saturating_add(T::DbWeight::get().writes(1 as u64))
187 }187 }
188 // Storage: Common CollectionPropertyPermissions (r:1 w:0)188 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
189 // Storage: Nonfungible TokenProperties (r:1 w:1)189 // Storage: Nonfungible TokenProperties (r:1 w:1)
190 fn delete_token_properties(b: u32, ) -> Weight {190 fn delete_token_properties(b: u32, ) -> Weight {
191 (Weight::from_ref_time(0))191 Weight::from_ref_time(4_489_000 as u64)
192 // Standard Error: 3_664_000192 // Standard Error: 5_738_954
193 .saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))193 .saturating_add(Weight::from_ref_time(689_912_822 as u64).saturating_mul(b as u64))
194 .saturating_add(T::DbWeight::get().reads(2 as u64))194 .saturating_add(T::DbWeight::get().reads(2 as u64))
195 .saturating_add(T::DbWeight::get().writes(1 as u64))195 .saturating_add(T::DbWeight::get().writes(1 as u64))
196 }196 }
197 // Storage: Nonfungible TokenData (r:1 w:0)197 // Storage: Nonfungible TokenData (r:1 w:0)
198 fn token_owner() -> Weight {198 fn token_owner() -> Weight {
199 Weight::from_ref_time(4_366_000)199 Weight::from_ref_time(6_881_000 as u64)
200 .saturating_add(T::DbWeight::get().reads(1 as u64))200 .saturating_add(T::DbWeight::get().reads(1 as u64))
201 }201 }
202 // Storage: Nonfungible WalletOperator (r:0 w:1)202 // Storage: Nonfungible CollectionAllowance (r:0 w:1)
203 fn set_allowance_for_all() -> Weight {203 fn set_allowance_for_all() -> Weight {
204 Weight::from_ref_time(16_231_000 as u64)204 Weight::from_ref_time(16_223_000 as u64)
205 .saturating_add(T::DbWeight::get().writes(1 as u64))205 .saturating_add(T::DbWeight::get().writes(1 as u64))
206 }206 }
207 // Storage: Nonfungible WalletOperator (r:1 w:0)207 // Storage: Nonfungible CollectionAllowance (r:1 w:0)
208 fn allowance_for_all() -> Weight {208 fn allowance_for_all() -> Weight {
209 Weight::from_ref_time(6_161_000 as u64)209 Weight::from_ref_time(5_639_000 as u64)
210 .saturating_add(T::DbWeight::get().reads(1 as u64))210 .saturating_add(T::DbWeight::get().reads(1 as u64))
211 }211 }
212 // Storage: Nonfungible TokenProperties (r:1 w:1)212 // Storage: Nonfungible TokenProperties (r:1 w:1)
213 fn repair_item() -> Weight {213 fn repair_item() -> Weight {
214 Weight::from_ref_time(5_701_000 as u64)214 Weight::from_ref_time(6_111_000 as u64)
215 .saturating_add(T::DbWeight::get().reads(1 as u64))215 .saturating_add(T::DbWeight::get().reads(1 as u64))
216 .saturating_add(T::DbWeight::get().writes(1 as u64))216 .saturating_add(T::DbWeight::get().writes(1 as u64))
217 }217 }
224 // Storage: Nonfungible TokenData (r:0 w:1)224 // Storage: Nonfungible TokenData (r:0 w:1)
225 // Storage: Nonfungible Owned (r:0 w:1)225 // Storage: Nonfungible Owned (r:0 w:1)
226 fn create_item() -> Weight {226 fn create_item() -> Weight {
227 Weight::from_ref_time(25_905_000)227 Weight::from_ref_time(26_377_000 as u64)
228 .saturating_add(RocksDbWeight::get().reads(2 as u64))228 .saturating_add(RocksDbWeight::get().reads(2 as u64))
229 .saturating_add(RocksDbWeight::get().writes(4 as u64))229 .saturating_add(RocksDbWeight::get().writes(4 as u64))
230 }230 }
233 // Storage: Nonfungible TokenData (r:0 w:4)233 // Storage: Nonfungible TokenData (r:0 w:4)
234 // Storage: Nonfungible Owned (r:0 w:4)234 // Storage: Nonfungible Owned (r:0 w:4)
235 fn create_multiple_items(b: u32, ) -> Weight {235 fn create_multiple_items(b: u32, ) -> Weight {
236 Weight::from_ref_time(24_955_000)236 Weight::from_ref_time(20_059_186 as u64)
237 // Standard Error: 3_000237 // Standard Error: 4_735
238 .saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))238 .saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
239 .saturating_add(RocksDbWeight::get().reads(2 as u64))239 .saturating_add(RocksDbWeight::get().reads(2 as u64))
240 .saturating_add(RocksDbWeight::get().writes(2 as u64))240 .saturating_add(RocksDbWeight::get().writes(2 as u64))
241 .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(b as u64)))241 .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
245 // Storage: Nonfungible TokenData (r:0 w:4)245 // Storage: Nonfungible TokenData (r:0 w:4)
246 // Storage: Nonfungible Owned (r:0 w:4)246 // Storage: Nonfungible Owned (r:0 w:4)
247 fn create_multiple_items_ex(b: u32, ) -> Weight {247 fn create_multiple_items_ex(b: u32, ) -> Weight {
248 Weight::from_ref_time(13_666_000)248 Weight::from_ref_time(16_365_581 as u64)
249 // Standard Error: 5_000249 // Standard Error: 9_711
250 .saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))250 .saturating_add(Weight::from_ref_time(6_681_940 as u64).saturating_mul(b as u64))
251 .saturating_add(RocksDbWeight::get().reads(1 as u64))251 .saturating_add(RocksDbWeight::get().reads(1 as u64))
252 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))252 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
253 .saturating_add(RocksDbWeight::get().writes(1 as u64))253 .saturating_add(RocksDbWeight::get().writes(1 as u64))
261 // Storage: Nonfungible Owned (r:0 w:1)261 // Storage: Nonfungible Owned (r:0 w:1)
262 // Storage: Nonfungible TokenProperties (r:0 w:1)262 // Storage: Nonfungible TokenProperties (r:0 w:1)
263 fn burn_item() -> Weight {263 fn burn_item() -> Weight {
264 Weight::from_ref_time(36_205_000)264 Weight::from_ref_time(33_502_000 as u64)
265 .saturating_add(RocksDbWeight::get().reads(5 as u64))265 .saturating_add(RocksDbWeight::get().reads(5 as u64))
266 .saturating_add(RocksDbWeight::get().writes(5 as u64))266 .saturating_add(RocksDbWeight::get().writes(5 as u64))
267 }267 }
273 // Storage: Nonfungible Owned (r:0 w:1)273 // Storage: Nonfungible Owned (r:0 w:1)
274 // Storage: Nonfungible TokenProperties (r:0 w:1)274 // Storage: Nonfungible TokenProperties (r:0 w:1)
275 fn burn_recursively_self_raw() -> Weight {275 fn burn_recursively_self_raw() -> Weight {
276 Weight::from_ref_time(44_550_000)276 Weight::from_ref_time(43_255_000 as u64)
277 .saturating_add(RocksDbWeight::get().reads(5 as u64))277 .saturating_add(RocksDbWeight::get().reads(5 as u64))
278 .saturating_add(RocksDbWeight::get().writes(5 as u64))278 .saturating_add(RocksDbWeight::get().writes(5 as u64))
279 }279 }
286 // Storage: Nonfungible TokenProperties (r:0 w:1)286 // Storage: Nonfungible TokenProperties (r:0 w:1)
287 // Storage: Common CollectionById (r:1 w:0)287 // Storage: Common CollectionById (r:1 w:0)
288 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {288 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
289 (Weight::from_ref_time(0))289 Weight::from_ref_time(42_992_000 as u64)
290 // Standard Error: 1_536_000290 // Standard Error: 1_010_119
291 .saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))291 .saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
292 .saturating_add(RocksDbWeight::get().reads(7 as u64))292 .saturating_add(RocksDbWeight::get().reads(7 as u64))
293 .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))293 .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
294 .saturating_add(RocksDbWeight::get().writes(6 as u64))294 .saturating_add(RocksDbWeight::get().writes(6 as u64))
299 // Storage: Nonfungible Allowance (r:1 w:0)299 // Storage: Nonfungible Allowance (r:1 w:0)
300 // Storage: Nonfungible Owned (r:0 w:2)300 // Storage: Nonfungible Owned (r:0 w:2)
301 fn transfer() -> Weight {301 fn transfer() -> Weight {
302 Weight::from_ref_time(31_116_000)302 Weight::from_ref_time(31_239_000 as u64)
303 .saturating_add(RocksDbWeight::get().reads(4 as u64))303 .saturating_add(RocksDbWeight::get().reads(4 as u64))
304 .saturating_add(RocksDbWeight::get().writes(5 as u64))304 .saturating_add(RocksDbWeight::get().writes(5 as u64))
305 }305 }
306 // Storage: Nonfungible TokenData (r:1 w:0)306 // Storage: Nonfungible TokenData (r:1 w:0)
307 // Storage: Nonfungible Allowance (r:1 w:1)307 // Storage: Nonfungible Allowance (r:1 w:1)
308 fn approve() -> Weight {308 fn approve() -> Weight {
309 Weight::from_ref_time(20_802_000)309 Weight::from_ref_time(21_985_000 as u64)
310 .saturating_add(RocksDbWeight::get().reads(2 as u64))310 .saturating_add(RocksDbWeight::get().reads(2 as u64))
311 .saturating_add(RocksDbWeight::get().writes(1 as u64))311 .saturating_add(RocksDbWeight::get().writes(1 as u64))
312 }312 }
315 // Storage: Nonfungible AccountBalance (r:2 w:2)315 // Storage: Nonfungible AccountBalance (r:2 w:2)
316 // Storage: Nonfungible Owned (r:0 w:2)316 // Storage: Nonfungible Owned (r:0 w:2)
317 fn transfer_from() -> Weight {317 fn transfer_from() -> Weight {
318 Weight::from_ref_time(36_083_000)318 Weight::from_ref_time(36_382_000 as u64)
319 .saturating_add(RocksDbWeight::get().reads(4 as u64))319 .saturating_add(RocksDbWeight::get().reads(4 as u64))
320 .saturating_add(RocksDbWeight::get().writes(6 as u64))320 .saturating_add(RocksDbWeight::get().writes(6 as u64))
321 }321 }
327 // Storage: Nonfungible Owned (r:0 w:1)327 // Storage: Nonfungible Owned (r:0 w:1)
328 // Storage: Nonfungible TokenProperties (r:0 w:1)328 // Storage: Nonfungible TokenProperties (r:0 w:1)
329 fn burn_from() -> Weight {329 fn burn_from() -> Weight {
330 Weight::from_ref_time(41_781_000)330 Weight::from_ref_time(42_046_000 as u64)
331 .saturating_add(RocksDbWeight::get().reads(5 as u64))331 .saturating_add(RocksDbWeight::get().reads(5 as u64))
332 .saturating_add(RocksDbWeight::get().writes(6 as u64))332 .saturating_add(RocksDbWeight::get().writes(6 as u64))
333 }333 }
334 // Storage: Common CollectionPropertyPermissions (r:1 w:1)334 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
335 fn set_token_property_permissions(b: u32, ) -> Weight {335 fn set_token_property_permissions(b: u32, ) -> Weight {
336 (Weight::from_ref_time(0))336 Weight::from_ref_time(5_543_000 as u64)
337 // Standard Error: 58_000337 // Standard Error: 40_525
338 .saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))338 .saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
339 .saturating_add(RocksDbWeight::get().reads(1 as u64))339 .saturating_add(RocksDbWeight::get().reads(1 as u64))
340 .saturating_add(RocksDbWeight::get().writes(1 as u64))340 .saturating_add(RocksDbWeight::get().writes(1 as u64))
341 }341 }
342 // Storage: Common CollectionPropertyPermissions (r:1 w:0)342 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
343 // Storage: Nonfungible TokenProperties (r:1 w:1)343 // Storage: Nonfungible TokenProperties (r:1 w:1)
344 fn set_token_properties(b: u32, ) -> Weight {344 fn set_token_properties(b: u32, ) -> Weight {
345 (Weight::from_ref_time(0))345 Weight::from_ref_time(4_361_000 as u64)
346 // Standard Error: 3_595_000346 // Standard Error: 5_349_868
347 .saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))347 .saturating_add(Weight::from_ref_time(637_246_356 as u64).saturating_mul(b as u64))
348 .saturating_add(RocksDbWeight::get().reads(2 as u64))348 .saturating_add(RocksDbWeight::get().reads(2 as u64))
349 .saturating_add(RocksDbWeight::get().writes(1 as u64))349 .saturating_add(RocksDbWeight::get().writes(1 as u64))
350 }350 }
351 // Storage: Common CollectionPropertyPermissions (r:1 w:0)351 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
352 // Storage: Nonfungible TokenProperties (r:1 w:1)352 // Storage: Nonfungible TokenProperties (r:1 w:1)
353 fn delete_token_properties(b: u32, ) -> Weight {353 fn delete_token_properties(b: u32, ) -> Weight {
354 (Weight::from_ref_time(0))354 Weight::from_ref_time(4_489_000 as u64)
355 // Standard Error: 3_664_000355 // Standard Error: 5_738_954
356 .saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))356 .saturating_add(Weight::from_ref_time(689_912_822 as u64).saturating_mul(b as u64))
357 .saturating_add(RocksDbWeight::get().reads(2 as u64))357 .saturating_add(RocksDbWeight::get().reads(2 as u64))
358 .saturating_add(RocksDbWeight::get().writes(1 as u64))358 .saturating_add(RocksDbWeight::get().writes(1 as u64))
359 }359 }
360 // Storage: Nonfungible TokenData (r:1 w:0)360 // Storage: Nonfungible TokenData (r:1 w:0)
361 fn token_owner() -> Weight {361 fn token_owner() -> Weight {
362 Weight::from_ref_time(4_366_000)362 Weight::from_ref_time(6_881_000 as u64)
363 .saturating_add(RocksDbWeight::get().reads(1 as u64))363 .saturating_add(RocksDbWeight::get().reads(1 as u64))
364 }364 }
365 // Storage: Nonfungible WalletOperator (r:0 w:1)365 // Storage: Nonfungible CollectionAllowance (r:0 w:1)
366 fn set_allowance_for_all() -> Weight {366 fn set_allowance_for_all() -> Weight {
367 Weight::from_ref_time(16_231_000 as u64)367 Weight::from_ref_time(16_223_000 as u64)
368 .saturating_add(RocksDbWeight::get().writes(1 as u64))368 .saturating_add(RocksDbWeight::get().writes(1 as u64))
369 }369 }
370 // Storage: Nonfungible WalletOperator (r:1 w:0)370 // Storage: Nonfungible CollectionAllowance (r:1 w:0)
371 fn allowance_for_all() -> Weight {371 fn allowance_for_all() -> Weight {
372 Weight::from_ref_time(6_161_000 as u64)372 Weight::from_ref_time(5_639_000 as u64)
373 .saturating_add(RocksDbWeight::get().reads(1 as u64))373 .saturating_add(RocksDbWeight::get().reads(1 as u64))
374 }374 }
375 // Storage: Nonfungible TokenProperties (r:1 w:1)375 // Storage: Nonfungible TokenProperties (r:1 w:1)
376 fn repair_item() -> Weight {376 fn repair_item() -> Weight {
377 Weight::from_ref_time(5_701_000 as u64)377 Weight::from_ref_time(6_111_000 as u64)
378 .saturating_add(RocksDbWeight::get().reads(1 as u64))378 .saturating_add(RocksDbWeight::get().reads(1 as u64))
379 .saturating_add(RocksDbWeight::get().writes(1 as u64))379 .saturating_add(RocksDbWeight::get().writes(1 as u64))
380 }380 }
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_refungible3//! Autogenerated weights for pallet_refungible
4//!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-dev
6//! DATE: 2022-11-25, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-12-26, 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: 1024
88
9// Executed Command:9// Executed Command:
69 // Storage: Refungible TotalSupply (r:0 w:1)69 // Storage: Refungible TotalSupply (r:0 w:1)
70 // Storage: Refungible Owned (r:0 w:1)70 // Storage: Refungible Owned (r:0 w:1)
71 fn create_item() -> Weight {71 fn create_item() -> Weight {
72 Weight::from_ref_time(29_527_000)72 Weight::from_ref_time(32_864_000 as u64)
73 .saturating_add(T::DbWeight::get().reads(2 as u64))73 .saturating_add(T::DbWeight::get().reads(2 as u64))
74 .saturating_add(T::DbWeight::get().writes(5 as u64))74 .saturating_add(T::DbWeight::get().writes(5 as u64))
75 }75 }
79 // Storage: Refungible TotalSupply (r:0 w:4)79 // Storage: Refungible TotalSupply (r:0 w:4)
80 // Storage: Refungible Owned (r:0 w:4)80 // Storage: Refungible Owned (r:0 w:4)
81 fn create_multiple_items(b: u32, ) -> Weight {81 fn create_multiple_items(b: u32, ) -> Weight {
82 Weight::from_ref_time(28_541_000)82 Weight::from_ref_time(11_880_472 as u64)
83 // Standard Error: 4_00083 // Standard Error: 5_240
84 .saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))84 .saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64))
85 .saturating_add(T::DbWeight::get().reads(2 as u64))85 .saturating_add(T::DbWeight::get().reads(2 as u64))
86 .saturating_add(T::DbWeight::get().writes(2 as u64))86 .saturating_add(T::DbWeight::get().writes(2 as u64))
87 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))87 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
92 // Storage: Refungible TotalSupply (r:0 w:4)92 // Storage: Refungible TotalSupply (r:0 w:4)
93 // Storage: Refungible Owned (r:0 w:4)93 // Storage: Refungible Owned (r:0 w:4)
94 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {94 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
95 Weight::from_ref_time(24_366_000)95 Weight::from_ref_time(11_644_173 as u64)
96 // Standard Error: 5_00096 // Standard Error: 5_876
97 .saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))97 .saturating_add(Weight::from_ref_time(8_214_607 as u64).saturating_mul(b as u64))
98 .saturating_add(T::DbWeight::get().reads(1 as u64))98 .saturating_add(T::DbWeight::get().reads(1 as u64))
99 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))99 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
100 .saturating_add(T::DbWeight::get().writes(1 as u64))100 .saturating_add(T::DbWeight::get().writes(1 as u64))
106 // Storage: Refungible Balance (r:0 w:4)106 // Storage: Refungible Balance (r:0 w:4)
107 // Storage: Refungible Owned (r:0 w:4)107 // Storage: Refungible Owned (r:0 w:4)
108 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {108 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
109 Weight::from_ref_time(27_574_000)109 Weight::from_ref_time(21_817_067 as u64)
110 // Standard Error: 4_000110 // Standard Error: 5_215
111 .saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))111 .saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64))
112 .saturating_add(T::DbWeight::get().reads(1 as u64))112 .saturating_add(T::DbWeight::get().reads(1 as u64))
113 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))113 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
114 .saturating_add(T::DbWeight::get().writes(2 as u64))114 .saturating_add(T::DbWeight::get().writes(2 as u64))
115 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))115 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
116 }116 }
117 // Storage: Refungible TotalSupply (r:1 w:1)
118 // Storage: Refungible Balance (r:3 w:1)117 // Storage: Refungible Balance (r:3 w:1)
118 // Storage: Refungible TotalSupply (r:1 w:1)
119 // Storage: Refungible AccountBalance (r:1 w:1)119 // Storage: Refungible AccountBalance (r:1 w:1)
120 // Storage: Refungible Owned (r:0 w:1)120 // Storage: Refungible Owned (r:0 w:1)
121 fn burn_item_partial() -> Weight {121 fn burn_item_partial() -> Weight {
122 Weight::from_ref_time(42_943_000)122 Weight::from_ref_time(47_087_000 as u64)
123 .saturating_add(T::DbWeight::get().reads(5 as u64))123 .saturating_add(T::DbWeight::get().reads(5 as u64))
124 .saturating_add(T::DbWeight::get().writes(4 as u64))124 .saturating_add(T::DbWeight::get().writes(4 as u64))
125 }125 }
126 // Storage: Refungible TotalSupply (r:1 w:1)
127 // Storage: Refungible Balance (r:1 w:1)126 // Storage: Refungible Balance (r:1 w:1)
127 // Storage: Refungible TotalSupply (r:1 w:1)
128 // Storage: Refungible AccountBalance (r:1 w:1)128 // Storage: Refungible AccountBalance (r:1 w:1)
129 // Storage: Refungible TokensBurnt (r:1 w:1)129 // Storage: Refungible TokensBurnt (r:1 w:1)
130 // Storage: Refungible Owned (r:0 w:1)130 // Storage: Refungible Owned (r:0 w:1)
131 // Storage: Refungible TokenProperties (r:0 w:1)131 // Storage: Refungible TokenProperties (r:0 w:1)
132 fn burn_item_fully() -> Weight {132 fn burn_item_fully() -> Weight {
133 Weight::from_ref_time(36_861_000)133 Weight::from_ref_time(40_135_000 as u64)
134 .saturating_add(T::DbWeight::get().reads(4 as u64))134 .saturating_add(T::DbWeight::get().reads(4 as u64))
135 .saturating_add(T::DbWeight::get().writes(6 as u64))135 .saturating_add(T::DbWeight::get().writes(6 as u64))
136 }136 }
137 // Storage: Refungible Balance (r:2 w:2)137 // Storage: Refungible Balance (r:2 w:2)
138 // Storage: Refungible TotalSupply (r:1 w:0)138 // Storage: Refungible TotalSupply (r:1 w:0)
139 fn transfer_normal() -> Weight {139 fn transfer_normal() -> Weight {
140 Weight::from_ref_time(27_789_000)140 Weight::from_ref_time(30_749_000 as u64)
141 .saturating_add(T::DbWeight::get().reads(3 as u64))141 .saturating_add(T::DbWeight::get().reads(3 as u64))
142 .saturating_add(T::DbWeight::get().writes(2 as u64))142 .saturating_add(T::DbWeight::get().writes(2 as u64))
143 }143 }
146 // Storage: Refungible TotalSupply (r:1 w:0)146 // Storage: Refungible TotalSupply (r:1 w:0)
147 // Storage: Refungible Owned (r:0 w:1)147 // Storage: Refungible Owned (r:0 w:1)
148 fn transfer_creating() -> Weight {148 fn transfer_creating() -> Weight {
149 Weight::from_ref_time(32_893_000)149 Weight::from_ref_time(33_565_000 as u64)
150 .saturating_add(T::DbWeight::get().reads(4 as u64))150 .saturating_add(T::DbWeight::get().reads(4 as u64))
151 .saturating_add(T::DbWeight::get().writes(4 as u64))151 .saturating_add(T::DbWeight::get().writes(4 as u64))
152 }152 }
155 // Storage: Refungible TotalSupply (r:1 w:0)155 // Storage: Refungible TotalSupply (r:1 w:0)
156 // Storage: Refungible Owned (r:0 w:1)156 // Storage: Refungible Owned (r:0 w:1)
157 fn transfer_removing() -> Weight {157 fn transfer_removing() -> Weight {
158 Weight::from_ref_time(34_703_000)158 Weight::from_ref_time(37_406_000 as u64)
159 .saturating_add(T::DbWeight::get().reads(4 as u64))159 .saturating_add(T::DbWeight::get().reads(4 as u64))
160 .saturating_add(T::DbWeight::get().writes(4 as u64))160 .saturating_add(T::DbWeight::get().writes(4 as u64))
161 }161 }
164 // Storage: Refungible TotalSupply (r:1 w:0)164 // Storage: Refungible TotalSupply (r:1 w:0)
165 // Storage: Refungible Owned (r:0 w:2)165 // Storage: Refungible Owned (r:0 w:2)
166 fn transfer_creating_removing() -> Weight {166 fn transfer_creating_removing() -> Weight {
167 Weight::from_ref_time(37_547_000)167 Weight::from_ref_time(36_689_000 as u64)
168 .saturating_add(T::DbWeight::get().reads(5 as u64))168 .saturating_add(T::DbWeight::get().reads(5 as u64))
169 .saturating_add(T::DbWeight::get().writes(6 as u64))169 .saturating_add(T::DbWeight::get().writes(6 as u64))
170 }170 }
171 // Storage: Refungible Balance (r:1 w:0)171 // Storage: Refungible Balance (r:1 w:0)
172 // Storage: Refungible Allowance (r:0 w:1)172 // Storage: Refungible Allowance (r:0 w:1)
173 fn approve() -> Weight {173 fn approve() -> Weight {
174 Weight::from_ref_time(20_039_000)174 Weight::from_ref_time(23_177_000 as u64)
175 .saturating_add(T::DbWeight::get().reads(1 as u64))175 .saturating_add(T::DbWeight::get().reads(1 as u64))
176 .saturating_add(T::DbWeight::get().writes(1 as u64))176 .saturating_add(T::DbWeight::get().writes(1 as u64))
177 }177 }
178 // Storage: Refungible Allowance (r:1 w:1)178 // Storage: Refungible Allowance (r:1 w:1)
179 // Storage: Refungible CollectionAllowance (r:1 w:0)
179 // Storage: Refungible Balance (r:2 w:2)180 // Storage: Refungible Balance (r:2 w:2)
180 // Storage: Refungible TotalSupply (r:1 w:0)181 // Storage: Refungible TotalSupply (r:1 w:0)
181 fn transfer_from_normal() -> Weight {182 fn transfer_from_normal() -> Weight {
182 Weight::from_ref_time(37_628_000)183 Weight::from_ref_time(41_288_000 as u64)
183 .saturating_add(T::DbWeight::get().reads(4 as u64))184 .saturating_add(T::DbWeight::get().reads(5 as u64))
184 .saturating_add(T::DbWeight::get().writes(3 as u64))185 .saturating_add(T::DbWeight::get().writes(3 as u64))
185 }186 }
186 // Storage: Refungible Allowance (r:1 w:1)187 // Storage: Refungible Allowance (r:1 w:1)
188 // Storage: Refungible CollectionAllowance (r:1 w:0)
187 // Storage: Refungible Balance (r:2 w:2)189 // Storage: Refungible Balance (r:2 w:2)
188 // Storage: Refungible AccountBalance (r:1 w:1)190 // Storage: Refungible AccountBalance (r:1 w:1)
189 // Storage: Refungible TotalSupply (r:1 w:0)191 // Storage: Refungible TotalSupply (r:1 w:0)
190 // Storage: Refungible Owned (r:0 w:1)192 // Storage: Refungible Owned (r:0 w:1)
191 fn transfer_from_creating() -> Weight {193 fn transfer_from_creating() -> Weight {
192 Weight::from_ref_time(42_072_000)194 Weight::from_ref_time(44_807_000 as u64)
193 .saturating_add(T::DbWeight::get().reads(5 as u64))195 .saturating_add(T::DbWeight::get().reads(6 as u64))
194 .saturating_add(T::DbWeight::get().writes(5 as u64))196 .saturating_add(T::DbWeight::get().writes(5 as u64))
195 }197 }
196 // Storage: Refungible Allowance (r:1 w:1)198 // Storage: Refungible Allowance (r:1 w:1)
199 // Storage: Refungible CollectionAllowance (r:1 w:0)
197 // Storage: Refungible Balance (r:2 w:2)200 // Storage: Refungible Balance (r:2 w:2)
198 // Storage: Refungible AccountBalance (r:1 w:1)201 // Storage: Refungible AccountBalance (r:1 w:1)
199 // Storage: Refungible TotalSupply (r:1 w:0)202 // Storage: Refungible TotalSupply (r:1 w:0)
200 // Storage: Refungible Owned (r:0 w:1)203 // Storage: Refungible Owned (r:0 w:1)
201 fn transfer_from_removing() -> Weight {204 fn transfer_from_removing() -> Weight {
202 Weight::from_ref_time(43_024_000)205 Weight::from_ref_time(47_297_000 as u64)
203 .saturating_add(T::DbWeight::get().reads(5 as u64))206 .saturating_add(T::DbWeight::get().reads(6 as u64))
204 .saturating_add(T::DbWeight::get().writes(5 as u64))207 .saturating_add(T::DbWeight::get().writes(5 as u64))
205 }208 }
206 // Storage: Refungible Allowance (r:1 w:1)209 // Storage: Refungible Allowance (r:1 w:1)
210 // Storage: Refungible CollectionAllowance (r:1 w:0)
207 // Storage: Refungible Balance (r:2 w:2)211 // Storage: Refungible Balance (r:2 w:2)
208 // Storage: Refungible AccountBalance (r:2 w:2)212 // Storage: Refungible AccountBalance (r:2 w:2)
209 // Storage: Refungible TotalSupply (r:1 w:0)213 // Storage: Refungible TotalSupply (r:1 w:0)
210 // Storage: Refungible Owned (r:0 w:2)214 // Storage: Refungible Owned (r:0 w:2)
211 fn transfer_from_creating_removing() -> Weight {215 fn transfer_from_creating_removing() -> Weight {
212 Weight::from_ref_time(45_910_000)216 Weight::from_ref_time(47_566_000 as u64)
213 .saturating_add(T::DbWeight::get().reads(6 as u64))217 .saturating_add(T::DbWeight::get().reads(7 as u64))
214 .saturating_add(T::DbWeight::get().writes(7 as u64))218 .saturating_add(T::DbWeight::get().writes(7 as u64))
215 }219 }
216 // Storage: Refungible Allowance (r:1 w:1)220 // Storage: Refungible Allowance (r:1 w:1)
217 // Storage: Refungible TotalSupply (r:1 w:1)221 // Storage: Refungible CollectionAllowance (r:1 w:0)
218 // Storage: Refungible Balance (r:1 w:1)222 // Storage: Refungible Balance (r:1 w:1)
223 // Storage: Refungible TotalSupply (r:1 w:1)
219 // Storage: Refungible AccountBalance (r:1 w:1)224 // Storage: Refungible AccountBalance (r:1 w:1)
220 // Storage: Refungible TokensBurnt (r:1 w:1)225 // Storage: Refungible TokensBurnt (r:1 w:1)
221 // Storage: Refungible Owned (r:0 w:1)226 // Storage: Refungible Owned (r:0 w:1)
222 // Storage: Refungible TokenProperties (r:0 w:1)227 // Storage: Refungible TokenProperties (r:0 w:1)
223 fn burn_from() -> Weight {228 fn burn_from() -> Weight {
224 Weight::from_ref_time(48_584_000)229 Weight::from_ref_time(53_074_000 as u64)
225 .saturating_add(T::DbWeight::get().reads(5 as u64))230 .saturating_add(T::DbWeight::get().reads(6 as u64))
226 .saturating_add(T::DbWeight::get().writes(7 as u64))231 .saturating_add(T::DbWeight::get().writes(7 as u64))
227 }232 }
228 // Storage: Common CollectionPropertyPermissions (r:1 w:1)233 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
229 fn set_token_property_permissions(b: u32, ) -> Weight {234 fn set_token_property_permissions(b: u32, ) -> Weight {
230 (Weight::from_ref_time(0))235 Weight::from_ref_time(5_170_000 as u64)
231 // Standard Error: 60_000236 // Standard Error: 40_532
232 .saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))237 .saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64))
233 .saturating_add(T::DbWeight::get().reads(1 as u64))238 .saturating_add(T::DbWeight::get().reads(1 as u64))
234 .saturating_add(T::DbWeight::get().writes(1 as u64))239 .saturating_add(T::DbWeight::get().writes(1 as u64))
235 }240 }
236 // Storage: Common CollectionPropertyPermissions (r:1 w:0)241 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
237 // Storage: Refungible TokenProperties (r:1 w:1)242 // Storage: Refungible TokenProperties (r:1 w:1)
238 fn set_token_properties(b: u32, ) -> Weight {243 fn set_token_properties(b: u32, ) -> Weight {
239 (Weight::from_ref_time(0))244 Weight::from_ref_time(4_578_000 as u64)
240 // Standard Error: 3_609_000245 // Standard Error: 5_396_287
241 .saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))246 .saturating_add(Weight::from_ref_time(633_314_546 as u64).saturating_mul(b as u64))
242 .saturating_add(T::DbWeight::get().reads(2 as u64))247 .saturating_add(T::DbWeight::get().reads(2 as u64))
243 .saturating_add(T::DbWeight::get().writes(1 as u64))248 .saturating_add(T::DbWeight::get().writes(1 as u64))
244 }249 }
245 // Storage: Common CollectionPropertyPermissions (r:1 w:0)250 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
246 // Storage: Refungible TokenProperties (r:1 w:1)251 // Storage: Refungible TokenProperties (r:1 w:1)
247 fn delete_token_properties(b: u32, ) -> Weight {252 fn delete_token_properties(b: u32, ) -> Weight {
248 (Weight::from_ref_time(0))253 Weight::from_ref_time(4_583_000 as u64)
249 // Standard Error: 3_637_000254 // Standard Error: 5_762_380
250 .saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))255 .saturating_add(Weight::from_ref_time(696_007_076 as u64).saturating_mul(b as u64))
251 .saturating_add(T::DbWeight::get().reads(2 as u64))256 .saturating_add(T::DbWeight::get().reads(2 as u64))
252 .saturating_add(T::DbWeight::get().writes(1 as u64))257 .saturating_add(T::DbWeight::get().writes(1 as u64))
253 }258 }
254 // Storage: Refungible TotalSupply (r:1 w:1)259 // Storage: Refungible TotalSupply (r:1 w:1)
255 // Storage: Refungible Balance (r:1 w:1)260 // Storage: Refungible Balance (r:1 w:1)
256 fn repartition_item() -> Weight {261 fn repartition_item() -> Weight {
257 Weight::from_ref_time(22_356_000)262 Weight::from_ref_time(25_574_000 as u64)
258 .saturating_add(T::DbWeight::get().reads(2 as u64))263 .saturating_add(T::DbWeight::get().reads(2 as u64))
259 .saturating_add(T::DbWeight::get().writes(2 as u64))264 .saturating_add(T::DbWeight::get().writes(2 as u64))
260 }265 }
261 // Storage: Refungible Balance (r:2 w:0)266 // Storage: Refungible Balance (r:2 w:0)
262 fn token_owner() -> Weight {267 fn token_owner() -> Weight {
263 Weight::from_ref_time(9_431_000)268 Weight::from_ref_time(9_819_000 as u64)
264 .saturating_add(T::DbWeight::get().reads(2 as u64))269 .saturating_add(T::DbWeight::get().reads(2 as u64))
265 }270 }
266 // Storage: Refungible WalletOperator (r:0 w:1)271 // Storage: Refungible CollectionAllowance (r:0 w:1)
267 fn set_allowance_for_all() -> Weight {272 fn set_allowance_for_all() -> Weight {
268 Weight::from_ref_time(16_150_000 as u64)273 Weight::from_ref_time(16_228_000 as u64)
269 .saturating_add(T::DbWeight::get().writes(1 as u64))274 .saturating_add(T::DbWeight::get().writes(1 as u64))
270 }275 }
271 // Storage: Refungible WalletOperator (r:1 w:0)276 // Storage: Refungible CollectionAllowance (r:1 w:0)
272 fn allowance_for_all() -> Weight {277 fn allowance_for_all() -> Weight {
273 Weight::from_ref_time(5_901_000 as u64)278 Weight::from_ref_time(5_374_000 as u64)
274 .saturating_add(T::DbWeight::get().reads(1 as u64))279 .saturating_add(T::DbWeight::get().reads(1 as u64))
275 }280 }
276 // Storage: Refungible TokenProperties (r:1 w:1)281 // Storage: Refungible TokenProperties (r:1 w:1)
277 fn repair_item() -> Weight {282 fn repair_item() -> Weight {
278 Weight::from_ref_time(5_489_000 as u64)283 Weight::from_ref_time(5_624_000 as u64)
279 .saturating_add(T::DbWeight::get().reads(1 as u64))284 .saturating_add(T::DbWeight::get().reads(1 as u64))
280 .saturating_add(T::DbWeight::get().writes(1 as u64))285 .saturating_add(T::DbWeight::get().writes(1 as u64))
281 }286 }
289 // Storage: Refungible TotalSupply (r:0 w:1)294 // Storage: Refungible TotalSupply (r:0 w:1)
290 // Storage: Refungible Owned (r:0 w:1)295 // Storage: Refungible Owned (r:0 w:1)
291 fn create_item() -> Weight {296 fn create_item() -> Weight {
292 Weight::from_ref_time(29_527_000)297 Weight::from_ref_time(32_864_000 as u64)
293 .saturating_add(RocksDbWeight::get().reads(2 as u64))298 .saturating_add(RocksDbWeight::get().reads(2 as u64))
294 .saturating_add(RocksDbWeight::get().writes(5 as u64))299 .saturating_add(RocksDbWeight::get().writes(5 as u64))
295 }300 }
299 // Storage: Refungible TotalSupply (r:0 w:4)304 // Storage: Refungible TotalSupply (r:0 w:4)
300 // Storage: Refungible Owned (r:0 w:4)305 // Storage: Refungible Owned (r:0 w:4)
301 fn create_multiple_items(b: u32, ) -> Weight {306 fn create_multiple_items(b: u32, ) -> Weight {
302 Weight::from_ref_time(28_541_000)307 Weight::from_ref_time(11_880_472 as u64)
303 // Standard Error: 4_000308 // Standard Error: 5_240
304 .saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))309 .saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64))
305 .saturating_add(RocksDbWeight::get().reads(2 as u64))310 .saturating_add(RocksDbWeight::get().reads(2 as u64))
306 .saturating_add(RocksDbWeight::get().writes(2 as u64))311 .saturating_add(RocksDbWeight::get().writes(2 as u64))
307 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))312 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
312 // Storage: Refungible TotalSupply (r:0 w:4)317 // Storage: Refungible TotalSupply (r:0 w:4)
313 // Storage: Refungible Owned (r:0 w:4)318 // Storage: Refungible Owned (r:0 w:4)
314 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {319 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
315 Weight::from_ref_time(24_366_000)320 Weight::from_ref_time(11_644_173 as u64)
316 // Standard Error: 5_000321 // Standard Error: 5_876
317 .saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))322 .saturating_add(Weight::from_ref_time(8_214_607 as u64).saturating_mul(b as u64))
318 .saturating_add(RocksDbWeight::get().reads(1 as u64))323 .saturating_add(RocksDbWeight::get().reads(1 as u64))
319 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))324 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
320 .saturating_add(RocksDbWeight::get().writes(1 as u64))325 .saturating_add(RocksDbWeight::get().writes(1 as u64))
326 // Storage: Refungible Balance (r:0 w:4)331 // Storage: Refungible Balance (r:0 w:4)
327 // Storage: Refungible Owned (r:0 w:4)332 // Storage: Refungible Owned (r:0 w:4)
328 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {333 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
329 Weight::from_ref_time(27_574_000)334 Weight::from_ref_time(21_817_067 as u64)
330 // Standard Error: 4_000335 // Standard Error: 5_215
331 .saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))336 .saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64))
332 .saturating_add(RocksDbWeight::get().reads(1 as u64))337 .saturating_add(RocksDbWeight::get().reads(1 as u64))
333 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))338 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
334 .saturating_add(RocksDbWeight::get().writes(2 as u64))339 .saturating_add(RocksDbWeight::get().writes(2 as u64))
335 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))340 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
336 }341 }
337 // Storage: Refungible TotalSupply (r:1 w:1)
338 // Storage: Refungible Balance (r:3 w:1)342 // Storage: Refungible Balance (r:3 w:1)
343 // Storage: Refungible TotalSupply (r:1 w:1)
339 // Storage: Refungible AccountBalance (r:1 w:1)344 // Storage: Refungible AccountBalance (r:1 w:1)
340 // Storage: Refungible Owned (r:0 w:1)345 // Storage: Refungible Owned (r:0 w:1)
341 fn burn_item_partial() -> Weight {346 fn burn_item_partial() -> Weight {
342 Weight::from_ref_time(42_943_000)347 Weight::from_ref_time(47_087_000 as u64)
343 .saturating_add(RocksDbWeight::get().reads(5 as u64))348 .saturating_add(RocksDbWeight::get().reads(5 as u64))
344 .saturating_add(RocksDbWeight::get().writes(4 as u64))349 .saturating_add(RocksDbWeight::get().writes(4 as u64))
345 }350 }
346 // Storage: Refungible TotalSupply (r:1 w:1)
347 // Storage: Refungible Balance (r:1 w:1)351 // Storage: Refungible Balance (r:1 w:1)
352 // Storage: Refungible TotalSupply (r:1 w:1)
348 // Storage: Refungible AccountBalance (r:1 w:1)353 // Storage: Refungible AccountBalance (r:1 w:1)
349 // Storage: Refungible TokensBurnt (r:1 w:1)354 // Storage: Refungible TokensBurnt (r:1 w:1)
350 // Storage: Refungible Owned (r:0 w:1)355 // Storage: Refungible Owned (r:0 w:1)
351 // Storage: Refungible TokenProperties (r:0 w:1)356 // Storage: Refungible TokenProperties (r:0 w:1)
352 fn burn_item_fully() -> Weight {357 fn burn_item_fully() -> Weight {
353 Weight::from_ref_time(36_861_000)358 Weight::from_ref_time(40_135_000 as u64)
354 .saturating_add(RocksDbWeight::get().reads(4 as u64))359 .saturating_add(RocksDbWeight::get().reads(4 as u64))
355 .saturating_add(RocksDbWeight::get().writes(6 as u64))360 .saturating_add(RocksDbWeight::get().writes(6 as u64))
356 }361 }
357 // Storage: Refungible Balance (r:2 w:2)362 // Storage: Refungible Balance (r:2 w:2)
358 // Storage: Refungible TotalSupply (r:1 w:0)363 // Storage: Refungible TotalSupply (r:1 w:0)
359 fn transfer_normal() -> Weight {364 fn transfer_normal() -> Weight {
360 Weight::from_ref_time(27_789_000)365 Weight::from_ref_time(30_749_000 as u64)
361 .saturating_add(RocksDbWeight::get().reads(3 as u64))366 .saturating_add(RocksDbWeight::get().reads(3 as u64))
362 .saturating_add(RocksDbWeight::get().writes(2 as u64))367 .saturating_add(RocksDbWeight::get().writes(2 as u64))
363 }368 }
366 // Storage: Refungible TotalSupply (r:1 w:0)371 // Storage: Refungible TotalSupply (r:1 w:0)
367 // Storage: Refungible Owned (r:0 w:1)372 // Storage: Refungible Owned (r:0 w:1)
368 fn transfer_creating() -> Weight {373 fn transfer_creating() -> Weight {
369 Weight::from_ref_time(32_893_000)374 Weight::from_ref_time(33_565_000 as u64)
370 .saturating_add(RocksDbWeight::get().reads(4 as u64))375 .saturating_add(RocksDbWeight::get().reads(4 as u64))
371 .saturating_add(RocksDbWeight::get().writes(4 as u64))376 .saturating_add(RocksDbWeight::get().writes(4 as u64))
372 }377 }
375 // Storage: Refungible TotalSupply (r:1 w:0)380 // Storage: Refungible TotalSupply (r:1 w:0)
376 // Storage: Refungible Owned (r:0 w:1)381 // Storage: Refungible Owned (r:0 w:1)
377 fn transfer_removing() -> Weight {382 fn transfer_removing() -> Weight {
378 Weight::from_ref_time(34_703_000)383 Weight::from_ref_time(37_406_000 as u64)
379 .saturating_add(RocksDbWeight::get().reads(4 as u64))384 .saturating_add(RocksDbWeight::get().reads(4 as u64))
380 .saturating_add(RocksDbWeight::get().writes(4 as u64))385 .saturating_add(RocksDbWeight::get().writes(4 as u64))
381 }386 }
384 // Storage: Refungible TotalSupply (r:1 w:0)389 // Storage: Refungible TotalSupply (r:1 w:0)
385 // Storage: Refungible Owned (r:0 w:2)390 // Storage: Refungible Owned (r:0 w:2)
386 fn transfer_creating_removing() -> Weight {391 fn transfer_creating_removing() -> Weight {
387 Weight::from_ref_time(37_547_000)392 Weight::from_ref_time(36_689_000 as u64)
388 .saturating_add(RocksDbWeight::get().reads(5 as u64))393 .saturating_add(RocksDbWeight::get().reads(5 as u64))
389 .saturating_add(RocksDbWeight::get().writes(6 as u64))394 .saturating_add(RocksDbWeight::get().writes(6 as u64))
390 }395 }
391 // Storage: Refungible Balance (r:1 w:0)396 // Storage: Refungible Balance (r:1 w:0)
392 // Storage: Refungible Allowance (r:0 w:1)397 // Storage: Refungible Allowance (r:0 w:1)
393 fn approve() -> Weight {398 fn approve() -> Weight {
394 Weight::from_ref_time(20_039_000)399 Weight::from_ref_time(23_177_000 as u64)
395 .saturating_add(RocksDbWeight::get().reads(1 as u64))400 .saturating_add(RocksDbWeight::get().reads(1 as u64))
396 .saturating_add(RocksDbWeight::get().writes(1 as u64))401 .saturating_add(RocksDbWeight::get().writes(1 as u64))
397 }402 }
398 // Storage: Refungible Allowance (r:1 w:1)403 // Storage: Refungible Allowance (r:1 w:1)
404 // Storage: Refungible CollectionAllowance (r:1 w:0)
399 // Storage: Refungible Balance (r:2 w:2)405 // Storage: Refungible Balance (r:2 w:2)
400 // Storage: Refungible TotalSupply (r:1 w:0)406 // Storage: Refungible TotalSupply (r:1 w:0)
401 fn transfer_from_normal() -> Weight {407 fn transfer_from_normal() -> Weight {
402 Weight::from_ref_time(37_628_000)408 Weight::from_ref_time(41_288_000 as u64)
403 .saturating_add(RocksDbWeight::get().reads(4 as u64))409 .saturating_add(RocksDbWeight::get().reads(5 as u64))
404 .saturating_add(RocksDbWeight::get().writes(3 as u64))410 .saturating_add(RocksDbWeight::get().writes(3 as u64))
405 }411 }
406 // Storage: Refungible Allowance (r:1 w:1)412 // Storage: Refungible Allowance (r:1 w:1)
413 // Storage: Refungible CollectionAllowance (r:1 w:0)
407 // Storage: Refungible Balance (r:2 w:2)414 // Storage: Refungible Balance (r:2 w:2)
408 // Storage: Refungible AccountBalance (r:1 w:1)415 // Storage: Refungible AccountBalance (r:1 w:1)
409 // Storage: Refungible TotalSupply (r:1 w:0)416 // Storage: Refungible TotalSupply (r:1 w:0)
410 // Storage: Refungible Owned (r:0 w:1)417 // Storage: Refungible Owned (r:0 w:1)
411 fn transfer_from_creating() -> Weight {418 fn transfer_from_creating() -> Weight {
412 Weight::from_ref_time(42_072_000)419 Weight::from_ref_time(44_807_000 as u64)
413 .saturating_add(RocksDbWeight::get().reads(5 as u64))420 .saturating_add(RocksDbWeight::get().reads(6 as u64))
414 .saturating_add(RocksDbWeight::get().writes(5 as u64))421 .saturating_add(RocksDbWeight::get().writes(5 as u64))
415 }422 }
416 // Storage: Refungible Allowance (r:1 w:1)423 // Storage: Refungible Allowance (r:1 w:1)
424 // Storage: Refungible CollectionAllowance (r:1 w:0)
417 // Storage: Refungible Balance (r:2 w:2)425 // Storage: Refungible Balance (r:2 w:2)
418 // Storage: Refungible AccountBalance (r:1 w:1)426 // Storage: Refungible AccountBalance (r:1 w:1)
419 // Storage: Refungible TotalSupply (r:1 w:0)427 // Storage: Refungible TotalSupply (r:1 w:0)
420 // Storage: Refungible Owned (r:0 w:1)428 // Storage: Refungible Owned (r:0 w:1)
421 fn transfer_from_removing() -> Weight {429 fn transfer_from_removing() -> Weight {
422 Weight::from_ref_time(43_024_000)430 Weight::from_ref_time(47_297_000 as u64)
423 .saturating_add(RocksDbWeight::get().reads(5 as u64))431 .saturating_add(RocksDbWeight::get().reads(6 as u64))
424 .saturating_add(RocksDbWeight::get().writes(5 as u64))432 .saturating_add(RocksDbWeight::get().writes(5 as u64))
425 }433 }
426 // Storage: Refungible Allowance (r:1 w:1)434 // Storage: Refungible Allowance (r:1 w:1)
435 // Storage: Refungible CollectionAllowance (r:1 w:0)
427 // Storage: Refungible Balance (r:2 w:2)436 // Storage: Refungible Balance (r:2 w:2)
428 // Storage: Refungible AccountBalance (r:2 w:2)437 // Storage: Refungible AccountBalance (r:2 w:2)
429 // Storage: Refungible TotalSupply (r:1 w:0)438 // Storage: Refungible TotalSupply (r:1 w:0)
430 // Storage: Refungible Owned (r:0 w:2)439 // Storage: Refungible Owned (r:0 w:2)
431 fn transfer_from_creating_removing() -> Weight {440 fn transfer_from_creating_removing() -> Weight {
432 Weight::from_ref_time(45_910_000)441 Weight::from_ref_time(47_566_000 as u64)
433 .saturating_add(RocksDbWeight::get().reads(6 as u64))442 .saturating_add(RocksDbWeight::get().reads(7 as u64))
434 .saturating_add(RocksDbWeight::get().writes(7 as u64))443 .saturating_add(RocksDbWeight::get().writes(7 as u64))
435 }444 }
436 // Storage: Refungible Allowance (r:1 w:1)445 // Storage: Refungible Allowance (r:1 w:1)
437 // Storage: Refungible TotalSupply (r:1 w:1)446 // Storage: Refungible CollectionAllowance (r:1 w:0)
438 // Storage: Refungible Balance (r:1 w:1)447 // Storage: Refungible Balance (r:1 w:1)
448 // Storage: Refungible TotalSupply (r:1 w:1)
439 // Storage: Refungible AccountBalance (r:1 w:1)449 // Storage: Refungible AccountBalance (r:1 w:1)
440 // Storage: Refungible TokensBurnt (r:1 w:1)450 // Storage: Refungible TokensBurnt (r:1 w:1)
441 // Storage: Refungible Owned (r:0 w:1)451 // Storage: Refungible Owned (r:0 w:1)
442 // Storage: Refungible TokenProperties (r:0 w:1)452 // Storage: Refungible TokenProperties (r:0 w:1)
443 fn burn_from() -> Weight {453 fn burn_from() -> Weight {
444 Weight::from_ref_time(48_584_000)454 Weight::from_ref_time(53_074_000 as u64)
445 .saturating_add(RocksDbWeight::get().reads(5 as u64))455 .saturating_add(RocksDbWeight::get().reads(6 as u64))
446 .saturating_add(RocksDbWeight::get().writes(7 as u64))456 .saturating_add(RocksDbWeight::get().writes(7 as u64))
447 }457 }
448 // Storage: Common CollectionPropertyPermissions (r:1 w:1)458 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
449 fn set_token_property_permissions(b: u32, ) -> Weight {459 fn set_token_property_permissions(b: u32, ) -> Weight {
450 (Weight::from_ref_time(0))460 Weight::from_ref_time(5_170_000 as u64)
451 // Standard Error: 60_000461 // Standard Error: 40_532
452 .saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))462 .saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64))
453 .saturating_add(RocksDbWeight::get().reads(1 as u64))463 .saturating_add(RocksDbWeight::get().reads(1 as u64))
454 .saturating_add(RocksDbWeight::get().writes(1 as u64))464 .saturating_add(RocksDbWeight::get().writes(1 as u64))
455 }465 }
456 // Storage: Common CollectionPropertyPermissions (r:1 w:0)466 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
457 // Storage: Refungible TokenProperties (r:1 w:1)467 // Storage: Refungible TokenProperties (r:1 w:1)
458 fn set_token_properties(b: u32, ) -> Weight {468 fn set_token_properties(b: u32, ) -> Weight {
459 (Weight::from_ref_time(0))469 Weight::from_ref_time(4_578_000 as u64)
460 // Standard Error: 3_609_000470 // Standard Error: 5_396_287
461 .saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))471 .saturating_add(Weight::from_ref_time(633_314_546 as u64).saturating_mul(b as u64))
462 .saturating_add(RocksDbWeight::get().reads(2 as u64))472 .saturating_add(RocksDbWeight::get().reads(2 as u64))
463 .saturating_add(RocksDbWeight::get().writes(1 as u64))473 .saturating_add(RocksDbWeight::get().writes(1 as u64))
464 }474 }
465 // Storage: Common CollectionPropertyPermissions (r:1 w:0)475 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
466 // Storage: Refungible TokenProperties (r:1 w:1)476 // Storage: Refungible TokenProperties (r:1 w:1)
467 fn delete_token_properties(b: u32, ) -> Weight {477 fn delete_token_properties(b: u32, ) -> Weight {
468 (Weight::from_ref_time(0))478 Weight::from_ref_time(4_583_000 as u64)
469 // Standard Error: 3_637_000479 // Standard Error: 5_762_380
470 .saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))480 .saturating_add(Weight::from_ref_time(696_007_076 as u64).saturating_mul(b as u64))
471 .saturating_add(RocksDbWeight::get().reads(2 as u64))481 .saturating_add(RocksDbWeight::get().reads(2 as u64))
472 .saturating_add(RocksDbWeight::get().writes(1 as u64))482 .saturating_add(RocksDbWeight::get().writes(1 as u64))
473 }483 }
474 // Storage: Refungible TotalSupply (r:1 w:1)484 // Storage: Refungible TotalSupply (r:1 w:1)
475 // Storage: Refungible Balance (r:1 w:1)485 // Storage: Refungible Balance (r:1 w:1)
476 fn repartition_item() -> Weight {486 fn repartition_item() -> Weight {
477 Weight::from_ref_time(22_356_000)487 Weight::from_ref_time(25_574_000 as u64)
478 .saturating_add(RocksDbWeight::get().reads(2 as u64))488 .saturating_add(RocksDbWeight::get().reads(2 as u64))
479 .saturating_add(RocksDbWeight::get().writes(2 as u64))489 .saturating_add(RocksDbWeight::get().writes(2 as u64))
480 }490 }
481 // Storage: Refungible Balance (r:2 w:0)491 // Storage: Refungible Balance (r:2 w:0)
482 fn token_owner() -> Weight {492 fn token_owner() -> Weight {
483 Weight::from_ref_time(9_431_000)493 Weight::from_ref_time(9_819_000 as u64)
484 .saturating_add(RocksDbWeight::get().reads(2 as u64))494 .saturating_add(RocksDbWeight::get().reads(2 as u64))
485 }495 }
486 // Storage: Refungible WalletOperator (r:0 w:1)496 // Storage: Refungible CollectionAllowance (r:0 w:1)
487 fn set_allowance_for_all() -> Weight {497 fn set_allowance_for_all() -> Weight {
488 Weight::from_ref_time(16_150_000 as u64)498 Weight::from_ref_time(16_228_000 as u64)
489 .saturating_add(RocksDbWeight::get().writes(1 as u64))499 .saturating_add(RocksDbWeight::get().writes(1 as u64))
490 }500 }
491 // Storage: Refungible WalletOperator (r:1 w:0)501 // Storage: Refungible CollectionAllowance (r:1 w:0)
492 fn allowance_for_all() -> Weight {502 fn allowance_for_all() -> Weight {
493 Weight::from_ref_time(5_901_000 as u64)503 Weight::from_ref_time(5_374_000 as u64)
494 .saturating_add(RocksDbWeight::get().reads(1 as u64))504 .saturating_add(RocksDbWeight::get().reads(1 as u64))
495 }505 }
496 // Storage: Refungible TokenProperties (r:1 w:1)506 // Storage: Refungible TokenProperties (r:1 w:1)
497 fn repair_item() -> Weight {507 fn repair_item() -> Weight {
498 Weight::from_ref_time(5_489_000 as u64)508 Weight::from_ref_time(5_624_000 as u64)
499 .saturating_add(RocksDbWeight::get().reads(1 as u64))509 .saturating_add(RocksDbWeight::get().reads(1 as u64))
500 .saturating_add(RocksDbWeight::get().writes(1 as u64))510 .saturating_add(RocksDbWeight::get().writes(1 as u64))
501 }511 }
modifiedpallets/structure/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_structure3//! Autogenerated weights for pallet_structure
4//!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-dev
6//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-12-26, 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: 1024
88
9// Executed Command:9// Executed Command:
26#![cfg_attr(rustfmt, rustfmt_skip)]26#![cfg_attr(rustfmt, rustfmt_skip)]
27#![allow(unused_parens)]27#![allow(unused_parens)]
28#![allow(unused_imports)]28#![allow(unused_imports)]
29#![allow(missing_docs)]
29#![allow(clippy::unnecessary_cast)]30#![allow(clippy::unnecessary_cast)]
3031
31use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
42 // Storage: Common CollectionById (r:1 w:0)43 // Storage: Common CollectionById (r:1 w:0)
43 // Storage: Nonfungible TokenData (r:1 w:0)44 // Storage: Nonfungible TokenData (r:1 w:0)
44 fn find_parent() -> Weight {45 fn find_parent() -> Weight {
45 Weight::from_ref_time(7_180_000)46 Weight::from_ref_time(11_355_000 as u64)
46 .saturating_add(T::DbWeight::get().reads(2 as u64))47 .saturating_add(T::DbWeight::get().reads(2 as u64))
47 }48 }
48}49}
52 // Storage: Common CollectionById (r:1 w:0)53 // Storage: Common CollectionById (r:1 w:0)
53 // Storage: Nonfungible TokenData (r:1 w:0)54 // Storage: Nonfungible TokenData (r:1 w:0)
54 fn find_parent() -> Weight {55 fn find_parent() -> Weight {
55 Weight::from_ref_time(7_180_000)56 Weight::from_ref_time(11_355_000 as u64)
56 .saturating_add(RocksDbWeight::get().reads(2 as u64))57 .saturating_add(RocksDbWeight::get().reads(2 as u64))
57 }58 }
58}59}
modifiedpallets/unique/src/benchmarking.rsdiffbeforeafterboth
143 };143 };
144 }: set_collection_limits(RawOrigin::Signed(caller.clone()), collection, cl)144 }: set_collection_limits(RawOrigin::Signed(caller.clone()), collection, cl)
145
146 force_repair_collection {
147 let caller: T::AccountId = account("caller", 0, SEED);
148 let collection = create_nft_collection::<T>(caller.clone())?;
149 }: _(RawOrigin::Root, collection)
145}150}
146151
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_unique3//! Autogenerated weights for pallet_unique
4//!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-dev
6//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-12-26, 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: 1024
88
9// Executed Command:9// Executed Command:
26#![cfg_attr(rustfmt, rustfmt_skip)]26#![cfg_attr(rustfmt, rustfmt_skip)]
27#![allow(unused_parens)]27#![allow(unused_parens)]
28#![allow(unused_imports)]28#![allow(unused_imports)]
29#![allow(missing_docs)]
29#![allow(clippy::unnecessary_cast)]30#![allow(clippy::unnecessary_cast)]
3031
31use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
58 // Storage: Common CollectionProperties (r:0 w:1)59 // Storage: Common CollectionProperties (r:0 w:1)
59 // Storage: Common CollectionById (r:0 w:1)60 // Storage: Common CollectionById (r:0 w:1)
60 fn create_collection() -> Weight {61 fn create_collection() -> Weight {
61 Weight::from_ref_time(43_143_000)62 Weight::from_ref_time(52_640_000 as u64)
62 .saturating_add(T::DbWeight::get().reads(4 as u64))63 .saturating_add(T::DbWeight::get().reads(4 as u64))
63 .saturating_add(T::DbWeight::get().writes(6 as u64))64 .saturating_add(T::DbWeight::get().writes(6 as u64))
64 }65 }
70 // Storage: Common AdminAmount (r:0 w:1)71 // Storage: Common AdminAmount (r:0 w:1)
71 // Storage: Common CollectionProperties (r:0 w:1)72 // Storage: Common CollectionProperties (r:0 w:1)
72 fn destroy_collection() -> Weight {73 fn destroy_collection() -> Weight {
73 Weight::from_ref_time(50_188_000)74 Weight::from_ref_time(63_934_000 as u64)
74 .saturating_add(T::DbWeight::get().reads(3 as u64))75 .saturating_add(T::DbWeight::get().reads(3 as u64))
75 .saturating_add(T::DbWeight::get().writes(6 as u64))76 .saturating_add(T::DbWeight::get().writes(6 as u64))
76 }77 }
77 // Storage: Common CollectionById (r:1 w:0)78 // Storage: Common CollectionById (r:1 w:0)
78 // Storage: Common Allowlist (r:0 w:1)79 // Storage: Common Allowlist (r:0 w:1)
79 fn add_to_allow_list() -> Weight {80 fn add_to_allow_list() -> Weight {
80 Weight::from_ref_time(18_238_000)81 Weight::from_ref_time(31_858_000 as u64)
81 .saturating_add(T::DbWeight::get().reads(1 as u64))82 .saturating_add(T::DbWeight::get().reads(1 as u64))
82 .saturating_add(T::DbWeight::get().writes(1 as u64))83 .saturating_add(T::DbWeight::get().writes(1 as u64))
83 }84 }
84 // Storage: Common CollectionById (r:1 w:0)85 // Storage: Common CollectionById (r:1 w:0)
85 // Storage: Common Allowlist (r:0 w:1)86 // Storage: Common Allowlist (r:0 w:1)
86 fn remove_from_allow_list() -> Weight {87 fn remove_from_allow_list() -> Weight {
87 Weight::from_ref_time(18_084_000)88 Weight::from_ref_time(27_634_000 as u64)
88 .saturating_add(T::DbWeight::get().reads(1 as u64))89 .saturating_add(T::DbWeight::get().reads(1 as u64))
89 .saturating_add(T::DbWeight::get().writes(1 as u64))90 .saturating_add(T::DbWeight::get().writes(1 as u64))
90 }91 }
91 // Storage: Common CollectionById (r:1 w:1)92 // Storage: Common CollectionById (r:1 w:1)
92 fn change_collection_owner() -> Weight {93 fn change_collection_owner() -> Weight {
93 Weight::from_ref_time(18_265_000)94 Weight::from_ref_time(25_212_000 as u64)
94 .saturating_add(T::DbWeight::get().reads(1 as u64))95 .saturating_add(T::DbWeight::get().reads(1 as u64))
95 .saturating_add(T::DbWeight::get().writes(1 as u64))96 .saturating_add(T::DbWeight::get().writes(1 as u64))
96 }97 }
97 // Storage: Common CollectionById (r:1 w:0)98 // Storage: Common CollectionById (r:1 w:0)
98 // Storage: Common IsAdmin (r:1 w:1)99 // Storage: Common IsAdmin (r:1 w:1)
99 // Storage: Common AdminAmount (r:1 w:1)100 // Storage: Common AdminAmount (r:1 w:1)
100 fn add_collection_admin() -> Weight {101 fn add_collection_admin() -> Weight {
101 Weight::from_ref_time(23_558_000)102 Weight::from_ref_time(29_307_000 as u64)
102 .saturating_add(T::DbWeight::get().reads(3 as u64))103 .saturating_add(T::DbWeight::get().reads(3 as u64))
103 .saturating_add(T::DbWeight::get().writes(2 as u64))104 .saturating_add(T::DbWeight::get().writes(2 as u64))
104 }105 }
105 // Storage: Common CollectionById (r:1 w:0)106 // Storage: Common CollectionById (r:1 w:0)
106 // Storage: Common IsAdmin (r:1 w:1)107 // Storage: Common IsAdmin (r:1 w:1)
107 // Storage: Common AdminAmount (r:1 w:1)108 // Storage: Common AdminAmount (r:1 w:1)
108 fn remove_collection_admin() -> Weight {109 fn remove_collection_admin() -> Weight {
109 Weight::from_ref_time(25_285_000)110 Weight::from_ref_time(32_592_000 as u64)
110 .saturating_add(T::DbWeight::get().reads(3 as u64))111 .saturating_add(T::DbWeight::get().reads(3 as u64))
111 .saturating_add(T::DbWeight::get().writes(2 as u64))112 .saturating_add(T::DbWeight::get().writes(2 as u64))
112 }113 }
113 // Storage: Common CollectionById (r:1 w:1)114 // Storage: Common CollectionById (r:1 w:1)
114 fn set_collection_sponsor() -> Weight {115 fn set_collection_sponsor() -> Weight {
115 Weight::from_ref_time(17_885_000)116 Weight::from_ref_time(25_438_000 as u64)
116 .saturating_add(T::DbWeight::get().reads(1 as u64))117 .saturating_add(T::DbWeight::get().reads(1 as u64))
117 .saturating_add(T::DbWeight::get().writes(1 as u64))118 .saturating_add(T::DbWeight::get().writes(1 as u64))
118 }119 }
119 // Storage: Common CollectionById (r:1 w:1)120 // Storage: Common CollectionById (r:1 w:1)
120 fn confirm_sponsorship() -> Weight {121 fn confirm_sponsorship() -> Weight {
121 Weight::from_ref_time(17_897_000)122 Weight::from_ref_time(24_965_000 as u64)
122 .saturating_add(T::DbWeight::get().reads(1 as u64))123 .saturating_add(T::DbWeight::get().reads(1 as u64))
123 .saturating_add(T::DbWeight::get().writes(1 as u64))124 .saturating_add(T::DbWeight::get().writes(1 as u64))
124 }125 }
125 // Storage: Common CollectionById (r:1 w:1)126 // Storage: Common CollectionById (r:1 w:1)
126 fn remove_collection_sponsor() -> Weight {127 fn remove_collection_sponsor() -> Weight {
127 Weight::from_ref_time(17_836_000)128 Weight::from_ref_time(25_094_000 as u64)
128 .saturating_add(T::DbWeight::get().reads(1 as u64))129 .saturating_add(T::DbWeight::get().reads(1 as u64))
129 .saturating_add(T::DbWeight::get().writes(1 as u64))130 .saturating_add(T::DbWeight::get().writes(1 as u64))
130 }131 }
131 // Storage: Common CollectionById (r:1 w:1)132 // Storage: Common CollectionById (r:1 w:1)
132 fn set_transfers_enabled_flag() -> Weight {133 fn set_transfers_enabled_flag() -> Weight {
133 Weight::from_ref_time(9_714_000)134 Weight::from_ref_time(12_800_000 as u64)
134 .saturating_add(T::DbWeight::get().reads(1 as u64))135 .saturating_add(T::DbWeight::get().reads(1 as u64))
135 .saturating_add(T::DbWeight::get().writes(1 as u64))136 .saturating_add(T::DbWeight::get().writes(1 as u64))
136 }137 }
137 // Storage: Common CollectionById (r:1 w:1)138 // Storage: Common CollectionById (r:1 w:1)
138 fn set_collection_limits() -> Weight {139 fn set_collection_limits() -> Weight {
139 Weight::from_ref_time(18_166_000)140 Weight::from_ref_time(25_908_000 as u64)
140 .saturating_add(T::DbWeight::get().reads(1 as u64))141 .saturating_add(T::DbWeight::get().reads(1 as u64))
141 .saturating_add(T::DbWeight::get().writes(1 as u64))142 .saturating_add(T::DbWeight::get().writes(1 as u64))
142 }143 }
143 // Storage: Common CollectionProperties (r:1 w:1)144 // Storage: Common CollectionProperties (r:1 w:1)
144 fn force_repair_collection() -> Weight {145 fn force_repair_collection() -> Weight {
145 Weight::from_ref_time(5_701_000 as u64)146 Weight::from_ref_time(10_598_000 as u64)
146 .saturating_add(T::DbWeight::get().reads(1 as u64))147 .saturating_add(T::DbWeight::get().reads(1 as u64))
147 .saturating_add(T::DbWeight::get().writes(1 as u64))148 .saturating_add(T::DbWeight::get().writes(1 as u64))
148 }149 }
157 // Storage: Common CollectionProperties (r:0 w:1)158 // Storage: Common CollectionProperties (r:0 w:1)
158 // Storage: Common CollectionById (r:0 w:1)159 // Storage: Common CollectionById (r:0 w:1)
159 fn create_collection() -> Weight {160 fn create_collection() -> Weight {
160 Weight::from_ref_time(43_143_000)161 Weight::from_ref_time(52_640_000 as u64)
161 .saturating_add(RocksDbWeight::get().reads(4 as u64))162 .saturating_add(RocksDbWeight::get().reads(4 as u64))
162 .saturating_add(RocksDbWeight::get().writes(6 as u64))163 .saturating_add(RocksDbWeight::get().writes(6 as u64))
163 }164 }
169 // Storage: Common AdminAmount (r:0 w:1)170 // Storage: Common AdminAmount (r:0 w:1)
170 // Storage: Common CollectionProperties (r:0 w:1)171 // Storage: Common CollectionProperties (r:0 w:1)
171 fn destroy_collection() -> Weight {172 fn destroy_collection() -> Weight {
172 Weight::from_ref_time(50_188_000)173 Weight::from_ref_time(63_934_000 as u64)
173 .saturating_add(RocksDbWeight::get().reads(3 as u64))174 .saturating_add(RocksDbWeight::get().reads(3 as u64))
174 .saturating_add(RocksDbWeight::get().writes(6 as u64))175 .saturating_add(RocksDbWeight::get().writes(6 as u64))
175 }176 }
176 // Storage: Common CollectionById (r:1 w:0)177 // Storage: Common CollectionById (r:1 w:0)
177 // Storage: Common Allowlist (r:0 w:1)178 // Storage: Common Allowlist (r:0 w:1)
178 fn add_to_allow_list() -> Weight {179 fn add_to_allow_list() -> Weight {
179 Weight::from_ref_time(18_238_000)180 Weight::from_ref_time(31_858_000 as u64)
180 .saturating_add(RocksDbWeight::get().reads(1 as u64))181 .saturating_add(RocksDbWeight::get().reads(1 as u64))
181 .saturating_add(RocksDbWeight::get().writes(1 as u64))182 .saturating_add(RocksDbWeight::get().writes(1 as u64))
182 }183 }
183 // Storage: Common CollectionById (r:1 w:0)184 // Storage: Common CollectionById (r:1 w:0)
184 // Storage: Common Allowlist (r:0 w:1)185 // Storage: Common Allowlist (r:0 w:1)
185 fn remove_from_allow_list() -> Weight {186 fn remove_from_allow_list() -> Weight {
186 Weight::from_ref_time(18_084_000)187 Weight::from_ref_time(27_634_000 as u64)
187 .saturating_add(RocksDbWeight::get().reads(1 as u64))188 .saturating_add(RocksDbWeight::get().reads(1 as u64))
188 .saturating_add(RocksDbWeight::get().writes(1 as u64))189 .saturating_add(RocksDbWeight::get().writes(1 as u64))
189 }190 }
190 // Storage: Common CollectionById (r:1 w:1)191 // Storage: Common CollectionById (r:1 w:1)
191 fn change_collection_owner() -> Weight {192 fn change_collection_owner() -> Weight {
192 Weight::from_ref_time(18_265_000)193 Weight::from_ref_time(25_212_000 as u64)
193 .saturating_add(RocksDbWeight::get().reads(1 as u64))194 .saturating_add(RocksDbWeight::get().reads(1 as u64))
194 .saturating_add(RocksDbWeight::get().writes(1 as u64))195 .saturating_add(RocksDbWeight::get().writes(1 as u64))
195 }196 }
196 // Storage: Common CollectionById (r:1 w:0)197 // Storage: Common CollectionById (r:1 w:0)
197 // Storage: Common IsAdmin (r:1 w:1)198 // Storage: Common IsAdmin (r:1 w:1)
198 // Storage: Common AdminAmount (r:1 w:1)199 // Storage: Common AdminAmount (r:1 w:1)
199 fn add_collection_admin() -> Weight {200 fn add_collection_admin() -> Weight {
200 Weight::from_ref_time(23_558_000)201 Weight::from_ref_time(29_307_000 as u64)
201 .saturating_add(RocksDbWeight::get().reads(3 as u64))202 .saturating_add(RocksDbWeight::get().reads(3 as u64))
202 .saturating_add(RocksDbWeight::get().writes(2 as u64))203 .saturating_add(RocksDbWeight::get().writes(2 as u64))
203 }204 }
204 // Storage: Common CollectionById (r:1 w:0)205 // Storage: Common CollectionById (r:1 w:0)
205 // Storage: Common IsAdmin (r:1 w:1)206 // Storage: Common IsAdmin (r:1 w:1)
206 // Storage: Common AdminAmount (r:1 w:1)207 // Storage: Common AdminAmount (r:1 w:1)
207 fn remove_collection_admin() -> Weight {208 fn remove_collection_admin() -> Weight {
208 Weight::from_ref_time(25_285_000)209 Weight::from_ref_time(32_592_000 as u64)
209 .saturating_add(RocksDbWeight::get().reads(3 as u64))210 .saturating_add(RocksDbWeight::get().reads(3 as u64))
210 .saturating_add(RocksDbWeight::get().writes(2 as u64))211 .saturating_add(RocksDbWeight::get().writes(2 as u64))
211 }212 }
212 // Storage: Common CollectionById (r:1 w:1)213 // Storage: Common CollectionById (r:1 w:1)
213 fn set_collection_sponsor() -> Weight {214 fn set_collection_sponsor() -> Weight {
214 Weight::from_ref_time(17_885_000)215 Weight::from_ref_time(25_438_000 as u64)
215 .saturating_add(RocksDbWeight::get().reads(1 as u64))216 .saturating_add(RocksDbWeight::get().reads(1 as u64))
216 .saturating_add(RocksDbWeight::get().writes(1 as u64))217 .saturating_add(RocksDbWeight::get().writes(1 as u64))
217 }218 }
218 // Storage: Common CollectionById (r:1 w:1)219 // Storage: Common CollectionById (r:1 w:1)
219 fn confirm_sponsorship() -> Weight {220 fn confirm_sponsorship() -> Weight {
220 Weight::from_ref_time(17_897_000)221 Weight::from_ref_time(24_965_000 as u64)
221 .saturating_add(RocksDbWeight::get().reads(1 as u64))222 .saturating_add(RocksDbWeight::get().reads(1 as u64))
222 .saturating_add(RocksDbWeight::get().writes(1 as u64))223 .saturating_add(RocksDbWeight::get().writes(1 as u64))
223 }224 }
224 // Storage: Common CollectionById (r:1 w:1)225 // Storage: Common CollectionById (r:1 w:1)
225 fn remove_collection_sponsor() -> Weight {226 fn remove_collection_sponsor() -> Weight {
226 Weight::from_ref_time(17_836_000)227 Weight::from_ref_time(25_094_000 as u64)
227 .saturating_add(RocksDbWeight::get().reads(1 as u64))228 .saturating_add(RocksDbWeight::get().reads(1 as u64))
228 .saturating_add(RocksDbWeight::get().writes(1 as u64))229 .saturating_add(RocksDbWeight::get().writes(1 as u64))
229 }230 }
230 // Storage: Common CollectionById (r:1 w:1)231 // Storage: Common CollectionById (r:1 w:1)
231 fn set_transfers_enabled_flag() -> Weight {232 fn set_transfers_enabled_flag() -> Weight {
232 Weight::from_ref_time(9_714_000)233 Weight::from_ref_time(12_800_000 as u64)
233 .saturating_add(RocksDbWeight::get().reads(1 as u64))234 .saturating_add(RocksDbWeight::get().reads(1 as u64))
234 .saturating_add(RocksDbWeight::get().writes(1 as u64))235 .saturating_add(RocksDbWeight::get().writes(1 as u64))
235 }236 }
236 // Storage: Common CollectionById (r:1 w:1)237 // Storage: Common CollectionById (r:1 w:1)
237 fn set_collection_limits() -> Weight {238 fn set_collection_limits() -> Weight {
238 Weight::from_ref_time(18_166_000)239 Weight::from_ref_time(25_908_000 as u64)
239 .saturating_add(RocksDbWeight::get().reads(1 as u64))240 .saturating_add(RocksDbWeight::get().reads(1 as u64))
240 .saturating_add(RocksDbWeight::get().writes(1 as u64))241 .saturating_add(RocksDbWeight::get().writes(1 as u64))
241 }242 }
242 // Storage: Common CollectionProperties (r:1 w:1)243 // Storage: Common CollectionProperties (r:1 w:1)
243 fn force_repair_collection() -> Weight {244 fn force_repair_collection() -> Weight {
244 Weight::from_ref_time(5_701_000 as u64)245 Weight::from_ref_time(10_598_000 as u64)
245 .saturating_add(RocksDbWeight::get().reads(1 as u64))246 .saturating_add(RocksDbWeight::get().reads(1 as u64))
246 .saturating_add(RocksDbWeight::get().writes(1 as u64))247 .saturating_add(RocksDbWeight::get().writes(1 as u64))
247 }248 }