Skip to content

Commit 6b30802

Browse files
fanatidBridgeAR
authored andcommitted
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 <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 772a5e0 commit 6b30802

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

lib/perf_hooks.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,7 @@ class PerformanceNodeTiming extends PerformanceEntry {
205205
bootstrapComplete: this.bootstrapComplete,
206206
environment: this.environment,
207207
loopStart: this.loopStart,
208-
loopExit: this.loopExit,
209-
thirdPartyMainStart: this.thirdPartyMainStart,
210-
thirdPartyMainEnd: this.thirdPartyMainEnd,
211-
clusterSetupStart: this.clusterSetupStart,
212-
clusterSetupEnd: this.clusterSetupEnd,
213-
moduleLoadStart: this.moduleLoadStart,
214-
moduleLoadEnd: this.moduleLoadEnd,
215-
preloadModuleLoadStart: this.preloadModuleLoadStart,
216-
preloadModuleLoadEnd: this.preloadModuleLoadEnd
208+
loopExit: this.loopExit
217209
};
218210
}
219211
}

test/parallel/test-trace-events-bootstrap.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,7 @@ const names = [
1212
'v8Start',
1313
'loopStart',
1414
'loopExit',
15-
'bootstrapComplete',
16-
'thirdPartyMainStart',
17-
'thirdPartyMainEnd',
18-
'clusterSetupStart',
19-
'clusterSetupEnd',
20-
'moduleLoadStart',
21-
'moduleLoadEnd',
22-
'preloadModulesLoadStart',
23-
'preloadModulesLoadEnd'
15+
'bootstrapComplete'
2416
];
2517

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

0 commit comments

Comments
 (0)