Bug 9329 - Collect and show stats about past build time
Summary: Collect and show stats about past build time
Status: RESOLVED DUPLICATE of bug 5383
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-23 11:33 UTC by Igor Stoppa
Modified: 2016-03-31 14:03 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Stoppa 2016-03-23 11:33:02 UTC
In some cases, it can take quite a while for rebuilding a package.
To the normal user, this might look like the machine is stuck.
But even running ps/top in a separate window doesn't give any idea about how long it will take.

It would be useful to have statistics (for example embedded in the SSTATE content) that would support the execution of:

bitbake -c show-stats recipe

Then one would know how long it took to perform a task, on the machine that populated the SSTATE, and weigh the decision of rebuilding some or all of it.
Comment 1 Paul Eggleton 2016-03-31 08:57:47 UTC
This probably ties in with the work I have done for bug 5383 (which went significantly further than the original request; I've attempted to produce a general solution that would work for any task).
Comment 2 Igor Stoppa 2016-03-31 10:45:42 UTC
Yes, it looks like it could go under that umbrella.
If you prefer to consolidate them, feel free to add this proposal to 5383 and mark this as duplicate.
Comment 3 Richard Purdie 2016-03-31 14:03:52 UTC
Marking as duplicate as agreed.

*** This bug has been marked as a duplicate of bug 5383 ***