performance
.NET Benchmarking and BenchmarkDotNet Articles, Tutorials & News
.NET Benchmarking and BenchmarkDotNet articles, tutorials, and news from the DotNetNews archive.
68 articles Updated
.NET benchmarking is the focus of this topic page. .NET Benchmarking and BenchmarkDotNet is how .NET teams reason about runtime cost, startup, and throughput once the feature work is done. Intermediate and senior .NET developers use this hub to scan practical writing without treating every link as an endorsement.
Recurring subtopics in recent issues include .NET benchmarking, BenchmarkDotNet, C# benchmarks, and performance benchmarks .NET. Those themes are drawn from titles and excerpts in the newest archive entries for this tag, not from a marketing outline.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for .NET Benchmarking and BenchmarkDotNet; the archive list is chronological and larger. Secondary angles such as .NET benchmarking and BenchmarkDotNet appear when the archive actually covered them. Nearby reading often overlaps with .NET Performance and Optimization and .NET Profiling and Diagnostics.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for Benchmarking
-
Bulk Operations in EF Core 10 - Benchmarking Insert, Update, and Delete Strategies
codewithmukesh.com Issue #490
Benchmarks with decision guidance are far more useful than generic EF Core advice, especially for bulk data workloads.
-
Bulk Operations in EF Core 10 - Benchmarking Insert, Update, and Delete Strategies
codewithmukesh.com Issue #419
EF Core bulk operation benchmarks are the kind of evidence-based article teams should bookmark.
-
How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era
neuecc.medium.com Issue #495
A welcome emphasis on BenchmarkDotNet and profiling discipline, especially when AI-generated optimizations need verification.
-
Database Performance: Making Entity Framework Queries Faster
dotnettips.com Issue #484
Compiled queries are worth revisiting if you have hot paths with repeated shapes and measurable EF overhead.
-
.NET 11 vs .NET 10: We Benchmarked Both on a Real Production App (Should You Upgrade?)
medium.com Issue #478
We run Mattrx on .NET 10 (the current LTS) in production, and we put .NET 11 previews through the same benchmark harness on the same….
-
Boost Your .NET Projects: Copilot, Benchmarks, and the Truth About Faster Code
dotnettips.com Issue #477
A healthy counterweight to AI hype: benchmark the suggestions, keep the wins, and discard the bad advice.
-
IAsyncEnumerable vs IEnumerable in C#: Performance and Use Cases
c-sharpcorner.com Issue #472
IAsyncEnumerable shines for streaming large datasets; IEnumerable forces everything into memory first.
-
Silly sorting algorithms in C#
medium.com Issue #466
Not every article has to be serious. Sometimes silly algorithms are just a fun way to revisit fundamentals and compare implementations.
Archive
Page 1 of 3
Newest first
-
Benchmarking .NET Worker Services Under CPU and Memory Pressure
c-sharpcorner.com Issue #529
Benchmark .NET Worker Services under CPU and memory pressure by measuring throughput, queue backlogs, garbage collection, latency, resource usage, and application stability.
-
Benchmarking Redis Serialization Formats for High-Throughput .NET APIs
c-sharpcorner.com Issue #529
Benchmark Redis serialization formats for high-throughput .NET APIs by comparing JSON, MessagePack, payload size, latency, memory allocations, throughput, and performance.
-
PostgreSQL 19 Beta: Benchmarking JSONB Workloads from .NET APIs
c-sharpcorner.com Issue #529
Benchmark PostgreSQL 19 Beta JSONB workloads from .NET APIs and evaluate query performance, indexing strategies, EF Core behavior, and database scalability.
-
Benchmarking Redis Connection Multiplexing for High-Throughput .NET APIs
c-sharpcorner.com Issue #529
Benchmark Redis connection multiplexing in high-throughput .NET APIs by measuring throughput, latency, connection usage, CPU consumption, and scalability under load.
-
My benchmark said my library was 2x faster. It was not.
baryodev.medium.com Issue #529
Mapsicle 1.3.0 is on NuGet. It fixes seven defects, two of which corrupted data silently. But the change I want to write about is the one…
-
PostgreSQL 19 Beta: Benchmarking JSONB Indexes with EF Core
c-sharpcorner.com Issue #528
Benchmark PostgreSQL 19 Beta JSONB indexes with EF Core by measuring query performance, indexing strategies, execution plans, storage, and application response times.
-
Benchmarking Semantic Routing vs Failover Routing in microsoft.Extensions.AI
c-sharpcorner.com Issue #527
Benchmark semantic routing and failover routing in Microsoft.Extensions.AI to compare model selection, reliability, latency, cost, and AI workload performance.
-
Microsoft.Extensions.AI Routing: Measuring Wrong-Model Selection Costs
c-sharpcorner.com Issue #527
Learn how incorrect AI model routing affects cost, latency, response quality, and reliability using Microsoft.Extensions.AI routing capabilities and practical benchmarks.
-
Benchmarking PostgreSQL 19 Beta Planner Changes with EF Core
c-sharpcorner.com Issue #527
Benchmark PostgreSQL 19 Beta query planner changes with EF Core using realistic workloads, execution plans, query latency, throughput, and database performance metrics.
-
Benchmarking .NET 11 HTTP Compression for Large JSON APIs
c-sharpcorner.com Issue #526
Benchmark .NET 11 HTTP compression for large JSON APIs by measuring response size, bandwidth savings, CPU usage, latency, throughput, and compression efficiency across realistic workloads.
-
Benchmarking Semantic Routing vs Static Model Selection in .NET
c-sharpcorner.com Issue #525
Compare semantic AI routing with static model selection in .NET by benchmarking latency, cost, routing accuracy, complexity, and overall application performance.
-
Benchmarking HTTP Compression Algorithms for ASP.NET Core APIs
c-sharpcorner.com Issue #523
Compare HTTP compression algorithms in ASP.NET Core APIs using real-world benchmarks for response size, CPU consumption, latency, throughput, and network efficiency.
-
Benchmarking PostgreSQL 18 AIO with Real EF Core Workloads
c-sharpcorner.com Issue #523
Benchmark PostgreSQL 18 AIO with EF Core workloads. Measure impact on ASP.NET Core apps, storage I/O, and query performance.
-
Benchmarking C# 15 Union Types in Real Applications
c-sharpcorner.com Issue #521
Benchmark C# 15 union types in real apps. Explore performance, allocations, boxing, and compare with interfaces for production readiness.
-
Benchmarking HTTP Request Compression in .NET 11
c-sharpcorner.com Issue #521
Explore HTTP request compression in .NET 11 through practical benchmarks measuring bandwidth usage, CPU overhead, latency, and throughput across different compression scenarios.
-
Benchmarking MCP C# SDK 2.0 Under Concurrent Tool Workloads
c-sharpcorner.com Issue #521
Benchmark MCP C# SDK 2.0 for .NET AI apps. Measure latency, throughput, concurrency, and resource usage under realistic tool workloads.
-
Benchmarking C# Async Tail-Await Optimizations in .NET 11
c-sharpcorner.com Issue #521
Benchmark C# async tail-await optimizations in .NET 11 to measure their impact on asynchronous execution, latency, throughput, allocations, and runtime performance.
-
Benchmarking Zstandard Compression in .NET Applications
c-sharpcorner.com Issue #521
Benchmark Zstandard compression in .NET 11 apps. Compare speed, size, CPU, and memory against GZip & Brotli for optimal data handling.
-
Benchmarking .NET 11 NativeAOT CLI Startup and Memory Usage
c-sharpcorner.com Issue #521
Benchmark .NET 11 NativeAOT command-line applications against JIT deployments to compare startup time, memory consumption, execution performance, and deployment characteristics.
-
Benchmarking ASP.NET Core HTTP/3 Under Real API Load
c-sharpcorner.com Issue #520
Benchmark ASP.NET Core API HTTP/3 performance under real-world load. Measure latency, throughput, CPU, and memory for accurate insights.
-
Benchmarking EF Core Complex-Type Indexes at Scale
c-sharpcorner.com Issue #520
Benchmark EF Core 11 complex-type indexes at scale. Measure query latency, reads, CPU, execution plans, and write overhead.
-
Benchmarking Local Speech-to-Text with Foundry Local and C#
c-sharpcorner.com Issue #520
Benchmark local speech-to-text with Microsoft Foundry Local and C#, comparing transcription latency, CPU usage, memory consumption, accuracy, and offline performance.
-
PostgreSQL 18 AIO: Benchmarking .NET Database Workloads
c-sharpcorner.com Issue #520
Benchmark PostgreSQL 18 AIO with .NET workloads. Measure performance differences between sync, worker, and io_uring for optimal database I/O.
-
Benchmarking .NET MAUI Startup After CoreCLR Migration
c-sharpcorner.com Issue #520
Benchmark .NET MAUI startup after CoreCLR migration. Measure cold/warm starts, UI responsiveness, memory, and app size for accurate performance analysis.
-
Benchmarking .NET Native AOT for High-Traffic REST APIs
c-sharpcorner.com Issue #519
Explore .NET Native AOT for high-traffic REST APIs. Benchmark startup, latency, throughput, and memory for optimal performance.