Skip to content

chore(ci): Fixes iOS binary size diff failure #4784

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

antonis
Copy link
Collaborator

@antonis antonis commented Apr 28, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Increase iOS binary size diff by 100KB (to 1300 KB) to avoid failing binary size checks.

💡 Motivation and Context

I've noticed that metrics (new, ios) check has started to fail consistently (though marginally) due to small changes in the size of the app in the Feedback Widget Drop 2 branch.

BinarySizeTest > app size() FAILED
    java.lang.AssertionError: 1237822 should be < 1228800
        at BinarySizeTest.app size(BinarySizeTest.kt:37)

Notes:

💚 How did you test it?

CI

📝 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

Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1221.18 ms 1222.32 ms 1.14 ms
Size 2.63 MiB 3.80 MiB 1.17 MiB

Baseline results on branch: feedback-ui-2

Startup times

Revision Plain With Sentry Diff
6e4d2e1+dirty 1231.82 ms 1240.18 ms 8.36 ms

App size

Revision Plain With Sentry Diff
6e4d2e1+dirty 2.63 MiB 3.77 MiB 1.14 MiB

Previous results on branch: antonis/ci-ios-binary-size

Startup times

Revision Plain With Sentry Diff
a202c7a+dirty 1229.63 ms 1230.33 ms 0.71 ms
1a94d77+dirty 1219.10 ms 1217.38 ms -1.72 ms

App size

Revision Plain With Sentry Diff
a202c7a+dirty 2.63 MiB 3.69 MiB 1.05 MiB
1a94d77+dirty 2.63 MiB 3.69 MiB 1.06 MiB

Copy link
Contributor

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 659.49 ms 692.31 ms 32.82 ms
Size 7.15 MiB 8.42 MiB 1.26 MiB

Baseline results on branch: feedback-ui-2

Startup times

Revision Plain With Sentry Diff
6e4d2e1+dirty 394.19 ms 378.08 ms -16.11 ms

App size

Revision Plain With Sentry Diff
6e4d2e1+dirty 7.15 MiB 8.40 MiB 1.25 MiB

Previous results on branch: antonis/ci-ios-binary-size

Startup times

Revision Plain With Sentry Diff
a202c7a+dirty 398.12 ms 447.65 ms 49.53 ms
1a94d77+dirty 469.30 ms 614.86 ms 145.56 ms

App size

Revision Plain With Sentry Diff
a202c7a+dirty 7.15 MiB 8.38 MiB 1.23 MiB
1a94d77+dirty 7.15 MiB 8.38 MiB 1.23 MiB

@antonis antonis marked this pull request as ready for review April 28, 2025 10:06
Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1220.78 ms 1226.56 ms 5.78 ms
Size 3.19 MiB 4.37 MiB 1.18 MiB

Baseline results on branch: feedback-ui-2

Startup times

Revision Plain With Sentry Diff
6e4d2e1+dirty 1226.76 ms 1233.13 ms 6.37 ms

App size

Revision Plain With Sentry Diff
6e4d2e1+dirty 3.19 MiB 4.33 MiB 1.15 MiB

Previous results on branch: antonis/ci-ios-binary-size

Startup times

Revision Plain With Sentry Diff
a202c7a+dirty 1218.98 ms 1215.89 ms -3.09 ms
1a94d77+dirty 1222.51 ms 1230.16 ms 7.65 ms

App size

Revision Plain With Sentry Diff
a202c7a+dirty 3.19 MiB 4.25 MiB 1.07 MiB
1a94d77+dirty 3.19 MiB 4.25 MiB 1.07 MiB

Copy link
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 422.56 ms 422.70 ms 0.14 ms
Size 17.75 MiB 20.15 MiB 2.40 MiB

Baseline results on branch: feedback-ui-2

Startup times

Revision Plain With Sentry Diff
6e4d2e1 435.80 ms 432.63 ms -3.17 ms

App size

Revision Plain With Sentry Diff
6e4d2e1 17.75 MiB 20.13 MiB 2.39 MiB

Previous results on branch: antonis/ci-ios-binary-size

Startup times

Revision Plain With Sentry Diff
a202c7a 495.10 ms 494.98 ms -0.13 ms
1a94d77 342.82 ms 335.92 ms -6.90 ms

App size

Revision Plain With Sentry Diff
a202c7a 17.75 MiB 20.11 MiB 2.37 MiB
1a94d77 17.75 MiB 20.11 MiB 2.37 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!

Copy link
Contributor

@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

@antonis antonis merged commit 68bafa1 into feedback-ui-2 Apr 28, 2025
74 checks passed
@antonis antonis deleted the antonis/ci-ios-binary-size branch April 28, 2025 14:48
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