Skip to main content

BenchmarkDotNet

note

This document is under construction.

Overview

BenchmarkDotNet is a powerful library and tool for accurately measuring the performance of .NET methods.

Key Features

  • High Precision Measurement: Automatically handles warmup, iteration count adjustment, and statistical processing.
  • Multi-Environment Support: Allows comparison across multiple runtimes like .NET Framework, .NET Core, and Mono.
  • Detailed Reports: Outputs results in various formats such as Markdown, HTML, and CSV.
  • Memory Diagnosis: Can measure Garbage Collection (GC) occurrences and allocation amounts.

Basic Usage

(Installation instructions and simple code examples will be described here)