Closed mroth closed 10 months ago
Hey, thanks for the contribution! Sorry for lack of activity on this PR. I am on an extended vacation.
The code looks good at first sight. I will do a more thorough review of it next week.
I see the CI failed for go 1.17. I presume it is a problem with shfmt being incompatible with go 1.17, and not anything related to this change. You do not need to worry about it
I appreciate the benchmarks in the PR description :tada:
Uses a semaphore to bound concurrency to GOMAXPROCS value. Fixes #14.
On my system, a cached --dry-run goes from ~820ms to ~130ms, and an uncached one that needs to hit the network goes from ~2s to ~300ms.
Benchmark results from my laptop:
Results with no modcache (cleared via
go clean -modcache
):