Skip to content

RFC Optimize file parsing speed

Dongxiao Xu poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1utility-tasks.bbclass: Move distro related tasks to distrodata.bbclassmeta/classes/distrodata.bbclass meta/classes/utility-tasks.bbclass meta/conf/distro/poky.conf+440 -4430 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1][RFC] Optimize file parsing speed

Hi Richard,

I found that when parsing bitbake files, most of the variables in d.keys() are in distro_tracking_fields.inc, and they are not used in normal build.

This pull request moves some distro related functions in utility-tasks.bbclass into distrodata.bbclass, and remove the inclusion of distro_tracking_fields.inc from poky.conf. This could gain about 25% parsing time saving.

Please help to review and pull. Thanks!

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: dxu4/perf
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/perf

Thanks,
Dongxiao Xu <[email protected]>
---

Dongxiao Xu (1):
utility-tasks.bbclass: Move distro related tasks to
distrodata.bbclass

 meta/classes/distrodata.bbclass    |  440 +++++++++++++++++++++++++++++++++++
 meta/classes/utility-tasks.bbclass |  442 ------------------------------------
 meta/conf/distro/poky.conf         |    1 -
 3 files changed, 440 insertions(+), 443 deletions(-)