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

Add support for 16KB page sizes (Android 15) #3620

Merged
merged 15 commits into from
Nov 14, 2024
Merged

Conversation

markushi
Copy link
Member

@markushi markushi commented Aug 6, 2024

📜 Description

Configures all relevant builds to use 16KB page size, inspired by getsentry/sentry-native#1028.

💡 Motivation and Context

This fixes the 7.x sentry-android SDK side of getsentry/sentry-native#989.

💚 How did you test it?

Manual testing using the Android 15 - 16KB page size enabled emulator.

📝 Open Tasks

  • Switch to release branch of sentry-native (right now it's the feat/support_16kb_page_size branch)

🔮 Next steps

Copy link
Contributor

github-actions bot commented Aug 6, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 028252d

Copy link
Contributor

github-actions bot commented Oct 22, 2024

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 422.63 ms 473.11 ms 50.47 ms
Size 1.70 MiB 2.35 MiB 668.78 KiB

Previous results on branch: feat/support_16kb_page_size

Startup times

Revision Plain With Sentry Diff
fc147ba 396.92 ms 443.64 ms 46.72 ms
e677f6f 392.02 ms 454.48 ms 62.46 ms
d332ad2 376.36 ms 429.84 ms 53.48 ms
f453aca 408.87 ms 436.92 ms 28.04 ms
c9fcd15 424.92 ms 453.36 ms 28.44 ms
a61b52a 398.18 ms 477.58 ms 79.40 ms

App size

Revision Plain With Sentry Diff
fc147ba 1.70 MiB 2.35 MiB 668.28 KiB
e677f6f 1.70 MiB 2.35 MiB 668.27 KiB
d332ad2 1.70 MiB 2.35 MiB 668.24 KiB
f453aca 1.70 MiB 2.35 MiB 668.28 KiB
c9fcd15 1.70 MiB 2.35 MiB 668.26 KiB
a61b52a 1.70 MiB 2.35 MiB 668.28 KiB

@markushi markushi linked an issue Oct 22, 2024 that may be closed by this pull request
### Fixes

- Load lazy fields on init in the background ([#3803](https://github.com/getsentry/sentry-java/pull/3803))
- Replace setOf with HashSet.add ([#3801](https://github.com/getsentry/sentry-java/pull/3801))

### Dependencies

- Bump Native SDK from v0.7.2 to v0.7.8 ([#3620](https://github.com/getsentry/sentry-java/pull/3620))
Copy link
Member

Choose a reason for hiding this comment

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

native 0.7.4+ needed to be in v8
Or did anything change?

Copy link
Member Author

Choose a reason for hiding this comment

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

As discussed, it's actually fine to bump sentry-native, as the NDK move does still allow us to directly include sentry-native in 7.x

@markushi markushi merged commit 091f84e into main Nov 14, 2024
33 checks passed
@markushi markushi deleted the feat/support_16kb_page_size branch November 14, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants