Improve Terminal performance for noisey servers

What does this MR do and why?

Crafty did read console output byte by byte which could cause a display lag when server outputs many messages.

This MR changes byte by byte reading to by line reading and also bulking messages to a configurable amount of messages when there is fast output to dont be bottlenecked by websockets.

Discussions about that topic have been done with @amcmanu3 and @woutbouckaert.

Screenshots or screen recordings

https://cloud.dazzer.de/s/c7ttTWjb6o748xK

Screen recordings of processing a test script. 1 -> Old version, two times new Version with different settings.

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Marius Reichert

Merge request reports

Loading