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

Moves the deprecated makeFifoCache implementation in the SDK #4353

Merged
merged 7 commits into from
Dec 12, 2024

Conversation

antonis
Copy link
Collaborator

@antonis antonis commented Dec 9, 2024

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Moves the deprecated makeFifoCache implementation in the SDK

Based on #4352 to avoid conflicts

💡 Motivation and Context

Fixes #4327

💚 How did you test it?

CI, Manual

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

#skip-changelog

@antonis antonis marked this pull request as ready for review December 9, 2024 12:34
Copy link
Contributor

github-actions bot commented Dec 9, 2024

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 669.08 ms 658.35 ms -10.74 ms
Size 17.74 MiB 20.08 MiB 2.35 MiB

Copy link
Contributor

github-actions bot commented Dec 9, 2024

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 369.19 ms 419.46 ms 50.27 ms
Size 7.15 MiB 8.37 MiB 1.22 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
c2a4e9b+dirty 392.94 ms 474.55 ms 81.61 ms
7fd512a+dirty 439.69 ms 503.71 ms 64.01 ms
e1ea4a8+dirty 451.98 ms 497.58 ms 45.60 ms
b8ff156+dirty 386.72 ms 398.18 ms 11.46 ms
d8668ce+dirty 372.43 ms 403.84 ms 31.41 ms
12427f4+dirty 379.48 ms 400.92 ms 21.44 ms
5446992+dirty 371.61 ms 390.00 ms 18.39 ms
15c80ab+dirty 276.38 ms 327.54 ms 51.17 ms
ddc0552+dirty 405.80 ms 480.00 ms 74.20 ms
ed3d77e+dirty 366.04 ms 411.33 ms 45.28 ms

App size

Revision Plain With Sentry Diff
c2a4e9b+dirty 7.15 MiB 8.34 MiB 1.19 MiB
7fd512a+dirty 7.15 MiB 8.35 MiB 1.21 MiB
e1ea4a8+dirty 7.15 MiB 8.35 MiB 1.20 MiB
b8ff156+dirty 7.15 MiB 8.37 MiB 1.22 MiB
d8668ce+dirty 7.15 MiB 8.35 MiB 1.20 MiB
12427f4+dirty 7.15 MiB 8.12 MiB 997.78 KiB
5446992+dirty 7.15 MiB 8.12 MiB 999.45 KiB
15c80ab+dirty 7.15 MiB 8.09 MiB 966.13 KiB
ddc0552+dirty 7.15 MiB 8.37 MiB 1.22 MiB
ed3d77e+dirty 7.15 MiB 8.35 MiB 1.21 MiB

Previous results on branch: antonis/deprecate-fifo-cache

Startup times

Revision Plain With Sentry Diff
a011fed+dirty 393.02 ms 450.08 ms 57.06 ms

App size

Revision Plain With Sentry Diff
a011fed+dirty 7.15 MiB 8.37 MiB 1.22 MiB

Copy link
Contributor

github-actions bot commented Dec 9, 2024

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1247.27 ms 1249.82 ms 2.55 ms
Size 2.92 MiB 3.67 MiB 770.09 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
34aba08+dirty 1268.58 ms 1276.80 ms 8.22 ms
1d86dd6+dirty 1289.25 ms 1293.36 ms 4.11 ms
9cab16b+dirty 1236.10 ms 1247.16 ms 11.06 ms
d43a46b+dirty 1223.31 ms 1230.92 ms 7.61 ms
70caa60+dirty 1279.08 ms 1281.54 ms 2.46 ms
76d1baf+dirty 1245.00 ms 1257.76 ms 12.76 ms
abb7058+dirty 1260.28 ms 1266.56 ms 6.28 ms
db44eaf+dirty 1238.49 ms 1236.56 ms -1.93 ms
70e6261+dirty 1224.90 ms 1231.02 ms 6.12 ms
52c0562+dirty 1233.94 ms 1226.29 ms -7.65 ms

App size

