(label: string)
| 15 | * Should be used in pair with stopMeasuring |
| 16 | */ |
| 17 | export function startMeasuring(label: string): void { |
| 18 | if (!enablePerfLogging) { |
| 19 | return; |
| 20 | } |
| 21 | |
| 22 | const {startLabel} = labels(label); |
| 23 | /* tslint:disable:ban */ |
| 24 | performance.mark(startLabel); |
| 25 | /* tslint:enable:ban */ |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Function that will stop measuring against the performance API |
no test coverage detected
searching dependent graphs…