Re:Making EC2 boot time 8x faster
by rfoo on Friday May 24, 2024 @10:41AM
(#40466749)
Wow! You are right! Running go build on host instead of container is 1.16 times faster! A whopping 435ms difference! Amazing!
(For incremental build, tested with `hyperfine --warmup 1 'make backend' 'docker run --rm -v $PWD:/build -v $HOME/.go:/go -v $HOME/.cache/go-build:/root/.cache/go-build -w /build golang:1.22.3 make backend'` it's 812.9 ms vs 1.146s.)
[ Parent
| on HN ]
There are no comments on this comment yet.