Skip to content
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: Add comment why no lock required in scope #4648

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

philipphofmann
Copy link
Member

Add a short comment to explain why we don't need to call synchronize spanLock when building the trace context in SentryScope.applyToEvent.

#skip-changelog

Add a short comment to explain why we don't need to call synchronize
spanLock when building the trace context in SentryScope.applyToEvent.
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.617%. Comparing base (cd06244) to head (920d82c).
Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #4648       +/-   ##
=============================================
- Coverage   90.626%   90.617%   -0.010%     
=============================================
  Files          620       620               
  Lines        71075     71066        -9     
  Branches     25898     25868       -30     
=============================================
- Hits         64413     64398       -15     
- Misses        6565      6570        +5     
- Partials        97        98        +1     
Files with missing lines Coverage Δ
Sources/Sentry/SentryScope.m 96.859% <ø> (ø)

... and 23 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd06244...920d82c. Read the comment docs.

Copy link

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1225.33 ms 1243.26 ms 17.93 ms
Size 22.30 KiB 760.26 KiB 737.96 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
cd72e5c 1238.96 ms 1256.84 ms 17.88 ms
9d61bea 1243.88 ms 1254.36 ms 10.48 ms
2af280d 1246.22 ms 1253.10 ms 6.88 ms
b6ba04e 1230.48 ms 1253.20 ms 22.72 ms
ddc9b9a 1201.71 ms 1226.70 ms 24.99 ms
6e1452d 1241.69 ms 1253.47 ms 11.78 ms
cd76c54 1223.41 ms 1249.65 ms 26.24 ms
aa45f36 1217.59 ms 1236.86 ms 19.27 ms
a34f08c 1234.08 ms 1246.40 ms 12.31 ms
e5dcbd5 1223.47 ms 1243.90 ms 20.43 ms

App size

Revision Plain With Sentry Diff
cd72e5c 22.85 KiB 414.74 KiB 391.89 KiB
9d61bea 20.76 KiB 436.29 KiB 415.53 KiB
2af280d 20.76 KiB 435.22 KiB 414.46 KiB
b6ba04e 20.76 KiB 414.44 KiB 393.68 KiB
ddc9b9a 20.76 KiB 420.40 KiB 399.65 KiB
6e1452d 21.58 KiB 419.68 KiB 398.10 KiB
cd76c54 21.58 KiB 675.85 KiB 654.27 KiB
aa45f36 21.58 KiB 616.73 KiB 595.15 KiB
a34f08c 22.30 KiB 730.30 KiB 708.00 KiB
e5dcbd5 22.85 KiB 414.09 KiB 391.24 KiB

@philipphofmann philipphofmann merged commit 6da2718 into main Dec 19, 2024
68 of 70 checks passed
@philipphofmann philipphofmann deleted the ref/explain-no-lock-span-scope branch December 19, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants