summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/utilcmds.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-29 16:42:25 -0400
committerSteve Sakoman <steve@sakoman.com>2025-08-04 09:12:23 -0700
commitc9d46475eba1e4de8409cd74c1df61dc81f29ae2 (patch)
treee6808f503da98edd05984def18e396b5d1ba8e26 /scripts/lib/devtool/utilcmds.py
parentb4ecf098a662a471439892cefac159f34ed7e7c1 (diff)
downloadpoky-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 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions