Skip to content

bb-perf: scripting to plot buildstats data

[email protected] openembedded-core poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3buildstats: Place 'Elapsed Time' stat into a single linemeta/classes/buildstats.bbclass+2 -20 replies
2/3scripts: Specify the stats to take into accountscripts/contrib/bb-perf/buildstats.sh+82 -170 replies
3/3bb-perf: plot histograms base on buildstats datascripts/contrib/bb-perf/buildstats-plot.sh+157 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] bb-perf: scripting to plot buildstats data

From: Leonardo Sandoval <[email protected]>

buildstats data has been mostly unexplored mainly due to the lack of tools to digest this data. The script buildstats.sh has been re-designed to be much more flexible and the new script buildstats-plot.sh uses the latter to produce data to be consumed by gnuplot. The tools used are datamash and gnuplot, so these must be present before running them.

Some plots created by buildstats-plot.sh can be found at [1]

[1] https://wiki.yoctoproject.org/wiki/MortyBuildstats

The following changes since commit dc8508f609974cc99606b9042bfa7f870ce80228:

build-applance-image: Fix to use the release branch for morty (2016-10-26 11:11:10 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib lsandov1/buildstats-plot
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lsandov1/buildstats-plot

Leonardo Sandoval (3):
buildstats: Place 'Elapsed Time' stat into a single line
scripts: Specify the stats to take into account
bb-perf: plot histograms base on buildstats data

 meta/classes/buildstats.bbclass            |   4 +-
 scripts/contrib/bb-perf/buildstats-plot.sh | 157 +++++++++++++++++++++++++++++
 scripts/contrib/bb-perf/buildstats.sh      |  99 ++++++++++++++----
 3 files changed, 241 insertions(+), 19 deletions(-)
 create mode 100755 scripts/contrib/bb-perf/buildstats-plot.sh
Signature · 1 line
2.1.4