Skip to content
Permalink
Browse files

perf_hooks: remove non-existent entries from inspect

Some of the milestones was removed in PR #21247 but entries not removed
from function for inspect PerformanceNodeTiming.

PR-URL: #29528
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information...
fanatid authored and Trott committed Sep 11, 2019
1 parent 7c9ee6d commit 39eb894099f633dc1f3bc82888d4b92e603be679
Showing with 2 additions and 18 deletions.
  1. +1 −9 lib/perf_hooks.js
  2. +1 −9 test/parallel/test-trace-events-bootstrap.js
@@ -205,15 +205,7 @@ class PerformanceNodeTiming extends PerformanceEntry {
bootstrapComplete: this.bootstrapComplete,
environment: this.environment,
loopStart: this.loopStart,
loopExit: this.loopExit,
thirdPartyMainStart: this.thirdPartyMainStart,
thirdPartyMainEnd: this.thirdPartyMainEnd,
clusterSetupStart: this.clusterSetupStart,
clusterSetupEnd: this.clusterSetupEnd,
moduleLoadStart: this.moduleLoadStart,
moduleLoadEnd: this.moduleLoadEnd,
preloadModuleLoadStart: this.preloadModuleLoadStart,
preloadModuleLoadEnd: this.preloadModuleLoadEnd
loopExit: this.loopExit
};
}
}
@@ -12,15 +12,7 @@ const names = [
'v8Start',
'loopStart',
'loopExit',
'bootstrapComplete',
'thirdPartyMainStart',
'thirdPartyMainEnd',
'clusterSetupStart',
'clusterSetupEnd',
'moduleLoadStart',
'moduleLoadEnd',
'preloadModulesLoadStart',
'preloadModulesLoadEnd'
'bootstrapComplete'
];

if (process.argv[2] === 'child') {

0 comments on commit 39eb894

Please sign in to comment.
You can’t perform that action at this time.