Are performance counters the best way to implement and average per second?

I want to include some kind of performance metrics in my application. Windows performance counters (Perfmon) are the best way. I'm just worried that maybe there is too much overhead, what I want is just the average average per second. Is it better to just collapse my own?

+4
source share
2 answers

Yes, Perfmon works pretty well.
To minimize overhead, run Perfmon on the remote machine.
I used Perfmon to collect serious, in-depth, and valuable performance data on a BizTalk server from a development machine on the same network, and each part of the process worked very well. I would not even consider any other method of collecting data on the same form without any convincing evidence.

+2
source

No, performance counters are sloppy and should not be used for "critical" counters. On high-performance systems, performance counters can be updated very slowly and may even be incorrect.

-2
source

Source: https://habr.com/ru/post/1337770/


All Articles