| 380 | } |
| 381 | |
| 382 | export function clampTransitionTimers(finalTime: number): void { |
| 383 | if (!enableProfilerTimer || !enableComponentPerformanceTrack) { |
| 384 | return; |
| 385 | } |
| 386 | // If we had new updates come in while we were still rendering or committing, we don't want |
| 387 | // those update times to create overlapping tracks in the performance timeline so we clamp |
| 388 | // them to the end of the commit phase. |
| 389 | transitionClampTime = finalTime; |
| 390 | } |
| 391 | |
| 392 | export function clampRetryTimers(finalTime: number): void { |
| 393 | if (!enableProfilerTimer || !enableComponentPerformanceTrack) { |