README.md
1This directory contains a simple Android app that is meant to help in doing
2controlled startup performance experiments.
3
4This app is structured as a number of activities that each are useful for a
5different aspect of startup testing.
6
7# Activities
8
9## EmptyActivity
10
11This is the simplest possible Android activity. Starting this exercises only the
12system parts of startup without any app-specific behavior.
13
14 adb shell am start -n com.android.startop.test/.EmptyActivity
15
16## LayoutInflation
17
18This activity inflates a reasonably complex layout to see the impact of layout
19inflation. The layout is supported by the viewcompiler, so this can be used for
20testing precompiled layout performance.
21
22The activity adds an `inflate#activity_main` slice to atrace around the time
23spent in view inflation to make it easier to focus on the time spent in view
24inflation.
25
26 adb shell am start -n com.android.startop.test/.ComplexLayoutInflationActivity
27