prometheus/pkg/labels
Brian Brazil a9ed3b980d
Optimise labels.Compare (#6539)
strings.Compare isn't meant to be used, and this way we save one
comparison which is thus very slightly cheaper.

benchmark                                     old ns/op     new ns/op delta
BenchmarkPostingsForMatchers/Head/n="1"-4     236305440     233515705 -1.18%

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2020-01-01 15:45:01 +00:00
..
labels.go Optimise labels.Compare (#6539) 2020-01-01 15:45:01 +00:00
labels_test.go Fix: exclude metric name in labels.MatchLabels() (#6523) 2019-12-27 09:32:19 +00:00
matcher.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00
matcher_test.go Add label matcher tests 2017-10-10 17:13:55 -07:00
test_utils.go Port tsdb to use pkg/labels. (#6326) 2019-11-18 11:53:33 -08:00