Refactoring performance
Answered
Small project, C# + TypeScript, execute rename in TypeScript file. Performance is at unusable level, Rider tries to search everywhere (even in node_modules, which is totally pointless and makes no sense at all) and it takes forever. All checkboxes are off in rename dialog. CPU usage 100% on one core. Should be able to configure scope or exclude certain files/folder from useless search.
Please sign in to leave a comment.
Hi,
Could you please clarify Rider version (Help | About or JetBrains Rider | About) and check if node_modules folder is included to a solution?
If so, press "Show All Files" in Solution Explorer, then right-click on a corresponding folder -> select "Exclude" menu item.
node_modules are not included. Also, Rider fails to actually do rename. Intellij Idea works just fine on the same project.
Thank you for the information.
Could you please share your solution via https://uploads.jetbrains.com form and let us know the exact file name?
Also, we would be grateful if you collect and send us backend thread dumps.
Uploaded timeline and thread dump
Hello,
Thank you for information.
I've created an issue and assigned it to the corresponding developer.
Please, watch it for further updates.
If you have other questions about Rider, please let me know.
Kind regards,
Sofya