micmro / PerfCascade

Responsive, SVG based HAR waterfall viewer
https://micmro.github.io/PerfCascade
MIT License
276 stars 51 forks source link

feat: add lookahead for marker #275

Closed micmro closed 3 years ago

micmro commented 3 years ago

closes #272

Added a lookahead for next marker getting pushed beyond 100% and there is no previous marker in the way. Falls back to the existing behaviour. There are still some edge-cases if there are more markers crowded at the end, but fixing this would be more complex (contribution welcome).

Screen Shot 2021-03-20 at 10 18 30 PM