<div dir="ltr"><div class="gmail_quote">On Sun, Oct 9, 2011 at 6:17 PM, Thomas Petazzoni <span dir="ltr"><<a href="mailto:thomas.petazzoni@free-electrons.com">thomas.petazzoni@free-electrons.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Here are two patches that implement a simple modification of the<br>
package infrastructure to output some timing data about the duration<br>
taken by each step for each package, and then a small Python script<br>
that generates graphs from those informations.<br>
<br>
I am not sure that there is any useful usage of those graphs, but it's<br>
fun and there are nice to look at.<br>
<br>
Here are some sample graphs, first on a moderately large package set:<br>
<br>
 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/histogram-build-order.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/histogram-build-order.pdf</a><br>
 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/histogram-duration-order.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/histogram-duration-order.pdf</a><br>
 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/pie-packages.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/pie-packages.pdf</a><br>
 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/pie-steps.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/pie-steps.pdf</a><br>
<br>
and then on a smaller package set:<br>
<br>
 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/histogram-build-order.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/histogram-build-order.pdf</a><br>
 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/histogram-duration-order.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/histogram-duration-order.pdf</a><br>


 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/pie-packages.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/pie-packages.pdf</a><br>
 <a href="http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/pie-steps.pdf" target="_blank">http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/pie-steps.pdf</a><br>
<br>
I don't think the modification to the package infrastructure is ready<br>
for merging (there are many cases not handled, like when the timing<br>
data should be cleaned up, the case of overriden packages not being<br>
handled, etc.) and I am not even sure it is useful to complicate the<br>
package infrastructure with such a not-so-useful feature.<br></blockquote><div> </div><div>Nice, that would be a great feature to add. Even better if you can save the whole charts in the same doc :)</div><div><br></div><div>

<br></div></div></div>