RFC Optimize file parsing speed
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | utility-tasks.bbclass: Move distro related tasks to distrodata.bbclassmeta/ meta/ meta/ | +440 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)