mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
4e65636b44
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 |