doomemacs / doomemacs/core

Doom emacs gets slower over time editing rust files.

Open
#5,872 13 comments 3 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

Performance is consistent.

### What actually happened?

Performance degrades over time, I suspect related to the act of editing the file.

Performance gets better if I leave it for 10 mins idling.

Emacs process is pinned at 100% for a few seconds when it gets really bad, so it's not `rls` latency or anything like that.

There's a bunch of errors:

https://gist.github.com/YellowOnion/f648cb458ad0127b04e6049631d64456

### Describe your attempts to resolve the issue

I tried profiling but not sure how to expand the results in evil mode.

LSP mode is disabled in `init.el` but it's still running which is probably causing more issues (clashes between racer and rls?)

### Steps to reproduce

Edit rust file for 10 mins or so.

### System Information

https://gist.github.com/YellowOnion/f648cb458ad0127b04e6049631d64456

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.