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

EstimatedCoresDataProvider: use `Optional` in various `Datum`s #40

Closed saraadams closed 2 years ago

saraadams commented 2 years ago

Progress on #38

The Bazel profile may not include all data required to extract the estimated cores available, estimated cores used, and value of the flag --jobs. To handle these cases well, return an Optional, where Optional#empty indicates the data could not be extracted.