#BenchmarkDotNet
I will try to generate some BenchmarkDotNet tests on the weekend, generating 100s of types to see how it affects performance.
Unless someone has already done that... 😎
Hey #dotnet people with knowledge of System.Text.Json!

How many types can a TypeInfoResolverChain contain before it gets useless? Some things like HttpJsonOptions only allow one JsonSerializerOptions and so I have to chain all those generated contexts into one (100s of types).
Is that ok? #json
November 13, 2025 at 9:01 PM
In this video, I'll walk through the BenchmarkDotNet benchmarks for comparing the LINQ zip method and MoreLINQ ZipShortest and ZipLongest methods. We'll even see how my naive implementation does against these!

Buckle up and get ready to see how optimized my code is!

Spoiler Alert: It's not.
October 18, 2025 at 9:00 PM
Is this some sort of perf framework that’ll be shared similar to BenchmarkDotNet?
October 4, 2025 at 12:04 AM
Today's random GitHub ⭐!

dotnet/BenchmarkDotNet

Posted using Starrysky
GitHub - dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
github.com
September 29, 2025 at 3:26 PM
September 20, 2025 at 8:23 PM
https://youtu.be/Wa3sdKGp3wE
This video explains how you can use BenchmarkDotNet like all of the performance examples you see across the web!

https://youtu.be/RR7Cq0iwNYo
https://youtu.be/RR7Cq0iwNYo
https://youtu.be/RR7Cq0iwNYo
youtu.be
September 8, 2025 at 7:00 PM
We all know that we're not supposed to use reflection in performance critical paths...

Read more here:
https://www.devleader.ca/2024/03/17/constructorinfo-how-to-make-reflection-in-dotnet-faster-for-instantiation/

#CSharp #DotNet #DotNetCore #BenchmarkDotNet
September 7, 2025 at 7:00 PM
Want to make your .NET code faster? 🚀 Benchmarking is key! Learn how to measure performance, catch bottlenecks, and optimize your code using BenchmarkDotNet & Spargine. Don't ship slow code! ⚡
dotnettips.wordpress.com/2022/11/28/b...
#dotNET #Benchmarking #BenchmarkDotNet #MVPBuzz
Benchmark Your Microsoft .NET Code Like dotNetDave!
Benchmarking is crucial for assessing code performance, identifying bottlenecks, and making efficient algorithm comparisons. Despite its importance, many developers overlook it. Using BenchmarkDotN…
dotnettips.wordpress.com
September 3, 2025 at 3:55 PM
August 28, 2025 at 7:01 PM
But have you ever wondered about the performance of these two? Let's use BenchmarkDotNet to performance profile our C# code and see if collection expressions have different behavior!

Watch here:
https://www.youtube.com/watch?v=MtXDh82zwns
https://www.youtube.com/watch?v=MtXDh82zwns
https://www.youtube.com/watch?v=MtXDh82zwns
www.youtube.com
August 24, 2025 at 9:00 PM
I've been creating MongoDB tutorials fro C# developers so that they can get more familiar with using it. This is because *I* am trying to get more familiar with using it too. During my MongoDB journeys, I wanted to explore if I used BenchmarkDotNet if I could uncover any performance differences.
August 22, 2025 at 9:00 PM
101.04 ms -> 32.66 ms
C# 標準入力を今までの 3 倍高速化することに成功――

(名前を隠してるのは他人のを勝手に拝借したやつでそれ以外が自分のものです)
August 22, 2025 at 1:29 PM
But how do we run out benchmarks from BenchmarkDotNet? In this video, I'll show you two common ways that I pick between and what each use case is helpful for. Jump into this BenchmarkDotNet tutorial and see how to use BenchmarkDotNet!

Watch here:
https://www.youtube.com/watch?v=Hqeq9ycqteQ
https://www.youtube.com/watch?v=Hqeq9ycqteQ
https://www.youtube.com/watch?v=Hqeq9ycqteQ
www.youtube.com
August 9, 2025 at 9:00 PM
2 EASIEST Ways to Run C# Benchmarks with BenchmarkDotNet

BenchmarkDotNet is the gold standard for being able to benchmark our C# code. It greatly simplifies the process of creating C# benchmarks for the code we're interested in optimizing and creates a repeatable report for us to analyze.
August 9, 2025 at 9:00 PM
Got some battle-tested practicals of your own?
🎤 Submit your talk: dddmelbourne.com/cfp

