prometheus/storage
Giedrius Statkevičius d1d2566055
remote/read_handler: pool input to Marshal() (#11357)
* remote/read_handler: pool input to Marshal()

Use a sync.Pool to reuse byte slices between calls to Marshal() in the
remote read handler.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* remote: add microbenchmark for remote read handler

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
2022-11-15 16:29:16 +01:00
..
remote remote/read_handler: pool input to Marshal() (#11357) 2022-11-15 16:29:16 +01:00
buffer.go storage: Avoid duplicate function call in sampleRingIterator (#11502) 2022-11-01 13:34:47 -04:00
buffer_test.go Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
fanout.go
fanout_test.go
generic.go
interface.go Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
lazy.go
memoized_iterator.go
memoized_iterator_test.go Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
merge.go Fix merge conflicts 2022-10-11 22:53:37 +05:30
merge_test.go Fix merge conflicts 2022-10-11 22:53:37 +05:30
noop.go
secondary.go
series.go
series_test.go