mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-19 15:06:25 +01:00
32aa0751a1
- Use bytesutil.InternString() instead of strings.Clone() for inputKey and outputKey in aggregatorpushSamples(). This should reduce string allocation rate, since strings can be re-used between aggrState flushes. - Reduce memory allocations at dedupAggrShard by storing dedupAggrSample by value in the active series map. - Remove duplicate call to bytesutil.InternBytes() at Deduplicator, since it is already called inside dedupAggr.pushSamples(). - Add missing string interning at rateAggrState.pushSamples(). Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6402 |
||
---|---|---|
.. | ||
avg.go | ||
count_samples.go | ||
count_series.go | ||
dedup_test.go | ||
dedup_timing_test.go | ||
dedup.go | ||
deduplicator_test.go | ||
deduplicator_timing_test.go | ||
deduplicator.go | ||
histogram_bucket.go | ||
last.go | ||
max.go | ||
min.go | ||
quantiles.go | ||
rate.go | ||
stddev.go | ||
stdvar.go | ||
streamaggr_test.go | ||
streamaggr_timing_test.go | ||
streamaggr.go | ||
sum_samples.go | ||
total.go | ||
unique_samples.go |