This feature is meant to warn about sync priority updates that block paint (e.g. set state in layout effect) but it appears to also warn for transition priority updates. We should fix this.
const error = new Error();
  error.stack = stackFrame;
  const frames = ErrorStackParser.parse(error);
  return frames.length === 1 ? frames[0] : null;
}
export default async function preprocessData(
  timeline: TimelineEvent[],
): Promise<ReactProfilerData> {
  const flamechart = preprocessFlamechart(timeline);
  const laneToReactMeasureMap = new Map();
  for (let lane: ReactLane = 0; lane < REACT_TOTAL_NUM_LANES; lane++) {
    laneToReactMeasureMap.set(lane, []);
  }