Autodrop3d / serialTerminal.com

A browser based serial terminal. No plugins. Vanilla javascript.
https://www.serialterminal.com
ISC License
202 stars 47 forks source link

Eventually hangs unless the buffer gets cleared. #7

Closed janbbeck closed 3 years ago

janbbeck commented 3 years ago

After a few seconds of adding data to the window, it gets choppy, and eventually unresponsive altogether. This does not occur if I clear the window every few seconds. I'm using Ubuntu 20.04 with Chrome Version 89.0.4389.114 (Official Build) (64-bit)

Maybe we can limit the data buffer size to make this stop?

mmiscool commented 3 years ago

Can you give me an approximate number of characters when you start to see the slowdown?

janbbeck commented 3 years ago

Sure. It starts happening around 45000 characters. Also, while doing this experiment, I noticed that there was no disconnect or stop button. So I had to copy and paste the content fast, before the browser hangs. Maybe it's a good idea to add a stop button...

Thanks for serialterminal.com by the way!!

mmiscool commented 3 years ago

see if the fix I just did solved this issues. @janbbeck

janbbeck commented 3 years ago

Excellent! Fixed. Thank you.