53ac9d6d66
* labels.Equal benchmark for equal, not equal, and differing lengths Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com> * Compare equality of label.Label structs directly Compare the structs using `==` instead of the name and value of each label. This is functionally equivalent and about ~10% faster in my testing. Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com> * Use longer more realistic names and values in benchmark Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com> |
||
---|---|---|
.. | ||
labels.go | ||
labels_test.go | ||
matcher.go | ||
matcher_test.go | ||
regexp.go | ||
regexp_test.go | ||
test_utils.go |