From a3fd1cd8ea51e31d6bbf11576c328767326b52ad Mon Sep 17 00:00:00 2001 From: James M Snell Date: Sun, 3 Jun 2018 16:58:48 -0700 Subject: [PATCH] perf_hooks: remove less useful bootstrap marks While `perf_hooks` is still in experimental, remove less useful bootstrap milestones. PR-URL: https://github.com/nodejs/node/pull/21247 Reviewed-By: Anna Henningsen Reviewed-By: Tiancheng "Timothy" Gu --- doc/api/perf_hooks.md | 78 ----------------------------- lib/internal/bootstrap/node.js | 30 ----------- lib/perf_hooks.js | 47 +---------------- src/node_perf_common.h | 11 +--- test/sequential/test-performance.js | 30 ++--------- 5 files changed, 6 insertions(+), 190 deletions(-) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index a8c6bcf7378837..f16a217bbea6ef 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -219,26 +219,6 @@ The high resolution millisecond timestamp at which the Node.js process completed bootstrapping. If bootstrapping has not yet finished, the property has the value of -1. -### performanceNodeTiming.clusterSetupEnd - - -* {number} - -The high resolution millisecond timestamp at which cluster processing ended. If -cluster processing has not yet ended, the property has the value of -1. - -### performanceNodeTiming.clusterSetupStart - - -* {number} - -The high resolution millisecond timestamp at which cluster processing started. -If cluster processing has not yet started, the property has the value of -1. - ### performanceNodeTiming.loopExit - -* {number} - -The high resolution millisecond timestamp at which main module load ended. - -### performanceNodeTiming.moduleLoadStart - - -* {number} - -The high resolution millisecond timestamp at which main module load started. - ### performanceNodeTiming.nodeStart - -* {number} - -The high resolution millisecond timestamp at which preload module load ended. - -### performanceNodeTiming.preloadModuleLoadStart - - -* {number} - -The high resolution millisecond timestamp at which preload module load started. - -### performanceNodeTiming.thirdPartyMainEnd - - -* {number} - -The high resolution millisecond timestamp at which third\_party\_main -processing ended. If third\_party\_main processing has not yet ended, the -property has the value of -1. - -### performanceNodeTiming.thirdPartyMainStart - - -* {number} - -The high resolution millisecond timestamp at which third\_party\_main -processing started. If third\_party\_main processing has not yet started, the -property has the value of -1. - ### performanceNodeTiming.v8Start