golang程序优化方法
1.程序编译瘦身,降低二进制文件大小
编译时增加 -ldflags "-s -w" 示例:go build -ldflags "-s -w" -o hello2 hello.go
性能优化
https://blog.csdn.net/u010649766/article/details/80582153
https://blog.csdn.net/kenkao/article/details/96300389
https://blog.csdn.net/cyq6239075/article/details/103911098
https://developer.aliyun.com/article/573743
https://blog.csdn.net/csdnnews/article/details/104549207
https://blog.csdn.net/jayzym/article/details/85626217
https://studygolang.com/articles/13426?fr=sidebar
栈内存逃逸,prrof工具分析,gcdebug
posted on 2022-04-12 11:20 ExplorerMan 阅读(322) 评论(0) 收藏 举报
浙公网安备 33010602011771号