Skip to content

Improve performances and feedback of different

Victor Huesca buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 0 repliesNew

Changes in v2 from the cover letter

- 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)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5support/scripts/pkg-stats: Use the 'multiprocess' fork instead of 'multiprocessing'support/scripts/pkg-stats+1 -10 replies
2/5support/scripts/pkg-stats: retrieve packages latest version using processessupport/scripts/pkg-stats+52 -121 reply
3/5support/scripts/pkg-stats: add current progress in 'check_url_status'support/scripts/pkg-stats+8 -80 replies
4/5support/scripts/pkg-stats: improve 'package_init_make_info'support/scripts/pkg-stats+27 -560 replies
5/5support/scripts/pkg-stats: add option to reduce verbositysupport/scripts/pkg-stats+22 -100 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchMatt Weber
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.21.0