dotnext DotNext 2016 Helsinki (07.12.2016 — 07.12.2016)

Let's talk about microbenchmarking

img

This talk is about a wonderful world of microbenchmarking and microperformance. Andrey will discuss why microbenchmarking is hard and how to measure very quick operations right way. Also, he will talk about the BenchmarkDotNet library which can help to design correct microbenchmarks.

This talk is about a wonderful world of microbenchmarking and microperformance. Andrey will discuss why microbenchmarking is hard and how to measure very quick operations right way. Also, he will talk about the BenchmarkDotNet library which can help to design correct microbenchmarks.

Content:

General methodology;

Common pitfalls and mistakes;

How long we should measure and how many times?;

Warmup importance;

Why we should run benchmarks in different environments (different C# Compilers/CLR versions/JITs/Operation systems/etc);

Overhead evaluation;

Statistics calculation;

Good practices.