History log of /system/extras/app-launcher/app-launcher
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
12911fb35f1b0a73deaa1648c348bf20fcf245c5 13-Jul-2017 Mohan Srinivasan <srmohan@google.com> Add support for Go.

Add support for Go devices.

Test: Start app-launcher on Go and verify that the data reported looks
sane.

Change-Id: I1bc0bd23e7d807444f0ac35d7c18c8206bb7c12e
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
/system/extras/app-launcher/app-launcher
0584bbd4803436bc0492b8086e01c920a1cb2178 06-Jul-2017 Maggie White <maggiewhite@google.com> Additional setup and reduced file collision

There's some additional setup needed to make sure the devices are all in
the same state, so I added instructions to the README.

I also changed the system_stats functions to use variables to store
string outputs instead of files to avoid collision when running multiple
instances of the script from the same directory.

Finally, I added cleanup at the end to remove the files created in the
process, and some general code cleanup throughout the script.

Bug: 62536649
Test: manual test on several devices
Change-Id: I843a1cefcf6bd11f28e513d735b3bf313442efd2
/system/extras/app-launcher/app-launcher
5d58ea1a2253b447dc6b15a3a52ed7b790119c17 22-Jun-2017 Maggie White <maggiewhite@google.com> Added setup commands and option to specify device

The script previously did not configure any framework settings for this
script, so I added commands to disable any features that could affect
the performance numbers like wifi, NFC, screen rotation. It also clears
notifications and starts the device on the home screen.

It's not possible prior to this commit to run the app-launcher on a
host with multiple devices attached to adb, so I added a '-s <serial
number' option that allows the user to specify a specific device based
on its serial number.

I also changed the spacing of the script to be all spaces instead of
mixed tabs and spaces.

Test: Manually ran script on a marlin device

Change-Id: I82c621fe280033c55ba38bfdf95836fd95f5ed58
/system/extras/app-launcher/app-launcher
fa5fbd7358636f4fb8a1242949d34c6393e8446f 01-Feb-2017 Mohan Srinivasan <srmohan@google.com> Use TotalTime instead of ThisTime as app launch latency metric

Use TotalTime instead of ThisTime (both reported by am) as our
activity launch latency metric. TotalTime is more representative
of user perceived latency. Also add back YouTube to the list of
apps we launch test by default.

Test: Time app launches manually for the various apps, and check
that TotalTime better represents the launch latency.

Change-Id: I127a22ae409ee0141d847e711e09f7873dbb420f
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
/system/extras/app-launcher/app-launcher
d5f50d8949b883b619e2acbf2b32bfab1d444189 26-Jan-2017 Mohan Srinivasan <srmohan@google.com> app-launcher is a App Launch Perf Analysis tool.

app-launcher is an automated tool that automates the launching of
selected Apps (hundreds of times each) and collects system metrics
like CPU util, storage device util, launch times, context switches,
branch mispredicts etc. This is very useful for A/B compares of system
changes in how they impact App Launch. This code was under
google_experimental and was used by various members who found it very
useful, so moving it under system/extras (under userdebug).

Test: I (and others) have used app launcher on multiple occasions over
several months. And comparison of metrics reported by app-launcher are
consistent with metrics reported by other tools, for these tests.

Change-Id: I8b469b4165035a958b155cfffc93341cddcc444c
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
/system/extras/app-launcher/app-launcher