Skip to content

Commit

Permalink
Add Lane labels to scheduling profiler marks
Browse files Browse the repository at this point in the history
This commit changes scheduling profiler marks from a format like '--schedule-render-1' to '--schedule-render-1-Sync' (where 1 is the numeric value of the Sync lane). This will enable the profiler itself to show more meaningful labels for updates and render work.

The commit also refactors and adds additional tests for the sceduling profiler package.
  • Loading branch information
Brian Vaughn committed Feb 22, 2021
1 parent 8af27ae commit d2d3605
Show file tree
Hide file tree
Showing 10 changed files with 858 additions and 1,725 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export {
COMPACT_LINE_HEIGHT,
} from 'react-devtools-shared/src/constants.js';

// This number shoudl be kept in sync with TotalLanes const in react-reconciler/src/ReactFiberLane
export const REACT_TOTAL_NUM_LANES = 31;
Loading

0 comments on commit d2d3605

Please sign in to comment.