苹果测试工程师的日常
15:33 · 2026年2月24日 · 周二
从 loki 的一个性能优化看过去发现 go 的编译器不支持循环展开,要性能的时候还要自己手动去展开
https://github.com/grafana/loki/pull/20824
GitHub
perf(dataset): use faster Uvarint implementation by bboreham · Pull Request #20824 · grafana/loki
What this PR does / why we need it:
I saw binary.Varint was responsible for 3.5% of all CPU in a particular set of queriers at a busy time.
The version in http://github.com/dennwc/varint has the lo...
Home
Powered by
BroadcastChannel
&
Sepia