"Follow" option takes a long time / is jumpy when getting to the bottom |
||||
Issue descriptionWas looking at https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.mac%2Fmac_chromium_rel_ng%2F345353%2F%2B%2Frecipes%2Fsteps%2Fwebkit_tests__with_patch_%2F0%2Fstdout today This bug may require a live webkit_tests log, I haven't tried one that was already finished. But as I was loading that URL, I clicked "Follow", and the page did not immediately jump to the bottom -- it took a few seconds and a number of intermediate scroll positions to get me to the bottom. That felt a bit weird.
,
Dec 5 2016
The log stream has to actually render, which takes time. Each step of the rendering is where you see a jump as the page moves to the bottom of the next chunk of rendered logs. I don't think there is any possible way to (a) render logs fast, and (b) not have a jumpy follow option, as rendering one-by-one is intolerably slow, and jumping anywhere other than bottom seems pointless.
,
Dec 5 2016
No, the point is that it *did not* jump to the very bottom. It jumped to some position near but not at the bottom and took a few tries to get to the bottom.
,
Dec 5 2016
It's not that simple. The last log doesn't exist until the full set of logs render, so the "bottom" is, at any given point, the latest log that was rendered. If the stream is done, then this will end up being the last log in the stream. If the stream is still streaming, then you *want* it to jump to not-the-last-log-in-the-stream so you can follow the latest stream data.
,
Dec 5 2016
Unless the behavior that you are asking for is for the viewer to, upon having "follow" clicked, do nothing for 20 seconds and then jump to the bottom, I believe this is WAI. |
||||
►
Sign in to add a comment |
||||
Comment 1 by estaab@chromium.org
, Dec 1 2016