tag | 3cd57af92c2cd17beb1490ebb078569f441e2f49 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed May 08 00:18:13 2024 -0700 |
object | 53a3443be6cb92b68ca7c0c3a52c372f123e6211 |
Android CTS 14.0 Release 4 (11801623)
commit | 53a3443be6cb92b68ca7c0c3a52c372f123e6211 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Apr 04 01:10:45 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Apr 04 01:10:45 2022 +0000 |
tree | 523b08ce7b8e8ac9b3a789a00e830a2d792da4b5 | |
parent | 0580e86a5fd35d54000a0b1a90cd7bb08e169580 [diff] | |
parent | e7fe996db22c392f4d6b0bfbcab25127fc7b51a9 [diff] |
Snap for 8401170 from e7fe996db22c392f4d6b0bfbcab25127fc7b51a9 to udc-release Change-Id: I50525e8d3abf5176c14f009327c3aebe582374c8
Trebuchet is a Kotlin library for parsing and analyzing Android trace files generated by the atrace
or systrace
commands. This is not an officially supported Google product.
The code for the Trebuchet library can be found in the core/
directory.
Trebuchet comes bundled with several programs for analyzing one or more trace files.
The Startup Analyzer program takes a trace file, detects any startup events that occurred during the traced time period, and prints information about the events. If Trebuchet is built using the Android build system, there will be a StartupAnalyzerKt program placed into a directory that is a member of the PATH system variable. If you wish to use Gradle, you can use the startup-analyzer.sh
script located in the scripts/
directory.
The Startup Summarizer program takes a set of trace files, detects startup events in each file, and computes average and standard deviation for startup stats, broken down by program name, compiler filter, and cache status. If Trebuchet is built using the Android build system, there will be a StartupSummarizerKt program placed into a directory that is a member of the PATH system variable. If you wish to use Gradle, you can use the startup-summarizer.sh
script located in the scripts/
directory.
The scripts/
directory contains a shell script called run-startup.sh
, which will start a trace, launch an activity given a package name and an activity name, transfer the trace file to the host machine, and run the StartupAnalyzer.