Extreme lag while typing
I'm experiencing a great deal of lag while typing. The issue is intermittent… sometimes it doesn't happen at all for a few minutes, but sometimes it can take 30+ seconds to register a single keystroke and write the character to the code file. Often, simply typing something like “var x = ” can take 20+ seconds. I've tried disabling pretty much all plugins and that didn't help. I tried disabling solution-wide analysis and that didn't help. Checking my system monitor, my CPU and RAM are both under 20% utilized, so it's not a resource issue.
Sometimes the lag causes duplication of input too. One time I tapped the backspace key 5 times. Over the next 30 seconds, it slowly backspaced through two lines of text.
I'm on Fedora 40. Using Rider 2024.1.3. Primarily working in C# with Unity.
Please advise. Getting Rider to work well is one of the last steps I need to make work to finish the transition from Windows to Linux.
Edit: new info: this even happens when writing comments! WTH!
Please sign in to leave a comment.
Hi,
Could you please could collect CPU snapshot while typing
and a log bundle (
Help | Collect Logs and Diagnostic Data
).Thank you in advance and have a great day!
I have the same issue with the latest version (Rider 2024.1.3 - Fedora 40 Linux 6.9.4-200.fc40.x86_64) :/.
References:
https://youtrack.jetbrains.com/issue/RIDER-110891/Laggy-Slow-Typing-while-Solution-Wide-Analysis-is-enabled
https://youtrack.jetbrains.com/issue/IJPL-149640
https://discussion.fedoraproject.org/t/severe-key-input-lag-in-jetbrains-rider-fedora-40/120102
Thank you for your reply. I'll check what happened with this issue (https://youtrack.jetbrains.com/issue/RIDER-110891/Laggy-Slow-Typing-while-Solution-Wide-Analysis-is-enabled) because it is marked as fixed, and get back to you.
https://youtrack.jetbrains.com/issue/IJPL-149640 - is available in the EAP of 2024.2. Could you please give it a try and let me know about the results?
Hi Sofía.
The issue persists in both Rider 2024.2 EAP3 and Rider 2024.1 Nightly (it's impossible to type normally without experiencing delays).
Thank you.
The thing is that the issue you sent to me were fixed and most likely, the typing performance in your case is caused by a different reason.
Could you please collect CPU snapshot while typing:
1. Call the action "Help | Diagnostic tools | Profile Backend with Sampling".
2. Wait until Attaching to profiler process finishes (a progress bar in the bottom status bar will indicate about it and you will see that Profiling is in progress).
3. Perform the "lagging" actions.
4. Wait for a minute and then stop profiling with the action "Help | Diagnostic tools | Backend: stop profiling".
5. In the bottom right corner you will see a notification popup that a snapshot has been captured and a link to the snapshot file. Collect this snapshot.
6. Create a new issue (https://youtrack.jetbrains.com/issues/RIDER) in the Rider issue tracker. In the issue, provide a short description of the performance problems you're experiencing, share the collected snapshot via uploads.jetbrains.com (https://uploads.jetbrains.com/) service, and let us know the exact ID of your upload.
Also, please share a log bundle (`Help | Collect Logs and Diagnostic Data`).
Not sure if this is helpful, but the problem seems to abate significantly after a week or two of using Rider.
I understand there are some features that are supposed to “learn” the user's style and habits. Maybe these just need some performance tuning during their initial foray, when they have a dearth of data and need to collect a lot?
Another possibility is that my code is currently stored on an external drive connected by USB. So, maybe that's a possible bottleneck?
At any rate, the issue seems to have grown sporadic enough that it's unlikely I'll be able to get a profile of it in action.
https://youtrack.jetbrains.com/issue/RIDER-113681/Lag-when-typing-Fedora-Linux-40-workstation-edition
Thanks :)
Thank you for filing the issue!