-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
impr: Capture transactions on a bg thread #3892
Conversation
Instead of capturing and serializing the transaction on the calling thread, the SDK now does this on a background thread. Fixes GH-3826
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3892 +/- ##
=============================================
+ Coverage 90.619% 90.652% +0.033%
=============================================
Files 582 582
Lines 45467 45479 +12
Branches 16189 16203 +14
=============================================
+ Hits 41202 41228 +26
+ Misses 4195 4181 -14
Partials 70 70
... and 7 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
3437454 | 1225.64 ms | 1234.31 ms | 8.67 ms |
dd0557f | 1246.31 ms | 1258.46 ms | 12.15 ms |
9454d5d | 1230.55 ms | 1243.42 ms | 12.87 ms |
89bc37d | 1240.76 ms | 1248.24 ms | 7.48 ms |
742d4b6 | 1204.00 ms | 1217.90 ms | 13.90 ms |
15cf6bf | 1241.06 ms | 1248.18 ms | 7.12 ms |
1bd0055 | 1207.57 ms | 1223.10 ms | 15.53 ms |
734d507 | 1201.78 ms | 1213.96 ms | 12.18 ms |
704d854 | 1219.82 ms | 1243.69 ms | 23.87 ms |
e070f8a | 1236.47 ms | 1250.50 ms | 14.03 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
3437454 | 22.85 KiB | 408.87 KiB | 386.02 KiB |
dd0557f | 22.85 KiB | 411.75 KiB | 388.90 KiB |
9454d5d | 20.76 KiB | 436.29 KiB | 415.53 KiB |
89bc37d | 20.76 KiB | 401.53 KiB | 380.77 KiB |
742d4b6 | 21.58 KiB | 546.20 KiB | 524.61 KiB |
15cf6bf | 22.85 KiB | 405.38 KiB | 382.53 KiB |
1bd0055 | 20.76 KiB | 420.22 KiB | 399.46 KiB |
734d507 | 22.85 KiB | 412.66 KiB | 389.81 KiB |
704d854 | 21.58 KiB | 615.98 KiB | 594.40 KiB |
e070f8a | 21.58 KiB | 546.20 KiB | 524.62 KiB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Instead of capturing and serializing the transaction on the calling thread, the SDK now does this on a background thread. Fixes getsentryGH-3826
Instead of capturing and serializing the transaction on the calling thread, the SDK now does this on a background thread. Fixes getsentryGH-3826
📜 Description
Instead of capturing and serializing the transaction on the calling thread, the SDK now does this on a background thread.
💡 Motivation and Context
Fixes GH-3826
💚 How did you test it?
Unit tests.
📝 Checklist
You have to check all boxes before merging:
sendDefaultPII
is enabled.🔮 Next steps