Skip to content

Conversation

@antonis
Copy link
Contributor

@antonis antonis commented Oct 23, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Following up on #5291 it removes the deprecated user.segment from js code

💡 Motivation and Context

See #5291 (review)

💚 How did you test it?

📝 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 since previous usages were not documented

@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 340.59 ms 366.43 ms 25.83 ms
Size 17.75 MiB 19.74 MiB 1.99 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
083f560+dirty 358.21 ms 382.00 ms 23.79 ms
170d5ea+dirty 407.92 ms 422.49 ms 14.57 ms
8db9631+dirty 442.78 ms 461.96 ms 19.18 ms
e76d0d3+dirty 404.18 ms 411.53 ms 7.35 ms
459a438+dirty 417.09 ms 406.52 ms -10.57 ms
49ef936+dirty 405.96 ms 417.22 ms 11.26 ms
5ee3314+dirty 415.80 ms 426.14 ms 10.34 ms
6479fd5+dirty 412.95 ms 434.02 ms 21.07 ms
59f3a84+dirty 382.16 ms 376.45 ms -5.71 ms
21c9e75 450.39 ms 452.92 ms 2.53 ms

App size

Revision Plain With Sentry Diff
083f560+dirty 17.75 MiB 19.70 MiB 1.96 MiB
170d5ea+dirty 17.75 MiB 19.70 MiB 1.95 MiB
8db9631+dirty 17.75 MiB 19.70 MiB 1.96 MiB
e76d0d3+dirty 17.75 MiB 19.71 MiB 1.96 MiB
459a438+dirty 17.75 MiB 19.70 MiB 1.95 MiB
49ef936+dirty 17.75 MiB 19.69 MiB 1.94 MiB
5ee3314+dirty 17.75 MiB 19.70 MiB 1.95 MiB
6479fd5+dirty 17.75 MiB 19.68 MiB 1.94 MiB
59f3a84+dirty 17.75 MiB 19.70 MiB 1.95 MiB
21c9e75 17.75 MiB 20.15 MiB 2.41 MiB

@antonis antonis marked this pull request as ready for review October 23, 2025 10:04
@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 301.98 ms 321.26 ms 19.28 ms
Size 7.15 MiB 8.46 MiB 1.30 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
3bd3f0d+dirty 334.38 ms 402.19 ms 67.81 ms
083f560+dirty 383.96 ms 417.76 ms 33.80 ms
59f3a84+dirty 359.69 ms 407.54 ms 47.86 ms
6a70a7e+dirty 382.45 ms 424.54 ms 42.09 ms
77061ed+dirty 359.40 ms 424.10 ms 64.70 ms
07808fb+dirty 392.47 ms 451.94 ms 59.47 ms
000da7a+dirty 347.89 ms 381.98 ms 34.09 ms
785ffb1+dirty 380.65 ms 451.83 ms 71.18 ms
90afdd3+dirty 367.79 ms 404.84 ms 37.05 ms
c1573b3+dirty 355.65 ms 448.82 ms 93.17 ms

App size

