BLOG.JETBRAINS.COM
Next-Level Performance Improvements in ReSharper 2025.2
The 2025.2 release of ReSharper introduces a number of performance and responsiveness improvements across several key areas. This post outlines the most notable updates, including out-of-process support, improved solution startup, faster refactorings, and better Razor/Blazor handling. Download ReSharper Out-of-Process mode Public PreviewReSharper 2025.2 is the first stable release to support running ReSharper out of process (OOP) with Microsoft Visual Studio. This architectural change separates ReSharper from the Visual Studio process, improving performance and laying the groundwork for future stability improvements. You can learn all about the measurable typing latency improvements Out-of-Process mode brings from this blog post.To enable Out-of-Process mode, go to ReSharper | Options | Environment | Products & Features, select Run ReSharper in separate process, then click Save and restart to reinitialize without restarting the IDE.Should you have any questions about this new mode, you can request assistance here.Performance and quality updates for Razor/BlazorIn this release, Razor/Blazor support has been further optimized. Updates include reduced memory traffic and unnecessary processing for include files such as _ViewImports and _ViewStart, and improved performance for Find Usages on Razor component types.Several correctness issues have also been resolved, including false warnings in .razor and .cshtml files that previously disappeared only after editing.Additionally, 2025.2 introduces import completion for Razor and Blazor components. ReSharper now automatically adds the necessary @using directives when referencing components.ReSharpers Razor and Blazor support has received further performance improvements in this release. If you work with large projects containing many .razor and .cshtml files, youll notice faster responsiveness throughout your development workflow.Faster, more transparent Rename refactoringIn this release, weve focused on improving the performance of one of ReSharpers most widely used refactorings Rename. While it may seem simple on the surface, renaming a symbol can be quite complex behind the scenes, and the time it takes often depends on the type of code element youre renaming. Weve greatly improved ReSharpers progress reporting to provide clearer feedback during longer operations, keeping you informed throughout the process.This improved visibility helped us identify some performance bottlenecks, leading to optimizations in conflict detection, reduced unnecessary processing, eliminated duplicate operations, and lowered memory consumption all while fixing some correctness issues along the way.The biggest performance gain comes from parallelizing the Verifying suspicious references phase. Since this step typically only validates safety without modifying code, we can now run it across multiple threads while keeping code modifications safely on a single thread, as required by the IDEs architecture.Non-blocking inplace refactoringsInplace refactorings such as Rename or Change Signature have been made asynchronous. Previously, when you started renaming something, ReSharper would have to pause to analyze your entire codebase before letting you continue typing. Now, ReSharper lets you type immediately and does all the heavy analysis work in the background after youre done editing. This means no more typing delays during refactoring operations, particularly when working with large solutions.Faster solution loading and initial indexingWeve made indexing faster by updating how ReSharper reads files from your disk. In the past, ReSharper was designed to read files one at a time in sequence this worked well for older hard drives (HDDs) that performed better with this approach. However, modern solid-state drives (SSDs) SSDs are free from physical limitations of the HDDs and enable parallel I/O operations with high throughput. Weve removed the old restrictions on ReSharper, so it can now take full advantage of your SSDs capabilities, reading multiple files at once for faster startup.By streamlining how ReSharper coordinates its background work and removing outdated performance bottlenecks, indexing now runs more efficiently on modern computers. Weve also reduced the number of UI freezes during startup. While not eliminated entirely, these interruptions now occur less frequently and are shorter in duration. Additionally, several internal components that previously delayed background daemon activity have been reworked, resulting in faster initialization in many cases. The impact will vary depending on the solution, but the overall experience should feel smoother and more responsive.This faster startup is then further enhanced by the introduction of the Early Go-to mode.Instant solution navigation with Early Go-toWe know that waiting for ReSharper to fully load your solution before you can start working can be frustrating, especially on large codebases. With this release, were introducing Early Go-to a new startup mode that gets you productive immediately, even before your solution is fully indexed.What is Early Go-to?When you open a solution and press Ctrl+T (Search Everywhere/Go-to), ReSharper now provides instant access to files before the full project model and symbols are loaded. This means you can search for and open files right away, without waiting for solution indexing to complete.Think of it as a sped-up Go To File experience that kicks in early, so youre not stuck waiting during cold starts or when working with large solutions.How it worksThe feature activates automatically when you press Ctrl+T during solution startup. In this early mode, you can quickly find and open files by name and get straight to work.Once ReSharper finishes loading symbols in the background, youll see an Update results button that switches you to the full Go-to-Everywhere experience with type, symbol, and text search capabilities.After ReSharper is fully loaded, subsequent searches in the same session will use the complete Go-to-Everywhere functionality, as early mode is specifically designed for that initial startup period where you need to get to work quickly.Performance impactOn large solutions, this improvement can reduce your effective startup time by up to a full minute. Instead of waiting for complete indexing, you can immediately navigate to the files you need and begin coding while ReSharper continues its background processing.Current limitationsEarly mode focuses exclusively on file navigation it doesnt support symbol or text search yet. However, once you click Update results after full loading is complete, youll have access to all the search capabilities youre used to in Go-to-Everywhere.These improvements aim to make ReSharper more responsive and efficient, especially when working with large solutions or refactor-heavy workflows.We encourage you to give ReSharper 2025.2 a try and see if you notice a difference in day-to-day performance. If you do, wed love to hear your impressionsfeel free to share your experience and let us know how the latest update is working for you. Download ReSharper
0 Σχόλια
0 Μοιράστηκε
7 Views