testkube
testkube copied to clipboard
Long real-time logs in Dashboard happen to crash
Describe the bug
When there are plenty of real-time logs, the Dashboard is becoming slower and may crash at some point.
To Reproduce
- Run a test that will log a lot of data all the time
- Open it in the Dashboard
- 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 ofstring
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