Skip to content

Commit

Permalink
Increase self time color span since this includes I/O time right now
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Dec 11, 2024
1 parent f792ba9 commit b9709b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-client/src/ReactFlightPerformanceTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export function logComponentRender(
reusableComponentDevToolDetails.color =
selfTime < 0.5
? 'primary-light'
: selfTime < 10
: selfTime < 50
? 'primary'
: selfTime < 100
: selfTime < 500
? 'primary-dark'
: 'error';
reusableComponentOptions.start = startTime < 0 ? 0 : startTime;
Expand Down

0 comments on commit b9709b0

Please sign in to comment.