in src/Instrumentation.ts [27:40]
private static _getPerformanceImpl(): Performance {
const g = typeof global !== 'undefined' ? global : undefined;
const w = typeof window !== 'undefined' ? window : undefined;
const { performance } = (g || w || {performance: undefined});
if (performance && performance.mark && performance.measure) {
return performance;
}
return {
mark: noop,
measure: noop,
};
}