部分文章内容为公开资料查询整理,原文出处可能未标注,如有侵权,请联系我,谢谢。邮箱地址:gnivor@163.com ►►►需要气球么?请点击我吧!

05 2021 档案

摘要:在发生goroutine泄漏/内存泄漏时,经常需要查看代码中哪一部分goroutine数量过多,可采用以下方法 引入pprof包 import _ "net/http/pprof" 开启http监听服务 func main() { go func() { log.Println(http.Liste 阅读全文
posted @ 2021-05-21 11:14 流了个火 阅读(1148) 评论(0) 推荐(0)
摘要:go test命令(Go语言测试命令)完全攻略 http://c.biancheng.net/view/124.html go benchmark 性能测试 https://www.cnblogs.com/bergus/articles/go-benchmark-xing-neng-ce-shi.h 阅读全文
posted @ 2021-05-12 17:17 流了个火 阅读(383) 评论(0) 推荐(0)

►►►需要气球么?请点击我吧!►►►
View My Stats