sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Benchmarks for attachStacktrace =true

Open bruno-garcia opened this issue 4 years ago • 0 comments

Whenever possible we'd like to opt-in to features so users get the value without having to be aware or make a decision.

AttachStacktrace=true would be such a feature. The trade off here is the overhead added to folks that use Sentry as a logging too (sending many events per second from a single process).

There was a unconfirmed report of performance degradation that could have been caused by the use of attachStacktrace.

It's likely the right choice for Client based apps (UWP, WPF, Xamarin, etc) but not for ASP.NET.

We need some benchmarks to have a better idea of the cost of getting these stacktraces for normal CaptureMessage calls.

With that information we can decided whether to enabled it by default.

bruno-garcia avatar Jan 04 '21 02:01 bruno-garcia