about summary refs log tree commit diff
path: root/tools/nixery/popcount/popcount.go
AgeCommit message (Collapse)AuthorFilesLines
2019-11-03 feat(popcount): Cache seen narinfos on diskVincent Ambo1-0/+14
2019-11-03 chore: Add missing copyright headers to source filesVincent Ambo1-0/+14
2019-11-03 feat(popcount): Add new narinfo-based popcount implementationVincent Ambo1-0/+256
Adds an implementation of popcount that, instead of realising derivations locally, just queries the cache's narinfo files. The downside of this is that calculating popularity for arbitrary Nix package sets is not possible with this implementation. The upside is that calculating the popularity for an entire Nix channel can now be done in ~10 seconds[0]. This fixes #65. [0]: Assuming a /fast/ internet connection.