Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opam-ci-check lint is surprisingly slow when checking dozens of packages #400

Open
shonfeder opened this issue Dec 11, 2024 · 0 comments
Open

Comments

@shonfeder
Copy link
Contributor

shonfeder commented Dec 11, 2024

Using the linter on dra27/opam-repository#20, which has 47 packages, took about 1 minute. This surprised me, as I don't think the linting is doing anything computationally expensive.

We likely have some room for low-hanging perf improvements. Perhaps this would start with making the executable run tasks concurrently, but some benchmarking should guide us.

This is low-priority, and not in scope for this quarter, IMO, since it is not a problem for 99% of package publication use cases, and never going to be bottleneck on the CI for publication of large packages. I'm just opening this to record the finding :)

@shonfeder shonfeder changed the title opam-ci-check is surprisingly slow when checking several packages opam-ci-check lint is surprisingly slow when checking dozens of packages Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant