prometheus/pkg/labels
Thomas Jackson a000cec011 Re-use label builder in promql aggregation (#5641)
For my benchmarks on aggregation this reduces allocations by ~5% (~10%
time improvement):

```
benchmark                                                    old ns/op     new ns/op     delta
BenchmarkEvaluations/benchdata/aggregators.test/promxy-4     727692        649626        -10.73%

benchmark                                                    old allocs     new allocs     delta
BenchmarkEvaluations/benchdata/aggregators.test/promxy-4     2566           2434           -5.14%

benchmark                                                    old bytes     new bytes     delta
BenchmarkEvaluations/benchdata/aggregators.test/promxy-4     162760        148854        -8.54%
```

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-06-11 09:24:49 +01:00
..
labels.go Re-use label builder in promql aggregation (#5641) 2019-06-11 09:24:49 +01:00
labels_test.go show list of offending labels in the error message in many-to-many scenarios (#5189) 2019-02-09 10:17:52 +01:00
matcher.go Don't add anchoring to exported `Value` matcher field 2017-10-10 10:10:21 -07:00
matcher_test.go Add label matcher tests 2017-10-10 17:13:55 -07:00