Revision Plain With Sentry Diff
3bd3f0d+dirty 7.15 MiB 8.43 MiB 1.28 MiB
083f560+dirty 7.15 MiB 8.43 MiB 1.28 MiB
59f3a84+dirty 7.15 MiB 8.43 MiB 1.28 MiB
6a70a7e+dirty 7.15 MiB 8.42 MiB 1.26 MiB
77061ed+dirty 7.15 MiB 8.41 MiB 1.26 MiB
07808fb+dirty 7.15 MiB 8.43 MiB 1.28 MiB
000da7a+dirty 7.15 MiB 8.41 MiB 1.26 MiB
785ffb1+dirty 7.15 MiB 8.42 MiB 1.27 MiB
90afdd3+dirty 7.15 MiB 8.43 MiB 1.28 MiB
c1573b3+dirty 7.15 MiB 8.42 MiB 1.27 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1225.22 ms 1230.37 ms 5.14 ms
Size 2.63 MiB 4.00 MiB 1.37 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
90edad7+dirty 1222.08 ms 1228.40 ms 6.32 ms
20d5eaa+dirty 1231.12 ms 1226.00 ms -5.12 ms
8490686+dirty 1227.84 ms 1228.91 ms 1.08 ms
f70acbf+dirty 1235.71 ms 1243.14 ms 7.43 ms
5ee3314+dirty 1215.18 ms 1207.64 ms -7.54 ms
98f632c+dirty 1236.40 ms 1241.62 ms 5.22 ms
bc9680d+dirty 1221.41 ms 1241.47 ms 20.06 ms
3099014+dirty 1226.75 ms 1236.56 ms 9.81 ms
a31630c+dirty 1229.09 ms 1230.94 ms 1.85 ms
8db9631+dirty 1223.60 ms 1224.56 ms 0.96 ms

App size

Revision Plain With Sentry Diff
90edad7+dirty 2.63 MiB 4.00 MiB 1.36 MiB
20d5eaa+dirty 2.63 MiB 3.81 MiB 1.18 MiB
8490686+dirty 2.63 MiB 4.00 MiB 1.36 MiB
f70acbf+dirty 2.63 MiB 3.98 MiB 1.34 MiB
5ee3314+dirty 2.63 MiB 3.99 MiB 1.35 MiB
98f632c+dirty 2.63 MiB 3.81 MiB 1.18 MiB
bc9680d+dirty 2.63 MiB 3.81 MiB 1.18 MiB
3099014+dirty 2.63 MiB 3.98 MiB 1.35 MiB
a31630c+dirty 2.63 MiB 3.98 MiB 1.34 MiB
8db9631+dirty 2.63 MiB 4.00 MiB 1.36 MiB

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.

LGTM!

@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1224.39 ms 1230.04 ms 5.65 ms
Size 3.19 MiB 4.57 MiB 1.38 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
90edad7+dirty 1235.21 ms 1241.45 ms 6.24 ms
20d5eaa+dirty 1224.67 ms 1223.16 ms -1.51 ms
8490686+dirty 1227.32 ms 1240.82 ms 13.50 ms
f70acbf+dirty 1239.00 ms 1242.53 ms 3.53 ms
5ee3314+dirty 1234.25 ms 1235.44 ms 1.19 ms
98f632c+dirty 1221.38 ms 1229.26 ms 7.88 ms
bc9680d+dirty 1228.57 ms 1233.64 ms 5.07 ms
3099014+dirty 1234.04 ms 1243.22 ms 9.18 ms
a31630c+dirty 1241.32 ms 1226.98 ms -14.34 ms
8db9631+dirty 1226.92 ms 1226.06 ms -0.85 ms

App size

Revision Plain With Sentry Diff
90edad7+dirty 3.19 MiB 4.56 MiB 1.38 MiB
20d5eaa+dirty 3.19 MiB 4.38 MiB 1.19 MiB
8490686+dirty 3.19 MiB 4.56 MiB 1.38 MiB
f70acbf+dirty 3.19 MiB 4.54 MiB 1.36 MiB
5ee3314+dirty 3.19 MiB 4.55 MiB 1.37 MiB
98f632c+dirty 3.19 MiB 4.38 MiB 1.19 MiB
bc9680d+dirty 3.19 MiB 4.38 MiB 1.19 MiB
3099014+dirty 3.19 MiB 4.55 MiB 1.36 MiB
a31630c+dirty 3.19 MiB 4.54 MiB 1.36 MiB
8db9631+dirty 3.19 MiB 4.56 MiB 1.38 MiB

@antonis antonis merged commit 1226664 into main Oct 23, 2025
72 of 73 checks passed
@antonis antonis deleted the antonis/chore-remove-user-segment branch October 23, 2025 12:03
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.

3 participants