aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/perf_hooks.exports.js
blob: 8a1a9a915c660852634b5f2d528373c13246bac5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export var performance = globalThis.performance;

export class PerformanceObserver {
  constructor() {
    throw new Error("PerformanceEntry is not implemented yet");
  }
}

export class PerformanceEntry {
  constructor() {
    throw new Error("PerformanceEntry is not implemented yet");
  }
}
export class PerformanceNodeTiming {
  constructor() {
    throw new Error("PerformanceNodeTiming is not supported in this environment.");
  }
}

export default {
  performance,
  PerformanceEntry,
  PerformanceEntry,
  PerformanceNodeTiming,
};