How does RTC determine the Progress of a build?
One answer
amcohen.us.ibm.com wrote:
The percent done is based on the number of activities in the build. It
compares the number of activities so far in the current build against
the average number of activities in some number of previous builds. (I
don't know how many historical builds are used to compute the average.)
The estimated completion time is computed similarly, by comparing the
running time of the build against the historical average. But it uses
only the total running time and doesn't look at individual activities.
So in your specific example, the build so far had taken two minutes
longer than an average build, but only 3/4 of the activities that
normally happen had happened so far.
Those metrics are useful if your builds usually do the same things and
take about the same amount of time. If your builds vary greatly in the
total amount of time they take and in the build activities that happen
(as is the case with some of our builds), those estimates are pretty
much useless.
I was looking at the build view in Eclipse where I noticed that the
build was 75% done and 2 minutes over due. How does RTC determine if
the build is 75% done?
The percent done is based on the number of activities in the build. It
compares the number of activities so far in the current build against
the average number of activities in some number of previous builds. (I
don't know how many historical builds are used to compute the average.)
The estimated completion time is computed similarly, by comparing the
running time of the build against the historical average. But it uses
only the total running time and doesn't look at individual activities.
So in your specific example, the build so far had taken two minutes
longer than an average build, but only 3/4 of the activities that
normally happen had happened so far.
Those metrics are useful if your builds usually do the same things and
take about the same amount of time. If your builds vary greatly in the
total amount of time they take and in the build activities that happen
(as is the case with some of our builds), those estimates are pretty
much useless.