Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
incompatible_enable_profile_by_default: Switch to the JSON profile and enable it by default #8783
This flags enables the JSON profile by default for every bazel invocation. The JSON profile is written to the output base (exact path is written to stderr) and you can load it via chrome://tracing. See also https://docs.bazel.build/versions/master/skylark/performance.html#json-profile.
It also sets the recommended options:
There is no code change necessary.
We did a lot of Google-internal experiments and think it doesn't affect end to end build performance.
We intend to flip this with the next incompatible release, probably 1.0 in September.