prometheus/tsdb/wlog
Bryan Boreham a82bb77178
[PERF] Remote-write: re-use memory to read WAL data (#16197)
The `:=` causes new variables to be created, which means the outer
slice stays at nil, and new memory is allocated every time round the
loop.

Extracted from https://github.com/prometheus/prometheus/pull/16182
Credit to @bwplotka.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-03-26 14:49:10 +01:00
..
checkpoint.go TSDB: keep duplicate series records in checkpoints while their samples may still be present (#16060) 2025-03-05 13:45:08 -05:00
checkpoint_test.go TSDB: keep duplicate series records in checkpoints while their samples may still be present (#16060) 2025-03-05 13:45:08 -05:00
live_reader.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
reader.go tsdb/wlog: use Go standard errors package 2023-11-08 21:41:58 +00:00
reader_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
watcher.go [PERF] Remote-write: re-use memory to read WAL data (#16197) 2025-03-26 14:49:10 +01:00
watcher_test.go TSDB: keep duplicate series records in checkpoints while their samples may still be present (#16060) 2025-03-05 13:45:08 -05:00
wlog.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
wlog_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00