The road to faster ReShaper - Kevin Gosse - NDC Oslo 2026

The road to faster ReShaper - Kevin Gosse - NDC Oslo 2026

🎙 Kevin Gosse 👥 231K 📅 November 24, 2026 ⏱ 53 min 👁 20 📄 expert opinion 🧭 2026-11-24
Available in: English (current) Français

Keywords

ReSharperperformanceJITgenericsthreading

Summary

In this talk, Kevin Gosse, a principal engineer at JetBrains, shares his experience in optimizing the performance of ReSharper, a widely used extension for Visual Studio. He highlights the two main user pain points: long startup times and typing latency. To address these, he focuses on three major technical bottlenecks: the Just-In-Time (JIT) compiler, the excessive use of generics, and the threading model. He explains how JIT compilation consumes about 65% of CPU during startup and describes a custom pre-JIT solution using a background thread to compile methods ahead of time. For generics, he shows that generic resolution can take up to 15% of CPU time and suggests reducing generic usage while acknowledging the trade-offs. Finally, he discusses the threading model, where the project model is locked to the UI thread, causing contention, and introduces a scheduling approach to cap UI thread work. The talk includes concrete measurements, such as a 36% reduction in accumulated freezes, and emphasizes the importance of continuous performance measurement and the use of profilers.

169 words

Critical Evaluation

Value of the Information & Strength of the Argument

The talk provides exceptional value by offering concrete, data-driven insights into optimizing a large legacy codebase. The speaker supports every claim with specific numbers and measurements from profilers, demonstrating a rigorous approach. His argumentation is solid, as he systematically identifies causes, proposes solutions, and validates results. The practical advice on using different profilers for different scenarios is particularly useful. The speaker also acknowledges constraints and trade-offs, which strengthens the credibility of his arguments.

Scientific Rigor, Source Quality, Title Accuracy

The content is based on the speaker’s direct professional experience, making it a primary source. He references internal tooling and common .NET tools, but no external academic references are cited. The title matches the content perfectly, as the talk is indeed about the roadmap to making ReSharper faster. The presentation is well-structured, moving from problem identification to solution implementation and results.

149 words

Title / Content Match

The title accurately reflects the content, which details the journey and methods used to improve ReSharper's performance.

Quality & Reliability

8/10

The talk is delivered by a principal engineer at JetBrains with detailed, measured performance data. The information is based on direct experience and profiler results, making it highly credible. However, it is a single source and not peer-reviewed.

Key Moments

Cited Sources

  • NDC Conferences — Official conference website where the talk was recorded
  • NDC Oslo — The specific conference event page

Contribution & Novelties

The talk offers a unique insider perspective on optimizing a 20-million-line codebase. It details practical techniques such as creating a custom pre-JIT via module initializers and using profilers to target specific bottlenecks. The author also discusses the trade-offs between generics and performance, and presents a scheduler to manage UI thread work.

Pour aller plus loin :

  • Multicore JIT - A feature for .NET Framework that pre-compiles methods on background threads; the speaker discusses its limitations.
  • PerfView - A powerful ETW-based performance profiler used by the speaker for analysis.
  • NGen - The native image generator that pre-compiles IL to native code; its limitations in ReSharper are explained.

106 words

Radar Profile

The radar profile shows a well-balanced presentation with high scores in both information quantity and quality, indicating a dense but accurate talk. The technical level is appropriately advanced, and the overall reliability is strong. This suggests that the talk is highly credible and informative for a professional audience.

Reliability 8/10