build_profiler

command
v0.0.0-...-636a2a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 13 Imported by: 0

README

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.

e.g.

$ build_profiler autoninja -C out/Release chrome

Documentation

Overview

build_profiler takes CPU usage of each process during the chrome build.

Usage:

$ build_profiler autoninja -C out/Release chrome

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL