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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
7c9ee6dd88
commit
39eb894099
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user