Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Skymeld] Adjust DataProviders and SuggestProviders for Skymeld #117

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

saraadams
Copy link
Collaborator

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.

  • Update SkymeldUsed to include the combined analysis and execution phase, as well as optionally the phase at which execution likely starts.
  • Update EstimatedCoresDataProvider to estimate cores when Skymeld is used.
  • Update CriticalPathNotDominantSuggestionProvider when Skymeld is used, if the information when execution started is available.

Contributes to #97.

Base automatically changed from sara-skymeld-data-provider to main November 24, 2023 18:24
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.

* Update `SkymeldUsed` to include the combined analysis and execution phase,
    as well as optionally the phase at which execution likely starts.
* Update `EstimatedCoresDataProvider` to estimate cores when Skymeld is used.
* Update `CriticalPathNotDominantSuggestionProvider` when Skymeld is used,
    if the information when execution started is available.

Contributes to #97.

Signed-off-by: Sara Adams <sara.e.adams@gmail.com>
@saraadams saraadams merged commit a4fa1e4 into main Nov 27, 2023
3 checks passed
@saraadams saraadams deleted the sara-skymeld-estimated-cores branch November 27, 2023 10:49
saraadams added a commit that referenced this pull request Nov 27, 2023
Introduced by merging #121 and #117.

Signed-off-by: Sara Adams <sara.e.adams@gmail.com>
@saraadams saraadams mentioned this pull request Nov 27, 2023
saraadams added a commit that referenced this pull request Nov 27, 2023
Introduced by merging #121 and #117.

Signed-off-by: Sara Adams <sara.e.adams@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants