[Mono-dev] Profiling with heapshot (only)

Chris Swiedler cswiedler at trionworlds.com
Mon Aug 15 23:57:56 UTC 2016

I'm trying to use the heapshot=ondemand feature of the logging profiler. I want to turn off all of the other features of the logging profiler, since the allocation/method tracing stuff runs too slow to be useful in the situation that I need to test. However, even with a command line like this:

mono-sgen --debug --profile=log:heapshot,heapshot=ondemand,time=fast,port=7103,output=%p.mlpd

...I still get extremely high CPU usage in my apps. From what I understand of the heapshot part of the profiler, it shouldn't need to incur any overhead except when generating the heapshot file. Is there any way to reduce the runtime overhead when it's not generating a heapshot? This link suggests that I should disable counters, but I don't see any options for that:



More information about the Mono-devel-list mailing list