"use strict";function _definePolyfillMarks(e){const r=[];typeof e=="number"&&r.push("code/timeOrigin",e);function t(n){r.push(n,Date.now())}function i(){const n=[];for(let o=0;o<r.length;o+=2)n.push({name:r[o],startTime:r[o+1]});return n}return{mark:t,getMarks:i}}function _define(){if(typeof performance=="object"&&typeof performance.mark=="function")return typeof performance.timeOrigin!="number"&&!performance.timing?_definePolyfillMarks():{mark(e){performance.mark(e)},getMarks(){let e=performance.timeOrigin;typeof e!="number"&&(e=performance.timing.navigationStart||performance.timing.redirectStart||performance.timing.fetchStart);const r=[{name:"code/timeOrigin",startTime:Math.round(e)}];for(const t of performance.getEntriesByType("mark"))r.push({name:t.name,startTime:Math.round(e+t.startTime)});return r}};if(typeof process=="object"){const e=Math.round((require.nodeRequire||require)("perf_hooks").performance.timeOrigin);return _definePolyfillMarks(e)}else return console.trace("perf-util loaded in UNKNOWN environment"),_definePolyfillMarks()}function _factory(e){return e.MonacoPerformanceMarks||(e.MonacoPerformanceMarks=_define()),e.MonacoPerformanceMarks}var sharedObj;typeof global=="object"?sharedObj=global:typeof self=="object"?sharedObj=self:sharedObj={},typeof define=="function"?define([],function(){return _factory(sharedObj)}):typeof module=="object"&&typeof module.exports=="object"?module.exports=_factory(sharedObj):(console.trace("perf-util defined in UNKNOWN context (neither requirejs or commonjs)"),sharedObj.perf=_factory(sharedObj));

//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/core/vs/base/common/performance.js.map
