testkube icon indicating copy to clipboard operation
testkube copied to clipboard

Long real-time logs in Dashboard happen to crash

Open rangoo94 opened this issue 7 months ago • 0 comments

Describe the bug

When there are plenty of real-time logs, the Dashboard is becoming slower and may crash at some point.

To Reproduce

  1. Run a test that will log a lot of data all the time
  2. Open it in the Dashboard
  3. See the lags

Expected behavior

It should not crash, and it should be smooth.

Additional context

  • Each time the content has changes, the Console component is recalculating all the data
  • Instead, it should take LogProcessor instead of string as a prop, and we should append the log produced here instead of recalculating everything for the whole output each time there is a new log line streamed

rangoo94 avatar Jan 29 '24 08:01 rangoo94