about summary refs log tree commit diff
path: root/tools/nixery/server/storage/storage.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-31T17·29+0000
committerVincent Ambo <github@tazj.in>2019-11-03T01·33+0000
commitb03f7a1b4dff4780a8eaeb5c261598d422551220 (patch)
tree4030b6d0c4e1bb053d053d19d958a91f9c19711c /tools/nixery/server/storage/storage.go
parent2d4a3ea307350e1f7495a4fb6c6f5a37d10d3912 (diff)
feat(popcount): Add new narinfo-based popcount implementation
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.
Diffstat (limited to 'tools/nixery/server/storage/storage.go')
0 files changed, 0 insertions, 0 deletions