Major CPU spikes when working in Mojo files on Linux?

Hi all,

I seem to be experiencing major CPU spikes when writing anything in a Mojo file on Linux. Is anyone else experiencing this? I have attached a screenshot of the system resources that are being utilized when the problem occurs (which is when I’m just writing basic code); the CPU spikes in the screenshot occur when writing Mojo code. This doesn’t seem to happen when working with other languages (e.g., Python). It’s quite annoying at the moment as my fans start to spin up each time I begin writing anything. :sweat_smile:

Computer Setup

  • OS: Ubuntu Plucky Puffin
  • VS Code Extension Version: 25.2.0
  • Processor: AMD Ryzen™ 9 7950X3D × 32
  • Graphics: AMD Radeon™ RX 7900 XTX

I run into this every day. The LSP crashes regularly, and when it doesn’t, it’s extremely unresponsive.

Stay tuned. The Modular Tooling team has some significant LSP performance improvements in the pipeline that should be hitting nightly soon.

1 Like

Hi @tristanbiesecker try the Mojo Nightly version of the extension with the purple flame. There were some significant performance improvements recently, not sure if they made it into 25.2

1 Like

Unfortunately it doesn’t look like this helped. I experience the same CPU spikiness as before. :sad_but_relieved_face: