11 posts about BenchmarkDotNet by 9 contributors.
Know BenchmarkDotNet? Share what you know with developers who are learning it.
Introduction This article is a natural evolution of the article How to Sort Two-Dimensional Array in C# by Selected Column Index in Selected Column Sort Order , where it is explained how to create custom two-dimensional array sort extensions. Once we learn how to craft custom array sort extensions,
Learn practical .NET performance techniques for reducing allocations, optimizing lookups, caching safely, configuring resilient HTTP clients, and measuring results with BenchmarkDotNet.
Learn how .NET 11 JIT handles array and Span bounds checks, when checks can be eliminated, how loops affect optimization, and how to benchmark performance.
Explore .NET 11 JIT improvements in method inlining, bounds-check elimination, loops, devirtualization, Span optimization, and efficient native code generation.
Learn C# benchmarking with BenchmarkDotNet, including setup, benchmark classes, the [Benchmark] attribute, Release builds, performance analysis, and best practices.
Benchmark rival implementations that export identical type names in one BenchmarkDotNet process — no CS0433, no per-provider harness. A fair, apples-to-apples cross-provider comparison using C#'s extern alias feature.
Compare .NET JSON serializers: System.Text.Json, Source Generation, and Newtonsoft.Json. Benchmark for optimal performance.
Discover why gRPC outperforms REST with Protobuf contracts, streaming, and JSON vs Protobuf BenchmarkDotNet benchmarks.
Mastering BenchmarkDotNet: The Essential Benchmarking Library for .NET Developers guides you through using BenchmarkDotNet, a powerful tool for measuring and optimizing the performance of .NET applications.
Learn the basics of BenchmarkDotNet library to easily measure the performance of your .NET code.
Performance of written code has always been crucial and getting accurate matrices is a big challenge. In my initial experience with BenchmarkDotNet, I found it easiest to use among all free/paid code performance monitor tools.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only17days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article