C# – First steps with C# and .NET – part 032 .

A benchmark is a measurement or a set of measurements related to the performance of a piece of code in an application.
To work with BenchmarkDotNet you must install the BenchmarkDotNet package for benchmarking, see this webpage.

The default source code of HelloWord is this:

Let write methods for benchmarking, see the final source code:

Let’s test it:

You can see information related to the performance of the application.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.