mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00: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.go | ||
duration_test.go | ||
labels.go | ||
labels_test.go | ||
labels_timing_test.go | ||
labelscompressor.go | ||
labelscompressor_test.go | ||
labelscompressor_timing_test.go | ||
time.go | ||
time_test.go |