fix(tui): address virtual row and perf log review notes

Keep transcript row keys stable across capped-history trims and rename React Profiler timestamp fields so JSONL consumers don't confuse absolute timestamps with durations.
This commit is contained in:
Brooklyn Nicholson 2026-04-26 21:37:43 -05:00
parent 625c31fcea
commit b51c528613
2 changed files with 5 additions and 4 deletions

View file

@ -53,11 +53,11 @@ const onRender: ProfilerOnRenderCallback = (id, phase, actualMs, baseMs, startTi
writeRow({
actualMs: round2(actualMs),
baseMs: round2(baseMs),
commitMs: round2(commitTime),
commitTimeMs: round2(commitTime),
id,
phase,
src: 'react',
startMs: round2(startTime),
startTimeMs: round2(startTime),
ts: Date.now()
})
}