The most basic invocation, e.g. incremental_build.sh -- libc, is logically equivalent to
m --skip-soong-tests libc and then$OUTDIR/soong_metrics and $OUTDIR/bp2build_metrics.pb filesout/timing_logs/metrics.csvCUJs 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.