-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
ref: Make SentrySDK.replay.start()
thread safe
#4455
Conversation
…etsentry/sentry-cocoa into ref/prevent-replaystart-misuse
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4455 +/- ##
=============================================
+ Coverage 91.342% 91.355% +0.013%
=============================================
Files 610 610
Lines 49944 49950 +6
Branches 18043 18043
=============================================
+ Hits 45620 45632 +12
+ Misses 4233 4227 -6
Partials 91 91
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
8838e54 | 1234.71 ms | 1246.46 ms | 11.75 ms |
1ac58a6 | 1232.07 ms | 1254.69 ms | 22.63 ms |
0d32275 | 1245.80 ms | 1267.80 ms | 22.00 ms |
42ef6ba | 1191.51 ms | 1214.08 ms | 22.57 ms |
cd3bfeb | 1226.61 ms | 1226.96 ms | 0.35 ms |
10f96ae | 1216.27 ms | 1239.65 ms | 23.38 ms |
c021422 | 1199.15 ms | 1222.20 ms | 23.05 ms |
98a8c16 | 1206.40 ms | 1232.14 ms | 25.74 ms |
706c41f | 1231.00 ms | 1248.52 ms | 17.52 ms |
f25febb | 1238.80 ms | 1245.35 ms | 6.56 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
8838e54 | 22.85 KiB | 413.44 KiB | 390.59 KiB |
1ac58a6 | 21.58 KiB | 626.07 KiB | 604.49 KiB |
0d32275 | 22.84 KiB | 403.14 KiB | 380.29 KiB |
42ef6ba | 21.58 KiB | 417.86 KiB | 396.28 KiB |
cd3bfeb | 20.76 KiB | 425.77 KiB | 405.01 KiB |
10f96ae | 21.58 KiB | 682.02 KiB | 660.44 KiB |
c021422 | 20.76 KiB | 435.64 KiB | 414.88 KiB |
98a8c16 | 20.76 KiB | 431.00 KiB | 410.24 KiB |
706c41f | 21.58 KiB | 699.25 KiB | 677.67 KiB |
f25febb | 21.58 KiB | 414.92 KiB | 393.34 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.
Thanks, LGTM.
📜 Description
Making
SentrySDK.replay.start()
thread safe to avoid multiple initialization💚 How did you test it?
📝 Checklist
You have to check all boxes before merging:
sendDefaultPII
is enabled.🔮 Next steps