The question answered by this post…



Photo by Nana Smirnova on Unsplash

I have already explained how to write your own allocation monitoring tool. Each time 100 cumulated KB are allocated, the CLR emits an AllocationTick event with the name of the last allocated type before the 100 KB threshold and if it is in the LOH or not. …

Photo by Clark Van Der Beken on Unsplash

In the context of helping the teams at Criteo to clean up our code base, I gathered and documented a few C# anti-patterns similar to Kevin’s publication about performance code smell. Here is an extract related to good/bad memory patterns.

Even though the garbage collector is doing its works out…

Photo by AbsolutVision on Unsplash



The last series was describing how to get details about your .NET application allocation patterns in C#.

  1. Get a sampling of .NET application allocations
  2. A simple way to get the call stack
  3. Getting the call stack by hand

It is now time to do the same but for the CPU…

In the previous post, I presented the new commands that were added to dotnet-dump and how to use them. It is now time to show how to implement such a command.

But before jumping into the code, you should first ensure that you have a valid use case that the…


Christophe Nasarre

Loves to understand how things work (MVP Developer Technologies)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store