Files
frameworks_base/startop/apps/test
David Sehr decc2b716d Add a threaded CPU-intensive benchmark to test
In order to understand how simpleperf reports percentages from a whole
system, craft a benchmark set that runs a CPU-intensive thread a number
of times.

Bug: none
Test: run the app
Change-Id: I7c8748f9b5da89be20775a5af60b223d4673023b
2019-09-20 15:32:50 +00:00
..
…

This directory contains a simple Android app that is meant to help in doing controlled startup performance experiments.

This app is structured as a number of activities that each are useful for a different aspect of startup testing.

Activities

EmptyActivity

This is the simplest possible Android activity. Starting this exercises only the system parts of startup without any app-specific behavior.

adb shell am start -n com.android.startop.test/.EmptyActivity

LayoutInflation

This activity inflates a reasonably complex layout to see the impact of layout inflation. The layout is supported by the viewcompiler, so this can be used for testing precompiled layout performance.

The activity adds an inflate#activity_main slice to atrace around the time spent in view inflation to make it easier to focus on the time spent in view inflation.

adb shell am start -n com.android.startop.test/.ComplexLayoutInflationActivity