Patchwork [0/4] script to run build tests and collect time metrics

mail settings
Submitter Stanacar, StefanX
Date March 29, 2013, 3:10 p.m.
Message ID <>
Download mbox
Permalink /patch/47141/
State New
Headers show


git:// stefans/perf-test


Stanacar, StefanX - March 29, 2013, 3:10 p.m.

This script runs a series of standard tests and collects some metrics
(wall clock and size of tmp/). It takes care of dropping vm caches
(for which it need sudo access) and doing a fetchall first.
It uses /usr/bin/time to measure the wall clock for builds (not bash
internal time command).

The metrics collected are:
* time bitbake core-image-sato and size of tmp/ dir without sstate
* time bitbake virtual/kernel
* time bitbake core-image-sato and size of tmp/ without sstate but with rm_work enabled
* time bitbake core-image-sato -c rootfs with sstate
* three parsing time metrics (bitbake -p) with and without tmp/cache. 

The results are collected in build-perf-test/globalres.log for all commits
that it has run, and in a separate folder for ech run (called results-<rev>-<date>)
This is the same script used to collect the results for:
It's still a work in progress and needs some improvements but it should be a good starting point.


The following changes since commit 2f4fe1ee111a3dff68ac1cea6f3f6767cd6fe4eb:

  bitbake: hob: Search strings and results should be persistent (2013-03-29 10:41:25 +0000)

are available in the git repository at:

  git:// stefans/perf-test

Stefan Stanacar (4):
  scripts/contrib/ add a script for build performance
  scripts/contrib/ add a global results file
  scripts/contrib/ add option to allow cherry-picking
    of fix revisions
  scripts/contrib/ add timings for bitbake -p

 scripts/contrib/ | 348 +++++++++++++++++++++++++++++++++++++
 1 file changed, 348 insertions(+)
 create mode 100755 scripts/contrib/