[Buildroot] [PATCH] graph-build-time: generate graphs based on timing data

Yann E. MORIN yann.morin.1998 at free.fr
Fri Dec 27 19:34:40 UTC 2013


Thomas, All,

On 2013-12-27 19:49 +0100, Thomas Petazzoni spake thusly:
> On Fri, 27 Dec 2013 19:16:29 +0100, Yann E. MORIN wrote:
> > From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> > 
> > This script generates graphs of packages build time, from the timing
> > data generated by Buildroot in the $(O)/build-time.log file.
> > 
> > Example usage:
> > 
> >   cat $(O)/build-time.data | \
> >       ./support/scripts/graph-build-time \
> >       --type=histogram --output=foobar.pdf
> 
> Just like the dependency graph tool, I'm wondering if we shouldn't try
> to integrate this as a make target, to give it more visibility. This
> can of course be done at a later stage.

That's my opinion, too. I'll tackle this as following patches.

> > To be honnest, I prefer the graphs made with gnuplot, but it is mostly
> > because of the colors (hey, Thomas, are you colorblind? ;-p)
> 
> I'm not colorblind.

I was just kidding! ;-)

> To me, the histogram colors look nice (they are
> defined in the script).

Yes, I've seen that, but I did not change them, as it's a minor nit.

> The colors for the pie charts are horrible, but
> I believe they are automatically chosen by matplotlib, no?

Maybe we can also force the collors we want. I'll see if we can do that
with matplotlib...

I'll do some changes and will re-submit later.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list