restingbull/bazel_invocation_analyzer
A tool that automatically analyzes a Bazel build's profile and offers suggestions on how to make it faster.
Bazel Invocation Analyzer
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.
Contact
You can get in touch with us
- by sending an email to analyzer@engflow.com
- by creating an issue on GitHub
Documentation
- Bazel Invocation Analyzer Architecture
- Adding Suggestions to the Bazel Invocation Analyzer walk-through
You can also view this tool's documentation on https://docs.engflow.com/bia/index.html.
Dependencies
Bazel version 4.0+
CLI
The Bazel Invocation Analyzer can be run in a terminal. In this mode it will print out the analysis results directly to the console.
Usage
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.gzIntegrations
The Bazel Invocation Analyzer can be integrated into other environments.
Public Web UIs
On https://analyzer.engflow.com you can upload a Bazel profile to receive a rendered version of the library's output.
Contributing
We welcome contributions from the community. Read our guide to contributing for details.