GETINFO commands with huge outputs slow down interpreter curses interface
If you go to Nyx interpreter, run some commands, then press ESC and arrow up, you see that scrolling back in history is very fast and smooth.
Now do the following:
- Run
GETINFO desc/all-recent
command 3 times to get very huge output. - Press ESC and then press HOME to get at the top of scroll buffer.
- Press arrow up and arrow down keys many times to scroll up/down.
- Press ENTER to return to command interface.
- Run some command with small output, e.g.
GETINFO info/names
. - Press ESC and try to scroll few lines up by pressing arrow up many times.
You will see that scrolling is very slow. You need few seconds to scroll just few lines up in the buffer.
Nyx version is [one]. The ticket is filed by atagar's [[http://ea5faa5po25cf7fb.onion/projects/tor/ticket/28877#comment:3|request]]:
I suspect your initial hypothesis about the reason Nyx is freezing is inaccurate. Feel free to file a separate ticket with the
nyx --debug
output when Nyx freezes so I can see what's up.
Trac:
Username: wagon