.NET Benchmarking and BenchmarkDotNet Articles, Tutorials & News
.NET Benchmarking and BenchmarkDotNet articles, tutorials, and news from the DotNetNews archive.
38 articles Updated
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
Benchmarks are interesting, though preview-to-LTS comparisons always need a little skepticism.
-
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.
.NET benchmarking from the DotNetNews archive, curated for .NET developers who already ship production code. This is a reading list pulled from daily issues, not a substitute for the official docs on .NET Benchmarking and BenchmarkDotNet.
Use Start here for the editorial shortlist, then browse Latest or the full archive when you need more depth. Coverage leans toward .NET benchmarking, BenchmarkDotNet, C# benchmarks. Recent pieces worth opening: “How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era” and “Bulk Operations in EF Core 10, Benchmarking Insert, Update, and Delete Strategies”.
Latest
Newest Benchmarking from the archive
-
IAsyncEnumerable vs IEnumerable in C#: Performance and Use Casesc-sharpcorner.com Issue #472
-
Silly sorting algorithms in C#medium.com Issue #466
-
Tracking vs. No-Tracking Queries in EF Core 10 - When to Use Eachcodewithmukesh.com Issue #428
-
Speed Up .NET CI with Test Shardingmeziantou.net Issue #422
Archive
Page 1 of 2
Newest first
-
How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era
neuecc.medium.com Issue #495
In the AI era, just as tests are essential as the legs that let an AI agent run its loop, profilers matter too, because they supply the…
-
Bulk Operations in EF Core 10 - Benchmarking Insert, Update, and Delete Strategies
codewithmukesh.com Issue #490
Learn how to optimize bulk insert, update, and delete operations in EF Core 10. We benchmark 5 approaches with real numbers and a decision matrix for every scenario.
-
Database Performance: Making Entity Framework Queries Faster
dotnettips.com Issue #484
The article discusses the advantages of using compiled queries in Entity Framework, especially for frequently executed and complex queries.
-
.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
The article discusses the limitations and benefits of using Copilot for code optimization in the Spargine .NET project. While some suggestions from Copilot significantly improved performance, others w...
-
IAsyncEnumerable vs IEnumerable in C#: Performance and Use Cases
c-sharpcorner.com Issue #472
Learn the differences between IAsyncEnumerable and IEnumerable in C#. Explore performance, memory usage, async streaming, real-world examples, and best practices.
-
Silly sorting algorithms in C#
medium.com Issue #466
Algorithms and data structures are fundamental building blocks of informatics and are usually one of the first classes at university that…
-
HybridCache, LINQ traps, API performance
DotNetNews Issue #435
Coverage spans .NET 10 HybridCache, deeper health checks, LINQ execution costs, legacy Excel handling, project structure, and test library design.
-
Tracking vs. No-Tracking Queries in EF Core 10 - When to Use Each
codewithmukesh.com Issue #428
Tracking vs. no-tracking queries in EF Core 10 - benchmarks, memory analysis, AsNoTrackingWithIdentityResolution, and when to use each in ASP.NET Core Web APIs.
-
Speed Up .NET CI with Test Sharding
meziantou.net Issue #422
A shard is a deterministic subset of your test suite. Test sharding means splitting one long test run into multiple smaller runs, and executing them in parallel in CI. Instead of waiting for one job t...
-
Bulk Operations in EF Core 10 - Benchmarking Insert, Update, and Delete Strategies
codewithmukesh.com Issue #419
Learn how to optimize bulk insert, update, and delete operations in EF Core 10. We benchmark 5 approaches with real numbers and a decision matrix for every scenario.
-
-
String Performance: The Fastest Way to Get a String’s Length
dotnettips.wordpress.com Issue #380
Retrieving the character count of a string in .NET has various methods: using Span with Length, Length, or Enumerable.Count(). This article will prove which is the fastest method.
-
EF Core, C# 14, and GitHub Actions
DotNetNews Issue #365
A mixed .NET roundup covering EF Core plan cache issues, C# 14 and .NET 10 language updates, performance tips, architecture, and tooling.
-
-
How AsNoTracking() Makes Your EF Core Queries Faster
miguelbarros1983.medium.com Issue #336
A Practical Proof of Concept Using BenchmarkDotNet
-
Top 5 Free Tools Every .NET Developer Should Know by 2025
medium.com Issue #291
The .NET ecosystem continues to evolve rapidly in 2025, and developers will have access to more free tools than ever before. Whether…
-
EF Core Performance Myths Busted: Real Benchmarks and Tuning Tips
javascript.plainenglish.io Issue #290
Everything you’ve heard about Entity Framework Core being “too slow” might be outdated. Here’s what real-world data shows — and how to… Continue reading on JavaScript in Plain English »
-
LINQ performance tricks and GC changes
DotNetNews Issue #286
A varied .NET roundup with LINQ performance tips, GC updates in .NET 8, API versioning, Azure Functions, SQL Server, and AI workflows.
-
GC myths, auth, and performance
DotNetNews Issue #284
A varied .NET roundup covering garbage collection, cancellation tokens, Minimal API auth, EF Core bulk work, security, and Visual Studio tools.
-
Minimal APIs, Azure AI, and clean architecture
DotNetNews Issue #267
A varied .NET roundup covering Minimal APIs, Aspire and GitHub Models, security, performance, and architecture patterns for real-world apps.
-
Performance Benchmarking: .NET 9 vs Previous Versions
medium.com Issue #261
If you want the full source code, download it from this link: https://www.elitesolutions.shop/
-
EF Core filters, SignalR, security fixes
DotNetNews Issue #252
This issue covers EF Core 10 query filters, SignalR, background workers, API performance, security scanning, Azure Key Vault, and caching tips.
-
Blazor debugging, architecture, and performance
DotNetNews Issue #244
This issue mixes Blazor debugging, ASP.NET Core architecture, C# fundamentals, performance tuning, parallelism, and Azure updates.
-
Why Your .NET Benchmarks Are Lying to You (+ How to Fix Them)
itnext.io Issue #212
https://itnext.io/why-your-net-benchmarks-are-lying-to-you-how-to-fix-them-447490aa0bfb?source=rss------csharp-5