MZMithilesh Zavarinblog.mith.dev·May 8, 2022 · 2 min readC# .NET Performance - Using Method Groups vs a Lambda with a Static methodWhen you use a Linq statement, the majority of the times you will pass it a lambda or a Method Group to process the logic within the Linq statement. This benchmark will test the performance of using a lambda and a method group. Benchmarks and Results...00
MZMithilesh Zavarinblog.mith.dev·May 2, 2022 · 2 min readC# .NET Performance - Initialising Empty ArrayWhen initialising an empty array in your codebase, there are two options you would choose from: new T[0] or Array.Empty<T>(). This benchmark is to compare the two options to see their performance statistics. Benchmark and Results [SimpleJob(RuntimeMo...00