<?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>3886</bug_id>
          
          <creation_ts>2013-02-13 20:12:09 +0000</creation_ts>
          <short_desc>Script to automatically run the performance tests and consolidates the data</short_desc>
          <delta_ts>2013-04-03 16:12:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurentiu Serban">laurentiu.serban</reporter>
          <assigned_to name="Stefan Stanacar">sstncr</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29775</commentid>
    <comment_count>0</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2013-02-13 20:12:09 +0000</bug_when>
    <thetext>Write a script which performs the following tests then collects up up the appropriate data.

Overall Build Time
Prerequisite: Downloaded Sources, no sstate
Measurement: Wall clock of &quot;bitbake core-image-sato&quot;

Image build from SState
Prerequisite: Have already populated full sstate cache
Measurement: Wall clock of &quot;bitbake core-image-sato -c rootfs&quot;

Time to build the kernel
Prerequisite: Have existing build of kernel, run &quot;bitbake virtual/kernel -c clean&quot;
Measurement: Wall clock of &quot;bitbake virtual/kernel&quot;

Disk space usage of a build (no rm_work)
Prerequisite: Downloaded Sources, no sstate
Measurement: Size of tmp directory after a &quot;bitbake c-re-image-sato&quot;

Disk space usage of a build with rm_work 
Prerequisite: Downloaded Sources, no sstate
Measurement: Size of tmp directory after a &quot;bitbake c-re-image-sato&quot; but with rm_work enabled</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29986</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-02-20 11:26:51 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=stefans/perf-test&amp;id=f54423b4f44a07c24d8bda400d51e6750718186d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30004</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-02-21 14:04:34 +0000</bug_when>
    <thetext>Oki, latest version of the script should be here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/scripts/contrib/build-perf-test.sh?h=stefans/perf-test

It has two outputs, one global results file, which looks smth like:
7d22ef28e64de06b6238d0ef9b664c0bee6efa46
1:07:16,12:48.31,1:11:25,5:14.22

and a more verbose one per commit.

I&apos;ve did two runs on the same system (to ensure reproductiblity), and published some results here: 
https://wiki.yoctoproject.org/wiki/Performance_Test#1.4_Perfomance_Data

What still needs to be done: 
  - improve output
  - gather some data from buildstats
  - run the script on every milestone from now on, on the standard Ubuntu machine (I had some problems with mine, that&apos;s why on the wiki page you&apos;ll see a Fedora system used).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31018</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-03-22 09:19:29 +0000</bug_when>
    <thetext>The script works as intended. 

QA uses it in full pass tests to evaluate build performance. The results can be viewed here: https://wiki.yoctoproject.org/wiki/Performance_Test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31457</commentid>
    <comment_count>4</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-04-03 16:12:28 +0000</bug_when>
    <thetext>For record keeping purposes: this has been merged in master, so that link to poky-contrib is obsolete: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=851f1e368bea57e090a924330a08a793abfcfa55
It can be found under scripts/contrib folder. I&apos;ve updated with the new location on the wiki page too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>