arduino / arduino-language-server

An Arduino Language Server based on Clangd to Arduino code autocompletion
GNU Affero General Public License v3.0
133 stars 11 forks source link

High CPU usage (clangd) #176

Closed Xayton closed 8 months ago

Xayton commented 8 months ago

If you have a core with a lot of files, that have not been previously indexed, the language server will spawn a lot of threads/processes. This large number of concurrent indexing operations (clangd) will consume all the CPU cores of the machine and slow down the user's machine.

cmaglie commented 8 months ago

PR here: https://github.com/arduino/arduino-language-server/pull/177