Welcome to CRUX bug tracking.
FS#1597 - pkgmk: faster strip_files() function
Attached to Project:
CRUX
Opened by Fun (fun) - Saturday, 24 February 2018, 16:30 GMT
Last edited by Predrag Ivanovic (pedja) - Monday, 18 March 2019, 15:01 GMT
Opened by Fun (fun) - Saturday, 24 February 2018, 16:30 GMT
Last edited by Predrag Ivanovic (pedja) - Monday, 18 March 2019, 15:01 GMT
|
DetailsI've attached a patch to run 'file' in parallel (using xargs -P$(nproc)).
The time spent changed from 30 seconds to .2 seconds on a 5500 files port (most of them 'data') with a faster drive. I didn't test more ports. |
This task depends upon
https://crux.nu/gitweb/?p=tools/pkgutils.git;a=commitdiff;h=ece7f90bf8b1fb747e4607cdfb054ef5d22a13e5
Also, the previous commit https://crux.nu/gitweb/?p=tools/pkgutils.git;a=commitdiff;h=d51cdd1c8f24ef6f53cb87a0d06f4066cd91af8c removed 'bz2' from documentation (see
FS#1638).