Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tried Ratatui for a small app. I just needed a textbox, and I copied an example from the tutorial. When typing (quickly), the CPU usage was crazy. I was expecting something like 0% CPU (it's just typing text, a similar app in Go uses nothing) but it was using like 8% CPU.

I would guess I was doing something wrong, but it was really running an example from the official website. So I gave up on Ratatui.



Hmm, that sounds bad. Were you running the debug build? Like just running 'cargo run'?


First in debug, then I built in release to see if that changed something, but it didn't.

I see that there are some related discussions on the github: https://github.com/ratatui/ratatui/discussions/1927. Not sure if there is a solution though.


Thanks! I will definitely have a look at this. I really want to like Ratatui but I do wonder how much bloat there is




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: