aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/perf_hooks.exports.js
blob: b49e2fc4ad4b339b56eaf2ea844680a39f05ab78 (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
26
27
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,
};