Bug 578375 - Progress bar of Build for projects with JDT and PDE is heavily skewed
Summary: Progress bar of Build for projects with JDT and PDE is heavily skewed
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.23   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-25 06:09 EST by Vikas Chandra CLA
Modified: 2022-02-02 08:26 EST (History)
2 users (show)

See Also:


Attachments
building progress.png (32.82 KB, image/png)
2022-02-02 07:36 EST, Jörg Kubitz CLA
no flags Details
API Analysis progress.png (23.48 KB, image/png)
2022-02-02 07:36 EST, Jörg Kubitz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vikas Chandra CLA 2022-01-25 06:09:01 EST
This is more prominent with moving API analysis in a separate job.

For example, just keep jdt.core in your workspace. Clean->Build All.

The progress bar will move between 0 to 20% and once close to 20%, the total build will be done.

If ManifestBuilder, SchemaBuilder and API Analysis builder is removed from .project file, then progress bar is extremely smooth ( obviously it doesnt do the other builds).

Is it possible to assign different weight to builders. For example if I know if I have these 4 builders and especially that API tool is in another job, I will assign 80% to the JDT build and 20% to the rest.


With multiple project is workspace, progress bar doesn't move smoothly.
Comment 1 Vikas Chandra CLA 2022-01-25 06:09:41 EST
@Andrey - any ideas here?
Comment 2 Andrey Loskutov CLA 2022-01-27 02:16:55 EST
I don't think there is a way to increase progress for some "important" builder, but I'm not that good into the monitor topic. I assume build sees 5 builders and splits monitor to 5 chunks, that it.
Comment 3 Jörg Kubitz CLA 2022-02-02 07:36:11 EST
Created attachment 287958 [details]
building progress.png
Comment 4 Jörg Kubitz CLA 2022-02-02 07:36:28 EST
Created attachment 287959 [details]
API Analysis progress.png
Comment 5 Jörg Kubitz CLA 2022-02-02 07:38:42 EST
you can see in the screenshots that the "Building" progress bar is fine - moving from 0 to 100 (screenshot proves its >20%).
Only the "Performing API Analysis" Progress Bar is wrong - always at ~20%.
Comment 6 Vikas Chandra CLA 2022-02-02 07:51:53 EST
(In reply to Jörg Kubitz from comment #3)
> Created attachment 287958 [details]
> building progress.png

Just keep jdt.core project in your workspace and close all other projects.
Comment 7 Jörg Kubitz CLA 2022-02-02 08:26:05 EST
(In reply to Vikas Chandra from comment #6)
> Just keep jdt.core project in your workspace and close all other projects.

I created an empty workspace with only jdt.core project+ running target platform.