[Buildroot] [PATCH v2 0/5] Improve performances and feedback of different

Victor Huesca victor.huesca at bootlin.com
Fri Jul 19 14:35:51 UTC 2019


This patch serie extends the existing idea of making HTTP requests in
parallel via the multiprocessing module. This allows way better
performances (x5~10) at no cost.

This patch also implements helper function to ease providing feedback
about the current state for this time consuming functions.

The 'package_make_init_info' function is slightly modified to call make
only once (as suggested by Thomas).

Finaly an option to reduce verbosity is introduced since the per-package
notification flouds the standard output.

Changes v1 --> v2:
  - Replace multiprocessing by multiprocess (a fork)
  - Add progress feedback when checking URLs
  - Replace the multiple calls to make by a single one
  - Add an option to reduce versbosity (hide per-package notification)


Victor Huesca (5):
  support/scripts/pkg-stats: Use the 'multiprocess' fork instead of
    'multiprocessing'
  support/scripts/pkg-stats: retrieve packages latest version using
    processes
  support/scripts/pkg-stats: add current progress in 'check_url_status'
  support/scripts/pkg-stats: improve 'package_init_make_info'
  support/scripts/pkg-stats: add option to reduce verbosity

 support/scripts/pkg-stats | 193 +++++++++++++++++++++-----------------
 1 file changed, 108 insertions(+), 85 deletions(-)

-- 
2.21.0



More information about the buildroot mailing list