| .. | ||
| BUILD.bazel | ||
| canonical_perf.sh | ||
| cuj_catalog.py | ||
| incremental_build.py | ||
| incremental_build.sh | ||
| perf_metrics_test.py | ||
| perf_metrics.py | ||
| pretty.py | ||
| README.md | ||
| ui.py | ||
| util_test.py | ||
| util.py | ||
How to Use
The most basic invocation, e.g. incremental_build.sh -- libc, is logically
equivalent to
- running
m --skip-soong-tests libcand then - parsing
$OUTDIR/soong_metricsand$OUTDIR/bp2build_metrics.pbfiles - Adding timing-related metrics from those files
into
out/timing_logs/metrics.csv - repeat 1-3 for each CUJ
CUJs are defined in cuj_catalog.py
Each row in metrics.csv has the timings of various "phases" of a build.
Try incremental_build.sh --help and canoncial_perf.sh --help for help on
usage.