[WIP] Add a Build Monitor view showing build time per builder and project - #2896
Draft
vogella wants to merge 1 commit into
Draft
[WIP] Add a Build Monitor view showing build time per builder and project#2896vogella wants to merge 1 commit into
vogella wants to merge 1 commit into
Conversation
Finding the builder that makes a build slow requires starting Eclipse with -debug and reading the performance log. The new org.eclipse.ui.buildmonitor bundle contributes a view that lists the run count, total time and slowest run of each builder per project. It switches builder tracing on while it is open and restores the previous debug options when it closes. The view only shows data once builder tracing can be toggled at runtime, which is what the builder tracing change provides. Assisted-by: multiple AI agents and layers of automated tooling 🤖
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Finding the builder that makes a build slow currently means starting Eclipse with
-debugand reading the performance log. This adds a neworg.eclipse.ui.buildmonitorbundle with a Build Monitor view that lists the run count, total time and slowest run of each builder per project, sorted by total time. The view switches builder tracing on while it is open and restores the previous debug options when it closes, so no restart is needed.The view relies on builder tracing being switchable at runtime, which is what #2802 provides, so it shows no data until that change is merged. The bundle is not yet listed in the platform feature, that needs a follow-up in eclipse.platform.releng.aggregator before it ships in the SDK.
The bundle compiles cleanly with Tycho. It has not been exercised in a running IDE together with #2802 yet, hence the draft.