SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

244272 0 0 JavaScript

Ensure Performance Track are Clamped and Don't overlap (#34509)

This simplifies the logic for clamping the start times of various
phases. Instead of checking in multiple places I ensure we compute a
value for each phase that is then clamped to the next phase so they
don't overlap. If they're zero they're not printed.

I also added a name for all the anonymous labels. Those are mainly
fillers for sync work that should be quick but it helps debugging if we
can name them.

Finally the real fix is to update the clamp time which previously could
lead to overlapping entries for consecutive updates when a previous
update never finalized before the next update.
S
Sebastian Markbåge committed
e3c9656d20618ed321aea85cb3d844cbd1dce078
Parent: 27b4076
Committed by GitHub <[email protected]> on 9/17/2025, 2:52:02 PM