()
| 36 | } |
| 37 | |
| 38 | function now(): number { |
| 39 | if (supportsPerformanceNow) { |
| 40 | return performance.now(); |
| 41 | } |
| 42 | return Date.now(); |
| 43 | } |
| 44 | |
| 45 | export async function withAsyncPerfMeasurements<TReturn>( |
| 46 | markName: string, |
no outgoing calls
no test coverage detected