VictoriaMetrics/app/vmalert/rule
Roman Khavronenko b0c1f3d819
app/vmalert/rule: reduce number of allocations for getStaleSeries fn (#6269)
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>
2024-05-14 14:43:39 +02:00
..
alerting.go vmalert: avoid blocking APIs when alerting rule uses template functio… (#6129) 2024-04-19 09:16:26 +02:00
alerting_test.go vmalert: fix sending alert messages (#6028) 2024-03-28 08:55:10 +01:00
group.go app/vmalert/rule: reduce number of allocations for getStaleSeries fn (#6269) 2024-05-14 14:43:39 +02:00
group_test.go vmalert: avoid blocking APIs when alerting rule uses template functio… (#6129) 2024-04-19 09:16:26 +02:00
group_timing_test.go app/vmalert/rule: reduce number of allocations for getStaleSeries fn (#6269) 2024-05-14 14:43:39 +02:00
recording.go vmalert: automatically add exported_ prefix for original evaluation… (#5398) 2023-12-22 16:07:47 +01:00
recording_test.go vmalert: automatically add exported_ prefix for original evaluation… (#5398) 2023-12-22 16:07:47 +01:00
rule.go docs: update vmalert and vmagent docs (#6207) 2024-04-30 10:27:06 +02:00
rule_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
test_helpers.go app/vmalert/rule: reduce number of allocations for getStaleSeries fn (#6269) 2024-05-14 14:43:39 +02:00
utils.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
utils_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00