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

[Skymeld] Adjust `DataProvider`s and `SuggestProvider`s for Skymeld #117

Closed saraadams closed 9 months ago

saraadams commented 10 months ago

This change adds support for analysing profiles generated when using Skymeld. For this, the interlaced analysis and execution phase is split into two parts:

  1. Analysis only, no execution interlaced.
  2. Execution has started. analysis and execution may be interlaced.

This is done by checking for the first observed action processing event. The distinction is relevant, because it helps us determine how many cores are available on the machine that ran the Bazel client, as well has how many cores are used during execution. The later may be higher than the prior, e.g. when remote execution is used.

Contributes to #97.