diff options
Diffstat (limited to 'src/javascript/jsc/perf_hooks.exports.js')
-rw-r--r-- | src/javascript/jsc/perf_hooks.exports.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/javascript/jsc/perf_hooks.exports.js b/src/javascript/jsc/perf_hooks.exports.js new file mode 100644 index 000000000..200272130 --- /dev/null +++ b/src/javascript/jsc/perf_hooks.exports.js @@ -0,0 +1,15 @@ +export var performance = globalThis.performance; + +export function PerformanceObserver() { + throw new Error("PerformanceEntry is not implemented yet"); +} + +export function PerformanceEntry() { + throw new Error("PerformanceEntry is not implemented yet"); +} + +export function PerformanceNodeTiming() { + throw new Error( + "PerformanceNodeTiming is not supported in this environment." + ); +} |