prometheus/pkg
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
..
exemplar Add exemplar support to the openmetrics parser (#6292) 2019-11-19 09:33:30 +00:00
gate Fix exported function comments (#6002) 2019-09-10 14:45:09 +01:00
labels Optimise labels.Compare (#6539) 2020-01-01 15:45:01 +00:00
logging Remove all usages of stretchr/testify 2019-08-08 19:49:27 -06:00
modtimevfs *: check that assets are up-to-date (#4731) 2018-11-09 11:31:36 +01:00
pool stupid return mistake fix, and dropped the additional assertion check! 2018-02-20 13:32:23 +02:00
relabel refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
rulefmt *: improve error messages when parsing bad rules (#5965) 2019-08-28 17:36:48 +02:00
runtime Fix solaris build. (#6149) 2019-10-17 18:43:29 +01:00
textparse OpenMetrics: force input to end with # EOF (#6505) 2019-12-24 08:48:28 +00:00
timestamp
value Fix spelling/typos (#4921) 2018-11-27 17:44:29 +01:00