Posted in

Go泛型性能陷阱全揭露(interface{} vs any vs type param实测:Map查找慢2.3倍,GC压力翻倍)

第一章:Go泛型性能陷阱全揭露( … Go泛型性能陷阱全揭露(interface{} vs any vs type param实测:Map查找慢2.3倍,GC压力翻倍)Read more

Posted in

【Go链路性能瓶颈TOP1】:sync.Pool在trace.Span对象复用中的反模式使用——实测GC压力上升47%,吞吐下降31%

第一章:【Go链路性能瓶颈TOP … 【Go链路性能瓶颈TOP1】:sync.Pool在trace.Span对象复用中的反模式使用——实测GC压力上升47%,吞吐下降31%Read more

Posted in

Go的interface{}到底多离谱?,空接口泛滥致逃逸分析失效、GC压力翻倍、pprof火焰图全红(真实K8s节点OOM复盘)

第一章:Go的interface … Go的interface{}到底多离谱?,空接口泛滥致逃逸分析失效、GC压力翻倍、pprof火焰图全红(真实K8s节点OOM复盘)Read more