Reputation: 967
I have a C++ executable which makes use of cURL to make HTTP(s) requests to an external server. Is there a good way for me to determine the requests sent per second? Any way or tool will be helpful.
Upvotes: 0
Views: 231
Reputation: 597325
Increment a counter every time the application makes a request. Have a separate timer that checks and resets the counter every second. Average the values over time as needed.
Upvotes: 1