diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-11 23:11:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-12 13:15:00 +0000 |
commit | 6b2cdc4b96eab7ad5e8ae8daebe24f2b18b09b1e (patch) | |
tree | db5415b65231a59dbf646ecedb0d1b1f4c828db6 /scripts/runqemu-export-rootfs | |
parent | b3771bded2f288578fe06ef9a2886c713d065c78 (diff) | |
download | poky-6b2cdc4b96eab7ad5e8ae8daebe24f2b18b09b1e.tar.gz |
bitbake: siggen: Fix hashequiv performance issues
We're seeing huge slowdowns on large builds on the autobuilder. A qemux86 world
build was running really slowly, a primary feature was lots of rehashing going on
due to an sstate change which caused a rebuild when all output should be identical.
This was traced to the hundreds of thousands of calls to get_unihash() from
get_taskash(). If we simplify the unitaskhashes data structure, we can bypass
the function call and access the data directly. In local profile charts,
this significanly sped up process_possible_migrations(), both on profiles
and visually.
Whilst this change doesn't aid readability, it does solve an otherwise
huge performance issue.
(Bitbake rev: c4b8440f730c33eaf9f818b856ae81b2f1017fec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-export-rootfs')
0 files changed, 0 insertions, 0 deletions