Posted in

Go编译速度比C还快吗?答案就在这份被Google内部归档的《Go Compiler Latency Audit Report v2.1》(解密版)

第一章:Go编译速度比C还快吗? … Go编译速度比C还快吗?答案就在这份被Google内部归档的《Go Compiler Latency Audit Report v2.1》(解密版)Read more

Posted in

字符串生成性能卡在10μs?Go 1.22新特性:inline string conversion与compiler hint实测报告

第一章:字符串生成性能瓶颈的根源 … 字符串生成性能卡在10μs?Go 1.22新特性:inline string conversion与compiler hint实测报告Read more

Posted in

Go编译器版本锁死策略:go version -m显示的compiler SHA与go env GOCOMPILE匹配验证协议(RFC草案级规范)

第一章:Go编译器版本锁死策略的 … Go编译器版本锁死策略:go version -m显示的compiler SHA与go env GOCOMPILE匹配验证协议(RFC草案级规范)Read more

Posted in

Go map的编译期优化:逃逸分析如何决定map分配在栈还是堆?go tool compile -S 输出解读

第一章:Go map的底层数据结 … Go map的编译期优化:逃逸分析如何决定map分配在栈还是堆?go tool compile -S 输出解读Read more

Posted in

Go嵌套map的逃逸分析迷局:为何逃逸到堆的变量反而比栈上慢3.8倍?——基于go tool compile -S的逐行指令解读

第一章:Go嵌套map的逃逸分析 … Go嵌套map的逃逸分析迷局:为何逃逸到堆的变量反而比栈上慢3.8倍?——基于go tool compile -S的逐行指令解读Read more

Posted in

map[string]*[]byte初始化的5种写法,第4种让Uber工程师集体沉默(附go tool compile -S汇编对照)

第一章:map[string]https://datasea.cn/go0124434175.html“>map[string]*[]byte初始化的5种写法,第4种让Uber工程师集体沉默(附go tool compile -S汇编对照)Read more

Posted in

Go map顺序问题排查三板斧:pprof trace + go tool compile -S + runtime/debug.ReadGCStats联动分析法

第一章:Go map底层哈希表结 … Go map顺序问题排查三板斧:pprof trace + go tool compile -S + runtime/debug.ReadGCStats联动分析法Read more

Posted in

Go map安全不是加锁就完事!5个被忽略的GC逃逸与内存对齐隐患(含go tool compile -S分析)

第一章:Go map安全的本质认 … Go map安全不是加锁就完事!5个被忽略的GC逃逸与内存对齐隐患(含go tool compile -S分析)Read more