mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
perf_hooks: fix performance timeline wpt failures
PR-URL: https://github.com/nodejs/node/pull/39532 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe>
This commit is contained in:
parent
317e71b142
commit
a27d245698
4 changed files with 49 additions and 10 deletions
|
@ -9,7 +9,10 @@ const {
|
|||
} = internalBinding('performance');
|
||||
|
||||
const { PerformanceEntry } = require('internal/perf/performance_entry');
|
||||
const { PerformanceObserver } = require('internal/perf/observe');
|
||||
const {
|
||||
PerformanceObserver,
|
||||
PerformanceObserverEntryList,
|
||||
} = require('internal/perf/observe');
|
||||
const {
|
||||
PerformanceMark,
|
||||
PerformanceMeasure,
|
||||
|
@ -27,6 +30,7 @@ module.exports = {
|
|||
PerformanceMark,
|
||||
PerformanceMeasure,
|
||||
PerformanceObserver,
|
||||
PerformanceObserverEntryList,
|
||||
monitorEventLoopDelay,
|
||||
createHistogram,
|
||||
performance: new InternalPerformance(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue