With dotnet
working rather flawlessly on Linux, sooner or later one stumbles upon the need to profile a dotnet application.
Microsoft provides a handy command-line tool for this: perfcollect
. This tool measures dotnet performance indicators for a manual or pre-specified duration and generates a nice report about this.
Microsoft has documentation for perfcollect
, or pav from Dots and Brackest wrote a post about profiling .Net core apps on Linux.