diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index bdd2edce866..e23ec858f33 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -57,7 +57,6 @@ } = perf.constants; _process.setup_hrtime(); - _process.setup_performance(); _process.setup_cpuUsage(); _process.setupMemoryUsage(); _process.setupKillAndExit(); diff --git a/lib/internal/process.js b/lib/internal/process.js index cc8318cbe3c..3d02e6eb87c 100644 --- a/lib/internal/process.js +++ b/lib/internal/process.js @@ -24,10 +24,6 @@ process.assert = deprecate( 'process.assert() is deprecated. Please use the `assert` module instead.', 'DEP0100'); -function setup_performance() { - require('perf_hooks'); -} - // Set up the process.cpuUsage() function. function setup_cpuUsage() { // Get the native function, which will be replaced with a JS version. @@ -284,7 +280,6 @@ function setupUncaughtExceptionCapture(exceptionHandlerState) { } module.exports = { - setup_performance, setup_cpuUsage, setup_hrtime, setupMemoryUsage,