☰ Brand

Persian Programmer

Persian Programmer ×
Home About Us Services and Pricing Contact Us My Resume Co-worker

Performance

Performance Wars — Null Check — C#
Performance Wars — Null Check — C#
This post is for people who are really obsessed with performance. Validating a null value can be done in different ways. For this battle, I decided to analyze the type string and an object created by me. All the tests were done with the BenchmarkDotNet NuGet package and using the .NET 5.0 version. You can check the GitHub repository.
read more ...
Benchmarking in C# Using BenchmarkDotNet
Benchmarking in C# Using BenchmarkDotNet
Benchmarking a way of measuring the set of parameters related to code execution. With benchmarking we can compare the performance of code under different scenarios and take decision about which way to go.
read more ...
.NET Memory Management
.NET Memory Management
Memory management is critical regardless of the language developer is using to build an application, and even managed languages require at least some basic understanding. This article lays out the basics anyone should be aware of. Still, it would be good to check the MSDN article covering that topic: Memory management and garbage collection (GC) in ASP.NET Core. Also, read the book Pro .NET Memory
read more ...