mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
c691895a0f
With this change the scraping caches series references and only allocates label sets if it has to retrieve a new reference. pkg/textparse is used to do the conditional parsing and reduce allocations from 900B/sample to 0 in the general case. |
||
---|---|---|
.. | ||
lex.l | ||
lex.l.go | ||
parse_test.go | ||
parse.go | ||
testdata.nometa.txt | ||
testdata.txt |