On Fri, Jun 4, 2010 at 5:04 AM, Bernhard Reutner-Fischer <
[email protected]> wrote:

> Hi,
>
> Changes from v1:
> o store persistent cache database connection in fetcher
> o call mkdirhier unconditionally
>
> This series shaves off ~10% of bitbake runtime for this scenario:
> bitbake micro-base-image; once, not measured
> bitbake -c clean something; not measured
> bitbake.original -c clean something; repeatedly, measured
> bitbake.better -c clean something; repeatedly, measured
>
> Bernhard Reutner-Fischer (8):
>  fetch: documentation typo fix
>  cache: fix typo in error message of cacheValidUpdate()
>  fetch: commentary typo fix in fetcher_init()
>  cache: use os.path ops instead of stat
>  cache: use max() to determine newest_mtime
>  cache: use a set() for __depends
>  persist_data: cache connection and use cursor
>  cache: do not chdir unnecessary
>
>  lib/bb/cache.py          |   45
> +++++++++++++++++++++++----------------------
>  lib/bb/fetch/__init__.py |   13 +++++++------
>  lib/bb/parse/__init__.py |    4 ++--
>  lib/bb/persist_data.py   |   21 +++++++++++++--------
>  4 files changed, 45 insertions(+), 38 deletions(-)


Unless someone has an objection, I'm going to go ahead and apply all of
these to master.  We can always improve other things from there, but this is
a definite improvement.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to