mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
36be090cd5
- 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.go | ||
dedup_test.go | ||
dedup_timing_test.go | ||
deduplicator.go | ||
deduplicator_test.go | ||
deduplicator_timing_test.go | ||
histogram_bucket.go | ||
last.go | ||
max.go | ||
min.go | ||
quantiles.go | ||
rate.go | ||
stddev.go | ||
stdvar.go | ||
streamaggr.go | ||
streamaggr_test.go | ||
streamaggr_timing_test.go | ||
sum_samples.go | ||
total.go | ||
unique_samples.go |