Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] graph-build-time: generate graphs based on timing data
Date: Fri, 27 Dec 2013 20:34:40 +0100	[thread overview]
Message-ID: <20131227193440.GE31842@free.fr> (raw)
In-Reply-To: <20131227194950.0450b9af@skate>

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@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.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2013-12-27 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27 18:16 [Buildroot] [PATCH] graph-build-time: generate graphs based on timing data Yann E. MORIN
2013-12-27 18:21 ` Yann E. MORIN
2013-12-27 18:49 ` Thomas Petazzoni
2013-12-27 19:34   ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131227193440.GE31842@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox