Re: [yocto] Timing a recipe

2021-02-17 Thread Richard Purdie
On Tue, 2021-02-16 at 11:43 -0800, rustyhow...@gmail.com wrote: > "time bitbake recipe" is perfect for manual things. But I wanted to > also measure the recipe times when building the entire image.  I > ended up creating  a bbappend with new pre/post tasks for the main > tasks (fetch, unpack, confi

Re: [yocto] Timing a recipe

2021-02-17 Thread Ross Burton
As said, buildstats is *exactly* what you want. There's a forked pybootchart in oe-core that can visualise the data too. Ross On Mon, 15 Feb 2021 at 20:08, wrote: > > Is there a way to automatically record build time of a recipe without > modifying the recipe itself? I have a recipe that is a

Re: [yocto] Timing a recipe

2021-02-16 Thread Khem Raj
On Tue, Feb 16, 2021 at 11:43 AM wrote: > > "time bitbake recipe" is perfect for manual things. But I wanted to also > measure the recipe times when building the entire image. I ended up creating > a bbappend with new pre/post tasks for the main tasks (fetch, unpack, > configure, compile, ins

Re: [yocto] Timing a recipe

2021-02-16 Thread rustyhowell
"time bitbake recipe" is perfect for manual things. But I wanted to also measure the recipe times when building the entire image.  I ended up creating  a bbappend with new pre/post tasks for the main tasks (fetch, unpack, configure, compile, install, package).   The pre task drops a timestamp fi

Re: [yocto] Timing a recipe

2021-02-15 Thread Yocto
On 2/16/21 3:12 AM, Konrad Weihmann wrote: buildstats [1] maybe? That can be inherited globally and does give some neat results and insights [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/buildstats.bbclass how about "time bitbake recipe"  :) On 15.02.21 21:08, rus

Re: [yocto] Timing a recipe

2021-02-15 Thread Konrad Weihmann
buildstats [1] maybe? That can be inherited globally and does give some neat results and insights [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/buildstats.bbclass On 15.02.21 21:08, rustyhow...@gmail.com wrote: Is there a way to automatically record build time of a reci

[yocto] Timing a recipe

2021-02-15 Thread rustyhowell
Is there a way to automatically record build time of a recipe without modifying the recipe itself?  I have a recipe that is a monster, it has many git URIs and produces many packages that are coupled. It should be broken up but company deadlines have kept us from taking the time to do this. I wa