#BenchmarkDotNet

2024-08-02

We all know that we're not supposed to use reflection in performance critical paths...

Read more in this post:
devleader.ca/2024/03/17/constr

#CSharp #DotNet #DotNetCore #BenchmarkDotNet

Dev Leader Blog Post
bitbonkbitbonk
2024-06-13

TIL I can use the ResultComparer tool to prevent performance regression by integrating it into CI/CD in @danielmarbach’s talk on performance benchmarking at .

github.com/dotnet/performance/

screenshot of a slide showing how to use the ResultComparer Tool
2024-03-25

We all know that we're not supposed to use reflection in performance critical paths...

Read more in this post:
devleader.ca/2024/03/17/constr

#CSharp #DotNet #DotNetCore #BenchmarkDotNet

Dev Leader Blog Post
Ben Abelshausen 🇧🇪 🇺🇦xivk@mstdn.social
2024-03-11

@antaoalmada Thank you for writing and sharing this!

I was wondering how this is supposed to be integrated in a real-world project? Do I refactor my code to make these micro benchmarks possible on the actual code base or do I just experiment and then let go?

I think the Itinero route planner (github.com/itinero) can benefit greatly from using #BenchmarkDotnet I just don't know where to start and how...

2024-03-08

I've written numerous articles on #performance within #dotnet, frequently incorporating benchmarks. I've authored a guide on utilizing #BenchmarkDotNet for benchmarking purposes. I hope this guide will assist you in understanding how to conduct performance assessments for your .NET projects. aalmada.github.io/posts/Measur

2024-01-02

I've just noticed that #BenchmarkDotNet has a really nice title in the terminal that shows progress towards overall completion. Now I know how long I have to make my cup of tea!

The tab of a Windows Terminal showing a completion right with a small segment complete. Next is the text "12/13 Remaining 0h 2m to finish"
2023-08-06

@gaprogman have you seen #benchmarkdotnet? Benchmarking becomes real fun with it! Caution, it may cause addiction!

You should pass "nop delegate" as next and some stub for httpcontext for your middleware

2023-07-11

The #BenchmarkDotNet library is now better with #JetBrains #dottrace

🔥Introducing the DotTraceDiagnoser – a powerful tool for deep-diving into benchmark performance snapshots.

Learn how to uncover the performance mysteries in your codebase here👉

jb.gg/dttrce-bnchmrk (post by @khalidabuhakmeh)

#benchmarking #dotnet #csharp

2023-02-24
Chris Woody Woodruffcwoodruff
2023-02-08

I updated the original EFCore compiled query demo to be more precise and added some tests to get a better look. Here are the results from BenchmarkDotNet

Reinhard Lacknermacf00bar@hachyderm.io
2023-01-02

@davidebellone use #BenchmarkDotNet and see for yourself... Use IsNullOrWhitespace only if your really need it, not just as default everywhere!

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst