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

difftreelog

Fungible pallet weights restored

Dev2022-06-09parent: #8ab31b9.patch.diff
in: master

1 file changed

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-06-09, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, 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
13// --pallet12// --pallet
14// pallet-fungible13// pallet-fungible
15// --wasm-execution14// --wasm-execution
48 // Storage: Fungible TotalSupply (r:1 w:1)47 // Storage: Fungible TotalSupply (r:1 w:1)
49 // Storage: Fungible Balance (r:1 w:1)48 // Storage: Fungible Balance (r:1 w:1)
50 fn create_item() -> Weight {49 fn create_item() -> Weight {
51 (40_678_000 as Weight)50 (14_407_000 as Weight)
52 .saturating_add(T::DbWeight::get().reads(2 as Weight))51 .saturating_add(T::DbWeight::get().reads(2 as Weight))
53 .saturating_add(T::DbWeight::get().writes(2 as Weight))52 .saturating_add(T::DbWeight::get().writes(2 as Weight))
54 }53 }
55 // Storage: Fungible TotalSupply (r:1 w:1)54 // Storage: Fungible TotalSupply (r:1 w:1)
56 // Storage: Fungible Balance (r:4 w:4)55 // Storage: Fungible Balance (r:4 w:4)
57 fn create_multiple_items_ex(b: u32, ) -> Weight {56 fn create_multiple_items_ex(b: u32, ) -> Weight {
58 (13_036_000 as Weight)57 (13_030_000 as Weight)
59 // Standard Error: 9_00058 // Standard Error: 1_000
60 .saturating_add((15_611_000 as Weight).saturating_mul(b as Weight))59 .saturating_add((3_779_000 as Weight).saturating_mul(b as Weight))
61 .saturating_add(T::DbWeight::get().reads(1 as Weight))60 .saturating_add(T::DbWeight::get().reads(1 as Weight))
62 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))61 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
63 .saturating_add(T::DbWeight::get().writes(1 as Weight))62 .saturating_add(T::DbWeight::get().writes(1 as Weight))
66 // Storage: Fungible TotalSupply (r:1 w:1)65 // Storage: Fungible TotalSupply (r:1 w:1)
67 // Storage: Fungible Balance (r:1 w:1)66 // Storage: Fungible Balance (r:1 w:1)
68 fn burn_item() -> Weight {67 fn burn_item() -> Weight {
69 (42_340_000 as Weight)68 (15_565_000 as Weight)
70 .saturating_add(T::DbWeight::get().reads(2 as Weight))69 .saturating_add(T::DbWeight::get().reads(2 as Weight))
71 .saturating_add(T::DbWeight::get().writes(2 as Weight))70 .saturating_add(T::DbWeight::get().writes(2 as Weight))
72 }71 }
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 (47_321_000 as Weight)75 (17_713_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 (38_385_000 as Weight)82 (14_834_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 (69_001_000 as Weight)89 (25_189_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 (63_996_000 as Weight)97 (24_065_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 (40_678_000 as Weight)108 (14_407_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_036_000 as Weight)115 (13_030_000 as Weight)
116 // Standard Error: 9_000116 // Standard Error: 1_000
117 .saturating_add((15_611_000 as Weight).saturating_mul(b as Weight))117 .saturating_add((3_779_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 (42_340_000 as Weight)126 (15_565_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
130 // Storage: Fungible Balance (r:2 w:2)131 // Storage: Fungible Balance (r:2 w:2)
131 fn transfer() -> Weight {132 fn transfer() -> Weight {
132 (47_321_000 as Weight)133 (17_713_000 as Weight)
133 .saturating_add(RocksDbWeight::get().reads(2 as Weight))134 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
134 .saturating_add(RocksDbWeight::get().writes(2 as Weight))135 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
135 }136 }
136 // Storage: Fungible Balance (r:1 w:0)137 // Storage: Fungible Balance (r:1 w:0)
137 // Storage: Fungible Allowance (r:0 w:1)138 // Storage: Fungible Allowance (r:0 w:1)
138 fn approve() -> Weight {139 fn approve() -> Weight {
139 (38_385_000 as Weight)140 (14_834_000 as Weight)
140 .saturating_add(RocksDbWeight::get().reads(1 as Weight))141 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
141 .saturating_add(RocksDbWeight::get().writes(1 as Weight))142 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
142 }143 }
143 // Storage: Fungible Allowance (r:1 w:1)144 // Storage: Fungible Allowance (r:1 w:1)
144 // Storage: Fungible Balance (r:2 w:2)145 // Storage: Fungible Balance (r:2 w:2)
145 fn transfer_from() -> Weight {146 fn transfer_from() -> Weight {
146 (69_001_000 as Weight)147 (25_189_000 as Weight)
147 .saturating_add(RocksDbWeight::get().reads(3 as Weight))148 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
148 .saturating_add(RocksDbWeight::get().writes(3 as Weight))149 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
149 }150 }
150 // Storage: Fungible Allowance (r:1 w:1)151 // Storage: Fungible Allowance (r:1 w:1)
151 // Storage: Fungible TotalSupply (r:1 w:1)152 // Storage: Fungible TotalSupply (r:1 w:1)
152 // Storage: Fungible Balance (r:1 w:1)153 // Storage: Fungible Balance (r:1 w:1)
153 fn burn_from() -> Weight {154 fn burn_from() -> Weight {
154 (63_996_000 as Weight)155 (24_065_000 as Weight)
155 .saturating_add(RocksDbWeight::get().reads(3 as Weight))156 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
156 .saturating_add(RocksDbWeight::get().writes(3 as Weight))157 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
157 }158 }