Benchmark 1.4.0 alpha is available and brings in a new feature “App Startup Insights”. It's a quick way to surface deeper issues that slow down app startup.

https://developer.android.com/jetpack/androidx/releases/benchmark#version_14_2

Benchmark  |  Jetpack  |  Android Developers

Android Developers
It's a very early version of this feature and we'd like to hear your feedback.
Comment, send me a message or file an issue on the tracker. https://issuetracker.google.com/issues/new?component=585351&template=1235073
Sign in - Google Accounts

You can also check out a code sample for App Startup Insights on GitHub.

https://github.com/android/performance-samples/pull/296/files

Add first alpha of App Startup Insights by keyboardsurfer · Pull Request #296 · android/performance-samples

Samples to show APIs and best practices in Performance on Android - Add first alpha of App Startup Insights by keyboardsurfer · Pull Request #296 · android/performance-samples

GitHub

@keyboardsurfer Yes! That's exactly where I was hoping the team would go!

Thoughts / feedback based on the screenshots:

- Surface some form of variance (e.g. coefficient of variation) and call out if it's over some threshold that indicates the results aren't stable
- For each of the insights, also provide a single PASS/FAIL conclusion. I love that you're providing the expectation and the individual results, but you can help scan the results quickly by surfacing which rows are problematic

@keyboardsurfer For the last 2 insights, the next step seems to point folks to the where the problem is. You could do that by updating the trace itself and inserting some sections maybe? Also provide a path to the trace / make it easy to open? And lastly, link to documentation (or in place context) on why this insight is a problem in general