UNPKG

nstdlib-nightly

Version:

Node.js standard library converted to runtime-agnostic ES modules.

38 lines (34 loc) 1.2 kB
// Source: https://github.com/nodejs/node/blob/65eff1eb/lib/perf_hooks.js import { constants } from "nstdlib/stub/binding/performance"; import { PerformanceEntry } from "nstdlib/lib/internal/perf/performance_entry"; import { PerformanceResourceTiming } from "nstdlib/lib/internal/perf/resource_timing"; import { PerformanceObserver, PerformanceObserverEntryList, } from "nstdlib/lib/internal/perf/observe"; import { PerformanceMark, PerformanceMeasure, } from "nstdlib/lib/internal/perf/usertiming"; import { Performance, performance, } from "nstdlib/lib/internal/perf/performance"; import { createHistogram } from "nstdlib/lib/internal/histogram"; import * as monitorEventLoopDelay from "nstdlib/lib/internal/perf/event_loop_delay"; export { Performance }; export { PerformanceEntry }; export { PerformanceMark }; export { PerformanceMeasure }; export { PerformanceObserver }; export { PerformanceObserverEntryList }; export { PerformanceResourceTiming }; export { monitorEventLoopDelay }; export { createHistogram }; export { performance }; Object.defineProperty(module.exports, "constants", { __proto__: null, configurable: false, enumerable: true, value: constants, });