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.
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_