()
| 442 | } |
| 443 | |
| 444 | export function pushComponentEffectStart(): number { |
| 445 | if (!enableProfilerTimer || !enableProfilerCommitHooks) { |
| 446 | return 0; |
| 447 | } |
| 448 | const prevEffectStart = componentEffectStartTime; |
| 449 | componentEffectStartTime = -1.1; // Track the next start. |
| 450 | return prevEffectStart; |
| 451 | } |
| 452 | |
| 453 | export function popComponentEffectStart(prevEffectStart: number): void { |
| 454 | if (!enableProfilerTimer || !enableProfilerCommitHooks) { |
no outgoing calls
no test coverage detected