"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.start=start;exports.stop=stop;exports.default=exports.performances=void 0;var _perf_hooks=require("perf_hooks");

let performances=[];exports.performances=performances;

function start(name){
performances[name]=_perf_hooks.performance.now();
}

function stop(name,fix){
return(_perf_hooks.performance.now()-performances[name]).toFixed(fix!==null&&fix!==void 0?fix:2);
}var _default=

performances;exports.default=_default;