Closed
Bug 1667041
Opened 5 years ago
Closed 5 years ago
Do not consume all cores when indexing C++ with clangd
Categories
(Developer Infrastructure :: Developer Environment Integration, enhancement)
Developer Infrastructure
Developer Environment Integration
Tracking
(firefox83 fixed)
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: andi, Assigned: andi)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
When using clangd
with vscode
we shouldn't consume all available cores for indexing TU and it's includes, a better approach would be to consume only half of them.
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
(In reply to Andi-Bogdan Postelnicu [:andi] from comment #0)
When using
clangd
withvscode
we shouldn't consume all available cores for indexing TU and it's includes, a better approach would be to consume only half of them.
Why? clangd sets itself to have a low priority.
Comment 3•5 years ago
|
||
I tried this morning to open js/src/vm/Runtime.h with clangd and it uses all CPU to the point that spotify wasn't playing music anymore :p
Maybe changing the priority could be enough?
Assignee | ||
Comment 4•5 years ago
|
||
It's the same on windows, let's make this more conventional and use less cpu cores.
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07835afc964c
Do not consume all cores when indexing C++ with `clangd` from `vscode`. r=sylvestre
Comment 6•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•