tree: 4685450a2c5d14f194c962011a5f95d858d8050e [path history] [tgz]
  1. main.go
  2. main_test.go

CPU Profiler for Chrome Build

This is CPU profiler periodically collecting CPU usage of local process during Chrome build. This can be used to find build actions that may have low-hanging fruit for build performance optimization.

Install build_profiler from CIPD

$ echo 'infra/tools/build_profiler/${platform} latest' > ensure_file.txt
$ cipd ensure -ensure-file ensure_file.txt -root dir

Run build_profiler

To run build_profiler, you need to prepend build_profiler for usual build command.


$ build_profiler autoninja -C out/Release chrome