Description
The COUNTER_NET_SERVER_CONNECTION
, COUNTER_NET_SERVER_CONNECTION_CLOSE
, COUNTER_HTTP_SERVER_REQUEST
, COUNTER_HTTP_SERVER_RESPONSE
, COUNTER_HTTP_CLIENT_REQUEST
, COUNTER_HTTP_CLIENT_RESPONSE
functions are enabled only when the --with-perfctr
option is enabled (which it always is on Windows).
These functions are enabled as globals in JavaScript and are only questionably useful. The Performance Counter support is undocumented in Node.js and it's really not clear if anyone is actually using that.
I'd like to deprecate these functions in 11 and remove them entirely in 12 and would look at using trace events instead as a channel for surfacing that kind of data.
Does anyone in @nodejs/diagnostics @nodejs/build @nodejs/performance know if these counters are for sure being used anywhere?