Posted in

Go benchmark陷阱大全:从基准测试误用(b.ResetTimer位置错误)、内存逃逸干扰,到goos/goarch交叉基准与pprof CPU profile校验

第一章:Go基准测试的本质与设计 … Go benchmark陷阱大全:从基准测试误用(b.ResetTimer位置错误)、内存逃逸干扰,到goos/goarch交叉基准与pprof CPU profile校验Read more

Posted in

Go语言中文网用户名搜索响应超500ms?用pprof+trace+go tool benchstat定位GC STW抖动元凶

第一章:Go语言中文网用户名搜索 … Go语言中文网用户名搜索响应超500ms?用pprof+trace+go tool benchstat定位GC STW抖动元凶Read more