-
-
Notifications
You must be signed in to change notification settings - Fork 515
Commit e983487
author
committedAkos Kitta
feat: preference to limit thread count of the LS
Added a new preference (`arduino.language.asyncWorkers`) to control the
number of async workers used by `clangd`.
Users can fine tune the `clangd` thread count to overcome the excessive
CPU usage.
Use 0.1.2 Arduino Tools VSIX in IDE2.
Ref: arduino/arduino-language-server#177
Ref: arduino/vscode-arduino-tools#46
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>1 parent dda7770 commit e983487
File tree
5 files changed
+60
-10
lines changed- arduino-ide-extension
- src/browser
- contributions
- electron-app
- i18n
5 files changed
+60
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | - | ||
172 | + | ||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | - | ||
178 | + | ||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | ||
82 | 96 | | |
83 | 97 | | |
84 | 98 | | |
| |||
298 | 312 | | |
299 | 313 | | |
300 | 314 | | |
315 | + | ||
301 | 316 | | |
302 | 317 | | |
303 | 318 | | |
| |||
Lines changed: 41 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | - | ||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
12 | + | ||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | - | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
25 | + | ||
20 | 26 | | |
21 | - | ||
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
| |||
137 | 146 | | |
138 | 147 | | |
139 | 148 | | |
149 | + | ||
140 | 150 | | |
141 | 151 | | |
142 | 152 | | |
| |||
168 | 178 | | |
169 | 179 | | |
170 | 180 | | |
171 | - | ||
172 | - | ||
173 | - | ||
181 | + | ||
182 | + | ||
183 | + | ||
184 | + | ||
185 | + | ||
186 | + | ||
174 | 187 | | |
175 | 188 | | |
176 | 189 | | |
| |||
230 | 243 | | |
231 | 244 | | |
232 | 245 | | |
233 | - | ||
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
237 | 249 | | |
250 | + | ||
251 | + | ||
252 | + | ||
253 | + | ||
254 | + | ||
255 | + | ||
238 | 256 | | |
239 | 257 | | |
240 | 258 | | |
| |||
273 | 291 | | |
274 | 292 | | |
275 | 293 | | |
294 | + | ||
276 | 295 | | |
277 | 296 | | |
278 | 297 | | |
| |||
283 | 302 | | |
284 | 303 | | |
285 | 304 | | |
305 | + | ||
306 | + | ||
307 | + | ||
308 | + | ||
309 | + | ||
310 | + | ||
311 | + | ||
312 | + | ||
313 | + | ||
314 | + | ||
315 | + | ||
316 | + | ||
317 | + | ||
318 | + | ||
319 | + | ||
286 | 320 | | |
287 | 321 | | |
288 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | - | ||
199 | + | ||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | + | ||
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
| |||
0 commit comments