diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-29 14:43:09 -0400 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-08-04 07:55:06 -0700 |
commit | 511d3e23f5e769e669f767759ea936f33b2106cd (patch) | |
tree | 425b4ab9b30b56a4a250b28c33d8fe0a980eb835 /documentation/dev-manual/python-development-shell.rst | |
parent | bfb799ef2a961898ad43a5803ce75d2fdb9d6c0b (diff) | |
download | poky-511d3e23f5e769e669f767759ea936f33b2106cd.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: 982645110a19ebb94d519926a4e14c8a2a205cfd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee5fce67ce35b025c68aa61e2e758903269ee346)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/dev-manual/python-development-shell.rst')
0 files changed, 0 insertions, 0 deletions