apm-agent-dotnet icon indicating copy to clipboard operation
apm-agent-dotnet copied to clipboard

Increased CPU usage due to EnhancedStackFrame

Open gregkalapos opened this issue 3 years ago • 1 comments

From https://github.com/elastic/apm-agent-dotnet/issues/1039

With version 1.7.0 the agent has higher CPU usage. Seems to be caused by GC - and increased allocation seems to be caused by EnhancedStackFrame.

Plan: let's see if we can improve the stack trace demystifying logic to allocate less.

gregkalapos avatar Dec 18 '20 18:12 gregkalapos

Hi, I don't know if this is correlated but we identified higher CPU usage in 1.10. The issue is raised here: https://discuss.elastic.co/t/performance-degradation-after-update-from-1-7-1-to-1-10/277552

Maybe using Ben.Demistyfier is to blame in version 1.10?

kbalys avatar Jul 02 '21 13:07 kbalys