Revision Plain With Sentry Diff
34aba08+dirty 2.92 MiB 3.41 MiB 499.03 KiB
1d86dd6+dirty 2.92 MiB 3.44 MiB 538.27 KiB
9cab16b+dirty 2.92 MiB 3.64 MiB 743.06 KiB
d43a46b+dirty 2.92 MiB 3.64 MiB 740.29 KiB
70caa60+dirty 2.92 MiB 3.39 MiB 486.04 KiB
76d1baf+dirty 2.92 MiB 3.38 MiB 475.74 KiB
abb7058+dirty 2.92 MiB 3.43 MiB 524.53 KiB
db44eaf+dirty 2.92 MiB 3.66 MiB 761.15 KiB
70e6261+dirty 2.92 MiB 3.59 MiB 686.11 KiB
52c0562+dirty 2.92 MiB 3.69 MiB 794.15 KiB

Previous results on branch: antonis/deprecate-fifo-cache

Startup times

Revision Plain With Sentry Diff
a011fed+dirty 1232.94 ms 1217.35 ms -15.59 ms

App size

Revision Plain With Sentry Diff
a011fed+dirty 2.92 MiB 3.67 MiB 770.09 KiB

Copy link
Contributor

github-actions bot commented Dec 9, 2024

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1223.33 ms 1221.54 ms -1.78 ms
Size 2.36 MiB 3.10 MiB 757.47 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
34aba08+dirty 1276.78 ms 1308.52 ms 31.74 ms
1d86dd6+dirty 1249.71 ms 1279.16 ms 29.45 ms
9cab16b+dirty 1237.76 ms 1234.00 ms -3.76 ms
d43a46b+dirty 1219.24 ms 1219.65 ms 0.41 ms
70caa60+dirty 1218.27 ms 1230.30 ms 12.03 ms
76d1baf+dirty 1244.10 ms 1268.52 ms 24.42 ms
abb7058+dirty 1255.42 ms 1268.86 ms 13.44 ms
db44eaf+dirty 1227.09 ms 1230.65 ms 3.56 ms
70e6261+dirty 1220.09 ms 1230.04 ms 9.95 ms
52c0562+dirty 1219.34 ms 1221.25 ms 1.91 ms

App size

Revision Plain With Sentry Diff
34aba08+dirty 2.36 MiB 2.85 MiB 495.32 KiB
1d86dd6+dirty 2.36 MiB 2.89 MiB 535.43 KiB
9cab16b+dirty 2.36 MiB 3.08 MiB 737.23 KiB
d43a46b+dirty 2.36 MiB 3.08 MiB 734.25 KiB
70caa60+dirty 2.36 MiB 2.83 MiB 479.27 KiB
76d1baf+dirty 2.36 MiB 2.82 MiB 469.45 KiB
abb7058+dirty 2.36 MiB 2.87 MiB 520.42 KiB
db44eaf+dirty 2.36 MiB 3.10 MiB 755.81 KiB
70e6261+dirty 2.36 MiB 3.03 MiB 680.42 KiB
52c0562+dirty 2.36 MiB 3.14 MiB 793.36 KiB

Previous results on branch: antonis/deprecate-fifo-cache

Startup times

Revision Plain With Sentry Diff
a011fed+dirty 1216.26 ms 1223.87 ms 7.62 ms

App size

Revision Plain With Sentry Diff
a011fed+dirty 2.36 MiB 3.10 MiB 757.54 KiB

Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! LGTM!

Base automatically changed from antonis/deprecate-sentry-utils to main December 12, 2024 16:33
Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@krystofwoldrich krystofwoldrich enabled auto-merge (squash) December 12, 2024 17:00
@krystofwoldrich krystofwoldrich merged commit fb698e9 into main Dec 12, 2024
54 of 55 checks passed
@krystofwoldrich krystofwoldrich deleted the antonis/deprecate-fifo-cache branch December 12, 2024 17:02
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.

Deprecate @sentry/utils
3 participants