Loading…
Topic
Perfetto
1 post about Perfetto. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Android profiling now uses Perfetto via ProfilingManager
Starting with Sentry Android SDK 8.51.0, continuous profiling on Android 15 and newer uses Perfetto through Android’s system ProfilingManager API, while devices below Android 15 keep the legacy Debug.startMethodTracing profiler. Existing continuous-profiling users need no configuration change; upgrading moves eligible devices to the new profiler automatically. Moving profiling outside the app process avoids crashes tied to the legacy runtime tracer, reduces CPU and memory overhead, and produces profiles less influenced by the profiler itself. A sample profile shows Gson parsing a large JSON asset for more than a second on the main thread, exposing a missing withContext(Dispatchers.IO) call. Android rate-limits profiling requests, so even a profileSessionSampleRate of 1.0 does not guarantee every session is profiled, and enableLegacyProfiling defaults to true but can be set false to avoid the legacy tracer entirely.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.