EngFlow / bazel_invocation_analyzer

A tool that automatically analyzes a Bazel build's profile and offers suggestions on how to make it faster.
https://analyzer.engflow.com
Apache License 2.0
90 stars 10 forks source link

[BottleneckSuggestionProvider] Add target for action, if available. #122

Closed saraadams closed 11 months ago

saraadams commented 11 months ago

When using the flag --experimental_profile_include_target_label when a Bazel profile is generated, action processing events include which target the action is being processed for. If present, add this information to the "Break down bottlenecks" suggestions. If not present, add a caveat that highlights the flag could be set to improve the bottleneck suggestions.

Fixes #92.

saraadams commented 11 months ago

New formatting of suggestions (with target)

example-bottleneck-output-with-target

Caveat, if no target names are included

example-caveat