Skip to content

Inefficient find of pkg data

Elizabeth Flanagan openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1license.bbclass: optimize pkg runtime datameta/classes/license.bbclass+19 -210 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] Inefficient find of pkg data

[YOCTO #2419]

find -name is a horrible way to find files (.025s per exec). Changing this to shell expansion (.002 per exec). Also, no point in having a big for loop when I pipe this into head anyway.

I tried this a few ways and this seems the most efficient reducing rootfs generation down to around 30s from around 50s.

The following changes since commit 348da93e283b2b8454fd9cde80d4b17378e2a168:

webkit-gtk: Use glib as unicode backend to avoid browser crash (2012-05-30 17:38:02 +0100)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib eflanagan/license_1.3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=eflanagan/license_1.3

Elizabeth Flanagan (1):
license.bbclass: optimize pkg runtime data

 meta/classes/license.bbclass |   40 +++++++++++++++++++---------------------
 1 files changed, 19 insertions(+), 21 deletions(-)
Signature · 1 line
1.7.5.4