mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Clean up perf hooks a little
This commit is contained in:
committed by
Jarred Sumner
parent
e3a00268eb
commit
93d03e5147
@@ -1,15 +1,27 @@
|
||||
export var performance = globalThis.performance;
|
||||
|
||||
export function PerformanceObserver() {
|
||||
throw new Error("PerformanceEntry is not implemented yet");
|
||||
export class PerformanceObserver {
|
||||
constructor() {
|
||||
throw new Error("PerformanceEntry is not implemented yet");
|
||||
}
|
||||
}
|
||||
|
||||
export function PerformanceEntry() {
|
||||
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 function PerformanceNodeTiming() {
|
||||
throw new Error(
|
||||
"PerformanceNodeTiming is not supported in this environment."
|
||||
);
|
||||
}
|
||||
export default {
|
||||
performance,
|
||||
PerformanceEntry,
|
||||
PerformanceEntry,
|
||||
PerformanceNodeTiming,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user