The Bazel Invocation Analyzer is a library and terminal tool developed by EngFlow. It analyzes an invocation's Bazel profile and provides suggestions on how to speed up that invocation.
Bazel version 4.0+
The Bazel Invocation Analyzer can be run in a terminal. In this mode it will print out the analysis results directly to the console.
Pass in the path of a Bazel profile on your filesystem as the first argument. Use -h
or --help
to show all the available options.
bazel run //cli -- /path/to/bazel_profile.json.gz