diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-18 13:56:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-21 17:49:04 +0100 |
commit | 49d0abc5c80d6ed49eb1ba019cc95d44bf0f5029 (patch) | |
tree | bd6436c97f24dccbd8dac2cb74cabc0aa166aed2 /scripts/lib/argparse_oe.py | |
parent | 66f04cba71549f5b0bbfb699e1f662db7c9e8355 (diff) | |
download | poky-49d0abc5c80d6ed49eb1ba019cc95d44bf0f5029.tar.gz |
bitbake: utils: Optimise signal/sigmask performance
Running "time bitbake -pP idle" with a valid cache shows around 800,000
calls to enum creation from python's signal.py. We don't care about this
overhead and it adversely affects cache load time quite badly.
Try and use _signal directly, falling back to signal, which avoids
this overhead we don't need and makes cache loading much faster.
(Bitbake rev: ee5fce67ce35b025c68aa61e2e758903269ee346)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions