mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
b958135677
The labelsMap struct employs the fact that label indexes are condensed around 0, so it stores the referred labels in a slice instead of map and uses slice index as label key. This allows increasing the LabelsCompressor.Decompress performance by up to 3x. This also reduces the latency of data flush in stream aggregation. |
||
---|---|---|
.. | ||
duration_test.go | ||
duration.go | ||
labels_test.go | ||
labels_timing_test.go | ||
labels.go | ||
labelscompressor_test.go | ||
labelscompressor_timing_test.go | ||
labelscompressor.go | ||
time_test.go | ||
time.go |