Posted in Go语言基础和工具链为什么Benchmark结果骗了你?:Golang slice去重真实耗时拆解(CPU cache line / false sharing / branch prediction) 第一章:Golang slice … 为什么Benchmark结果骗了你?:Golang slice去重真实耗时拆解(CPU cache line / false sharing / branch prediction)Read more by 分布式日记|2026年8月24日|slice去重, golang-go包弃用, CPU缓存伪共享, 飞腾CPU缓存行对齐, 分支预测失败分析, benchmark性能陷阱
Posted in 问题排查与答疑Go Test Benchmark陷阱大起底:为什么你的Benchmark结果比线上快300%?(pprof+trace双验证流程图解) 第一章:Go Test Benc … Go Test Benchmark陷阱大起底:为什么你的Benchmark结果比线上快300%?(pprof+trace双验证流程图解)Read more by 代码流浪者|2026年4月9日|pprof性能分析失真, benchmark性能陷阱, Go测试基准, Go语言CGO性能优化, strace跟踪调试
Posted in 问题排查与答疑为什么benchmark显示事务函数快2.7倍却线上更慢?Go GC STW与事务函数延迟的隐藏关联分析 第一章:为什么benchmark … 为什么benchmark显示事务函数快2.7倍却线上更慢?Go GC STW与事务函数延迟的隐藏关联分析Read more by 分布式日记|2026年3月28日|Go动态加载, C++与Go内存管理, gcovr工具, STW性能测试, 事务函数延迟, benchmark性能陷阱, 线上性能下降