Here we will use BenchmarkDotNet’s advanced features and compare memory allocation and try to understand more with a scenario.
Continue readingTag: Performance
Let’s be Lazy with C# Lazy 😴😴
lazy instantiation means instantiating an object only when it is needed. For this, we normally use large objects or resource extensive objects.
Continue readingBenchmarkDotNet : Reliable and Efficient .NET Code Performance Measure
Performance of written code has always been crucial and getting accurate matrices is a big challenge. In my initial experience with BenchmarkDotNet, I found it easiest to use among all free/paid code performance monitor tools.
Continue readingC# String Interning for Efficient String Comparison
String interning is very important concept when we need to do string comparison. This article has everything that a developer need to know about this
Continue readingPerformance Consideration for C# Conditional Statements
We normally overlook few important aspects of basic C# Conditional statements. Here we will find out what and how to use what?
Continue reading