code4it-dev / blog-comments

https://www.code4it.dev/
1 stars 0 forks source link

blog/hasflag-performance-benchmarkdotnet #19

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Enum.HasFlag performance with BenchmarkDotNet - Code4IT

BenchmarkDotNet allows you to test the performance on .NET methods. So let's answer a question: is the Enum.HasFlag method really that slow?

https://www.code4it.dev/blog/hasflag-performance-benchmarkdotnet

bellons91 commented 2 years ago

If you want to generate plots when running benchmarks, here's a great article by Mak.