苹果测试工程师的日常
10:24 · 2026年1月14日 · 周三
性能优化小技巧,把对象通过 String() 转换成字符串进行比较需要额外的内存分配,还不如直接对象里的值一一去作比较。
https://github.com/ovn-kubernetes/ovn-kubernetes/pull/5806
GitHub
iprulemanager: remove string operations from areNetlinkRulesEqual by marty-power · Pull Request #5806 · ovn-kubernetes/ovn-kubernetes
📑
Description
As part of UDN Perf/Scale investigations, it was found that excessive time was spent in iprulemanager.reconcile(), with the majority of this time being spent creating and comparing s...
Home
Powered by
BroadcastChannel
&
Sepia