profiler

A tool that records where a running program spends its time or allocates memory.

In more detail

Use one before optimising, for example before switching Task<T> to ValueTask<T>. .NET ships diagnostic tools such as dotnet-trace and dotnet-counters.

Related terms

Taught in

References