[poky] [PATCH 0/1][RFC] Optimize file parsing speed

Dongxiao Xu dongxiao.xu at intel.com
Sun Nov 21 22:04:12 PST 2010


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 <dongxiao.xu at intel.com>
---


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(-)




More information about the poky mailing list