|
18 | 18 | //! Autogenerated weights for pallet_asset
|
19 | 19 | //!
|
20 | 20 | //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
21 |
| -//! DATE: 2021-09-22, STEPS: [100, ], REPEAT: 5, LOW RANGE: [], HIGH RANGE: [] |
| 21 | +//! DATE: 2022-01-13, STEPS: [100, ], REPEAT: 5, LOW RANGE: [], HIGH RANGE: [] |
22 | 22 | //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 512
|
23 | 23 |
|
24 | 24 | // Executed Command:
|
@@ -53,130 +53,110 @@ use polymesh_runtime_common::{RocksDbWeight as DbWeight, Weight};
|
53 | 53 | pub struct WeightInfo;
|
54 | 54 | impl pallet_asset::WeightInfo for WeightInfo {
|
55 | 55 | fn register_ticker() -> Weight {
|
56 |
| - (99_696_000 as Weight) |
57 |
| - .saturating_add(DbWeight::get().reads(11 as Weight)) |
| 56 | + (80_765_000 as Weight) |
| 57 | + .saturating_add(DbWeight::get().reads(9 as Weight)) |
58 | 58 | .saturating_add(DbWeight::get().writes(3 as Weight))
|
59 | 59 | }
|
60 | 60 | fn accept_ticker_transfer() -> Weight {
|
61 |
| - (106_697_000 as Weight) |
62 |
| - .saturating_add(DbWeight::get().reads(7 as Weight)) |
| 61 | + (90_227_000 as Weight) |
| 62 | + .saturating_add(DbWeight::get().reads(5 as Weight)) |
63 | 63 | .saturating_add(DbWeight::get().writes(6 as Weight))
|
64 | 64 | }
|
65 | 65 | fn accept_asset_ownership_transfer() -> Weight {
|
66 |
| - (127_635_000 as Weight) |
| 66 | + (110_788_000 as Weight) |
67 | 67 | .saturating_add(DbWeight::get().reads(8 as Weight))
|
68 | 68 | .saturating_add(DbWeight::get().writes(6 as Weight))
|
69 | 69 | }
|
70 | 70 | fn create_asset(n: u32, i: u32, f: u32) -> Weight {
|
71 |
| - (171_969_000 as Weight) |
72 |
| - // Standard Error: 2_000 |
73 |
| - .saturating_add((3_000 as Weight).saturating_mul(n as Weight)) |
74 |
| - // Standard Error: 4_000 |
75 |
| - .saturating_add((90_000 as Weight).saturating_mul(i as Weight)) |
| 71 | + (157_890_000 as Weight) |
| 72 | + // Standard Error: 9_000 |
| 73 | + .saturating_add((73_000 as Weight).saturating_mul(n as Weight)) |
76 | 74 | // Standard Error: 2_000
|
77 |
| - .saturating_add((8_000 as Weight).saturating_mul(f as Weight)) |
78 |
| - .saturating_add(DbWeight::get().reads(14 as Weight)) |
| 75 | + .saturating_add((79_000 as Weight).saturating_mul(i as Weight)) |
| 76 | + // Standard Error: 9_000 |
| 77 | + .saturating_add((86_000 as Weight).saturating_mul(f as Weight)) |
| 78 | + .saturating_add(DbWeight::get().reads(12 as Weight)) |
79 | 79 | .saturating_add(DbWeight::get().writes(12 as Weight))
|
80 | 80 | }
|
81 | 81 | fn freeze() -> Weight {
|
82 |
| - (87_281_000 as Weight) |
| 82 | + (70_409_000 as Weight) |
83 | 83 | .saturating_add(DbWeight::get().reads(7 as Weight))
|
84 | 84 | .saturating_add(DbWeight::get().writes(1 as Weight))
|
85 | 85 | }
|
86 | 86 | fn unfreeze() -> Weight {
|
87 |
| - (86_023_000 as Weight) |
| 87 | + (71_421_000 as Weight) |
88 | 88 | .saturating_add(DbWeight::get().reads(7 as Weight))
|
89 | 89 | .saturating_add(DbWeight::get().writes(1 as Weight))
|
90 | 90 | }
|
91 |
| - fn rename_asset(_n: u32) -> Weight { |
92 |
| - (74_046_000 as Weight) |
| 91 | + fn rename_asset(n: u32) -> Weight { |
| 92 | + (62_463_000 as Weight) |
| 93 | + // Standard Error: 4_000 |
| 94 | + .saturating_add((47_000 as Weight).saturating_mul(n as Weight)) |
93 | 95 | .saturating_add(DbWeight::get().reads(6 as Weight))
|
94 | 96 | .saturating_add(DbWeight::get().writes(1 as Weight))
|
95 | 97 | }
|
96 | 98 | fn issue() -> Weight {
|
97 |
| - (161_993_000 as Weight) |
98 |
| - .saturating_add(DbWeight::get().reads(17 as Weight)) |
99 |
| - .saturating_add(DbWeight::get().writes(5 as Weight)) |
| 99 | + (162_071_000 as Weight) |
| 100 | + .saturating_add(DbWeight::get().reads(18 as Weight)) |
| 101 | + .saturating_add(DbWeight::get().writes(4 as Weight)) |
100 | 102 | }
|
101 | 103 | fn redeem() -> Weight {
|
102 |
| - (183_830_000 as Weight) |
| 104 | + (167_266_000 as Weight) |
103 | 105 | .saturating_add(DbWeight::get().reads(16 as Weight))
|
104 | 106 | .saturating_add(DbWeight::get().writes(6 as Weight))
|
105 | 107 | }
|
106 | 108 | fn make_divisible() -> Weight {
|
107 |
| - (64_897_000 as Weight) |
| 109 | + (62_479_000 as Weight) |
108 | 110 | .saturating_add(DbWeight::get().reads(6 as Weight))
|
109 | 111 | .saturating_add(DbWeight::get().writes(1 as Weight))
|
110 | 112 | }
|
111 | 113 | fn add_documents(d: u32) -> Weight {
|
112 |
| - (72_005_000 as Weight) |
113 |
| - // Standard Error: 262_000 |
114 |
| - .saturating_add((31_037_000 as Weight).saturating_mul(d as Weight)) |
| 114 | + (97_594_000 as Weight) |
| 115 | + // Standard Error: 187_000 |
| 116 | + .saturating_add((28_420_000 as Weight).saturating_mul(d as Weight)) |
115 | 117 | .saturating_add(DbWeight::get().reads(8 as Weight))
|
116 | 118 | .saturating_add(DbWeight::get().writes(1 as Weight))
|
117 | 119 | .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(d as Weight)))
|
118 | 120 | }
|
119 | 121 | fn remove_documents(d: u32) -> Weight {
|
120 |
| - (32_789_000 as Weight) |
121 |
| - // Standard Error: 122_000 |
122 |
| - .saturating_add((12_749_000 as Weight).saturating_mul(d as Weight)) |
| 122 | + (39_507_000 as Weight) |
| 123 | + // Standard Error: 61_000 |
| 124 | + .saturating_add((11_582_000 as Weight).saturating_mul(d as Weight)) |
123 | 125 | .saturating_add(DbWeight::get().reads(5 as Weight))
|
124 | 126 | .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(d as Weight)))
|
125 | 127 | }
|
126 |
| - fn set_funding_round(f: u32) -> Weight { |
127 |
| - (66_635_000 as Weight) |
128 |
| - // Standard Error: 0 |
129 |
| - .saturating_add((1_000 as Weight).saturating_mul(f as Weight)) |
| 128 | + fn set_funding_round(_f: u32) -> Weight { |
| 129 | + (59_158_000 as Weight) |
130 | 130 | .saturating_add(DbWeight::get().reads(5 as Weight))
|
131 | 131 | .saturating_add(DbWeight::get().writes(1 as Weight))
|
132 | 132 | }
|
133 | 133 | fn update_identifiers(i: u32) -> Weight {
|
134 |
| - (66_661_000 as Weight) |
135 |
| - // Standard Error: 3_000 |
136 |
| - .saturating_add((82_000 as Weight).saturating_mul(i as Weight)) |
| 134 | + (63_879_000 as Weight) |
| 135 | + // Standard Error: 1_000 |
| 136 | + .saturating_add((63_000 as Weight).saturating_mul(i as Weight)) |
137 | 137 | .saturating_add(DbWeight::get().reads(5 as Weight))
|
138 | 138 | .saturating_add(DbWeight::get().writes(1 as Weight))
|
139 | 139 | }
|
140 |
| - fn add_extension() -> Weight { |
141 |
| - (179_296_000 as Weight) |
142 |
| - .saturating_add(DbWeight::get().reads(11 as Weight)) |
143 |
| - .saturating_add(DbWeight::get().writes(2 as Weight)) |
144 |
| - } |
145 |
| - fn archive_extension() -> Weight { |
146 |
| - (155_844_000 as Weight) |
147 |
| - .saturating_add(DbWeight::get().reads(8 as Weight)) |
148 |
| - .saturating_add(DbWeight::get().writes(1 as Weight)) |
149 |
| - } |
150 |
| - fn unarchive_extension() -> Weight { |
151 |
| - (165_872_000 as Weight) |
152 |
| - .saturating_add(DbWeight::get().reads(8 as Weight)) |
153 |
| - .saturating_add(DbWeight::get().writes(1 as Weight)) |
154 |
| - } |
155 |
| - fn remove_smart_extension() -> Weight { |
156 |
| - (163_610_000 as Weight) |
157 |
| - .saturating_add(DbWeight::get().reads(9 as Weight)) |
158 |
| - .saturating_add(DbWeight::get().writes(2 as Weight)) |
159 |
| - } |
160 | 140 | fn claim_classic_ticker() -> Weight {
|
161 |
| - (271_133_000 as Weight) |
162 |
| - .saturating_add(DbWeight::get().reads(7 as Weight)) |
| 141 | + (265_862_000 as Weight) |
| 142 | + .saturating_add(DbWeight::get().reads(5 as Weight)) |
163 | 143 | .saturating_add(DbWeight::get().writes(3 as Weight))
|
164 | 144 | }
|
165 | 145 | fn reserve_classic_ticker() -> Weight {
|
166 |
| - (54_049_000 as Weight) |
| 146 | + (55_283_000 as Weight) |
167 | 147 | .saturating_add(DbWeight::get().reads(3 as Weight))
|
168 | 148 | .saturating_add(DbWeight::get().writes(3 as Weight))
|
169 | 149 | }
|
170 | 150 | fn controller_transfer() -> Weight {
|
171 |
| - (201_389_000 as Weight) |
| 151 | + (190_330_000 as Weight) |
172 | 152 | .saturating_add(DbWeight::get().reads(20 as Weight))
|
173 | 153 | .saturating_add(DbWeight::get().writes(9 as Weight))
|
174 | 154 | }
|
175 | 155 | fn register_custom_asset_type(n: u32) -> Weight {
|
176 |
| - (61_861_000 as Weight) |
| 156 | + (54_071_000 as Weight) |
177 | 157 | // Standard Error: 0
|
178 |
| - .saturating_add((12_000 as Weight).saturating_mul(n as Weight)) |
179 |
| - .saturating_add(DbWeight::get().reads(6 as Weight)) |
| 158 | + .saturating_add((13_000 as Weight).saturating_mul(n as Weight)) |
| 159 | + .saturating_add(DbWeight::get().reads(4 as Weight)) |
180 | 160 | .saturating_add(DbWeight::get().writes(3 as Weight))
|
181 | 161 | }
|
182 | 162 | }
|
0 commit comments