All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dongxiao Xu <dongxiao.xu@intel.com>
To: poky@yoctoproject.org
Subject: [PATCH 0/1][RFC] Optimize file parsing speed
Date: Mon, 22 Nov 2010 14:04:12 +0800	[thread overview]
Message-ID: <cover.1290405852.git.dongxiao.xu@intel.com> (raw)

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



             reply	other threads:[~2010-11-22  5:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22  6:04 Dongxiao Xu [this message]
2010-11-22  6:02 ` [PATCH 1/1] utility-tasks.bbclass: Move distro related tasks to distrodata.bbclass Dongxiao Xu
2010-11-28 14:27 ` [PATCH 0/1][RFC] Optimize file parsing speed Richard Purdie
2010-11-29  0:32   ` Tian, Kevin
2010-11-29  5:45   ` Xu, Dongxiao
2010-11-29 12:41     ` Richard Purdie
2010-12-01  1:48       ` Xu, Dongxiao
2010-12-08  6:53       ` Xu, Dongxiao
2010-12-09 14:40         ` Richard Purdie

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.1290405852.git.dongxiao.xu@intel.com \
    --to=dongxiao.xu@intel.com \
    --cc=poky@yoctoproject.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.