summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-08 16:16:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-26 13:41:29 +0100
commit9062a225aa9aec4ea5975f914008ac189ee834f8 (patch)
tree5535b949cae3e511309cf9c7d7a0dc2f6afc6341 /bitbake/lib/bb/data_smart.py
parentd03a6d33de90dd02ae686a2a09e406085252456e (diff)
downloadpoky-9062a225aa9aec4ea5975f914008ac189ee834f8.tar.gz
bitbake: cache: Fix performance problem with large numbers of source files
Some companies are using large numbers of patch files in SRC_URI. Rightly or wrongly that exposes a performance problem where the code does not handle the large string manipulations in a way which works efficienty in python. This is a modified version of a patch from z00539568 <zhangyifan46@huawei.com153340508@qq.com which addresses the performance problem. I modified it to use a more advanced regex, retain the "*" check and cache the regex. [YOCTO #13824] (Bitbake rev: c07f374998903359ed55f263c86466d05aa39b68) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
0 files changed, 0 insertions, 0 deletions