prometheus/pkg
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
..
gate Limit concurrent remote reads. (#4656) 2018-09-25 20:07:34 +01:00
labels Re-use label builder in promql aggregation (#5641) 2019-06-11 09:24:49 +01:00
logging Fix some spelling issues (#5361) 2019-03-14 14:38:54 +00: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 Rework #5009 after comments 2019-04-17 01:40:10 +02:00
runtime logs filesystem type on startup (#5558) 2019-05-17 10:16:16 +01:00
textparse refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
timestamp Add license to files. 2017-04-19 13:46:22 +01:00
value Fix spelling/typos (#4921) 2018-11-27 17:44:29 +01:00