getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
566 stars 203 forks source link

Add a benchmark action #3332

Open vaind opened 2 weeks ago

vaind commented 2 weeks ago

I've done away with the lambdas as well (these are now inline functions).

The tests seem to pass now. 🎈

So indeed it seems like it has been the performance issue. Maybe we should check check that we have some benchmarks for these critical paths and introduce https://github.com/marketplace/actions/continuous-benchmark to the repo. Although it looks like it doesn't support PRs from outside contributors at the moment.

_Originally posted by @vaind in https://github.com/getsentry/sentry-dotnet/pull/3321#discussion_r1580533237_