mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00: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.go | ||
alerting_test.go | ||
group.go | ||
group_test.go | ||
group_timing_test.go | ||
recording.go | ||
recording_test.go | ||
rule.go | ||
rule_test.go | ||
test_helpers.go | ||
utils.go | ||
utils_test.go |