commit | 0dfa0bd1574955b20fa32e95debaca9014b79fa0 | [log] [tgz] |
---|---|---|
author | Julien Desprez <jdesprez@google.com> | Sat May 15 09:02:31 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat May 15 09:02:31 2021 +0000 |
tree | c46c4554991f543a715def82541c27f3db50e393 | |
parent | 79b633eb6f5c82eab6d6c1d9e5e3b1879086832a [diff] | |
parent | cc26b389fcc613413f6e7c9de82177094820b9c4 [diff] |
Remove explicit TEST_MAPPING file for trebuchet-core am: a2ce1af715 am: 8fd02ed7da am: d3eafff21c am: 89917b1787 am: 57fb2179ff am: cc26b389fc Original change: https://android-review.googlesource.com/c/platform/tools/trebuchet/+/1690952 Change-Id: Ib07e4dd6664b199c78a5b1be745515cca2312b63
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.