Catch the full talk and subscribe to DDD Melbourne Youtube channel here: youtu.be/Xfksp0WCCJQ
August 8, 2025 at 4:30 AM
i know i'm not the best dev but a simple benchmark gave me these numbers. my benchmark could be wrong though but the only difference is the parameter
July 27, 2025 at 4:32 AM
BenchmarkDotNet comes to our rescue to help us make sense of the results... but... the results are surprising once again!

Watch here:
https://www.youtube.com/watch?v=lOX-TL5lcYA
https://www.youtube.com/watch?v=lOX-TL5lcYA
https://www.youtube.com/watch?v=lOX-TL5lcYA
www.youtube.com
July 16, 2025 at 9:00 PM
Not sure why I only discovered this learn.microsoft.com/en-us/visual... - with the very long named package "Microsoft.VisualStudio.DiagnosticsHub.BenchmarkDotNetDiagnosers" for #benchmarkdotnet makes analyzing bottlenecks so much quicker. #dotnet
Analyze BenchmarkDotNet data in Visual Studio - Visual Studio (Windows)
Learn how to profile console apps using BenchmarkDotNet.
learn.microsoft.com
July 16, 2025 at 5:09 PM
🐢 Si tu código es muy lento es hora de actuar. Con Visual Studio Profiler y BenchmarkDotNet puedes detectar cuellos de botella y optimizar cada línea. Descubre cómo mejorar el rendimiento paso a paso 👉 devblogs.microsoft.com/visu...
#DotNet 
June 26, 2025 at 8:20 AM
今日のQiitaトレンド

【C#】同じ機能、違う書き方 - パフォーマンスで選ぶべきコードはどっち?
この記事は、プログラムの体感速度が大規模な最適化だけでなく、日常的なコードの小さな選択で大きく左右されると伝えます。
同じ結果を出すコードでも、書き方次第で10倍以上の性能差が生じる可能性を示唆。
文字列操作やコレクション処理の最適化を例に挙げ、効率的なアプローチが速度やメモリ使用量にどう影響するかをBenchmarkDotNetで可視化し比較検証します。
ただし、性能向上は可読性や保守性とのバランスも重要だと伝えています。
【C#】同じ機能、違う書き方 - パフォーマンスで選ぶべきコードはどっち? #プログラミング - Qiita
はじめに プログラムを速くする――と聞くと、「アルゴリズムを大改造する」「マルチスレッド化する」といった大がかりな施策を思い浮かべがちです。 しかし実際には、日常的に書いている ちょっとしたコードの選択 が、そのままアプリ全体の体感速度を左右しているケースも少なくありませ...
qiita.com
June 19, 2025 at 10:22 PM
https://youtu.be/Wa3sdKGp3wE
This video explains how you can use BenchmarkDotNet like all of the performance examples you see across the web!

https://youtu.be/RR7Cq0iwNYo
https://youtu.be/RR7Cq0iwNYo
https://youtu.be/RR7Cq0iwNYo
youtu.be
June 19, 2025 at 7:00 PM
今日のQiitaトレンド

【C#】同じ機能、違う書き方 - パフォーマンスで選ぶべきコードはどっち?
この記事は、日常的に書くコードの選択がアプリケーションの体感速度に大きく影響すると伝えています。
同じ結果を生むコードでも、書き方一つで性能に10倍以上の差が出ることがあると指摘。
文字列操作やコレクション操作などの「当たり前」の実装を例に挙げ、効率的なアプローチと非効率なアプローチのパフォーマンスをBenchmarkDotNetで検証し、可視化しています。
闇雲に速くするのではなく、可読性や保守性とのバランスを取りながらベストプラクティスを選ぶことの重要性も強調しています。
【C#】同じ機能、違う書き方 - パフォーマンスで選ぶべきコードはどっち? #プログラミング - Qiita
はじめに プログラムを速くする――と聞くと、「アルゴリズムを大改造する」「マルチスレッド化する」といった大がかりな施策を思い浮かべがちです。 しかし実際には、日常的に書いている ちょっとしたコードの選択 が、そのままアプリ全体の体感速度を左右しているケースも少なくありませ...
qiita.com
June 17, 2025 at 10:22 PM