From 9fecb3dfb9597f7774a68fbf51557ff8576be84d Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sat, 1 Jul 2023 21:10:55 -0700 Subject: Bump --- src/js/out/modules/node/perf_hooks.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/js/out/modules/node/perf_hooks.js') diff --git a/src/js/out/modules/node/perf_hooks.js b/src/js/out/modules/node/perf_hooks.js index 387fd00b7..af20677d7 100644 --- a/src/js/out/modules/node/perf_hooks.js +++ b/src/js/out/modules/node/perf_hooks.js @@ -17,7 +17,19 @@ class NotImplementedError extends Error { } // src/js/node/perf_hooks.js -var performance = globalThis.performance; +var constants = { + NODE_PERFORMANCE_GC_MAJOR: 4, + NODE_PERFORMANCE_GC_MINOR: 1, + NODE_PERFORMANCE_GC_INCREMENTAL: 8, + NODE_PERFORMANCE_GC_WEAKCB: 16, + NODE_PERFORMANCE_GC_FLAGS_NO: 0, + NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: 2, + NODE_PERFORMANCE_GC_FLAGS_FORCED: 4, + NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: 8, + NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: 16, + NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: 32, + NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: 64 +}, performance = globalThis.performance; class PerformanceObserver { constructor() { @@ -38,6 +50,7 @@ class PerformanceNodeTiming { } var perf_hooks_default = { performance, + constants, PerformanceEntry, PerformanceNodeTiming, [Symbol.for("CommonJS")]: 0 @@ -45,6 +58,7 @@ var perf_hooks_default = { export { performance, perf_hooks_default as default, + constants, PerformanceObserver, PerformanceNodeTiming, PerformanceEntry -- cgit v1.2.3