All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Fix performance issues for bitbake-layers show-recipes (Saves 95% time)
@ 2020-09-09 11:55 Robert Yang
  2020-09-09 11:55 ` [PATCH v3 1/3] cooker.py: Save prioritized BBFILES to BBFILES_PRIORITIZED Robert Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Yang @ 2020-09-09 11:55 UTC (permalink / raw)
  To: bitbake-devel

* 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-09 11:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-09 11:55 [PATCH v3 0/3] Fix performance issues for bitbake-layers show-recipes (Saves 95% time) Robert Yang
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

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.