mirror of https://github.com/prometheus/prometheus
7c934ae18c
`lset` escapes to heap due to being passed through the text-parser interface, so we can reduce garbage by hoisting it out of the loop so only one allocation is done for every series in a scrape. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
testdata | ||
clientprotobuf.go | ||
helpers_test.go | ||
manager.go | ||
manager_test.go | ||
scrape.go | ||
scrape_test.go | ||
target.go | ||
target_test.go |