I use the Performance Timeline in Chrome DevTools quite a lot to capture performance recordings of my page.
Most of the time I use the "Start profiling and reload page", which automatically starts and stops the recording.
The question is: When does DevTools decide to stop the recording?
I've noticed that it always continues to record at least a few hundred ms past the "Load"-event and tries to figure out when the page has gone "mostly idle".
But that's quite a fuzzy guess. I'd love to know if it relies on some performance event (like the one used in "time to interactive" in Lighthouse)?