roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.46k stars 313 forks source link

Another case of the language server hogging the CPU #6882

Open fwgreen opened 4 months ago

fwgreen commented 4 months ago

I noticed from time to time the IDE will not have type information available when hovering, I just realized that the CPU also spikes on those occasions. Note what happens with the language server's CPU usage as I hover over a dictionary.

https://github.com/roc-lang/roc/assets/7098161/839af23f-b747-4927-b7bd-c3556ff2eb87

macOS 14.5 on an M1 roc nightly pre-release, built from commit 3abc2769375 on Fri Jul 5 09:39:37 UTC 2024