Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
process_metrics_linux.go: avoid calling os.Getpagesize() with every w…
…riteProcessMetrics() call It is enough to detect OS page size at the start and then use the detected value. This removes syscall overhead from every writeProcessMetrics() call. This is a follow-up for 7b14975 Updates #76 Updates VictoriaMetrics/VictoriaMetrics#6457
- Loading branch information