/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v20.20.2
lib/perf_hooks.js
50 строк
1 KB
Antoine du Hamel
lib: add trailing commas to all public core modules
28 фев 2023, 14:10
Не верифицирован
28 фев 2023, 14:10
9dbb162
Код
Авторство
О чём код?
'use strict'; const { ObjectDefineProperty, } = primordials; const { constants, } = internalBinding('performance'); const { PerformanceEntry } = require('internal/perf/performance_entry'); const { PerformanceResourceTiming } = require('internal/perf/resource_timing'); const { PerformanceObserver, PerformanceObserverEntryList, } = require('internal/perf/observe'); const { PerformanceMark, PerformanceMeasure, } = require('internal/perf/usertiming'); const { Performance, performance, } = require('internal/perf/performance'); const { createHistogram, } = require('internal/histogram'); const monitorEventLoopDelay = require('internal/perf/event_loop_delay'); module.exports = { Performance, PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceObserver, PerformanceObserverEntryList, PerformanceResourceTiming, monitorEventLoopDelay, createHistogram, performance, }; ObjectDefineProperty(module.exports, 'constants', { __proto__: null, configurable: false, enumerable: true, value: constants, });