VictoriaMetrics/lib/protoparser/prometheus
Aliaksandr Valialkin 92d01db85a
lib/protoparser/prometheus: optimize GetRowsDiff() function
This should help https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1745 ,
since the provided profile shows that the majority of CPU and memory is spent in this function
during `streamParse` when `-promscrape.noStaleMarkers` wasn't set.
2021-10-27 18:55:25 +03:00
..
parser.go lib/protoparser/prometheus: optimize GetRowsDiff() function 2021-10-27 18:55:25 +03:00
parser_test.go lib/protoparser/prometheus: optimize GetRowsDiff() function 2021-10-27 18:55:25 +03:00
parser_timing_test.go lib/protoparser/prometheus: add a benchmark for GetRowsDiff 2021-10-27 18:55:23 +03:00
streamparser.go lib/protoparser: stop reading the input stream as soon as the callback provided by the caller returns error 2021-06-14 15:20:38 +03:00
streamparser_test.go Fixes error handling for promscrape.streamParse (#1009) 2021-01-12 13:35:09 +02:00