Russ Allbery wrote: > Raphael Geissert writes: > >> At least the collection scripts could be run in parallel. All the >> collection scripts with the same Order should run in parallel just fine, >> and once the dependencies are done or all the scripts of the same Order >> are done the next ones could be run. That ain't complex, it would be >> just like running <command> & in a shell. > > True, and we could do that with IPC::Run right now. That's a good idea. Do you handle that one? > Some actual merit for having those collect scripts as separate scripts > instead of embedded Perl code! :) >> I just finished a PoC, just need to find out why some white spaces won't >> go away, because with them the final files are actually a lot larger >> than the original files. According to the profiling data, read and parse >> _dpkg_control were consuming a bit over 2% of the total time required to >> check oo.o-core. With my PoC read_dpkg_control only consumes 1% > > Wow, that's a lot more than I expected -- that's 1% of the run time for a > fairly large process. It may well be worth it, then. > Attached is the PoC and another set of optimisations. Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net
Attachment:
lintian-optim2.mbox
Description: application/mbox
Attachment:
lintian-poc.mbox
Description: application/mbox