tag | 55269d185900f23eed1ac630642c0724c87993c5 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Apr 29 10:35:41 2024 -0700 |
object | d3e660e1808696c89a693daf6b02317875949ce3 |
aml_tz3_314012070 (11568888,com.google.android.tzdata3)
commit | d3e660e1808696c89a693daf6b02317875949ce3 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 15 21:52:40 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 15 21:52:40 2022 +0000 |
tree | c46c4554991f543a715def82541c27f3db50e393 | |
parent | c637d609dcac56ad6856349e3b04df171a199ae8 [diff] | |
parent | 7e0ac197101cfac1085319c2d14932cce2cd9709 [diff] |
Snap for 8730993 from 7e0ac197101cfac1085319c2d14932cce2cd9709 to mainline-tzdata3-release Change-Id: I4d154b25a5361532773578506c529de27494424f
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.