From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Fri, 27 Dec 2013 20:34:40 +0100 Subject: [Buildroot] [PATCH] graph-build-time: generate graphs based on timing data In-Reply-To: <20131227194950.0450b9af@skate> References: <1388168189-5713-1-git-send-email-yann.morin.1998@free.fr> <20131227194950.0450b9af@skate> Message-ID: <20131227193440.GE31842@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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" > > > > 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. | '------------------------------^-------^------------------^--------------------'