On Thu, Mar 3, 2022 at 9:16 AM Richard Purdie < [email protected]> wrote:
> On Thu, 2022-03-03 at 17:14 +0000, Ross Burton wrote: > > On Thu, 3 Mar 2022 at 16:34, Richard Purdie > > <[email protected]> wrote: > > > This removes a further 1600 files from sstate handling and lets python > > > create the ones it wants at runtime which is likely much better overall > > > for performance. > > > > Playing devil's advocate: doesn't having them in sstate mean they're > > generated once and hardlinked, instead of needing to be generated for > > every recipe which runs pythonnative? > > > > Whilst I can't disagree that 1600 files being dropped from sstate is > > good, we're just punting the recompile step to every recipe when it > > runs python code. > > > > I guess the question here is how long does the Python library take to > recompile. > At runtime it should only generate pyc for modules actually used? > > Another consideration is that there are many sysroots pulling in > python3-native > which don't run python and they're only there as there are python scripts > being > added which means python has to come too. > > I suspect for that reason it could be a net win but it is a tough call. > I tend to be in favor of the reduced number of files moving around. I suppose we could do some timing comparisons if we really care. It will be a trade-off of network/io vs compute/io, correct? > Cheers, > > Richard > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#162705): https://lists.openembedded.org/g/openembedded-core/message/162705 Mute This Topic: https://lists.openembedded.org/mt/89528765/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
