kergoth/bitbake — comment on commit 56eaf71663856d058e5f782fd5df4edcbf4cc646
File:  line 0
By kergoth:

I recommend doing a bitbake pseudo-native (actually, the target doesn't matter, as when it's skipping the task executions, the bitbake wrapper in oe-core will error out after the first attempt to bitbake pseudo-native), then using the browser at https://gist.github.com/1861549 (modified version of the interactive part of pstats.py from the python source) to browse the profile data. Since this commit emits separate profile data files for the server, ui, each parse process, and each task worker process, you can pass all of these, or any subset of them, to the stats browser on the command line to get a view of whatever portion of the bitbake execution you're investigating.