diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-29 16:42:25 -0400 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-08-04 09:12:23 -0700 |
commit | c9d46475eba1e4de8409cd74c1df61dc81f29ae2 (patch) | |
tree | e6808f503da98edd05984def18e396b5d1ba8e26 /meta/lib/patchtest/repo.py | |
parent | b4ecf098a662a471439892cefac159f34ed7e7c1 (diff) | |
download | poky-c9d46475eba1e4de8409cd74c1df61dc81f29ae2.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: 710f98844ae30416bdf6a01b655df398b49574ec)
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 'meta/lib/patchtest/repo.py')
0 files changed, 0 insertions, 0 deletions