File tree 2 files changed +0
-6
lines changed
2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 56
56
} = perf . constants ;
57
57
58
58
_process . setup_hrtime ( ) ;
59
- _process . setup_performance ( ) ;
60
59
_process . setup_cpuUsage ( ) ;
61
60
_process . setupMemoryUsage ( ) ;
62
61
_process . setupKillAndExit ( ) ;
Original file line number Diff line number Diff line change @@ -24,10 +24,6 @@ process.assert = deprecate(
24
24
'process.assert() is deprecated. Please use the `assert` module instead.' ,
25
25
'DEP0100' ) ;
26
26
27
- function setup_performance ( ) {
28
- require ( 'perf_hooks' ) ;
29
- }
30
-
31
27
// Set up the process.cpuUsage() function.
32
28
function setup_cpuUsage ( ) {
33
29
// Get the native function, which will be replaced with a JS version.
@@ -284,7 +280,6 @@ function setupUncaughtExceptionCapture(exceptionHandlerState) {
284
280
}
285
281
286
282
module . exports = {
287
- setup_performance,
288
283
setup_cpuUsage,
289
284
setup_hrtime,
290
285
setupMemoryUsage,
You can’t perform that action at this time.
0 commit comments