@minimaltech/electron-infra
Version:
Minimal Technology ElectronJS Infrastructure
9 lines • 358 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.hrTimeToPerformance = void 0;
const hrTimeToPerformance = () => {
const [seconds, nanoseconds] = process.hrtime();
return seconds * 1000 + nanoseconds / 1000000;
};
exports.hrTimeToPerformance = hrTimeToPerformance;
//# sourceMappingURL=performance.utilities.js.map