© Andrey Akinshin 2019
Andrey AkinshinPro .NET Benchmarkinghttps://doi.org/10.1007/978-1-4842-4941-3_1

1. Introducing Benchmarking

Andrey Akinshin1 
(1)
Saint Petersburg, Russia
 

It is easier to optimize correct code than to correct optimized code.

— Bill Harlan, 1997

In this chapter, we will discuss the concept of benchmarking, the difference between benchmarking and other kinds of performance investigations, what kind of problems can be solved with benchmarking, what a good benchmark should look like, how to design a benchmark, and how to analyze its results. In particular, the following topics will be covered:
  • Performance investigations

    What does good performance investigation look like? Why is it important to define your goals and problems? What ...

Get Pro .NET Benchmarking: The Art of Performance Measurement now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.