Session
Röck Yoür Cöde: Stop Guessing—Benchmark Like a Pro
Before you declare your code a headliner, give it a proper soundcheck.
A benchmark can produce an impressive-looking chart while measuring the wrong work. Choosing a faster implementation starts with knowing whether the comparison deserves your trust.
In this demonstration-driven session, David McCarter takes .NET benchmarking from the opening riff to a repeatable performance comparison. Using BenchmarkDotNet, with examples from his Spargine benchmarking work, you’ll learn how to establish a baseline, choose representative inputs, and compare implementations that perform equivalent work.
Then we’ll check the equipment. You’ll see how unrelated setup, unused results, and unsuitable test data can distort a comparison—and how to repair the benchmark before accepting its verdict.
Once the measurements arrive, we’ll put the results through their own soundcheck. Explore execution time, variability, baseline ratios, and allocated bytes. Learn what those numbers tell you, what they leave unanswered, and why the runtime and workload belong alongside every performance claim.
AI gets a guest spot in the set list. We’ll use it to draft a benchmark, then review the generated code for assumptions and mistakes that could undermine the experiment.
Through live demonstrations and real-world examples, you’ll develop a repeatable approach to investigating performance questions and deciding when a result needs further testing in your application.
Bring your performance claims. We’ll give them a soundcheck.
What Attendees Will Learn
• Design fair comparisons using baselines, representative inputs, and equivalent operations.
• Configure and run benchmarks while recognizing common sources of misleading measurements.
• Interpret execution time, variability, baseline ratios, and allocation results within the tested environment.
• Review AI-generated benchmarks and identify when further application-level validation is needed.
Give your .NET performance claims a proper soundcheck! Learn to build trustworthy BenchmarkDotNet benchmarks, measure execution time and allocations, and spot misleading results. Through live demos, Spargine examples, and an AI guest appearance, turn performance guesses into evidence you can explain and use.
David McCarter
Microsoft MVP (Developer Technologies), Software Architect, Speaker, Trainer, Inventor, and Mentor.
Austin, Texas, United States
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top