Pragmatic Performance - When to Care About Perf, and What to Do About It
Explore a pragmatic approach to performance optimization in this 57-minute conference talk from NDC Conferences. Learn when to prioritize performance, how to correctly benchmark .NET code, and discover common and lesser-known performance pitfalls in the .NET Framework. Gain insights into the true meaning behind "premature optimization is the root of all evil" and understand the coding tradeoffs involved. Dive into topics such as aggregate methods, benchmarking techniques, string concatenation, dictionary usage, interfaces, loops vs. LINQ, and measuring the right metrics. Acquire practical knowledge on writing effective benchmarks, understanding slow benchmarks, and leveraging tools like BenchmarkDotNet. Conclude with a discussion on the Open to Anything approach and the concept of Hybrid Dictionary to enhance your performance optimization skills.