All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [OE-core] [PATCH 01/10] package: Move fixup_perms function to bb function library
       [not found] <173725B379431FBC.11747@lists.openembedded.org>
@ 2023-01-04 16:25 ` Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2023-01-04 16:25 UTC (permalink / raw)
  To: openembedded-core

I'd guess people might be curious on the actual parsing/cache impacts
of this series.

To be honest I'm having trouble isolating a parsing time change for it,
which is quite sad. Someone with a slower system or limiting it to a
small set of cores might get some better results. I can see slight
reductions in the generate_dependencies function times. I was also
profiling the "bitbake -S" cache mode, better results might be obtained
without enabling that.

It does reduce the overall "bitbake -S none" cache file size by around
420k (on a 74MB file). Much more significantly, it also reduces the
do_package sigdata file from 224k to 159k uncompressed or 54k -> 36k
compressed (which the files are).

Whilst those improvements don't sound much, this is a significant
reduction in the amount of data bitbake is chucking around pipes
internally and the reduction in size of the sigdata will mount up over
many recipes/tasks in an sstate share.

I do think we can end up with cleaner more understandable/maintainable
code if we do this correctly so whilst I had hoped for more, I still
think this direction is the right one and the changes are worth
pursuing.

Cheers,

Richard






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-04 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <173725B379431FBC.11747@lists.openembedded.org>
2023-01-04 16:25 ` [OE-core] [PATCH 01/10] package: Move fixup_perms function to bb function library Richard Purdie

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.