-
Notifications
You must be signed in to change notification settings - Fork 8
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
pks --no-cache check
can be faster than pks check
#217
Comments
Huh, that's very interesting. For me:
macOs 15.0 on Apple M2 Max I wonder why this is 🤔 |
We are not running So it turns out that file access uses a lot more kernel CPU time on my machine, probably because of some security software we run. 🤷 |
In an Ubuntu VM running on the same laptop:
So yeah, it must be something about the macOS host that makes it slow. |
The security software explanation makes sense to me, although I'm not sure what it would be doing different. With no cache, we'd be opening repo files to parse them. With cache, we're opening up files in |
At least on my machine, disabling cache makes
pks check
run faster (wall-clock time):macOS 14.7 on Apple M1 Pro 10C
The text was updated successfully, but these errors were encountered: