.NET Rocks! cover image

.NET Rocks!

.NET Performance with Daniel Marbach

Dec 21, 2023
Expert Daniel Marbach shares insights on improving .NET performance with profiling and benchmarking. Tools to help are mentioned. Anecdotes on geek outs, iPhone security, and passion for message-based systems are discussed. Memory inefficiency issues, impact of memory allocations, and performance optimizations like value tasks and benchmarking are explored.
56:19

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Performance benchmarking involves executing scenarios under numerous iterations and analyzing CPU and memory usage to identify areas for improvement.
  • Considering performance as a non-functional requirement from the outset of a project ensures it is an integral part of the architecture and design decisions, leading to informed trade-offs and resource allocation.

Deep dives

Understanding the Importance of Performance Benchmarking

Performance benchmarking is a crucial aspect of optimizing software performance. It goes beyond simple pass or fail testing and involves executing scenarios under numerous iterations. Profiling tools like dotTrace and dotMemory help analyze CPU and memory usage, allowing you to identify hot paths and areas for improvement. Establishing a benchmarking harness with well-defined test cases is essential to measure performance improvements accurately. Tools like Benchmark.NET facilitate benchmarking and provide informative results. Starting with small performance optimizations and gradually incorporating more mature benchmarking techniques can lead to significant improvements.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner