Rider code analyzer performance

Hello!

I’m working with a legacy product that has a lot of code in single files (TypeScript files with around 15 k lines of code).

I’ve noticed that when working with these files, Rider tends to freeze for a while during my workflow. When accessing referenced files, Rider performs a bit better, but I can still feel the slowdown in the IDE’s response time.

Does anyone know anything about this behavior? Maybe someone knows of a setting or plugin that could help Rider work faster on such large files, or at least prevent it from freezing?

0
5 comments

Hello,

We would be glad to investigate your case to determine the exact cause of the issue. Could you please create a new issue on YouTrack and attach your IDE logs there, together with a CPU usage snapshot

Natalia Shirokopoias 

WebStorm Support 

0

Hello! Thank you for your response.

Unfortunately, the logs contain our project structure and source code, which I’m unable to share. Is there a way to hide or redact sensitive information? Alternatively, how can I exclude confidential details before sharing the logs?

0

Unfortunately, it is not possible to fully remove these details since, for example, file names may be required for the investigation. However, on YouTrack, all the logs will be shared privately; moreover, you can change the visibility of the entire issue so it is visible only for you and the JetBrains team. In this case, your data will be available only to the engineers who work on your case. If this does not meet your requirements as well, we may consider signing an NDA. 

0

Hello,

After discussing this with the team, the proposal to create a ticket was declined due to concerns about a potential codebase leak.

It seems there isn’t a solution available at the moment. Thank you very much for your support!

0

Our general recommendations for performance issues are to use the IDE's latest builds. When it comes to JavaScript/TypeScript analysis, to increase performance, you may try disabling unnecessary inspections, excluding some files/folders from analysis, and other recommendations that we described in the following help topic: How to improve WebStorm performance(it mentions WebStorm since the JavaScript/TypeScript plugin is developed and maintained by the WebStorm team). 

0

Please sign in to leave a comment.