UNPKG

@calipsa/timer

Version:
10 lines 275 B
"use strict"; const perf_hooks_1 = require("perf_hooks"); module.exports = () => { const start = perf_hooks_1.performance.now(); return () => { const end = perf_hooks_1.performance.now(); return end - start; }; }; //# sourceMappingURL=index.js.map