VictoriaMetrics/lib/filestream
Aliaksandr Valialkin 7ed7eb95b4
lib/filestream: do not measure read / write duration from / to in-memory buffers
Measuring read / write duration from / to in-memory buffers has little sense,
since it will be always fast. It is better to measure read / write duration from / to
real files at vm_filestream_write_duration_seconds_total and vm_filestream_read_duration_seconds_total metrics.
This also reduces overhead on time.Now() and Histogram.UpdateDuration() calls
per each filestream.Reader.Read() and filestream.Writer.Write() call when the data is read / written from / to in-memory buffers.

This is a follow-up for 2f63dec2e3
2024-01-23 14:53:35 +02:00
..
filestream_darwin.go app/vmselect/promql: follow-up for ce4f26db02 2024-01-16 22:13:13 +02:00
filestream_freebsd.go
filestream_linux.go
filestream_openbsd.go
filestream_solaris.go
filestream_test.go lib/filestream: change Create() to MustCreate() 2023-04-14 15:14:24 -07:00
filestream_windows.go all: follow-up after 34634ec357 2023-03-25 12:00:48 -07:00
filestream.go lib/filestream: do not measure read / write duration from / to in-memory buffers 2024-01-23 14:53:35 +02:00