aosp12/tools/trebuchet/scripts
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
run-startup.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
run-user-switch-perf.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
startup-analyzer.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
startup-summarizer.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.md

This directory contains scripts for automating various tasks.

run-startup.sh

Usage:

run-startup.sh <package name> <activity name>

This script automatically starts an app on a device connected through adb with appropriate tracing enabled. It then saves a trace and reports a summary of the startup behavior using StartupAnalyzerKt. This script requires adb to be in your path and that a phone be connected.