Skip to content

Pkgcheck git cache should be parallelized #770

@ferringb

Description

@ferringb

Being I have a full gentoo repo locally, the git cache update scanned all the way back to 2019. It's a one time impact, but this is a scalar process consuming from git output.

This may be optimizable in a way allowing it to stay scalar; if not, extracting all git commits that need processing, and then feeding batches into multiprocessing (which processes those batches) should work.

Note if this is implemented, the parallelization should be $CPUS/2; pkgcheck itself seems to be running near 100% whilst git is at 90% for my system. Just assume it'll hold similar.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions