diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-10 22:34:32 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-13 13:52:10 +0000 |
| commit | 71f55957f074818d782971a0b678a77d330597d3 (patch) | |
| tree | e62f4f2a3c3469df20d25ecddbacc3c0bb357f59 /meta/recipes-devtools/python/python3-attrs | |
| parent | a7bbb105d33c1c85cee340ae6266609532024beb (diff) | |
| download | poky-71f55957f074818d782971a0b678a77d330597d3.tar.gz | |
bitbake: runqueue: Optimise taskname lookups in next_buildable_task
A quick profile of bitbake world showed 147 million calls to taskname_from_tid().
The next_buildable_task function is performance senstive so move the call
inside the if block to reduce the number of calls and speed the code up.
(Bitbake rev: 8b332c16a7b6b85c5cbe1919dd8cae45fda6adf9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-attrs')
0 files changed, 0 insertions, 0 deletions
