poky/bitbake/lib
Robert Yang 5bfb7594c4 bitbake: data_smart: Improve performance for VariableHistory
Fixed:
- BBMULTICONFIG = "qemux86-64 qemuarm64" and more than 70 layers in BBLAYERS
$ bitbake -p -P
Check profile.log.processed, the record() cost more than 20 seconds, it is less
than 1 second when multiconfig is not enabled, and there would be the following
error when more muticonfigs are enabled:

Timeout while waiting for a reply from the bitbake server

Don't change the type of loginfo['detail'] or re-assign it can make record()
back to less than 1 second, this won't affect COW since loginfo is a mutable
type.

The time mainly affected by two factors:
1) The number of enabled layers, nearly 1 second added per layer when the
   number is larger than 50.

2) The global var such as USER_CLASSES, about 1 ~ 2 seconds added per layer
   when the layers number is larger than 50.

(Bitbake rev: d251668d9a7a8dd25bd8767efb30d6d9ff8b1ad3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0596aa0d5b0e4ed3db11b5bd560f1d3439963a41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:43 -07:00
..
bb bitbake: data_smart: Improve performance for VariableHistory 2024-08-26 05:18:43 -07:00
bblayers bitbake: lib: Drop inotify support and replace with mtime checks 2023-09-18 11:35:05 +01:00
bs4 bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex 2024-02-13 13:52:10 +00:00
hashserv bitbake: hashserv: client: Add batch stream API 2024-06-06 06:53:49 -07:00
layerindexlib bitbake: layerindexlib: fix missing layer branch backtrace 2024-02-27 11:36:38 +00:00
ply bitbake: utils/ply: Update md5 to better report errors with hashlib 2022-10-26 12:32:08 +01:00
progressbar bitbake: bitbake: progressbar: accept value over initial maxval 2024-02-23 14:34:05 +00:00
prserv bitbake: prserv: remove unnecessary code 2024-04-14 06:31:45 +01:00
simplediff
toaster bitbake: toaster/tests: Bug-fix ToasterTable show_rows testcases 2024-01-10 13:55:33 +00:00
codegen.py bitbake: codegen: cleanup deprecated AST usages 2023-11-14 23:39:53 +00:00
pyinotify.py bitbake: pyinotify.py: Simplify identification of which event has occurred 2022-04-14 09:48:33 +01:00