nstdlib-nightly
Version:
Node.js standard library converted to runtime-agnostic ES modules.
41 lines (27 loc) • 1.95 kB
JavaScript
// Auto generated from Node.js v22.7.0 runtime
export const Histogram = (...args) => globalThis.node_binding_performance_Histogram?.(...args);
export const setupObservers = (...args) => globalThis.node_binding_performance_setupObservers?.(...args);
export const installGarbageCollectionTracking = (...args) => globalThis.node_binding_performance_installGarbageCollectionTracking?.(...args);
export const removeGarbageCollectionTracking = (...args) => globalThis.node_binding_performance_removeGarbageCollectionTracking?.(...args);
export const notify = (...args) => globalThis.node_binding_performance_notify?.(...args);
export const loopIdleTime = (...args) => globalThis.node_binding_performance_loopIdleTime?.(...args);
export const createELDHistogram = (...args) => globalThis.node_binding_performance_createELDHistogram?.(...args);
export const markBootstrapComplete = (...args) => globalThis.node_binding_performance_markBootstrapComplete?.(...args);
export const now = (...args) => globalThis.node_binding_performance_now?.(...args);
export const observerCounts = new Uint32Array();
export const milestones = new Float64Array();
export const 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
};
const __default_export__ = { Histogram, setupObservers, installGarbageCollectionTracking, removeGarbageCollectionTracking, notify, loopIdleTime, createELDHistogram, markBootstrapComplete, now, observerCounts, milestones, constants };
export default __default_export__;