mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46:23 +01:00
955d36357c
Allocations are reduced by re-using the byte buffer when converting
labels to string keys.
```
name old allocs/op new allocs/op delta
GetStaleSeries-10 703 ± 0% 203 ± 0% ~ (p=1.000 n=1+1)
```
Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
alerting_test.go | ||
alerting.go | ||
group_test.go | ||
group_timing_test.go | ||
group.go | ||
recording_test.go | ||
recording.go | ||
rule_test.go | ||
rule.go | ||
test_helpers.go | ||
utils_test.go | ||
utils.go |