By tag: Profiling
0
kicks
CLR Diagnostics with ClrMD and ScriptCS REPL
WinDbg+SOS has been used by .NET developers for years. It is a very powerful profiling/analysis tool that unfortunately is quite hard to use and exposes native-only API. By releasing ClrMD library Microsoft makes CLR heap memory inspection accessible to regular C# developers and enables them to wr...
0
kicks
DateTime.Now Causes Boxing
Have you known that every time you call DateTime.Now the BCL causes a dynamic memory allocation due to unnecessary boxing?
This post dives into the implementation of the property, explain why this boxing occurs, and what can we do to in order to avoid id
0
kicks
Accurate method timing helper class
How many times have you written some timing code around a method call? If the answer is never, move on, skip this article...
For timing purposes, I always use a simple "TimeRunner" class that allows you to accurately measure the time it takes to execute a specific method. A kind of &quo...
0
kicks
In-Code Profiling with C# and log4net
There are many tools that can be used for profiling software. These tools are a great enrichment for our job, but sometimes they are oversized. Sometimes, you need a small solution for a particular piece of code. If you find yourself at this point, I will show you a solution here.
0
kicks
Profiling .NET Applications
A guide with screen shots illustrating how to identify and eliminate bottlenecks in a .NET application using a profiler