From: "Robert Yang" <liezhi.yang@windriver.com>
To: <bitbake-devel@lists.openembedded.org>
Subject: [PATCH v3 0/3] Fix performance issues for bitbake-layers show-recipes (Saves 95% time)
Date: Wed, 9 Sep 2020 04:55:17 -0700 [thread overview]
Message-ID: <cover.1599652176.git.liezhi.yang@windriver.com> (raw)
* V3
- Define self.collection_res in an init function
* V2
- Save prioritized BBFILES to BBFILES_PRIORITIZED
- "bitbake-layers show-recipes" requires 14 min to run which was too slow,
these 3 patches can make it run in 40s which can save 95% time.
- It becomes slow since the following commit:
(85e03a64: tinfoil: Simplify remote datastore connections)
* V1
- Initial version
The following changes since commit c25309ecde4e7ff81fb74a74fe06991dcdbbbfc8:
bitbake: cooker: Ensure parser worker signal handlers are default (2020-09-08 10:18:02 +0100)
are available in the Git repository at:
git://git.yoctoproject.org/poky-contrib rbt/bblayers
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=rbt/bblayers
Robert Yang (3):
cooker.py: Save prioritized BBFILES to BBFILES_PRIORITIZED
utils.py: get_file_layer(): Exit the loop when file is matched
utils.py: get_file_layer(): Improve performance
bitbake/lib/bb/cooker.py | 2 +-
bitbake/lib/bb/utils.py | 17 ++++++++++++-----
bitbake/lib/bblayers/query.py | 12 ++++++++++--
3 files changed, 23 insertions(+), 8 deletions(-)
--
2.17.1
next reply other threads:[~2020-09-09 11:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 11:55 Robert Yang [this message]
2020-09-09 11:55 ` [PATCH v3 1/3] cooker.py: Save prioritized BBFILES to BBFILES_PRIORITIZED Robert Yang
2020-09-09 11:55 ` [PATCH v3 2/3] utils.py: get_file_layer(): Exit the loop when file is matched Robert Yang
2020-09-09 11:55 ` [PATCH v3 3/3] utils.py: get_file_layer(): Improve performance Robert Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1599652176.git.liezhi.yang@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.