Build Performance
From Yocto Project
Jump to navigationJump to search
This page is intended to serve as a guide to tweaking your build system and bitbake configuration for optimal build time as well as to provide some guidance on how to collect build metrics and identify bottlenecks.
bb-matrix
The bb-matrix.sh script (scripts/contrib/bb-perf) can be used to collect all the relevant metrics of the TIME(1) command for a build. The bb-matrix.sh generates a datfile similar to the following:
{{{ test file }}}
The bb-matrix-plot.sh script can then be used to visualize this data, generating images like the following:
File: