All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4][layerindex-web] bug fix and performance improve
@ 2018-04-18 11:04 Robert Yang
  2018-04-18 11:04 ` [PATCH 1/4] fixup! update: don't stop on unsatisfied layer dependencies Robert Yang
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Robert Yang @ 2018-04-18 11:04 UTC (permalink / raw)
  To: yocto, paul.eggleton

Hi Paul,

The patch 4 can improve a lot on update.py (up to 98%), here is the testing
data, please feel free to give your comments.

$ time update.py -b master --nofetch [--fullreload]

                   Before    Now       Reduced
No update:         276s      3.6s      98%
Partial update:    312s      87s       72%
Full repload:      1016s     980s      3%

Note:
* All of the testing are based on --nofetch

* "No update" means all layers on the branch is up-to-date, for
  example, when we run it twice, there is no update in the second run, so we
  only need about 3s now, which is the most common case when we use cron to run
  it per half an hour.

* "Partly update" means part of the layers have been updated.

* "Fullreload" means all of the layers have been updated.

// Robert

The following changes since commit 611c96883c35240d3c291951146154d828745774:

  requirements.txt: use the most recent Django 1.8 version (2018-03-26 08:29:27 +1300)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib rbt/layerindex
  http://git.pokylinux.org/cgit.cgi//log/?h=rbt/layerindex

Robert Yang (4):
  fixup! update: don't stop on unsatisfied layer dependencies
  update.py: add an option --timeout for lockfile
  update.py: print failed layers summary in the end
  update_layer.py: move layer validation to update.py (Performance
    improve)

 layerindex/update.py       | 97 ++++++++++++++++++++++++++++++++++++++++++++--
 layerindex/update_layer.py | 39 ++-----------------
 layerindex/utils.py        | 14 +++++--
 3 files changed, 108 insertions(+), 42 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-04-23  4:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 11:04 [PATCH 0/4][layerindex-web] bug fix and performance improve Robert Yang
2018-04-18 11:04 ` [PATCH 1/4] fixup! update: don't stop on unsatisfied layer dependencies Robert Yang
2018-04-18 11:04 ` [PATCH 2/4] update.py: add an option --timeout for lockfile Robert Yang
2018-04-18 11:04 ` [PATCH 3/4] update.py: print failed layers summary in the end Robert Yang
2018-04-18 11:04 ` [PATCH 4/4] update_layer.py: move layer validation to update.py (Performance improve) Robert Yang
2018-04-18 20:55   ` Paul Eggleton
2018-04-19  6:45     ` Robert Yang
2018-04-20  2:57       ` Paul Eggleton
2018-04-23  1:55   ` Paul Eggleton
2018-04-23  3:06     ` Robert Yang
2018-04-23  3:35       ` Paul Eggleton
2018-04-23  4:23         ` Robert Yang
2018-04-18 11:12 ` [PATCH 0/4][layerindex-web] bug fix and performance improve Burton, Ross
2018-04-19  6:49   ` Robert Yang

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.