diff --git a/README.md b/README.md index 7eebed6..9f385cb 100644 --- a/README.md +++ b/README.md @@ -342,11 +342,14 @@ the shared objects itself: the ones `ldd` reports, the dynamic loader (the kerne looks for it at the path recorded inside the binary, so it has to land at exactly that path), the NSS modules `getaddrinfo` dlopen()s, OpenSSL, and the CA bundle. -Measured on this tree on 2026-10-06, one host, arm64: chiseled **262 MB**, -scratch **222 MB**, of which 12 shared objects and a CA bundle make **18.7 MB**. -`scripts/compose-smoke.sh` runs unchanged against either one — the only change is -the `docker-compose.scratch.yml` override — and both answer **368 passed, -0 failed**. +Measured twice, on 2026-10-06. On one arm64 host: chiseled **262 MB**, scratch +**222 MB**, of which 12 shared objects and a CA bundle make **18.7 MB**. On the +x86-64 runner, where the production architecture is the one that matters (Gitea +Actions run 2476, head `be6c608`, the `scratch-image` job): RID `linux-x64`, the +same **12** shared objects and **19.9 MB**, scratch **218 MB** against chiseled +**258 MB**. `scripts/compose-smoke.sh` runs unchanged against either image — the +only change is the `docker-compose.scratch.yml` override — and it answered +**368 passed, 0 failed** on both architectures. The assertions are the reason the second Dockerfile is worth having, and the first scratch image built here is the reason they were needed: it started, its @@ -365,8 +368,10 @@ scripts/ci-gates.sh scratch-image # build it, print both images' sizes scripts/ci-gates.sh scratch-smoke # the 368, against it ``` -Not measured here: the linux-x86-64 scratch image. The `scratch-image` CI job -builds it on the runner, and that run is where the amd64 number will come from. +What is still not measured: a NativeAOT build of this edge that serves traffic. +The NativeAOT entry in `docs/ARCHITECTURE.md` says what EF 10.0.12's precompiler +refuses and what it emits when it does not — the static-binary shape is blocked +there, not in the Dockerfile. ## Schema