feat(ci): generate package size report #24
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-size-report"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We should keep it lean c:
f5b0ad184d
tofaf09c7de1
Flake output sizes
Definitions:
Name
: the name of the package/configuration.Size
: the closure size (size on disk/NAR size + all transitive dependencies).NAR Size
: the size of the build output (package without the dependencies).[NAR] Size Change
: the amount changed compared to the main branch.Tips on reading this data:
Size
(closure size/size on disk).Size
by disabling unneeded services/default packages.Size
and theNAR Size
.NAR Size
by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc.Size
by reducing the dependencies (e.g.buildInputs
).glibc
adds ~40MiB to theSize
, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g.musl
is not gonna improve things.Packages
cargo-update
default
webnsupdate