Quick tip for running CSharp benchmarks!

Published: 04 August 2024
on channel: Dev Leader
361
13

Quick tip for running CSharp benchmarks!

BenchmarkDotNet is the absolute go-to tool for running your CSharp benchmarks.

Here are a couple of tips to keep in mind:
Run your benchmarks in release mode
Don't attach the debugger

However, the menu item that you probably want is hiding in Visual Studio.

If you DON'T want a debugger, you still need to go to a debug menu.

I know. It's weird.

But the menu IS there to start without debugging!

What are some BenchmarkDotNet tips that you find helpful?!

Check out the full video:
   • 2 EASIEST Ways to Run C# Benchmarks w...  

----
📨 Sign up for my FREE email newsletter:
https://subscribe.devleader.ca
🗣️ Share with your network!

#SoftwareEngineer #SoftwareEngineers #SoftwareEngineering


Watch video Quick tip for running CSharp benchmarks! online without registration, duration hours minute second in high quality. This video was added by user Dev Leader 04 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 361 once and liked it 13 people.