Closed amosbird closed 4 years ago
Can you please try using set_hint_delay()
call and report results? (10ms should be enough)
I tried disabling hint, it's faster, but still not desireable. Pasting 1M text runs forever. It might also worth to disable line wrapping but I didn't find the code
Can you check if current master fixes your issue?
It's much better than before, but still hangs when pasting 1M text. https://la.wentropy.com/n55l.html
And now?
It doesn't freeze now, taking about 30 seconds for pasting 1M text, however a readline based client only takes 4 seconds https://github.com/yandex/ClickHouse/blob/master/dbms/programs/client/Client.cpp#L649
@amosbird Is this issue solved with your contribution?
Yeah, now pasting 1M text only takes 3 seconds.
Perhaps adding bracketed paste mode would help. Might need to disable syntax highlighting and unicode parsing for the pasted text in bracket.