✅ gprof-like C# profilers?
Hello, I am in need of a simple C# profiler. It doesn't need to be fancy, just needs to display which functions consume the most time, like gprof would. I have googled for some, but there's a lot of them and I don't know which to choose.
Thanks in advance.
5 Replies
the closest thing is probably
dotnet-trace
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-tracedotnet-trace diagnostic tool - .NET CLI
Learn how to install and use the dotnet-trace CLI tool to collect .NET traces of a running process without the native profiler, by using the .NET EventPipe.
I'll take a look, thanks.
Is there a free alternative? I can't seem to find the source code anywhere.
Oh, thanks. I was just too incompetent to find it, my bad. I'm new to C# :)
Can I mark this thread as solved somehow?
i think it’s /close