git.delta.rocks / unique-network / refs/commits / e589ae5ff79d

difftreelog

chore re-run benchmarks

Igor Kozyrev2022-06-15parent: #a5c6ddf.patch.diff
in: master

11 files changed

modifiedMakefilediffbeforeafterboth
60.PHONY: _bench60.PHONY: _bench
61_bench:61_bench:
62 cargo run --release --features runtime-benchmarks,unique-runtime -- \62 cargo run --release --features runtime-benchmarks,unique-runtime -- \
63 benchmark pallet --pallet pallet-$(PALLET) \63 benchmark pallet --pallet pallet-$(if $(PALLET),$(PALLET),$(error Must set PALLET)) \
64 --wasm-execution compiled --extrinsic '*' \64 --wasm-execution compiled --extrinsic '*' \
65 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \65 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=80 --heap-pages=4096 \
66 --output=./pallets/$(PALLET)/src/weights.rs66 --output=./pallets/$(if $(PALLET_DIR),$(PALLET_DIR),$(PALLET))/src/weights.rs
67
68.PHONY: _bench2
69_bench2:
70 cargo run --release --features runtime-benchmarks,unique-runtime -- \
71 benchmark pallet --pallet pallet-$(PALLET) \
72 --wasm-execution compiled --extrinsic '*' \
73 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
74 --output=./pallets/$(PALLET_DIR)/src/weights.rs
7567
76.PHONY: bench-evm-migration68.PHONY: bench-evm-migration
77bench-evm-migration:69bench-evm-migration:
10395
104.PHONY: bench-scheduler96.PHONY: bench-scheduler
105bench-scheduler:97bench-scheduler:
106 make _bench2 PALLET=unique-scheduler PALLET_DIR=scheduler98 make _bench PALLET=unique-scheduler PALLET_DIR=scheduler
10799
108.PHONY: bench-rmrk-core100.PHONY: bench-rmrk-core
109bench-rmrk-core:101bench-rmrk-core:
modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
100 restricted: None,100 restricted: None,
101 permissive: true,101 permissive: true,
102 }),102 }),
103 mint_mode: Some(true),
103 ..Default::default()104 ..Default::default()
104 }),105 }),
105 ..Default::default()106 ..Default::default()
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
1212 limit_default_clone!(old_limit, new_limit,1212 limit_default_clone!(old_limit, new_limit,
1213 access => {},1213 access => {},
1214 mint_mode => {},1214 mint_mode => {},
1215 nesting => ensure!(1215 nesting => {
1216 #[cfg(not(feature = "runtime-benchmarks"))]
1217 ensure!(
1216 // Permissive is only allowed for tests and internal usage of chain for now1218 // Permissive is only allowed for tests and internal usage of chain for now
1217 old_limit.permissive || !new_limit.permissive,1219 old_limit.permissive || !new_limit.permissive,
1218 <Error<T>>::NoPermission,1220 <Error<T>>::NoPermission,
1219 ),1221 )
1222 },
1220 );1223 );
1221 Ok(new_limit)1224 Ok(new_limit)
1222 }1225 }
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-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, 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:
10// target/release/unique-collator10// target/release/unique-collator
11// benchmark11// benchmark
12// pallet
12// --pallet13// --pallet
13// pallet-evm-migration14// pallet-evm-migration
14// --wasm-execution15// --wasm-execution
44 // Storage: System Account (r:1 w:0)45 // Storage: System Account (r:1 w:0)
45 // Storage: EVM AccountCodes (r:1 w:0)46 // Storage: EVM AccountCodes (r:1 w:0)
46 fn begin() -> Weight {47 fn begin() -> Weight {
47 (6_441_000 as Weight)48 (6_914_000 as Weight)
48 .saturating_add(T::DbWeight::get().reads(3 as Weight))49 .saturating_add(T::DbWeight::get().reads(3 as Weight))
49 .saturating_add(T::DbWeight::get().writes(1 as Weight))50 .saturating_add(T::DbWeight::get().writes(1 as Weight))
50 }51 }
51 // Storage: EvmMigration MigrationPending (r:1 w:0)52 // Storage: EvmMigration MigrationPending (r:1 w:0)
52 // Storage: EVM AccountStorages (r:0 w:1)53 // Storage: EVM AccountStorages (r:0 w:1)
53 fn set_data(b: u32, ) -> Weight {54 fn set_data(b: u32, ) -> Weight {
54 (3_424_000 as Weight)55 (2_875_000 as Weight)
55 // Standard Error: 056 // Standard Error: 0
56 .saturating_add((973_000 as Weight).saturating_mul(b as Weight))57 .saturating_add((794_000 as Weight).saturating_mul(b as Weight))
57 .saturating_add(T::DbWeight::get().reads(1 as Weight))58 .saturating_add(T::DbWeight::get().reads(1 as Weight))
58 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))59 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
59 }60 }
60 // Storage: EvmMigration MigrationPending (r:1 w:1)61 // Storage: EvmMigration MigrationPending (r:1 w:1)
61 // Storage: EVM AccountCodes (r:0 w:1)62 // Storage: EVM AccountCodes (r:0 w:1)
62 fn finish(b: u32, ) -> Weight {63 fn finish(b: u32, ) -> Weight {
63 (4_702_000 as Weight)64 (6_320_000 as Weight)
64 // Standard Error: 065 // Standard Error: 0
65 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))66 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
66 .saturating_add(T::DbWeight::get().reads(1 as Weight))67 .saturating_add(T::DbWeight::get().reads(1 as Weight))
74 // Storage: System Account (r:1 w:0)75 // Storage: System Account (r:1 w:0)
75 // Storage: EVM AccountCodes (r:1 w:0)76 // Storage: EVM AccountCodes (r:1 w:0)
76 fn begin() -> Weight {77 fn begin() -> Weight {
77 (6_441_000 as Weight)78 (6_914_000 as Weight)
78 .saturating_add(RocksDbWeight::get().reads(3 as Weight))79 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
79 .saturating_add(RocksDbWeight::get().writes(1 as Weight))80 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
80 }81 }
81 // Storage: EvmMigration MigrationPending (r:1 w:0)82 // Storage: EvmMigration MigrationPending (r:1 w:0)
82 // Storage: EVM AccountStorages (r:0 w:1)83 // Storage: EVM AccountStorages (r:0 w:1)
83 fn set_data(b: u32, ) -> Weight {84 fn set_data(b: u32, ) -> Weight {
84 (3_424_000 as Weight)85 (2_875_000 as Weight)
85 // Standard Error: 086 // Standard Error: 0
86 .saturating_add((973_000 as Weight).saturating_mul(b as Weight))87 .saturating_add((794_000 as Weight).saturating_mul(b as Weight))
87 .saturating_add(RocksDbWeight::get().reads(1 as Weight))88 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
88 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))89 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
89 }90 }
90 // Storage: EvmMigration MigrationPending (r:1 w:1)91 // Storage: EvmMigration MigrationPending (r:1 w:1)
91 // Storage: EVM AccountCodes (r:0 w:1)92 // Storage: EVM AccountCodes (r:0 w:1)
92 fn finish(b: u32, ) -> Weight {93 fn finish(b: u32, ) -> Weight {
93 (4_702_000 as Weight)94 (6_320_000 as Weight)
94 // Standard Error: 095 // Standard Error: 0
95 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))96 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
96 .saturating_add(RocksDbWeight::get().reads(1 as Weight))97 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
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-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
11// benchmark11// benchmark
12// pallet
12// --pallet13// --pallet
13// pallet-fungible14// pallet-fungible
14// --wasm-execution15// --wasm-execution
18// --template19// --template
19// .maintain/frame-weight-template.hbs20// .maintain/frame-weight-template.hbs
20// --steps=5021// --steps=50
21// --repeat=20022// --repeat=80
22// --heap-pages=409623// --heap-pages=4096
23// --output=./pallets/fungible/src/weights.rs24// --output=./pallets/fungible/src/weights.rs
2425
47 // Storage: Fungible TotalSupply (r:1 w:1)48 // Storage: Fungible TotalSupply (r:1 w:1)
48 // Storage: Fungible Balance (r:1 w:1)49 // Storage: Fungible Balance (r:1 w:1)
49 fn create_item() -> Weight {50 fn create_item() -> Weight {
50 (14_407_000 as Weight)51 (17_828_000 as Weight)
51 .saturating_add(T::DbWeight::get().reads(2 as Weight))52 .saturating_add(T::DbWeight::get().reads(2 as Weight))
52 .saturating_add(T::DbWeight::get().writes(2 as Weight))53 .saturating_add(T::DbWeight::get().writes(2 as Weight))
53 }54 }
54 // Storage: Fungible TotalSupply (r:1 w:1)55 // Storage: Fungible TotalSupply (r:1 w:1)
55 // Storage: Fungible Balance (r:4 w:4)56 // Storage: Fungible Balance (r:4 w:4)
56 fn create_multiple_items_ex(b: u32, ) -> Weight {57 fn create_multiple_items_ex(b: u32, ) -> Weight {
57 (13_030_000 as Weight)58 (17_574_000 as Weight)
58 // Standard Error: 1_00059 // Standard Error: 3_000
59 .saturating_add((3_779_000 as Weight).saturating_mul(b as Weight))60 .saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
60 .saturating_add(T::DbWeight::get().reads(1 as Weight))61 .saturating_add(T::DbWeight::get().reads(1 as Weight))
61 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))62 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
62 .saturating_add(T::DbWeight::get().writes(1 as Weight))63 .saturating_add(T::DbWeight::get().writes(1 as Weight))
65 // Storage: Fungible TotalSupply (r:1 w:1)66 // Storage: Fungible TotalSupply (r:1 w:1)
66 // Storage: Fungible Balance (r:1 w:1)67 // Storage: Fungible Balance (r:1 w:1)
67 fn burn_item() -> Weight {68 fn burn_item() -> Weight {
68 (15_565_000 as Weight)69 (18_417_000 as Weight)
69 .saturating_add(T::DbWeight::get().reads(2 as Weight))70 .saturating_add(T::DbWeight::get().reads(2 as Weight))
70 .saturating_add(T::DbWeight::get().writes(2 as Weight))71 .saturating_add(T::DbWeight::get().writes(2 as Weight))
71 }72 }
72
73 // Storage: Fungible Balance (r:2 w:2)73 // Storage: Fungible Balance (r:2 w:2)
74 fn transfer() -> Weight {74 fn transfer() -> Weight {
75 (17_713_000 as Weight)75 (20_090_000 as Weight)
76 .saturating_add(T::DbWeight::get().reads(2 as Weight))76 .saturating_add(T::DbWeight::get().reads(2 as Weight))
77 .saturating_add(T::DbWeight::get().writes(2 as Weight))77 .saturating_add(T::DbWeight::get().writes(2 as Weight))
78 }78 }
79 // Storage: Fungible Balance (r:1 w:0)79 // Storage: Fungible Balance (r:1 w:0)
80 // Storage: Fungible Allowance (r:0 w:1)80 // Storage: Fungible Allowance (r:0 w:1)
81 fn approve() -> Weight {81 fn approve() -> Weight {
82 (14_834_000 as Weight)82 (17_532_000 as Weight)
83 .saturating_add(T::DbWeight::get().reads(1 as Weight))83 .saturating_add(T::DbWeight::get().reads(1 as Weight))
84 .saturating_add(T::DbWeight::get().writes(1 as Weight))84 .saturating_add(T::DbWeight::get().writes(1 as Weight))
85 }85 }
86 // Storage: Fungible Allowance (r:1 w:1)86 // Storage: Fungible Allowance (r:1 w:1)
87 // Storage: Fungible Balance (r:2 w:2)87 // Storage: Fungible Balance (r:2 w:2)
88 fn transfer_from() -> Weight {88 fn transfer_from() -> Weight {
89 (25_189_000 as Weight)89 (29_869_000 as Weight)
90 .saturating_add(T::DbWeight::get().reads(3 as Weight))90 .saturating_add(T::DbWeight::get().reads(3 as Weight))
91 .saturating_add(T::DbWeight::get().writes(3 as Weight))91 .saturating_add(T::DbWeight::get().writes(3 as Weight))
92 }92 }
93 // Storage: Fungible Allowance (r:1 w:1)93 // Storage: Fungible Allowance (r:1 w:1)
94 // Storage: Fungible TotalSupply (r:1 w:1)94 // Storage: Fungible TotalSupply (r:1 w:1)
95 // Storage: Fungible Balance (r:1 w:1)95 // Storage: Fungible Balance (r:1 w:1)
96 fn burn_from() -> Weight {96 fn burn_from() -> Weight {
97 (24_065_000 as Weight)97 (27_835_000 as Weight)
98 .saturating_add(T::DbWeight::get().reads(3 as Weight))98 .saturating_add(T::DbWeight::get().reads(3 as Weight))
99 .saturating_add(T::DbWeight::get().writes(3 as Weight))99 .saturating_add(T::DbWeight::get().writes(3 as Weight))
100 }100 }
105 // Storage: Fungible TotalSupply (r:1 w:1)105 // Storage: Fungible TotalSupply (r:1 w:1)
106 // Storage: Fungible Balance (r:1 w:1)106 // Storage: Fungible Balance (r:1 w:1)
107 fn create_item() -> Weight {107 fn create_item() -> Weight {
108 (14_407_000 as Weight)108 (17_828_000 as Weight)
109 .saturating_add(RocksDbWeight::get().reads(2 as Weight))109 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
110 .saturating_add(RocksDbWeight::get().writes(2 as Weight))110 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
111 }111 }
112 // Storage: Fungible TotalSupply (r:1 w:1)112 // Storage: Fungible TotalSupply (r:1 w:1)
113 // Storage: Fungible Balance (r:4 w:4)113 // Storage: Fungible Balance (r:4 w:4)
114 fn create_multiple_items_ex(b: u32, ) -> Weight {114 fn create_multiple_items_ex(b: u32, ) -> Weight {
115 (13_030_000 as Weight)115 (17_574_000 as Weight)
116 // Standard Error: 1_000116 // Standard Error: 3_000
117 .saturating_add((3_779_000 as Weight).saturating_mul(b as Weight))117 .saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
118 .saturating_add(RocksDbWeight::get().reads(1 as Weight))118 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
119 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))119 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
120 .saturating_add(RocksDbWeight::get().writes(1 as Weight))120 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
123 // Storage: Fungible TotalSupply (r:1 w:1)123 // Storage: Fungible TotalSupply (r:1 w:1)
124 // Storage: Fungible Balance (r:1 w:1)124 // Storage: Fungible Balance (r:1 w:1)
125 fn burn_item() -> Weight {125 fn burn_item() -> Weight {
126 (15_565_000 as Weight)126 (18_417_000 as Weight)
127 .saturating_add(RocksDbWeight::get().reads(2 as Weight))127 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
128 .saturating_add(RocksDbWeight::get().writes(2 as Weight))128 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
129 }129 }
130
131 // Storage: Fungible Balance (r:2 w:2)130 // Storage: Fungible Balance (r:2 w:2)
132 fn transfer() -> Weight {131 fn transfer() -> Weight {
133 (17_713_000 as Weight)132 (20_090_000 as Weight)
134 .saturating_add(RocksDbWeight::get().reads(2 as Weight))133 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
135 .saturating_add(RocksDbWeight::get().writes(2 as Weight))134 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
136 }135 }
137 // Storage: Fungible Balance (r:1 w:0)136 // Storage: Fungible Balance (r:1 w:0)
138 // Storage: Fungible Allowance (r:0 w:1)137 // Storage: Fungible Allowance (r:0 w:1)
139 fn approve() -> Weight {138 fn approve() -> Weight {
140 (14_834_000 as Weight)139 (17_532_000 as Weight)
141 .saturating_add(RocksDbWeight::get().reads(1 as Weight))140 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
142 .saturating_add(RocksDbWeight::get().writes(1 as Weight))141 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
143 }142 }
144 // Storage: Fungible Allowance (r:1 w:1)143 // Storage: Fungible Allowance (r:1 w:1)
145 // Storage: Fungible Balance (r:2 w:2)144 // Storage: Fungible Balance (r:2 w:2)
146 fn transfer_from() -> Weight {145 fn transfer_from() -> Weight {
147 (25_189_000 as Weight)146 (29_869_000 as Weight)
148 .saturating_add(RocksDbWeight::get().reads(3 as Weight))147 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
149 .saturating_add(RocksDbWeight::get().writes(3 as Weight))148 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
150 }149 }
151 // Storage: Fungible Allowance (r:1 w:1)150 // Storage: Fungible Allowance (r:1 w:1)
152 // Storage: Fungible TotalSupply (r:1 w:1)151 // Storage: Fungible TotalSupply (r:1 w:1)
153 // Storage: Fungible Balance (r:1 w:1)152 // Storage: Fungible Balance (r:1 w:1)
154 fn burn_from() -> Weight {153 fn burn_from() -> Weight {
155 (24_065_000 as Weight)154 (27_835_000 as Weight)
156 .saturating_add(RocksDbWeight::get().reads(3 as Weight))155 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
157 .saturating_add(RocksDbWeight::get().writes(3 as Weight))156 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
158 }157 }
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-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
11// benchmark11// benchmark
12// pallet
12// --pallet13// --pallet
13// pallet-nonfungible14// pallet-nonfungible
14// --wasm-execution15// --wasm-execution
18// --template19// --template
19// .maintain/frame-weight-template.hbs20// .maintain/frame-weight-template.hbs
20// --steps=5021// --steps=50
21// --repeat=20022// --repeat=80
22// --heap-pages=409623// --heap-pages=4096
23// --output=./pallets/nonfungible/src/weights.rs24// --output=./pallets/nonfungible/src/weights.rs
2425
55 // Storage: Nonfungible TokenData (r:0 w:1)56 // Storage: Nonfungible TokenData (r:0 w:1)
56 // Storage: Nonfungible Owned (r:0 w:1)57 // Storage: Nonfungible Owned (r:0 w:1)
57 fn create_item() -> Weight {58 fn create_item() -> Weight {
58 (18_450_000 as Weight)59 (24_135_000 as Weight)
59 .saturating_add(T::DbWeight::get().reads(2 as Weight))60 .saturating_add(T::DbWeight::get().reads(2 as Weight))
60 .saturating_add(T::DbWeight::get().writes(4 as Weight))61 .saturating_add(T::DbWeight::get().writes(4 as Weight))
61 }62 }
64 // Storage: Nonfungible TokenData (r:0 w:4)65 // Storage: Nonfungible TokenData (r:0 w:4)
65 // Storage: Nonfungible Owned (r:0 w:4)66 // Storage: Nonfungible Owned (r:0 w:4)
66 fn create_multiple_items(b: u32, ) -> Weight {67 fn create_multiple_items(b: u32, ) -> Weight {
67 (10_228_000 as Weight)68 (21_952_000 as Weight)
68 // Standard Error: 1_00069 // Standard Error: 5_000
69 .saturating_add((4_392_000 as Weight).saturating_mul(b as Weight))70 .saturating_add((4_727_000 as Weight).saturating_mul(b as Weight))
70 .saturating_add(T::DbWeight::get().reads(2 as Weight))71 .saturating_add(T::DbWeight::get().reads(2 as Weight))
71 .saturating_add(T::DbWeight::get().writes(2 as Weight))72 .saturating_add(T::DbWeight::get().writes(2 as Weight))
72 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))73 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
76 // Storage: Nonfungible TokenData (r:0 w:4)77 // Storage: Nonfungible TokenData (r:0 w:4)
77 // Storage: Nonfungible Owned (r:0 w:4)78 // Storage: Nonfungible Owned (r:0 w:4)
78 fn create_multiple_items_ex(b: u32, ) -> Weight {79 fn create_multiple_items_ex(b: u32, ) -> Weight {
79 (6_543_000 as Weight)80 (10_432_000 as Weight)
80 // Standard Error: 2_00081 // Standard Error: 6_000
81 .saturating_add((7_175_000 as Weight).saturating_mul(b as Weight))82 .saturating_add((7_383_000 as Weight).saturating_mul(b as Weight))
82 .saturating_add(T::DbWeight::get().reads(1 as Weight))83 .saturating_add(T::DbWeight::get().reads(1 as Weight))
83 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))84 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
84 .saturating_add(T::DbWeight::get().writes(1 as Weight))85 .saturating_add(T::DbWeight::get().writes(1 as Weight))
85 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))86 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
86 }87 }
87 // Storage: Nonfungible TokenData (r:1 w:1)88 // Storage: Nonfungible TokenData (r:1 w:1)
89 // Storage: Nonfungible TokenChildren (r:1 w:0)
88 // Storage: Nonfungible TokensBurnt (r:1 w:1)90 // Storage: Nonfungible TokensBurnt (r:1 w:1)
89 // Storage: Nonfungible AccountBalance (r:1 w:1)91 // Storage: Nonfungible AccountBalance (r:1 w:1)
90 // Storage: Nonfungible Allowance (r:1 w:0)92 // Storage: Nonfungible Allowance (r:1 w:0)
91 // Storage: Nonfungible Owned (r:0 w:1)93 // Storage: Nonfungible Owned (r:0 w:1)
94 // Storage: Nonfungible TokenProperties (r:0 w:1)
92 fn burn_item() -> Weight {95 fn burn_item() -> Weight {
93 (24_554_000 as Weight)96 (29_798_000 as Weight)
94 .saturating_add(T::DbWeight::get().reads(4 as Weight))97 .saturating_add(T::DbWeight::get().reads(5 as Weight))
95 .saturating_add(T::DbWeight::get().writes(4 as Weight))98 .saturating_add(T::DbWeight::get().writes(5 as Weight))
96 }99 }
97 // Storage: Nonfungible TokenChildren (r:1 w:0)100 // Storage: Nonfungible TokenChildren (r:1 w:0)
98 // Storage: Nonfungible TokenData (r:1 w:1)101 // Storage: Nonfungible TokenData (r:1 w:1)
102 // Storage: Nonfungible Owned (r:0 w:1)105 // Storage: Nonfungible Owned (r:0 w:1)
103 // Storage: Nonfungible TokenProperties (r:0 w:1)106 // Storage: Nonfungible TokenProperties (r:0 w:1)
104 fn burn_recursively_self_raw() -> Weight {107 fn burn_recursively_self_raw() -> Weight {
105 (86_136_000 as Weight)108 (37_955_000 as Weight)
106 .saturating_add(T::DbWeight::get().reads(5 as Weight))109 .saturating_add(T::DbWeight::get().reads(5 as Weight))
107 .saturating_add(T::DbWeight::get().writes(5 as Weight))110 .saturating_add(T::DbWeight::get().writes(5 as Weight))
108 }111 }
116 // Storage: Common CollectionById (r:1 w:0)119 // Storage: Common CollectionById (r:1 w:0)
117 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {120 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
118 (0 as Weight)121 (0 as Weight)
119 // Standard Error: 42_828_000122 // Standard Error: 1_349_000
120 .saturating_add((381_478_000 as Weight).saturating_mul(b as Weight))123 .saturating_add((275_145_000 as Weight).saturating_mul(b as Weight))
121 .saturating_add(T::DbWeight::get().reads(6 as Weight))124 .saturating_add(T::DbWeight::get().reads(7 as Weight))
122 .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))125 .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
123 .saturating_add(T::DbWeight::get().writes(5 as Weight))126 .saturating_add(T::DbWeight::get().writes(6 as Weight))
124 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))127 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
125 }128 }
126 // Storage: Nonfungible TokenData (r:1 w:1)129 // Storage: Nonfungible TokenData (r:1 w:1)
127 // Storage: Nonfungible AccountBalance (r:2 w:2)130 // Storage: Nonfungible AccountBalance (r:2 w:2)
128 // Storage: Nonfungible Allowance (r:1 w:0)131 // Storage: Nonfungible Allowance (r:1 w:0)
129 // Storage: Nonfungible Owned (r:0 w:2)132 // Storage: Nonfungible Owned (r:0 w:2)
130 fn transfer() -> Weight {133 fn transfer() -> Weight {
131 (28_339_000 as Weight)134 (27_867_000 as Weight)
132 .saturating_add(T::DbWeight::get().reads(4 as Weight))135 .saturating_add(T::DbWeight::get().reads(4 as Weight))
133 .saturating_add(T::DbWeight::get().writes(5 as Weight))136 .saturating_add(T::DbWeight::get().writes(5 as Weight))
134 }137 }
135 // Storage: Nonfungible TokenData (r:1 w:0)138 // Storage: Nonfungible TokenData (r:1 w:0)
136 // Storage: Nonfungible Allowance (r:1 w:1)139 // Storage: Nonfungible Allowance (r:1 w:1)
137 fn approve() -> Weight {140 fn approve() -> Weight {
138 (17_616_000 as Weight)141 (18_824_000 as Weight)
139 .saturating_add(T::DbWeight::get().reads(2 as Weight))142 .saturating_add(T::DbWeight::get().reads(2 as Weight))
140 .saturating_add(T::DbWeight::get().writes(1 as Weight))143 .saturating_add(T::DbWeight::get().writes(1 as Weight))
141 }144 }
144 // Storage: Nonfungible AccountBalance (r:2 w:2)147 // Storage: Nonfungible AccountBalance (r:2 w:2)
145 // Storage: Nonfungible Owned (r:0 w:2)148 // Storage: Nonfungible Owned (r:0 w:2)
146 fn transfer_from() -> Weight {149 fn transfer_from() -> Weight {
147 (32_196_000 as Weight)150 (32_879_000 as Weight)
148 .saturating_add(T::DbWeight::get().reads(4 as Weight))151 .saturating_add(T::DbWeight::get().reads(4 as Weight))
149 .saturating_add(T::DbWeight::get().writes(6 as Weight))152 .saturating_add(T::DbWeight::get().writes(6 as Weight))
150 }153 }
151 // Storage: Nonfungible Allowance (r:1 w:1)154 // Storage: Nonfungible Allowance (r:1 w:1)
152 // Storage: Nonfungible TokenData (r:1 w:1)155 // Storage: Nonfungible TokenData (r:1 w:1)
156 // Storage: Nonfungible TokenChildren (r:1 w:0)
153 // Storage: Nonfungible TokensBurnt (r:1 w:1)157 // Storage: Nonfungible TokensBurnt (r:1 w:1)
154 // Storage: Nonfungible AccountBalance (r:1 w:1)158 // Storage: Nonfungible AccountBalance (r:1 w:1)
155 // Storage: Nonfungible Owned (r:0 w:1)159 // Storage: Nonfungible Owned (r:0 w:1)
160 // Storage: Nonfungible TokenProperties (r:0 w:1)
156 fn burn_from() -> Weight {161 fn burn_from() -> Weight {
157 (27_580_000 as Weight)162 (37_061_000 as Weight)
158 .saturating_add(T::DbWeight::get().reads(4 as Weight))163 .saturating_add(T::DbWeight::get().reads(5 as Weight))
159 .saturating_add(T::DbWeight::get().writes(5 as Weight))164 .saturating_add(T::DbWeight::get().writes(6 as Weight))
160 }165 }
161 // Storage: Common CollectionPropertyPermissions (r:1 w:1)166 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
162 fn set_token_property_permissions(b: u32, ) -> Weight {167 fn set_token_property_permissions(b: u32, ) -> Weight {
163 (0 as Weight)168 (0 as Weight)
164 // Standard Error: 3_432_000169 // Standard Error: 57_000
165 .saturating_add((126_888_000 as Weight).saturating_mul(b as Weight))170 .saturating_add((15_149_000 as Weight).saturating_mul(b as Weight))
166 .saturating_add(T::DbWeight::get().reads(1 as Weight))171 .saturating_add(T::DbWeight::get().reads(1 as Weight))
167 .saturating_add(T::DbWeight::get().writes(1 as Weight))172 .saturating_add(T::DbWeight::get().writes(1 as Weight))
168 }173 }
171 // Storage: Nonfungible TokenProperties (r:1 w:1)176 // Storage: Nonfungible TokenProperties (r:1 w:1)
172 fn set_token_properties(b: u32, ) -> Weight {177 fn set_token_properties(b: u32, ) -> Weight {
173 (0 as Weight)178 (0 as Weight)
174 // Standard Error: 158_583_000179 // Standard Error: 2_278_000
175 .saturating_add((4_707_700_000 as Weight).saturating_mul(b as Weight))180 .saturating_add((409_613_000 as Weight).saturating_mul(b as Weight))
176 .saturating_add(T::DbWeight::get().reads(3 as Weight))181 .saturating_add(T::DbWeight::get().reads(3 as Weight))
177 .saturating_add(T::DbWeight::get().writes(1 as Weight))182 .saturating_add(T::DbWeight::get().writes(1 as Weight))
178 }183 }
181 // Storage: Nonfungible TokenProperties (r:1 w:1)186 // Storage: Nonfungible TokenProperties (r:1 w:1)
182 fn delete_token_properties(b: u32, ) -> Weight {187 fn delete_token_properties(b: u32, ) -> Weight {
183 (0 as Weight)188 (0 as Weight)
184 // Standard Error: 169_018_000189 // Standard Error: 2_234_000
185 .saturating_add((4_783_967_000 as Weight).saturating_mul(b as Weight))190 .saturating_add((408_185_000 as Weight).saturating_mul(b as Weight))
186 .saturating_add(T::DbWeight::get().reads(3 as Weight))191 .saturating_add(T::DbWeight::get().reads(3 as Weight))
187 .saturating_add(T::DbWeight::get().writes(1 as Weight))192 .saturating_add(T::DbWeight::get().writes(1 as Weight))
188 }193 }
195 // Storage: Nonfungible TokenData (r:0 w:1)200 // Storage: Nonfungible TokenData (r:0 w:1)
196 // Storage: Nonfungible Owned (r:0 w:1)201 // Storage: Nonfungible Owned (r:0 w:1)
197 fn create_item() -> Weight {202 fn create_item() -> Weight {
198 (18_450_000 as Weight)203 (24_135_000 as Weight)
199 .saturating_add(RocksDbWeight::get().reads(2 as Weight))204 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
200 .saturating_add(RocksDbWeight::get().writes(4 as Weight))205 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
201 }206 }
204 // Storage: Nonfungible TokenData (r:0 w:4)209 // Storage: Nonfungible TokenData (r:0 w:4)
205 // Storage: Nonfungible Owned (r:0 w:4)210 // Storage: Nonfungible Owned (r:0 w:4)
206 fn create_multiple_items(b: u32, ) -> Weight {211 fn create_multiple_items(b: u32, ) -> Weight {
207 (10_228_000 as Weight)212 (21_952_000 as Weight)
208 // Standard Error: 1_000213 // Standard Error: 5_000
209 .saturating_add((4_392_000 as Weight).saturating_mul(b as Weight))214 .saturating_add((4_727_000 as Weight).saturating_mul(b as Weight))
210 .saturating_add(RocksDbWeight::get().reads(2 as Weight))215 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
211 .saturating_add(RocksDbWeight::get().writes(2 as Weight))216 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
212 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))217 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
216 // Storage: Nonfungible TokenData (r:0 w:4)221 // Storage: Nonfungible TokenData (r:0 w:4)
217 // Storage: Nonfungible Owned (r:0 w:4)222 // Storage: Nonfungible Owned (r:0 w:4)
218 fn create_multiple_items_ex(b: u32, ) -> Weight {223 fn create_multiple_items_ex(b: u32, ) -> Weight {
219 (6_543_000 as Weight)224 (10_432_000 as Weight)
220 // Standard Error: 2_000225 // Standard Error: 6_000
221 .saturating_add((7_175_000 as Weight).saturating_mul(b as Weight))226 .saturating_add((7_383_000 as Weight).saturating_mul(b as Weight))
222 .saturating_add(RocksDbWeight::get().reads(1 as Weight))227 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
223 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))228 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
224 .saturating_add(RocksDbWeight::get().writes(1 as Weight))229 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
225 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))230 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
226 }231 }
227 // Storage: Nonfungible TokenData (r:1 w:1)232 // Storage: Nonfungible TokenData (r:1 w:1)
233 // Storage: Nonfungible TokenChildren (r:1 w:0)
228 // Storage: Nonfungible TokensBurnt (r:1 w:1)234 // Storage: Nonfungible TokensBurnt (r:1 w:1)
229 // Storage: Nonfungible AccountBalance (r:1 w:1)235 // Storage: Nonfungible AccountBalance (r:1 w:1)
230 // Storage: Nonfungible Allowance (r:1 w:0)236 // Storage: Nonfungible Allowance (r:1 w:0)
231 // Storage: Nonfungible Owned (r:0 w:1)237 // Storage: Nonfungible Owned (r:0 w:1)
238 // Storage: Nonfungible TokenProperties (r:0 w:1)
232 fn burn_item() -> Weight {239 fn burn_item() -> Weight {
233 (24_554_000 as Weight)240 (29_798_000 as Weight)
234 .saturating_add(RocksDbWeight::get().reads(4 as Weight))241 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
235 .saturating_add(RocksDbWeight::get().writes(4 as Weight))242 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
236 }243 }
237 // Storage: Nonfungible TokenChildren (r:1 w:0)244 // Storage: Nonfungible TokenChildren (r:1 w:0)
238 // Storage: Nonfungible TokenData (r:1 w:1)245 // Storage: Nonfungible TokenData (r:1 w:1)
242 // Storage: Nonfungible Owned (r:0 w:1)249 // Storage: Nonfungible Owned (r:0 w:1)
243 // Storage: Nonfungible TokenProperties (r:0 w:1)250 // Storage: Nonfungible TokenProperties (r:0 w:1)
244 fn burn_recursively_self_raw() -> Weight {251 fn burn_recursively_self_raw() -> Weight {
245 (86_136_000 as Weight)252 (37_955_000 as Weight)
246 .saturating_add(RocksDbWeight::get().reads(5 as Weight))253 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
247 .saturating_add(RocksDbWeight::get().writes(5 as Weight))254 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
248 }255 }
256 // Storage: Common CollectionById (r:1 w:0)263 // Storage: Common CollectionById (r:1 w:0)
257 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {264 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
258 (0 as Weight)265 (0 as Weight)
259 // Standard Error: 42_828_000266 // Standard Error: 1_349_000
260 .saturating_add((381_478_000 as Weight).saturating_mul(b as Weight))267 .saturating_add((275_145_000 as Weight).saturating_mul(b as Weight))
261 .saturating_add(RocksDbWeight::get().reads(6 as Weight))268 .saturating_add(RocksDbWeight::get().reads(7 as Weight))
262 .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))269 .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
263 .saturating_add(RocksDbWeight::get().writes(5 as Weight))270 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
264 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))271 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
265 }272 }
266 // Storage: Nonfungible TokenData (r:1 w:1)273 // Storage: Nonfungible TokenData (r:1 w:1)
267 // Storage: Nonfungible AccountBalance (r:2 w:2)274 // Storage: Nonfungible AccountBalance (r:2 w:2)
268 // Storage: Nonfungible Allowance (r:1 w:0)275 // Storage: Nonfungible Allowance (r:1 w:0)
269 // Storage: Nonfungible Owned (r:0 w:2)276 // Storage: Nonfungible Owned (r:0 w:2)
270 fn transfer() -> Weight {277 fn transfer() -> Weight {
271 (28_339_000 as Weight)278 (27_867_000 as Weight)
272 .saturating_add(RocksDbWeight::get().reads(4 as Weight))279 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
273 .saturating_add(RocksDbWeight::get().writes(5 as Weight))280 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
274 }281 }
275 // Storage: Nonfungible TokenData (r:1 w:0)282 // Storage: Nonfungible TokenData (r:1 w:0)
276 // Storage: Nonfungible Allowance (r:1 w:1)283 // Storage: Nonfungible Allowance (r:1 w:1)
277 fn approve() -> Weight {284 fn approve() -> Weight {
278 (17_616_000 as Weight)285 (18_824_000 as Weight)
279 .saturating_add(RocksDbWeight::get().reads(2 as Weight))286 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
280 .saturating_add(RocksDbWeight::get().writes(1 as Weight))287 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
281 }288 }
284 // Storage: Nonfungible AccountBalance (r:2 w:2)291 // Storage: Nonfungible AccountBalance (r:2 w:2)
285 // Storage: Nonfungible Owned (r:0 w:2)292 // Storage: Nonfungible Owned (r:0 w:2)
286 fn transfer_from() -> Weight {293 fn transfer_from() -> Weight {
287 (32_196_000 as Weight)294 (32_879_000 as Weight)
288 .saturating_add(RocksDbWeight::get().reads(4 as Weight))295 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
289 .saturating_add(RocksDbWeight::get().writes(6 as Weight))296 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
290 }297 }
291 // Storage: Nonfungible Allowance (r:1 w:1)298 // Storage: Nonfungible Allowance (r:1 w:1)
292 // Storage: Nonfungible TokenData (r:1 w:1)299 // Storage: Nonfungible TokenData (r:1 w:1)
300 // Storage: Nonfungible TokenChildren (r:1 w:0)
293 // Storage: Nonfungible TokensBurnt (r:1 w:1)301 // Storage: Nonfungible TokensBurnt (r:1 w:1)
294 // Storage: Nonfungible AccountBalance (r:1 w:1)302 // Storage: Nonfungible AccountBalance (r:1 w:1)
295 // Storage: Nonfungible Owned (r:0 w:1)303 // Storage: Nonfungible Owned (r:0 w:1)
304 // Storage: Nonfungible TokenProperties (r:0 w:1)
296 fn burn_from() -> Weight {305 fn burn_from() -> Weight {
297 (27_580_000 as Weight)306 (37_061_000 as Weight)
298 .saturating_add(RocksDbWeight::get().reads(4 as Weight))307 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
299 .saturating_add(RocksDbWeight::get().writes(5 as Weight))308 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
300 }309 }
301 // Storage: Common CollectionPropertyPermissions (r:1 w:1)310 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
302 fn set_token_property_permissions(b: u32, ) -> Weight {311 fn set_token_property_permissions(b: u32, ) -> Weight {
303 (0 as Weight)312 (0 as Weight)
304 // Standard Error: 3_432_000313 // Standard Error: 57_000
305 .saturating_add((126_888_000 as Weight).saturating_mul(b as Weight))314 .saturating_add((15_149_000 as Weight).saturating_mul(b as Weight))
306 .saturating_add(RocksDbWeight::get().reads(1 as Weight))315 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
307 .saturating_add(RocksDbWeight::get().writes(1 as Weight))316 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
308 }317 }
311 // Storage: Nonfungible TokenProperties (r:1 w:1)320 // Storage: Nonfungible TokenProperties (r:1 w:1)
312 fn set_token_properties(b: u32, ) -> Weight {321 fn set_token_properties(b: u32, ) -> Weight {
313 (0 as Weight)322 (0 as Weight)
314 // Standard Error: 158_583_000323 // Standard Error: 2_278_000
315 .saturating_add((4_707_700_000 as Weight).saturating_mul(b as Weight))324 .saturating_add((409_613_000 as Weight).saturating_mul(b as Weight))
316 .saturating_add(RocksDbWeight::get().reads(3 as Weight))325 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
317 .saturating_add(RocksDbWeight::get().writes(1 as Weight))326 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
318 }327 }
321 // Storage: Nonfungible TokenProperties (r:1 w:1)330 // Storage: Nonfungible TokenProperties (r:1 w:1)
322 fn delete_token_properties(b: u32, ) -> Weight {331 fn delete_token_properties(b: u32, ) -> Weight {
323 (0 as Weight)332 (0 as Weight)
324 // Standard Error: 169_018_000333 // Standard Error: 2_234_000
325 .saturating_add((4_783_967_000 as Weight).saturating_mul(b as Weight))334 .saturating_add((408_185_000 as Weight).saturating_mul(b as Weight))
326 .saturating_add(RocksDbWeight::get().reads(3 as Weight))335 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
327 .saturating_add(RocksDbWeight::get().writes(1 as Weight))336 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
328 }337 }
modifiedpallets/refungible/src/common.rsdiffbeforeafterboth
77 077 0
78 }78 }
7979
80 fn set_token_properties(amount: u32) -> Weight {80 fn set_token_properties(_amount: u32) -> Weight {
81 <SelfWeightOf<T>>::set_token_properties(amount)81 // Error
82 0
82 }83 }
8384
84 fn delete_token_properties(amount: u32) -> Weight {85 fn delete_token_properties(_amount: u32) -> Weight {
85 <SelfWeightOf<T>>::delete_token_properties(amount)86 // Error
87 0
86 }88 }
8789
88 fn set_token_property_permissions(amount: u32) -> Weight {90 fn set_token_property_permissions(_amount: u32) -> Weight {
89 <SelfWeightOf<T>>::set_token_property_permissions(amount)91 // Error
92 0
90 }93 }
9194
92 fn transfer() -> Weight {95 fn transfer() -> Weight {
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-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
11// benchmark11// benchmark
12// pallet
12// --pallet13// --pallet
13// pallet-refungible14// pallet-refungible
14// --wasm-execution15// --wasm-execution
18// --template19// --template
19// .maintain/frame-weight-template.hbs20// .maintain/frame-weight-template.hbs
20// --steps=5021// --steps=50
21// --repeat=20022// --repeat=80
22// --heap-pages=409623// --heap-pages=4096
23// --output=./pallets/refungible/src/weights.rs24// --output=./pallets/refungible/src/weights.rs
2425
38 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;
39 fn burn_item_partial() -> Weight;40 fn burn_item_partial() -> Weight;
40 fn burn_item_fully() -> Weight;41 fn burn_item_fully() -> Weight;
41 fn set_token_properties(amount: u32) -> Weight;
42 fn delete_token_properties(amount: u32) -> Weight;
43 fn set_token_property_permissions(amount: u32) -> Weight;
44 fn transfer_normal() -> Weight;42 fn transfer_normal() -> Weight;
45 fn transfer_creating() -> Weight;43 fn transfer_creating() -> Weight;
46 fn transfer_removing() -> Weight;44 fn transfer_removing() -> Weight;
63 // Storage: Refungible TokenData (r:0 w:1)61 // Storage: Refungible TokenData (r:0 w:1)
64 // Storage: Refungible Owned (r:0 w:1)62 // Storage: Refungible Owned (r:0 w:1)
65 fn create_item() -> Weight {63 fn create_item() -> Weight {
66 (21_255_000 as Weight)64 (21_321_000 as Weight)
67 .saturating_add(T::DbWeight::get().reads(2 as Weight))65 .saturating_add(T::DbWeight::get().reads(2 as Weight))
68 .saturating_add(T::DbWeight::get().writes(6 as Weight))66 .saturating_add(T::DbWeight::get().writes(6 as Weight))
69 }67 }
74 // Storage: Refungible TokenData (r:0 w:4)72 // Storage: Refungible TokenData (r:0 w:4)
75 // Storage: Refungible Owned (r:0 w:4)73 // Storage: Refungible Owned (r:0 w:4)
76 fn create_multiple_items(b: u32, ) -> Weight {74 fn create_multiple_items(b: u32, ) -> Weight {
77 (18_052_000 as Weight)75 (16_313_000 as Weight)
78 // Standard Error: 1_00076 // Standard Error: 4_000
79 .saturating_add((5_549_000 as Weight).saturating_mul(b as Weight))77 .saturating_add((5_464_000 as Weight).saturating_mul(b as Weight))
80 .saturating_add(T::DbWeight::get().reads(2 as Weight))78 .saturating_add(T::DbWeight::get().reads(2 as Weight))
81 .saturating_add(T::DbWeight::get().writes(2 as Weight))79 .saturating_add(T::DbWeight::get().writes(2 as Weight))
82 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
88 // Storage: Refungible TokenData (r:0 w:4)86 // Storage: Refungible TokenData (r:0 w:4)
89 // Storage: Refungible Owned (r:0 w:4)87 // Storage: Refungible Owned (r:0 w:4)
90 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
91 (15_766_000 as Weight)89 (15_631_000 as Weight)
92 // Standard Error: 2_00090 // Standard Error: 5_000
93 .saturating_add((8_187_000 as Weight).saturating_mul(b as Weight))91 .saturating_add((8_141_000 as Weight).saturating_mul(b as Weight))
94 .saturating_add(T::DbWeight::get().reads(1 as Weight))92 .saturating_add(T::DbWeight::get().reads(1 as Weight))
95 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
96 .saturating_add(T::DbWeight::get().writes(1 as Weight))94 .saturating_add(T::DbWeight::get().writes(1 as Weight))
103 // Storage: Refungible Balance (r:0 w:4)101 // Storage: Refungible Balance (r:0 w:4)
104 // Storage: Refungible Owned (r:0 w:4)102 // Storage: Refungible Owned (r:0 w:4)
105 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
106 (5_675_000 as Weight)104 (11_191_000 as Weight)
107 // Standard Error: 2_000105 // Standard Error: 4_000
108 .saturating_add((6_315_000 as Weight).saturating_mul(b as Weight))106 .saturating_add((6_321_000 as Weight).saturating_mul(b as Weight))
109 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))
110 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
111 .saturating_add(T::DbWeight::get().writes(3 as Weight))109 .saturating_add(T::DbWeight::get().writes(3 as Weight))
116 // Storage: Refungible AccountBalance (r:1 w:1)114 // Storage: Refungible AccountBalance (r:1 w:1)
117 // Storage: Refungible Owned (r:0 w:1)115 // Storage: Refungible Owned (r:0 w:1)
118 fn burn_item_partial() -> Weight {116 fn burn_item_partial() -> Weight {
119 (23_518_000 as Weight)117 (24_421_000 as Weight)
120 .saturating_add(T::DbWeight::get().reads(3 as Weight))118 .saturating_add(T::DbWeight::get().reads(3 as Weight))
121 .saturating_add(T::DbWeight::get().writes(4 as Weight))119 .saturating_add(T::DbWeight::get().writes(4 as Weight))
122 }120 }
127 // Storage: Refungible TokenData (r:0 w:1)125 // Storage: Refungible TokenData (r:0 w:1)
128 // Storage: Refungible Owned (r:0 w:1)126 // Storage: Refungible Owned (r:0 w:1)
129 fn burn_item_fully() -> Weight {127 fn burn_item_fully() -> Weight {
130 (32_489_000 as Weight)128 (32_900_000 as Weight)
131 .saturating_add(T::DbWeight::get().reads(4 as Weight))129 .saturating_add(T::DbWeight::get().reads(4 as Weight))
132 .saturating_add(T::DbWeight::get().writes(6 as Weight))130 .saturating_add(T::DbWeight::get().writes(6 as Weight))
133 }131 }
134
135 fn set_token_properties(_amount: u32) -> Weight {
136 // Error
137 0
138 }
139
140 fn delete_token_properties(_amount: u32) -> Weight {
141 // Error
142 0
143 }
144
145 fn set_token_property_permissions(_amount: u32) -> Weight {
146 // Error
147 0
148 }
149
150 // Storage: Refungible Balance (r:2 w:2)132 // Storage: Refungible Balance (r:2 w:2)
151 fn transfer_normal() -> Weight {133 fn transfer_normal() -> Weight {
152 (19_766_000 as Weight)134 (20_215_000 as Weight)
153 .saturating_add(T::DbWeight::get().reads(2 as Weight))135 .saturating_add(T::DbWeight::get().reads(2 as Weight))
154 .saturating_add(T::DbWeight::get().writes(2 as Weight))136 .saturating_add(T::DbWeight::get().writes(2 as Weight))
155 }137 }
156 // Storage: Refungible Balance (r:2 w:2)138 // Storage: Refungible Balance (r:2 w:2)
157 // Storage: Refungible AccountBalance (r:1 w:1)139 // Storage: Refungible AccountBalance (r:1 w:1)
158 // Storage: Refungible Owned (r:0 w:1)140 // Storage: Refungible Owned (r:0 w:1)
159 fn transfer_creating() -> Weight {141 fn transfer_creating() -> Weight {
160 (23_360_000 as Weight)142 (24_809_000 as Weight)
161 .saturating_add(T::DbWeight::get().reads(3 as Weight))143 .saturating_add(T::DbWeight::get().reads(3 as Weight))
162 .saturating_add(T::DbWeight::get().writes(4 as Weight))144 .saturating_add(T::DbWeight::get().writes(4 as Weight))
163 }145 }
164 // Storage: Refungible Balance (r:2 w:2)146 // Storage: Refungible Balance (r:2 w:2)
165 // Storage: Refungible AccountBalance (r:1 w:1)147 // Storage: Refungible AccountBalance (r:1 w:1)
166 // Storage: Refungible Owned (r:0 w:1)148 // Storage: Refungible Owned (r:0 w:1)
167 fn transfer_removing() -> Weight {149 fn transfer_removing() -> Weight {
168 (25_344_000 as Weight)150 (26_704_000 as Weight)
169 .saturating_add(T::DbWeight::get().reads(3 as Weight))151 .saturating_add(T::DbWeight::get().reads(3 as Weight))
170 .saturating_add(T::DbWeight::get().writes(4 as Weight))152 .saturating_add(T::DbWeight::get().writes(4 as Weight))
171 }153 }
172 // Storage: Refungible Balance (r:2 w:2)154 // Storage: Refungible Balance (r:2 w:2)
173 // Storage: Refungible AccountBalance (r:2 w:2)155 // Storage: Refungible AccountBalance (r:2 w:2)
174 // Storage: Refungible Owned (r:0 w:2)156 // Storage: Refungible Owned (r:0 w:2)
175 fn transfer_creating_removing() -> Weight {157 fn transfer_creating_removing() -> Weight {
176 (28_553_000 as Weight)158 (28_728_000 as Weight)
177 .saturating_add(T::DbWeight::get().reads(4 as Weight))159 .saturating_add(T::DbWeight::get().reads(4 as Weight))
178 .saturating_add(T::DbWeight::get().writes(6 as Weight))160 .saturating_add(T::DbWeight::get().writes(6 as Weight))
179 }161 }
180 // Storage: Refungible Balance (r:1 w:0)162 // Storage: Refungible Balance (r:1 w:0)
181 // Storage: Refungible Allowance (r:0 w:1)163 // Storage: Refungible Allowance (r:0 w:1)
182 fn approve() -> Weight {164 fn approve() -> Weight {
183 (15_356_000 as Weight)165 (16_107_000 as Weight)
184 .saturating_add(T::DbWeight::get().reads(1 as Weight))166 .saturating_add(T::DbWeight::get().reads(1 as Weight))
185 .saturating_add(T::DbWeight::get().writes(1 as Weight))167 .saturating_add(T::DbWeight::get().writes(1 as Weight))
186 }168 }
187 // Storage: Refungible Allowance (r:1 w:1)169 // Storage: Refungible Allowance (r:1 w:1)
188 // Storage: Refungible Balance (r:2 w:2)170 // Storage: Refungible Balance (r:2 w:2)
189 fn transfer_from_normal() -> Weight {171 fn transfer_from_normal() -> Weight {
190 (28_832_000 as Weight)172 (28_765_000 as Weight)
191 .saturating_add(T::DbWeight::get().reads(3 as Weight))173 .saturating_add(T::DbWeight::get().reads(3 as Weight))
192 .saturating_add(T::DbWeight::get().writes(3 as Weight))174 .saturating_add(T::DbWeight::get().writes(3 as Weight))
193 }175 }
196 // Storage: Refungible AccountBalance (r:1 w:1)178 // Storage: Refungible AccountBalance (r:1 w:1)
197 // Storage: Refungible Owned (r:0 w:1)179 // Storage: Refungible Owned (r:0 w:1)
198 fn transfer_from_creating() -> Weight {180 fn transfer_from_creating() -> Weight {
199 (32_132_000 as Weight)181 (32_788_000 as Weight)
200 .saturating_add(T::DbWeight::get().reads(4 as Weight))182 .saturating_add(T::DbWeight::get().reads(4 as Weight))
201 .saturating_add(T::DbWeight::get().writes(5 as Weight))183 .saturating_add(T::DbWeight::get().writes(5 as Weight))
202 }184 }
205 // Storage: Refungible AccountBalance (r:1 w:1)187 // Storage: Refungible AccountBalance (r:1 w:1)
206 // Storage: Refungible Owned (r:0 w:1)188 // Storage: Refungible Owned (r:0 w:1)
207 fn transfer_from_removing() -> Weight {189 fn transfer_from_removing() -> Weight {
208 (33_237_000 as Weight)190 (34_523_000 as Weight)
209 .saturating_add(T::DbWeight::get().reads(4 as Weight))191 .saturating_add(T::DbWeight::get().reads(4 as Weight))
210 .saturating_add(T::DbWeight::get().writes(5 as Weight))192 .saturating_add(T::DbWeight::get().writes(5 as Weight))
211 }193 }
214 // Storage: Refungible AccountBalance (r:2 w:2)196 // Storage: Refungible AccountBalance (r:2 w:2)
215 // Storage: Refungible Owned (r:0 w:2)197 // Storage: Refungible Owned (r:0 w:2)
216 fn transfer_from_creating_removing() -> Weight {198 fn transfer_from_creating_removing() -> Weight {
217 (36_399_000 as Weight)199 (36_749_000 as Weight)
218 .saturating_add(T::DbWeight::get().reads(5 as Weight))200 .saturating_add(T::DbWeight::get().reads(5 as Weight))
219 .saturating_add(T::DbWeight::get().writes(7 as Weight))201 .saturating_add(T::DbWeight::get().writes(7 as Weight))
220 }202 }
226 // Storage: Refungible TokenData (r:0 w:1)208 // Storage: Refungible TokenData (r:0 w:1)
227 // Storage: Refungible Owned (r:0 w:1)209 // Storage: Refungible Owned (r:0 w:1)
228 fn burn_from() -> Weight {210 fn burn_from() -> Weight {
229 (42_043_000 as Weight)211 (42_259_000 as Weight)
230 .saturating_add(T::DbWeight::get().reads(5 as Weight))212 .saturating_add(T::DbWeight::get().reads(5 as Weight))
231 .saturating_add(T::DbWeight::get().writes(7 as Weight))213 .saturating_add(T::DbWeight::get().writes(7 as Weight))
232 }214 }
241 // Storage: Refungible TokenData (r:0 w:1)223 // Storage: Refungible TokenData (r:0 w:1)
242 // Storage: Refungible Owned (r:0 w:1)224 // Storage: Refungible Owned (r:0 w:1)
243 fn create_item() -> Weight {225 fn create_item() -> Weight {
244 (21_255_000 as Weight)226 (21_321_000 as Weight)
245 .saturating_add(RocksDbWeight::get().reads(2 as Weight))227 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
246 .saturating_add(RocksDbWeight::get().writes(6 as Weight))228 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
247 }229 }
252 // Storage: Refungible TokenData (r:0 w:4)234 // Storage: Refungible TokenData (r:0 w:4)
253 // Storage: Refungible Owned (r:0 w:4)235 // Storage: Refungible Owned (r:0 w:4)
254 fn create_multiple_items(b: u32, ) -> Weight {236 fn create_multiple_items(b: u32, ) -> Weight {
255 (18_052_000 as Weight)237 (16_313_000 as Weight)
256 // Standard Error: 1_000238 // Standard Error: 4_000
257 .saturating_add((5_549_000 as Weight).saturating_mul(b as Weight))239 .saturating_add((5_464_000 as Weight).saturating_mul(b as Weight))
258 .saturating_add(RocksDbWeight::get().reads(2 as Weight))240 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
259 .saturating_add(RocksDbWeight::get().writes(2 as Weight))241 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
260 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))242 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
266 // Storage: Refungible TokenData (r:0 w:4)248 // Storage: Refungible TokenData (r:0 w:4)
267 // Storage: Refungible Owned (r:0 w:4)249 // Storage: Refungible Owned (r:0 w:4)
268 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {250 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
269 (15_766_000 as Weight)251 (15_631_000 as Weight)
270 // Standard Error: 2_000252 // Standard Error: 5_000
271 .saturating_add((8_187_000 as Weight).saturating_mul(b as Weight))253 .saturating_add((8_141_000 as Weight).saturating_mul(b as Weight))
272 .saturating_add(RocksDbWeight::get().reads(1 as Weight))254 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
273 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))255 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
274 .saturating_add(RocksDbWeight::get().writes(1 as Weight))256 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
281 // Storage: Refungible Balance (r:0 w:4)263 // Storage: Refungible Balance (r:0 w:4)
282 // Storage: Refungible Owned (r:0 w:4)264 // Storage: Refungible Owned (r:0 w:4)
283 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {265 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
284 (5_675_000 as Weight)266 (11_191_000 as Weight)
285 // Standard Error: 2_000267 // Standard Error: 4_000
286 .saturating_add((6_315_000 as Weight).saturating_mul(b as Weight))268 .saturating_add((6_321_000 as Weight).saturating_mul(b as Weight))
287 .saturating_add(RocksDbWeight::get().reads(1 as Weight))269 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
288 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))270 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
289 .saturating_add(RocksDbWeight::get().writes(3 as Weight))271 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
294 // Storage: Refungible AccountBalance (r:1 w:1)276 // Storage: Refungible AccountBalance (r:1 w:1)
295 // Storage: Refungible Owned (r:0 w:1)277 // Storage: Refungible Owned (r:0 w:1)
296 fn burn_item_partial() -> Weight {278 fn burn_item_partial() -> Weight {
297 (23_518_000 as Weight)279 (24_421_000 as Weight)
298 .saturating_add(RocksDbWeight::get().reads(3 as Weight))280 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
299 .saturating_add(RocksDbWeight::get().writes(4 as Weight))281 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
300 }282 }
305 // Storage: Refungible TokenData (r:0 w:1)287 // Storage: Refungible TokenData (r:0 w:1)
306 // Storage: Refungible Owned (r:0 w:1)288 // Storage: Refungible Owned (r:0 w:1)
307 fn burn_item_fully() -> Weight {289 fn burn_item_fully() -> Weight {
308 (32_489_000 as Weight)290 (32_900_000 as Weight)
309 .saturating_add(RocksDbWeight::get().reads(4 as Weight))291 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
310 .saturating_add(RocksDbWeight::get().writes(6 as Weight))292 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
311 }293 }
312
313 fn set_token_properties(_amount: u32) -> Weight {
314 // Error
315 0
316 }
317
318 fn delete_token_properties(_amount: u32) -> Weight {
319 // Error
320 0
321 }
322
323 fn set_token_property_permissions(_amount: u32) -> Weight {
324 // Error
325 0
326 }
327
328 // Storage: Refungible Balance (r:2 w:2)294 // Storage: Refungible Balance (r:2 w:2)
329 fn transfer_normal() -> Weight {295 fn transfer_normal() -> Weight {
330 (19_766_000 as Weight)296 (20_215_000 as Weight)
331 .saturating_add(RocksDbWeight::get().reads(2 as Weight))297 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
332 .saturating_add(RocksDbWeight::get().writes(2 as Weight))298 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
333 }299 }
334 // Storage: Refungible Balance (r:2 w:2)300 // Storage: Refungible Balance (r:2 w:2)
335 // Storage: Refungible AccountBalance (r:1 w:1)301 // Storage: Refungible AccountBalance (r:1 w:1)
336 // Storage: Refungible Owned (r:0 w:1)302 // Storage: Refungible Owned (r:0 w:1)
337 fn transfer_creating() -> Weight {303 fn transfer_creating() -> Weight {
338 (23_360_000 as Weight)304 (24_809_000 as Weight)
339 .saturating_add(RocksDbWeight::get().reads(3 as Weight))305 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
340 .saturating_add(RocksDbWeight::get().writes(4 as Weight))306 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
341 }307 }
342 // Storage: Refungible Balance (r:2 w:2)308 // Storage: Refungible Balance (r:2 w:2)
343 // Storage: Refungible AccountBalance (r:1 w:1)309 // Storage: Refungible AccountBalance (r:1 w:1)
344 // Storage: Refungible Owned (r:0 w:1)310 // Storage: Refungible Owned (r:0 w:1)
345 fn transfer_removing() -> Weight {311 fn transfer_removing() -> Weight {
346 (25_344_000 as Weight)312 (26_704_000 as Weight)
347 .saturating_add(RocksDbWeight::get().reads(3 as Weight))313 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
348 .saturating_add(RocksDbWeight::get().writes(4 as Weight))314 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
349 }315 }
350 // Storage: Refungible Balance (r:2 w:2)316 // Storage: Refungible Balance (r:2 w:2)
351 // Storage: Refungible AccountBalance (r:2 w:2)317 // Storage: Refungible AccountBalance (r:2 w:2)
352 // Storage: Refungible Owned (r:0 w:2)318 // Storage: Refungible Owned (r:0 w:2)
353 fn transfer_creating_removing() -> Weight {319 fn transfer_creating_removing() -> Weight {
354 (28_553_000 as Weight)320 (28_728_000 as Weight)
355 .saturating_add(RocksDbWeight::get().reads(4 as Weight))321 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
356 .saturating_add(RocksDbWeight::get().writes(6 as Weight))322 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
357 }323 }
358 // Storage: Refungible Balance (r:1 w:0)324 // Storage: Refungible Balance (r:1 w:0)
359 // Storage: Refungible Allowance (r:0 w:1)325 // Storage: Refungible Allowance (r:0 w:1)
360 fn approve() -> Weight {326 fn approve() -> Weight {
361 (15_356_000 as Weight)327 (16_107_000 as Weight)
362 .saturating_add(RocksDbWeight::get().reads(1 as Weight))328 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
363 .saturating_add(RocksDbWeight::get().writes(1 as Weight))329 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
364 }330 }
365 // Storage: Refungible Allowance (r:1 w:1)331 // Storage: Refungible Allowance (r:1 w:1)
366 // Storage: Refungible Balance (r:2 w:2)332 // Storage: Refungible Balance (r:2 w:2)
367 fn transfer_from_normal() -> Weight {333 fn transfer_from_normal() -> Weight {
368 (28_832_000 as Weight)334 (28_765_000 as Weight)
369 .saturating_add(RocksDbWeight::get().reads(3 as Weight))335 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
370 .saturating_add(RocksDbWeight::get().writes(3 as Weight))336 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
371 }337 }
374 // Storage: Refungible AccountBalance (r:1 w:1)340 // Storage: Refungible AccountBalance (r:1 w:1)
375 // Storage: Refungible Owned (r:0 w:1)341 // Storage: Refungible Owned (r:0 w:1)
376 fn transfer_from_creating() -> Weight {342 fn transfer_from_creating() -> Weight {
377 (32_132_000 as Weight)343 (32_788_000 as Weight)
378 .saturating_add(RocksDbWeight::get().reads(4 as Weight))344 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
379 .saturating_add(RocksDbWeight::get().writes(5 as Weight))345 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
380 }346 }
383 // Storage: Refungible AccountBalance (r:1 w:1)349 // Storage: Refungible AccountBalance (r:1 w:1)
384 // Storage: Refungible Owned (r:0 w:1)350 // Storage: Refungible Owned (r:0 w:1)
385 fn transfer_from_removing() -> Weight {351 fn transfer_from_removing() -> Weight {
386 (33_237_000 as Weight)352 (34_523_000 as Weight)
387 .saturating_add(RocksDbWeight::get().reads(4 as Weight))353 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
388 .saturating_add(RocksDbWeight::get().writes(5 as Weight))354 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
389 }355 }
392 // Storage: Refungible AccountBalance (r:2 w:2)358 // Storage: Refungible AccountBalance (r:2 w:2)
393 // Storage: Refungible Owned (r:0 w:2)359 // Storage: Refungible Owned (r:0 w:2)
394 fn transfer_from_creating_removing() -> Weight {360 fn transfer_from_creating_removing() -> Weight {
395 (36_399_000 as Weight)361 (36_749_000 as Weight)
396 .saturating_add(RocksDbWeight::get().reads(5 as Weight))362 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
397 .saturating_add(RocksDbWeight::get().writes(7 as Weight))363 .saturating_add(RocksDbWeight::get().writes(7 as Weight))
398 }364 }
404 // Storage: Refungible TokenData (r:0 w:1)370 // Storage: Refungible TokenData (r:0 w:1)
405 // Storage: Refungible Owned (r:0 w:1)371 // Storage: Refungible Owned (r:0 w:1)
406 fn burn_from() -> Weight {372 fn burn_from() -> Weight {
407 (42_043_000 as Weight)373 (42_259_000 as Weight)
408 .saturating_add(RocksDbWeight::get().reads(5 as Weight))374 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
409 .saturating_add(RocksDbWeight::get().writes(7 as Weight))375 .saturating_add(RocksDbWeight::get().writes(7 as Weight))
410 }376 }
modifiedpallets/scheduler/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_unique_scheduler3//! Autogenerated weights for pallet_unique_scheduler
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-06-09, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
19// --template19// --template
20// .maintain/frame-weight-template.hbs20// .maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=20022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
24// --output=./pallets/scheduler/src/weights.rs24// --output=./pallets/scheduler/src/weights.rs
2525
55 // Storage: System BlockWeight (r:1 w:1)55 // Storage: System BlockWeight (r:1 w:1)
56 // Storage: Scheduler Lookup (r:0 w:1)56 // Storage: Scheduler Lookup (r:0 w:1)
57 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {57 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
58 (35_999_000 as Weight)58 (27_374_000 as Weight)
59 // Standard Error: 3_00059 // Standard Error: 7_000
60 .saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))60 .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
61 .saturating_add(T::DbWeight::get().reads(4 as Weight))61 .saturating_add(T::DbWeight::get().reads(4 as Weight))
62 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))62 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
63 .saturating_add(T::DbWeight::get().writes(4 as Weight))63 .saturating_add(T::DbWeight::get().writes(4 as Weight))
69 // Storage: System BlockWeight (r:1 w:1)69 // Storage: System BlockWeight (r:1 w:1)
70 // Storage: Scheduler Lookup (r:0 w:1)70 // Storage: Scheduler Lookup (r:0 w:1)
71 fn on_initialize_named_resolved(s: u32, ) -> Weight {71 fn on_initialize_named_resolved(s: u32, ) -> Weight {
72 (34_874_000 as Weight)72 (25_967_000 as Weight)
73 // Standard Error: 2_00073 // Standard Error: 6_000
74 .saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))74 .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
75 .saturating_add(T::DbWeight::get().reads(4 as Weight))75 .saturating_add(T::DbWeight::get().reads(4 as Weight))
76 .saturating_add(T::DbWeight::get().writes(4 as Weight))76 .saturating_add(T::DbWeight::get().writes(4 as Weight))
77 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))77 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
82 // Storage: System BlockWeight (r:1 w:1)82 // Storage: System BlockWeight (r:1 w:1)
83 // Storage: Scheduler Lookup (r:0 w:1)83 // Storage: Scheduler Lookup (r:0 w:1)
84 fn on_initialize_periodic(s: u32, ) -> Weight {84 fn on_initialize_periodic(s: u32, ) -> Weight {
85 (36_469_000 as Weight)85 (27_097_000 as Weight)
86 // Standard Error: 3_00086 // Standard Error: 5_000
87 .saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))87 .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
88 .saturating_add(T::DbWeight::get().reads(4 as Weight))88 .saturating_add(T::DbWeight::get().reads(4 as Weight))
89 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))89 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
90 .saturating_add(T::DbWeight::get().writes(4 as Weight))90 .saturating_add(T::DbWeight::get().writes(4 as Weight))
96 // Storage: System BlockWeight (r:1 w:1)96 // Storage: System BlockWeight (r:1 w:1)
97 // Storage: Scheduler Lookup (r:0 w:1)97 // Storage: Scheduler Lookup (r:0 w:1)
98 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {98 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
99 (35_352_000 as Weight)99 (43_116_000 as Weight)
100 // Standard Error: 3_000100 // Standard Error: 18_000
101 .saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))101 .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
102 .saturating_add(T::DbWeight::get().reads(4 as Weight))102 .saturating_add(T::DbWeight::get().reads(4 as Weight))
103 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))103 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
104 .saturating_add(T::DbWeight::get().writes(4 as Weight))104 .saturating_add(T::DbWeight::get().writes(4 as Weight))
107 // Storage: Scheduler Agenda (r:2 w:2)107 // Storage: Scheduler Agenda (r:2 w:2)
108 // Storage: Scheduler Lookup (r:0 w:1)108 // Storage: Scheduler Lookup (r:0 w:1)
109 fn on_initialize_aborted(s: u32, ) -> Weight {109 fn on_initialize_aborted(s: u32, ) -> Weight {
110 (11_267_000 as Weight)110 (4_921_000 as Weight)
111 // Standard Error: 1_000111 // Standard Error: 4_000
112 .saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))112 .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
113 .saturating_add(T::DbWeight::get().reads(2 as Weight))113 .saturating_add(T::DbWeight::get().reads(2 as Weight))
114 .saturating_add(T::DbWeight::get().writes(2 as Weight))114 .saturating_add(T::DbWeight::get().writes(2 as Weight))
115 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))115 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
120 // Storage: System BlockWeight (r:1 w:1)120 // Storage: System BlockWeight (r:1 w:1)
121 // Storage: Scheduler Lookup (r:0 w:1)121 // Storage: Scheduler Lookup (r:0 w:1)
122 fn on_initialize_named_aborted(s: u32, ) -> Weight {122 fn on_initialize_named_aborted(s: u32, ) -> Weight {
123 (35_937_000 as Weight)123 (26_934_000 as Weight)
124 // Standard Error: 3_000124 // Standard Error: 7_000
125 .saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))125 .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
126 .saturating_add(T::DbWeight::get().reads(4 as Weight))126 .saturating_add(T::DbWeight::get().reads(4 as Weight))
127 .saturating_add(T::DbWeight::get().writes(4 as Weight))127 .saturating_add(T::DbWeight::get().writes(4 as Weight))
128 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))128 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
129 }129 }
130 // Storage: Scheduler Agenda (r:2 w:2)130 // Storage: Scheduler Agenda (r:2 w:2)
131 // Storage: Scheduler Lookup (r:0 w:1)131 // Storage: Scheduler Lookup (r:0 w:1)
132 fn on_initialize_named(s: u32, ) -> Weight {132 fn on_initialize_named(s: u32, ) -> Weight {
133 (10_338_000 as Weight)133 (6_423_000 as Weight)
134 // Standard Error: 2_000134 // Standard Error: 1_000
135 .saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))135 .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
136 .saturating_add(T::DbWeight::get().reads(2 as Weight))136 .saturating_add(T::DbWeight::get().reads(2 as Weight))
137 .saturating_add(T::DbWeight::get().writes(2 as Weight))137 .saturating_add(T::DbWeight::get().writes(2 as Weight))
138 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))138 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
143 // Storage: System BlockWeight (r:1 w:1)143 // Storage: System BlockWeight (r:1 w:1)
144 // Storage: Scheduler Lookup (r:0 w:1)144 // Storage: Scheduler Lookup (r:0 w:1)
145 fn on_initialize(s: u32, ) -> Weight {145 fn on_initialize(s: u32, ) -> Weight {
146 (37_448_000 as Weight)146 (27_586_000 as Weight)
147 // Standard Error: 7_000147 // Standard Error: 11_000
148 .saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))148 .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
149 .saturating_add(T::DbWeight::get().reads(4 as Weight))149 .saturating_add(T::DbWeight::get().reads(4 as Weight))
150 .saturating_add(T::DbWeight::get().writes(4 as Weight))150 .saturating_add(T::DbWeight::get().writes(4 as Weight))
151 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))151 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
156 // Storage: System BlockWeight (r:1 w:1)156 // Storage: System BlockWeight (r:1 w:1)
157 // Storage: Scheduler Lookup (r:0 w:1)157 // Storage: Scheduler Lookup (r:0 w:1)
158 fn on_initialize_resolved(s: u32, ) -> Weight {158 fn on_initialize_resolved(s: u32, ) -> Weight {
159 (34_841_000 as Weight)159 (24_356_000 as Weight)
160 // Standard Error: 7_000160 // Standard Error: 4_000
161 .saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))161 .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
162 .saturating_add(T::DbWeight::get().reads(4 as Weight))162 .saturating_add(T::DbWeight::get().reads(4 as Weight))
163 .saturating_add(T::DbWeight::get().writes(4 as Weight))163 .saturating_add(T::DbWeight::get().writes(4 as Weight))
164 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))164 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
165 }165 }
166 // Storage: Scheduler Lookup (r:1 w:1)166 // Storage: Scheduler Lookup (r:1 w:1)
167 // Storage: Scheduler Agenda (r:1 w:1)167 // Storage: Scheduler Agenda (r:1 w:1)
168 fn schedule_named(s: u32, ) -> Weight {168 fn schedule_named(s: u32, ) -> Weight {
169 (33_845_000 as Weight)169 (14_871_000 as Weight)
170 // Standard Error: 0170 // Standard Error: 1_000
171 .saturating_add((168_000 as Weight).saturating_mul(s as Weight))171 .saturating_add((183_000 as Weight).saturating_mul(s as Weight))
172 .saturating_add(T::DbWeight::get().reads(2 as Weight))172 .saturating_add(T::DbWeight::get().reads(2 as Weight))
173 .saturating_add(T::DbWeight::get().writes(2 as Weight))173 .saturating_add(T::DbWeight::get().writes(2 as Weight))
174 }174 }
175 // Storage: Scheduler Lookup (r:1 w:1)175 // Storage: Scheduler Lookup (r:1 w:1)
176 // Storage: Scheduler Agenda (r:1 w:1)176 // Storage: Scheduler Agenda (r:1 w:1)
177 fn cancel_named(s: u32, ) -> Weight {177 fn cancel_named(s: u32, ) -> Weight {
178 (31_169_000 as Weight)178 (16_676_000 as Weight)
179 // Standard Error: 1_000179 // Standard Error: 1_000
180 .saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))180 .saturating_add((500_000 as Weight).saturating_mul(s as Weight))
181 .saturating_add(T::DbWeight::get().reads(2 as Weight))181 .saturating_add(T::DbWeight::get().reads(2 as Weight))
182 .saturating_add(T::DbWeight::get().writes(2 as Weight))182 .saturating_add(T::DbWeight::get().writes(2 as Weight))
183 }183 }
191 // Storage: System BlockWeight (r:1 w:1)191 // Storage: System BlockWeight (r:1 w:1)
192 // Storage: Scheduler Lookup (r:0 w:1)192 // Storage: Scheduler Lookup (r:0 w:1)
193 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {193 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
194 (35_999_000 as Weight)194 (27_374_000 as Weight)
195 // Standard Error: 3_000195 // Standard Error: 7_000
196 .saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))196 .saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
197 .saturating_add(RocksDbWeight::get().reads(4 as Weight))197 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
198 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))198 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
199 .saturating_add(RocksDbWeight::get().writes(4 as Weight))199 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
205 // Storage: System BlockWeight (r:1 w:1)205 // Storage: System BlockWeight (r:1 w:1)
206 // Storage: Scheduler Lookup (r:0 w:1)206 // Storage: Scheduler Lookup (r:0 w:1)
207 fn on_initialize_named_resolved(s: u32, ) -> Weight {207 fn on_initialize_named_resolved(s: u32, ) -> Weight {
208 (34_874_000 as Weight)208 (25_967_000 as Weight)
209 // Standard Error: 2_000209 // Standard Error: 6_000
210 .saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))210 .saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
211 .saturating_add(RocksDbWeight::get().reads(4 as Weight))211 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
212 .saturating_add(RocksDbWeight::get().writes(4 as Weight))212 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
213 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))213 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
218 // Storage: System BlockWeight (r:1 w:1)218 // Storage: System BlockWeight (r:1 w:1)
219 // Storage: Scheduler Lookup (r:0 w:1)219 // Storage: Scheduler Lookup (r:0 w:1)
220 fn on_initialize_periodic(s: u32, ) -> Weight {220 fn on_initialize_periodic(s: u32, ) -> Weight {
221 (36_469_000 as Weight)221 (27_097_000 as Weight)
222 // Standard Error: 3_000222 // Standard Error: 5_000
223 .saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))223 .saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
224 .saturating_add(RocksDbWeight::get().reads(4 as Weight))224 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
225 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))225 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
226 .saturating_add(RocksDbWeight::get().writes(4 as Weight))226 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
232 // Storage: System BlockWeight (r:1 w:1)232 // Storage: System BlockWeight (r:1 w:1)
233 // Storage: Scheduler Lookup (r:0 w:1)233 // Storage: Scheduler Lookup (r:0 w:1)
234 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {234 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
235 (35_352_000 as Weight)235 (43_116_000 as Weight)
236 // Standard Error: 3_000236 // Standard Error: 18_000
237 .saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))237 .saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
238 .saturating_add(RocksDbWeight::get().reads(4 as Weight))238 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
239 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))239 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
240 .saturating_add(RocksDbWeight::get().writes(4 as Weight))240 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
243 // Storage: Scheduler Agenda (r:2 w:2)243 // Storage: Scheduler Agenda (r:2 w:2)
244 // Storage: Scheduler Lookup (r:0 w:1)244 // Storage: Scheduler Lookup (r:0 w:1)
245 fn on_initialize_aborted(s: u32, ) -> Weight {245 fn on_initialize_aborted(s: u32, ) -> Weight {
246 (11_267_000 as Weight)246 (4_921_000 as Weight)
247 // Standard Error: 1_000247 // Standard Error: 4_000
248 .saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))248 .saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
249 .saturating_add(RocksDbWeight::get().reads(2 as Weight))249 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
250 .saturating_add(RocksDbWeight::get().writes(2 as Weight))250 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
251 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))251 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
256 // Storage: System BlockWeight (r:1 w:1)256 // Storage: System BlockWeight (r:1 w:1)
257 // Storage: Scheduler Lookup (r:0 w:1)257 // Storage: Scheduler Lookup (r:0 w:1)
258 fn on_initialize_named_aborted(s: u32, ) -> Weight {258 fn on_initialize_named_aborted(s: u32, ) -> Weight {
259 (35_937_000 as Weight)259 (26_934_000 as Weight)
260 // Standard Error: 3_000260 // Standard Error: 7_000
261 .saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))261 .saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
262 .saturating_add(RocksDbWeight::get().reads(4 as Weight))262 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
263 .saturating_add(RocksDbWeight::get().writes(4 as Weight))263 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
264 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))264 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
265 }265 }
266 // Storage: Scheduler Agenda (r:2 w:2)266 // Storage: Scheduler Agenda (r:2 w:2)
267 // Storage: Scheduler Lookup (r:0 w:1)267 // Storage: Scheduler Lookup (r:0 w:1)
268 fn on_initialize_named(s: u32, ) -> Weight {268 fn on_initialize_named(s: u32, ) -> Weight {
269 (10_338_000 as Weight)269 (6_423_000 as Weight)
270 // Standard Error: 2_000270 // Standard Error: 1_000
271 .saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))271 .saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
272 .saturating_add(RocksDbWeight::get().reads(2 as Weight))272 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
273 .saturating_add(RocksDbWeight::get().writes(2 as Weight))273 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
274 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))274 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
279 // Storage: System BlockWeight (r:1 w:1)279 // Storage: System BlockWeight (r:1 w:1)
280 // Storage: Scheduler Lookup (r:0 w:1)280 // Storage: Scheduler Lookup (r:0 w:1)
281 fn on_initialize(s: u32, ) -> Weight {281 fn on_initialize(s: u32, ) -> Weight {
282 (37_448_000 as Weight)282 (27_586_000 as Weight)
283 // Standard Error: 7_000283 // Standard Error: 11_000
284 .saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))284 .saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
285 .saturating_add(RocksDbWeight::get().reads(4 as Weight))285 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
286 .saturating_add(RocksDbWeight::get().writes(4 as Weight))286 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
287 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))287 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
292 // Storage: System BlockWeight (r:1 w:1)292 // Storage: System BlockWeight (r:1 w:1)
293 // Storage: Scheduler Lookup (r:0 w:1)293 // Storage: Scheduler Lookup (r:0 w:1)
294 fn on_initialize_resolved(s: u32, ) -> Weight {294 fn on_initialize_resolved(s: u32, ) -> Weight {
295 (34_841_000 as Weight)295 (24_356_000 as Weight)
296 // Standard Error: 7_000296 // Standard Error: 4_000
297 .saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))297 .saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
298 .saturating_add(RocksDbWeight::get().reads(4 as Weight))298 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
299 .saturating_add(RocksDbWeight::get().writes(4 as Weight))299 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
300 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))300 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
301 }301 }
302 // Storage: Scheduler Lookup (r:1 w:1)302 // Storage: Scheduler Lookup (r:1 w:1)
303 // Storage: Scheduler Agenda (r:1 w:1)303 // Storage: Scheduler Agenda (r:1 w:1)
304 fn schedule_named(s: u32, ) -> Weight {304 fn schedule_named(s: u32, ) -> Weight {
305 (33_845_000 as Weight)305 (14_871_000 as Weight)
306 // Standard Error: 0306 // Standard Error: 1_000
307 .saturating_add((168_000 as Weight).saturating_mul(s as Weight))307 .saturating_add((183_000 as Weight).saturating_mul(s as Weight))
308 .saturating_add(RocksDbWeight::get().reads(2 as Weight))308 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
309 .saturating_add(RocksDbWeight::get().writes(2 as Weight))309 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
310 }310 }
311 // Storage: Scheduler Lookup (r:1 w:1)311 // Storage: Scheduler Lookup (r:1 w:1)
312 // Storage: Scheduler Agenda (r:1 w:1)312 // Storage: Scheduler Agenda (r:1 w:1)
313 fn cancel_named(s: u32, ) -> Weight {313 fn cancel_named(s: u32, ) -> Weight {
314 (31_169_000 as Weight)314 (16_676_000 as Weight)
315 // Standard Error: 1_000315 // Standard Error: 1_000
316 .saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))316 .saturating_add((500_000 as Weight).saturating_mul(s as Weight))
317 .saturating_add(RocksDbWeight::get().reads(2 as Weight))317 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
318 .saturating_add(RocksDbWeight::get().writes(2 as Weight))318 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
319 }319 }
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-03-24, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, 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:
10// target/release/unique-collator10// target/release/unique-collator
11// benchmark11// benchmark
12// pallet
12// --pallet13// --pallet
13// pallet-structure14// pallet-structure
14// --wasm-execution15// --wasm-execution
41 // Storage: Common CollectionById (r:1 w:0)42 // Storage: Common CollectionById (r:1 w:0)
42 // Storage: Nonfungible TokenData (r:1 w:0)43 // Storage: Nonfungible TokenData (r:1 w:0)
43 fn find_parent() -> Weight {44 fn find_parent() -> Weight {
44 (6_302_000 as Weight)45 (7_013_000 as Weight)
45 .saturating_add(T::DbWeight::get().reads(2 as Weight))46 .saturating_add(T::DbWeight::get().reads(2 as Weight))
46 }47 }
47}48}
51 // Storage: Common CollectionById (r:1 w:0)52 // Storage: Common CollectionById (r:1 w:0)
52 // Storage: Nonfungible TokenData (r:1 w:0)53 // Storage: Nonfungible TokenData (r:1 w:0)
53 fn find_parent() -> Weight {54 fn find_parent() -> Weight {
54 (6_302_000 as Weight)55 (7_013_000 as Weight)
55 .saturating_add(RocksDbWeight::get().reads(2 as Weight))56 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
56 }57 }
57}58}
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-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
11// benchmark11// benchmark
12// pallet
12// --pallet13// --pallet
13// pallet-unique14// pallet-unique
14// --wasm-execution15// --wasm-execution
18// --template19// --template
19// .maintain/frame-weight-template.hbs20// .maintain/frame-weight-template.hbs
20// --steps=5021// --steps=50
21// --repeat=20022// --repeat=80
22// --heap-pages=409623// --heap-pages=4096
23// --output=./pallets/unique/src/weights.rs24// --output=./pallets/unique/src/weights.rs
2425
36 fn destroy_collection() -> Weight;37 fn destroy_collection() -> Weight;
37 fn add_to_allow_list() -> Weight;38 fn add_to_allow_list() -> Weight;
38 fn remove_from_allow_list() -> Weight;39 fn remove_from_allow_list() -> Weight;
39 fn set_public_access_mode() -> Weight;
40 fn set_mint_permission() -> Weight;
41 fn change_collection_owner() -> Weight;40 fn change_collection_owner() -> Weight;
42 fn add_collection_admin() -> Weight;41 fn add_collection_admin() -> Weight;
43 fn remove_collection_admin() -> Weight;42 fn remove_collection_admin() -> Weight;
44 fn set_collection_sponsor() -> Weight;43 fn set_collection_sponsor() -> Weight;
45 fn confirm_sponsorship() -> Weight;44 fn confirm_sponsorship() -> Weight;
46 fn remove_collection_sponsor() -> Weight;45 fn remove_collection_sponsor() -> Weight;
47 fn set_transfers_enabled_flag() -> Weight;46 fn set_transfers_enabled_flag() -> Weight;
48 fn set_offchain_schema(b: u32, ) -> Weight;
49 fn set_const_on_chain_schema(b: u32, ) -> Weight;
50 fn set_schema_version() -> Weight;
51 fn set_collection_limits() -> Weight;47 fn set_collection_limits() -> Weight;
52}48}
5349
57 // Storage: Common CreatedCollectionCount (r:1 w:1)53 // Storage: Common CreatedCollectionCount (r:1 w:1)
58 // Storage: Common DestroyedCollectionCount (r:1 w:0)54 // Storage: Common DestroyedCollectionCount (r:1 w:0)
59 // Storage: System Account (r:2 w:2)55 // Storage: System Account (r:2 w:2)
56 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
57 // Storage: Common CollectionProperties (r:0 w:1)
60 // Storage: Common CollectionById (r:0 w:1)58 // Storage: Common CollectionById (r:0 w:1)
61 fn create_collection() -> Weight {59 fn create_collection() -> Weight {
62 (28_929_000 as Weight)60 (39_427_000 as Weight)
63 .saturating_add(T::DbWeight::get().reads(4 as Weight))61 .saturating_add(T::DbWeight::get().reads(4 as Weight))
64 .saturating_add(T::DbWeight::get().writes(4 as Weight))62 .saturating_add(T::DbWeight::get().writes(6 as Weight))
65 }63 }
66 // Storage: Common CollectionById (r:1 w:1)64 // Storage: Common CollectionById (r:1 w:1)
65 // Storage: Nonfungible TokenData (r:1 w:0)
67 // Storage: Common DestroyedCollectionCount (r:1 w:1)66 // Storage: Common DestroyedCollectionCount (r:1 w:1)
68 // Storage: Nonfungible TokensMinted (r:0 w:1)67 // Storage: Nonfungible TokensMinted (r:0 w:1)
69 // Storage: Nonfungible TokensBurnt (r:0 w:1)68 // Storage: Nonfungible TokensBurnt (r:0 w:1)
70 // Storage: Common AdminAmount (r:0 w:1)69 // Storage: Common AdminAmount (r:0 w:1)
70 // Storage: Common CollectionProperties (r:0 w:1)
71 fn destroy_collection() -> Weight {71 fn destroy_collection() -> Weight {
72 (40_303_000 as Weight)72 (48_339_000 as Weight)
73 .saturating_add(T::DbWeight::get().reads(2 as Weight))73 .saturating_add(T::DbWeight::get().reads(3 as Weight))
74 .saturating_add(T::DbWeight::get().writes(5 as Weight))74 .saturating_add(T::DbWeight::get().writes(6 as Weight))
75 }75 }
76 // Storage: Common CollectionById (r:1 w:0)76 // Storage: Common CollectionById (r:1 w:0)
77 // Storage: Common Allowlist (r:0 w:1)77 // Storage: Common Allowlist (r:0 w:1)
78 fn add_to_allow_list() -> Weight {78 fn add_to_allow_list() -> Weight {
79 (15_989_000 as Weight)79 (17_379_000 as Weight)
80 .saturating_add(T::DbWeight::get().reads(1 as Weight))80 .saturating_add(T::DbWeight::get().reads(1 as Weight))
81 .saturating_add(T::DbWeight::get().writes(1 as Weight))81 .saturating_add(T::DbWeight::get().writes(1 as Weight))
82 }82 }
83 // Storage: Common CollectionById (r:1 w:0)83 // Storage: Common CollectionById (r:1 w:0)
84 // Storage: Common Allowlist (r:0 w:1)84 // Storage: Common Allowlist (r:0 w:1)
85 fn remove_from_allow_list() -> Weight {85 fn remove_from_allow_list() -> Weight {
86 (15_582_000 as Weight)86 (17_490_000 as Weight)
87 .saturating_add(T::DbWeight::get().reads(1 as Weight))87 .saturating_add(T::DbWeight::get().reads(1 as Weight))
88 .saturating_add(T::DbWeight::get().writes(1 as Weight))88 .saturating_add(T::DbWeight::get().writes(1 as Weight))
89 }89 }
90 // Storage: Common CollectionById (r:1 w:1)
91 fn set_public_access_mode() -> Weight {
92 (14_846_000 as Weight)
93 .saturating_add(T::DbWeight::get().reads(1 as Weight))
94 .saturating_add(T::DbWeight::get().writes(1 as Weight))
95 }
96 // Storage: Common CollectionById (r:1 w:1)
97 fn set_mint_permission() -> Weight {
98 (14_534_000 as Weight)
99 .saturating_add(T::DbWeight::get().reads(1 as Weight))
100 .saturating_add(T::DbWeight::get().writes(1 as Weight))
101 }
102 // Storage: Common CollectionById (r:1 w:1)90 // Storage: Common CollectionById (r:1 w:1)
103 fn change_collection_owner() -> Weight {91 fn change_collection_owner() -> Weight {
104 (14_990_000 as Weight)92 (17_701_000 as Weight)
105 .saturating_add(T::DbWeight::get().reads(1 as Weight))93 .saturating_add(T::DbWeight::get().reads(1 as Weight))
106 .saturating_add(T::DbWeight::get().writes(1 as Weight))94 .saturating_add(T::DbWeight::get().writes(1 as Weight))
107 }95 }
108 // Storage: Common CollectionById (r:1 w:0)96 // Storage: Common CollectionById (r:1 w:0)
109 // Storage: Common IsAdmin (r:1 w:1)97 // Storage: Common IsAdmin (r:1 w:1)
110 // Storage: Common AdminAmount (r:1 w:1)98 // Storage: Common AdminAmount (r:1 w:1)
111 fn add_collection_admin() -> Weight {99 fn add_collection_admin() -> Weight {
112 (19_957_000 as Weight)100 (23_301_000 as Weight)
113 .saturating_add(T::DbWeight::get().reads(3 as Weight))101 .saturating_add(T::DbWeight::get().reads(3 as Weight))
114 .saturating_add(T::DbWeight::get().writes(2 as Weight))102 .saturating_add(T::DbWeight::get().writes(2 as Weight))
115 }103 }
116 // Storage: Common CollectionById (r:1 w:0)104 // Storage: Common CollectionById (r:1 w:0)
117 // Storage: Common IsAdmin (r:1 w:1)105 // Storage: Common IsAdmin (r:1 w:1)
118 // Storage: Common AdminAmount (r:1 w:1)106 // Storage: Common AdminAmount (r:1 w:1)
119 fn remove_collection_admin() -> Weight {107 fn remove_collection_admin() -> Weight {
120 (21_209_000 as Weight)108 (24_859_000 as Weight)
121 .saturating_add(T::DbWeight::get().reads(3 as Weight))109 .saturating_add(T::DbWeight::get().reads(3 as Weight))
122 .saturating_add(T::DbWeight::get().writes(2 as Weight))110 .saturating_add(T::DbWeight::get().writes(2 as Weight))
123 }111 }
124 // Storage: Common CollectionById (r:1 w:1)112 // Storage: Common CollectionById (r:1 w:1)
125 fn set_collection_sponsor() -> Weight {113 fn set_collection_sponsor() -> Weight {
126 (14_963_000 as Weight)114 (17_795_000 as Weight)
127 .saturating_add(T::DbWeight::get().reads(1 as Weight))115 .saturating_add(T::DbWeight::get().reads(1 as Weight))
128 .saturating_add(T::DbWeight::get().writes(1 as Weight))116 .saturating_add(T::DbWeight::get().writes(1 as Weight))
129 }117 }
130 // Storage: Common CollectionById (r:1 w:1)118 // Storage: Common CollectionById (r:1 w:1)
131 fn confirm_sponsorship() -> Weight {119 fn confirm_sponsorship() -> Weight {
132 (14_478_000 as Weight)120 (17_297_000 as Weight)
133 .saturating_add(T::DbWeight::get().reads(1 as Weight))121 .saturating_add(T::DbWeight::get().reads(1 as Weight))
134 .saturating_add(T::DbWeight::get().writes(1 as Weight))122 .saturating_add(T::DbWeight::get().writes(1 as Weight))
135 }123 }
136 // Storage: Common CollectionById (r:1 w:1)124 // Storage: Common CollectionById (r:1 w:1)
137 fn remove_collection_sponsor() -> Weight {125 fn remove_collection_sponsor() -> Weight {
138 (14_393_000 as Weight)126 (17_079_000 as Weight)
139 .saturating_add(T::DbWeight::get().reads(1 as Weight))127 .saturating_add(T::DbWeight::get().reads(1 as Weight))
140 .saturating_add(T::DbWeight::get().writes(1 as Weight))128 .saturating_add(T::DbWeight::get().writes(1 as Weight))
141 }129 }
142 // Storage: Common CollectionById (r:1 w:1)130 // Storage: Common CollectionById (r:1 w:1)
143 fn set_transfers_enabled_flag() -> Weight {131 fn set_transfers_enabled_flag() -> Weight {
144 (7_309_000 as Weight)132 (9_734_000 as Weight)
145 .saturating_add(T::DbWeight::get().reads(1 as Weight))133 .saturating_add(T::DbWeight::get().reads(1 as Weight))
146 .saturating_add(T::DbWeight::get().writes(1 as Weight))134 .saturating_add(T::DbWeight::get().writes(1 as Weight))
147 }135 }
148 // Storage: Common CollectionById (r:1 w:1)
149 fn set_offchain_schema(_b: u32, ) -> Weight {
150 (15_220_000 as Weight)
151 .saturating_add(T::DbWeight::get().reads(1 as Weight))
152 .saturating_add(T::DbWeight::get().writes(1 as Weight))
153 }
154 // Storage: Common CollectionById (r:1 w:1)
155 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
156 (14_984_000 as Weight)
157 .saturating_add(T::DbWeight::get().reads(1 as Weight))
158 .saturating_add(T::DbWeight::get().writes(1 as Weight))
159 }
160 // Storage: Common CollectionById (r:1 w:1)
161 fn set_schema_version() -> Weight {
162 (14_596_000 as Weight)
163 .saturating_add(T::DbWeight::get().reads(1 as Weight))
164 .saturating_add(T::DbWeight::get().writes(1 as Weight))
165 }
166 // Storage: Common CollectionById (r:1 w:1)136 // Storage: Common CollectionById (r:1 w:1)
167 fn set_collection_limits() -> Weight {137 fn set_collection_limits() -> Weight {
168 (15_339_000 as Weight)138 (17_998_000 as Weight)
169 .saturating_add(T::DbWeight::get().reads(1 as Weight))139 .saturating_add(T::DbWeight::get().reads(1 as Weight))
170 .saturating_add(T::DbWeight::get().writes(1 as Weight))140 .saturating_add(T::DbWeight::get().writes(1 as Weight))
171 }141 }
176 // Storage: Common CreatedCollectionCount (r:1 w:1)146 // Storage: Common CreatedCollectionCount (r:1 w:1)
177 // Storage: Common DestroyedCollectionCount (r:1 w:0)147 // Storage: Common DestroyedCollectionCount (r:1 w:0)
178 // Storage: System Account (r:2 w:2)148 // Storage: System Account (r:2 w:2)
149 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
150 // Storage: Common CollectionProperties (r:0 w:1)
179 // Storage: Common CollectionById (r:0 w:1)151 // Storage: Common CollectionById (r:0 w:1)
180 fn create_collection() -> Weight {152 fn create_collection() -> Weight {
181 (28_929_000 as Weight)153 (39_427_000 as Weight)
182 .saturating_add(RocksDbWeight::get().reads(4 as Weight))154 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
183 .saturating_add(RocksDbWeight::get().writes(4 as Weight))155 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
184 }156 }
185 // Storage: Common CollectionById (r:1 w:1)157 // Storage: Common CollectionById (r:1 w:1)
158 // Storage: Nonfungible TokenData (r:1 w:0)
186 // Storage: Common DestroyedCollectionCount (r:1 w:1)159 // Storage: Common DestroyedCollectionCount (r:1 w:1)
187 // Storage: Nonfungible TokensMinted (r:0 w:1)160 // Storage: Nonfungible TokensMinted (r:0 w:1)
188 // Storage: Nonfungible TokensBurnt (r:0 w:1)161 // Storage: Nonfungible TokensBurnt (r:0 w:1)
189 // Storage: Common AdminAmount (r:0 w:1)162 // Storage: Common AdminAmount (r:0 w:1)
163 // Storage: Common CollectionProperties (r:0 w:1)
190 fn destroy_collection() -> Weight {164 fn destroy_collection() -> Weight {
191 (40_303_000 as Weight)165 (48_339_000 as Weight)
192 .saturating_add(RocksDbWeight::get().reads(2 as Weight))166 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
193 .saturating_add(RocksDbWeight::get().writes(5 as Weight))167 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
194 }168 }
195 // Storage: Common CollectionById (r:1 w:0)169 // Storage: Common CollectionById (r:1 w:0)
196 // Storage: Common Allowlist (r:0 w:1)170 // Storage: Common Allowlist (r:0 w:1)
197 fn add_to_allow_list() -> Weight {171 fn add_to_allow_list() -> Weight {
198 (15_989_000 as Weight)172 (17_379_000 as Weight)
199 .saturating_add(RocksDbWeight::get().reads(1 as Weight))173 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
200 .saturating_add(RocksDbWeight::get().writes(1 as Weight))174 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
201 }175 }
202 // Storage: Common CollectionById (r:1 w:0)176 // Storage: Common CollectionById (r:1 w:0)
203 // Storage: Common Allowlist (r:0 w:1)177 // Storage: Common Allowlist (r:0 w:1)
204 fn remove_from_allow_list() -> Weight {178 fn remove_from_allow_list() -> Weight {
205 (15_582_000 as Weight)179 (17_490_000 as Weight)
206 .saturating_add(RocksDbWeight::get().reads(1 as Weight))180 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
207 .saturating_add(RocksDbWeight::get().writes(1 as Weight))181 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
208 }182 }
209 // Storage: Common CollectionById (r:1 w:1)
210 fn set_public_access_mode() -> Weight {
211 (14_846_000 as Weight)
212 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
213 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
214 }
215 // Storage: Common CollectionById (r:1 w:1)
216 fn set_mint_permission() -> Weight {
217 (14_534_000 as Weight)
218 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
219 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
220 }
221 // Storage: Common CollectionById (r:1 w:1)183 // Storage: Common CollectionById (r:1 w:1)
222 fn change_collection_owner() -> Weight {184 fn change_collection_owner() -> Weight {
223 (14_990_000 as Weight)185 (17_701_000 as Weight)
224 .saturating_add(RocksDbWeight::get().reads(1 as Weight))186 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
225 .saturating_add(RocksDbWeight::get().writes(1 as Weight))187 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
226 }188 }
227 // Storage: Common CollectionById (r:1 w:0)189 // Storage: Common CollectionById (r:1 w:0)
228 // Storage: Common IsAdmin (r:1 w:1)190 // Storage: Common IsAdmin (r:1 w:1)
229 // Storage: Common AdminAmount (r:1 w:1)191 // Storage: Common AdminAmount (r:1 w:1)
230 fn add_collection_admin() -> Weight {192 fn add_collection_admin() -> Weight {
231 (19_957_000 as Weight)193 (23_301_000 as Weight)
232 .saturating_add(RocksDbWeight::get().reads(3 as Weight))194 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
233 .saturating_add(RocksDbWeight::get().writes(2 as Weight))195 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
234 }196 }
235 // Storage: Common CollectionById (r:1 w:0)197 // Storage: Common CollectionById (r:1 w:0)
236 // Storage: Common IsAdmin (r:1 w:1)198 // Storage: Common IsAdmin (r:1 w:1)
237 // Storage: Common AdminAmount (r:1 w:1)199 // Storage: Common AdminAmount (r:1 w:1)
238 fn remove_collection_admin() -> Weight {200 fn remove_collection_admin() -> Weight {
239 (21_209_000 as Weight)201 (24_859_000 as Weight)
240 .saturating_add(RocksDbWeight::get().reads(3 as Weight))202 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
241 .saturating_add(RocksDbWeight::get().writes(2 as Weight))203 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
242 }204 }
243 // Storage: Common CollectionById (r:1 w:1)205 // Storage: Common CollectionById (r:1 w:1)
244 fn set_collection_sponsor() -> Weight {206 fn set_collection_sponsor() -> Weight {
245 (14_963_000 as Weight)207 (17_795_000 as Weight)
246 .saturating_add(RocksDbWeight::get().reads(1 as Weight))208 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
247 .saturating_add(RocksDbWeight::get().writes(1 as Weight))209 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
248 }210 }
249 // Storage: Common CollectionById (r:1 w:1)211 // Storage: Common CollectionById (r:1 w:1)
250 fn confirm_sponsorship() -> Weight {212 fn confirm_sponsorship() -> Weight {
251 (14_478_000 as Weight)213 (17_297_000 as Weight)
252 .saturating_add(RocksDbWeight::get().reads(1 as Weight))214 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
253 .saturating_add(RocksDbWeight::get().writes(1 as Weight))215 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
254 }216 }
255 // Storage: Common CollectionById (r:1 w:1)217 // Storage: Common CollectionById (r:1 w:1)
256 fn remove_collection_sponsor() -> Weight {218 fn remove_collection_sponsor() -> Weight {
257 (14_393_000 as Weight)219 (17_079_000 as Weight)
258 .saturating_add(RocksDbWeight::get().reads(1 as Weight))220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
259 .saturating_add(RocksDbWeight::get().writes(1 as Weight))221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
260 }222 }
261 // Storage: Common CollectionById (r:1 w:1)223 // Storage: Common CollectionById (r:1 w:1)
262 fn set_transfers_enabled_flag() -> Weight {224 fn set_transfers_enabled_flag() -> Weight {
263 (7_309_000 as Weight)225 (9_734_000 as Weight)
264 .saturating_add(RocksDbWeight::get().reads(1 as Weight))226 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
265 .saturating_add(RocksDbWeight::get().writes(1 as Weight))227 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
266 }228 }
267 // Storage: Common CollectionById (r:1 w:1)
268 fn set_offchain_schema(_b: u32, ) -> Weight {
269 (15_220_000 as Weight)
270 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
271 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
272 }
273 // Storage: Common CollectionById (r:1 w:1)
274 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
275 (14_984_000 as Weight)
276 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
277 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
278 }
279 // Storage: Common CollectionById (r:1 w:1)
280 fn set_schema_version() -> Weight {
281 (14_596_000 as Weight)
282 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
283 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
284 }
285 // Storage: Common CollectionById (r:1 w:1)229 // Storage: Common CollectionById (r:1 w:1)
286 fn set_collection_limits() -> Weight {230 fn set_collection_limits() -> Weight {
287 (15_339_000 as Weight)231 (17_998_000 as Weight)
288 .saturating_add(RocksDbWeight::get().reads(1 as Weight))232 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
289 .saturating_add(RocksDbWeight::get().writes(1 as Weight))233 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
290 }234 }