UNPKG

@sentry/nextjs

Version:
22 lines (20 loc) 551 B
const __sentry__timeOrigin = Date.now(); if (typeof globalThis !== "undefined" && globalThis.performance === void 0) { globalThis.performance = { timeOrigin: __sentry__timeOrigin, now: function() { return Date.now() - __sentry__timeOrigin; } }; } const performance = globalThis.performance || { timeOrigin: __sentry__timeOrigin, now: function() { return Date.now() - __sentry__timeOrigin; } }; const perf_hooks = { performance }; export { perf_hooks as default, performance }; //# sourceMappingURL=perf_hooks.js.map