• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# How to Use
2
3The most basic invocation, e.g. `incremental_build.sh -- libc`, is logically
4equivalent to
5
61. running `m --skip-soong-tests libc` and then
72. parsing `$OUTDIR/soong_metrics` and `$OUTDIR/bp2build_metrics.pb` files
83. Adding timing-related metrics from those files
9   into `out/timing_logs/metrics.csv`
104. repeat 1-3 for each CUJ
11
12CUJs are defined in `cuj_catalog.py`
13Each row in `metrics.csv` has the timings of various "phases" of a build.
14
15Try `incremental_build.sh --help` and `canoncial_perf.sh --help` for help on
16usage.
17