prometheus/promql
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
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
testdata Fix scalar-vector comparisons (#5454) 2019-04-11 10:42:16 +01:00
ast.go *: enable all default linters (#5504) 2019-05-03 15:11:28 +02:00
bench_test.go Allow promql benchmarks to query more samples (#4770) 2018-10-22 18:02:22 +01:00
engine.go Re-use label builder in promql aggregation (#5641) 2019-06-11 09:24:49 +01:00
engine_test.go *: enable all default linters (#5504) 2019-05-03 15:11:28 +02:00
functions.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
functions_test.go WIP: keep track of samples per query, set a max # of samples (#4513) 2018-10-02 12:59:19 +01:00
fuzz.go textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
lex.go Expose lexer item types (#5358) 2019-03-14 20:53:55 +01:00
lex_test.go Expose lexer item types (#5358) 2019-03-14 20:53:55 +01:00
parse.go Fix staticcheck errors 2019-04-17 01:40:10 +02:00
parse_test.go *: enable all default linters (#5504) 2019-05-03 15:11:28 +02:00
printer.go Correctly handle {__name__="a"} (#5552) 2019-05-11 00:46:15 +01:00
printer_test.go Correctly handle {__name__="a"} (#5552) 2019-05-11 00:46:15 +01:00
promql_test.go Fix most golint warnings. 2015-08-26 12:44:46 +02:00
quantile.go In histogram_quantile merge buckets with equivalent le values (#5158) 2019-02-01 10:22:44 +00:00
test.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
test_test.go Fix some spelling issues (#5361) 2019-03-14 14:38:54 +00:00
value.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00