whiz icon indicating copy to clipboard operation
whiz copied to clipboard

Performance problems when processing stdout

Open Yohe-Am opened this issue 6 months ago • 1 comments

When a task dumps tons of lines to stdout, whiz has a hard time keeping up making the interface unresponsive. It's not able to accept hotkeys or switch panes when this is going on. This only happens if the panel is the currently being displayed (instanteneous if the panel is in the bg) which leads me to suspect serial scrolling might be the problem here. As thus, I've learned to switch to another panel before deploying to typegates (which emits a lot of SQL output) as, in some instances, whiz can pin a CPU for minutes before I'm forced to kill it.

Edit: that horrible case mentioned at the end there turned out to be from a debug build of whiz. Performance troubles are noticeable still on release builds though.

Yohe-Am avatar Feb 22 '24 04:02 Yohe-Am