<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9329</bug_id>
          
          <creation_ts>2016-03-23 11:33:02 +0000</creation_ts>
          <short_desc>Collect and show stats about past build time</short_desc>
          <delta_ts>2016-03-31 14:03:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>5383</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60331</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-03-23 11:33:02 +0000</bug_when>
    <thetext>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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60568</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-03-31 08:57:47 +0000</bug_when>
    <thetext>This probably ties in with the work I have done for bug 5383 (which went significantly further than the original request; I&apos;ve attempted to produce a general solution that would work for any task).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60583</commentid>
    <comment_count>2</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-03-31 10:45:42 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60598</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-03-31 14:03:52 +0000</bug_when>
    <thetext>Marking as duplicate as agreed.

*** This bug has been marked as a duplicate of bug 5383 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>