Sentry·
The Sentry Android SDK is now 20-30% faster!
TL;DR
Sentry reduced the startup overhead of its Android SDK by moving configuration work to build time, simplifying DSN parsing, and reusing thread pools, with changes checked through profiling and benchmarks. Version 8.54.0 initializes 20–30% faster than 8.43.0 in a demo-app benchmark—not a measurement of total app startup—and also reduces memory use and background CPU time by up to 10%. To get the improvements, upgrade to SDK 8.54.0 or newer and Sentry’s Android Gradle Plugin 6.20.0 or newer; real-world results vary.
Relevant links
- Nelson Osackyblog.sentry.io
- Perfetto agent skillgithub.com
- creating a new issue in the sentry-java repogithub.com
- release 8.43.2github.com
- release 8.54.0github.com
- sentry-java #5976github.com
- sentry-android-gradle-plugin #1405github.com
- sentry-java #5875github.com
- sentry-android-gradle-plugin #1404github.com
- DSNdocs.sentry.io
- sentry-java #5448github.com
- dedicate a 1MB stack to each threadandroid.googlesource.com