9488ae7357
package duplication present in (e.g.) a profile. It shows the number of instances of each package in a closure, along with the size in bytes of each instance as well as the "waste" (the difference between the sum of the sizes of all instances and the average size). $ ./show-duplication.pl /nix/var/nix/profiles/default gcc 11 3.3.6 19293318 3.4.4 21425257 ... average 14942970, waste 149429707 coreutils 6 ... average package duplication 1.87628865979381, total size 3486330471, total waste 1335324237, 38.3017114443825% wasted This utility is useful for measuring the cost in terms of disk space of the Nix approach. |
||
---|---|---|
.. | ||
maintenance | ||
copying-collector.pl | ||
download-using-manifests.pl.in | ||
find-runtime-roots.pl.in | ||
generate-patches.pl.in | ||
Makefile.am | ||
nix-build.in | ||
nix-channel.in | ||
nix-collect-garbage.in | ||
nix-install-package.in | ||
nix-pack-closure.in | ||
nix-prefetch-url.in | ||
nix-profile.sh.in | ||
nix-pull.in | ||
nix-push.in | ||
nix-unpack-closure.in | ||
optimise-store.pl | ||
readconfig.pm.in | ||
readmanifest.pm.in | ||
remove-patches.pl | ||
show-duplication.pl | ||
update-manifest.pl |