Intro to Benchmark.net - How To Benchmark C# Code

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Very useful information. Thank you very much. Strange not many people discussing this in the comments section.

zamansmail
Автор

Priceless lesson. Thank you Tim. Just one more tool to add to my Unit Tests collection kit.

DrWambua
Автор

Awesome Tim ! Thanks for your contribution to community

gsnagi
Автор

Another great video, thank you. I would love to hear more on GC and .NET code performance in general. Performance difference of .NET 4.72 vs .NET 5.0 was rather shocking, on such a simple code.

ultroai
Автор

Awesome Video. I always benchmarked manually by using stopwatch from diagnostics, but these will help for seeing other metrics as GC and Memory Allocation as well.

FaisalAfroz
Автор

Eagerly waiting for GC and memory management video. Please make a video on these two topics

maheshuma
Автор

This is Awesome and super Helpful. Thank You!

Maramctc
Автор

Yes more about GC please. I never understood the GC . I consider its as a magic done by the .Net framework.

MaJoBeatIt
Автор

Many thanks Tim for this impressive tutorial.

a.porteghali
Автор

Absolutely amazing video Corey, thank you!

konoko-oo
Автор

These benchmarks methods attributes should be kept when running the app on production? Or benchmarks are being executed only on the developer machine? Should there be separate projects for benchmarks, like the unit test projects?

mihaimyh
Автор

I found a case where benchmarking would not work. I wanted to compare getting file from embedded resource vs another way and it gives an error when trying to get from resource. i tried to run without debugging without benchmarking and the error would not occur. I am guessing that somehow benchmarking does not work if somebody is comparing and the file comes from embedded resource. Hope there is a way to fix that issue.

andywalter
Автор

Great video - I needed an intro to Benchmarking!

My only quibble is naming the first method "...Normally". There is nothing "normal" about repetitive string concatenation!

kenbrady
Автор

Hey Tim, thanks. Another great tutorial !! Any plan to start a series on SignalR ?

satyabratamohapatra
Автор

Wow just started with this last week... My question is how to get it to spit out the total time it takes to run in the HTML reports it generates. I know you can use stopwatch but I would like it in the HTML report for the run.

davidwhite
Автор

Thanks Tim for this great tutorial, do you think you can do a video on Prism any time soon?

cyrildouglas
Автор

Hi Tim, I love your videos and the way how you teach, is it possible to make a video about profiling in general and how to profile wpf applications specifically. Thank you.

haxxxgrenade
Автор

Today I learned that you can += an integer onto a string (without explicitly calling ToString())

JoeBonez
Автор

As always, a bundle of free valuable knowledge. Here is my little question, Tim, how this Benchmark going to work with 10 year old asp.net webforms application?

TALHAEDITSK
Автор

Can we get a code generator episode? They way I have it setup doesn't seem ideal.

CleanRapMusic