File tree 4 files changed +4
-40
lines changed
4 files changed +4
-40
lines changed Original file line number Diff line number Diff line change @@ -279,12 +279,6 @@ module.exports = {
279
279
BigInt : false ,
280
280
BigInt64Array : false ,
281
281
BigUint64Array : false ,
282
- COUNTER_HTTP_CLIENT_REQUEST : false ,
283
- COUNTER_HTTP_CLIENT_RESPONSE : false ,
284
- COUNTER_HTTP_SERVER_REQUEST : false ,
285
- COUNTER_HTTP_SERVER_RESPONSE : false ,
286
- COUNTER_NET_SERVER_CONNECTION : false ,
287
- COUNTER_NET_SERVER_CONNECTION_CLOSE : false ,
288
282
DTRACE_HTTP_CLIENT_REQUEST : false ,
289
283
DTRACE_HTTP_CLIENT_RESPONSE : false ,
290
284
DTRACE_HTTP_SERVER_REQUEST : false ,
Original file line number Diff line number Diff line change @@ -2254,12 +2254,15 @@ Please make sure to use [`util.getSystemErrorName()`][] instead.
2254
2254
### DEP0120: Windows Performance Counter Support
2255
2255
<!-- YAML
2256
2256
changes:
2257
+ - version: REPLACEME
2258
+ pr-url: https://github.com/nodejs/node/pull/24862
2259
+ description: End-of-Life.
2257
2260
- version: v11.0.0
2258
2261
pr-url: https://github.com/nodejs/node/pull/22485
2259
2262
description: Runtime deprecation.
2260
2263
-->
2261
2264
2262
- Type: Runtime
2265
+ Type: End-of-Life
2263
2266
2264
2267
Windows Performance Counter support has been removed from Node.js. The
2265
2268
undocumented `COUNTER_NET_SERVER_CONNECTION()`,
Original file line number Diff line number Diff line change @@ -195,30 +195,6 @@ function startup() {
195
195
}
196
196
}
197
197
198
- // TODO(jasnell): The following have been globals since around 2012.
199
- // That's just silly. The underlying perfctr support has been removed
200
- // so these are now deprecated non-ops that can be removed after one
201
- // major release cycle.
202
- if ( process . platform === 'win32' ) {
203
- const names = [
204
- 'NET_SERVER_CONNECTION' ,
205
- 'NET_SERVER_CONNECTION_CLOSE' ,
206
- 'HTTP_SERVER_REQUEST' ,
207
- 'HTTP_SERVER_RESPONSE' ,
208
- 'HTTP_CLIENT_REQUEST' ,
209
- 'HTTP_CLIENT_RESPONSE'
210
- ] ;
211
- for ( var n = 0 ; n < names . length ; n ++ ) {
212
- Object . defineProperty ( global , `COUNTER_${ names [ n ] } ` , {
213
- configurable : true ,
214
- enumerable : false ,
215
- value : deprecate ( noop ,
216
- `COUNTER_${ names [ n ] } () is deprecated.` ,
217
- 'DEP0120' )
218
- } ) ;
219
- }
220
- }
221
-
222
198
perf . markMilestone ( NODE_PERFORMANCE_MILESTONE_BOOTSTRAP_COMPLETE ) ;
223
199
224
200
perThreadSetup . setupAllowedFlags ( ) ;
Original file line number Diff line number Diff line change @@ -241,15 +241,6 @@ if (global.DTRACE_HTTP_SERVER_RESPONSE) {
241
241
knownGlobals . push ( DTRACE_NET_SERVER_CONNECTION ) ;
242
242
}
243
243
244
- if ( global . COUNTER_NET_SERVER_CONNECTION ) {
245
- knownGlobals . push ( COUNTER_NET_SERVER_CONNECTION ) ;
246
- knownGlobals . push ( COUNTER_NET_SERVER_CONNECTION_CLOSE ) ;
247
- knownGlobals . push ( COUNTER_HTTP_SERVER_REQUEST ) ;
248
- knownGlobals . push ( COUNTER_HTTP_SERVER_RESPONSE ) ;
249
- knownGlobals . push ( COUNTER_HTTP_CLIENT_REQUEST ) ;
250
- knownGlobals . push ( COUNTER_HTTP_CLIENT_RESPONSE ) ;
251
- }
252
-
253
244
if ( process . env . NODE_TEST_KNOWN_GLOBALS ) {
254
245
const knownFromEnv = process . env . NODE_TEST_KNOWN_GLOBALS . split ( ',' ) ;
255
246
allowGlobals ( ...knownFromEnv ) ;
You can’t perform that action at this time.
0 commit comments