Posted in

Go构建产物体积暴增210%?揭秘go build -trimpath -buildmode=pie -ldflags=’-s -w’在OCI镜像层中的压缩极限

第一章:Go构建产物体积暴增21 … Go构建产物体积暴增210%?揭秘go build -trimpath -buildmode=pie -ldflags=’-s -w’在OCI镜像层中的压缩极限Read more

Posted in

Go构建优化白皮书:go build -trimpath -ldflags -gcflags实战,二进制体积压缩62%,启动时间降低至112ms

第一章:Go构建优化白皮书:核心 … Go构建优化白皮书:go build -trimpath -ldflags -gcflags实战,二进制体积压缩62%,启动时间降低至112msRead more

Posted in

【Go编译性能基线报告】:基于127个主流开源项目的benchmark数据,揭示buildmode=pie、-trimpath、-buildmode=c-archive真实耗时影响

第一章:Go编译性能基线报告概述 … 【Go编译性能基线报告】:基于127个主流开源项目的benchmark数据,揭示buildmode=pie、-trimpath、-buildmode=c-archive真实耗时影响Read more

Posted in

Go语言CI/CD提速瓶颈突破:利用go build -trimpath -buildmode=pie -ldflags=”-s -w”实现二进制体积压缩58%、冷启动缩短1.7s

第一章:Go语言CI/CD提速瓶 … Go语言CI/CD提速瓶颈突破:利用go build -trimpath -buildmode=pie -ldflags=”-s -w”实现二进制体积压缩58%、冷启动缩短1.7sRead more