While working on the DevTools profiler, I've noticed that durations are sometimes incorrect. This seems to be vaguely related to high/low priority state updates. Need to track this down more so I'm filing an issue for myself.
if (!enableProfilerTimer) {
    return;
  }
  if (isProcessingSyncWork && syncCommitStartTime === 0) {
    syncCommitStartTime = now();
  }
  if (timerPausedAt > 0) {
    totalElapsedPauseTime += now() - timerPausedAt;
    timerPausedAt = 0;
  }
}
function resetActualRenderTimerStackAfterFatalErrorInDev(): void {
  if (!enableProfilerTimer) {
    return;
  }
  if (__DEV__) {
    fiberStack.length = 0;
  }
}
/**
 * The "base" render time is the duration of the “begin” phase of work for a particular fiber.
 * This time is measured and stored on each fiber.
 * The time for all sibling fibers are accumulated and stored on their parent during the "complete" phase.
 * If a fiber bails out (sCU false) then its "base" timer is cancelled and the fiber is not updated.
 */
let baseStartTime: number = -1;
function recordElapsedBaseRenderTimeIfRunning(fiber: Fiber): void {