Pro .NET Benchmarking

The Art of Performance Measurement

  • Andrey¬†Akinshin

Table of contents

  1. Front Matter
    Pages i-xxv
  2. Andrey Akinshin
    Pages 1-29
  3. Andrey Akinshin
    Pages 31-89
  4. Andrey Akinshin
    Pages 91-179
  5. Andrey Akinshin
    Pages 181-260
  6. Andrey Akinshin
    Pages 261-364
  7. Andrey Akinshin
    Pages 365-399
  8. Andrey Akinshin
    Pages 401-524
  9. Andrey Akinshin
    Pages 525-574
  10. Andrey Akinshin
    Pages 575-650
  11. Back Matter
    Pages 651-662

About this book


Use this in-depth guide to correctly design benchmarks, measure key performance metrics of .NET applications, and analyze results. This book presents dozens of case studies to help you understand complicated benchmarking topics. You will avoid common pitfalls, control the accuracy of your measurements, and improve performance of your software.

Author Andrey Akinshin has maintained BenchmarkDotNet (the most popular .NET library for benchmarking) for five years and covers common mistakes that developers usually make in their benchmarks. This book includes not only .NET-specific content but also essential knowledge about performance measurements which can be applied to any language or platform (common benchmarking methodology, statistics, and low-level features of modern hardware).

What You'll Learn:
  • Be aware of the best practices for writing benchmarks and performance tests
  • Avoid the common benchmarking pitfalls
  • Know the hardware and software factors that affect application performance
  • Analyze performance measurements
This book is for .NET developers concerned with the performance of their applications.

Andrey Akinshin, PhD is a .NET MVP, ACM ICPC medalist, project lead of BenchmarkDotNet, program director of the DotNext conference, and software developer at JetBrains where he works on Rider.


Microsoft C# performance bottleneck programming CLR

Authors and affiliations

  • Andrey¬†Akinshin
    • 1
  1. 1.Saint PetersburgRussia

Bibliographic information