Posted in

你的Go benchmark结果可信吗?揭秘go test -benchmem -count=10中GC干扰、CPU频率缩放、NUMA节点迁移导致的5σ异常值生成机制

第一章:Go benchmark … 你的Go benchmark结果可信吗?揭秘go test -benchmem -count=10中GC干扰、CPU频率缩放、NUMA节点迁移导致的5σ异常值生成机制Read more

Posted in

Go sync.Pool误用全景图:对象生命周期错配、Pool.Put后仍被引用、GC周期干扰——高性能HTTP中间件内存复用实测指南

第一章:Go sync.Pool … Go sync.Pool误用全景图:对象生命周期错配、Pool.Put后仍被引用、GC周期干扰——高性能HTTP中间件内存复用实测指南Read more

Posted in

Go benchmark写法正在误导你:-benchmem参数缺失、b.ResetTimer位置错误、GC干扰未屏蔽——正确压测姿势全图解

第一章:Go benchmark … Go benchmark写法正在误导你:-benchmem参数缺失、b.ResetTimer位置错误、GC干扰未屏蔽——正确压测姿势全图解Read more

Posted in

Golang RSA私钥解密性能暴降87%的真相:内存布局、GC干扰与constant-time缺失(附压测数据+修复补丁)

第一章:Golang RSA私钥 … Golang RSA私钥解密性能暴降87%的真相:内存布局、GC干扰与constant-time缺失(附压测数据+修复补丁)Read more