Cowboy8625

Results 23 comments of Cowboy8625

Thanks for the interest in the project! I have not done any CPU usage test in a while but last it showed to be take up 1-5% on a 200...

yeah I have been meaning to work on the IO part more.

I would have to do more research to be sure but if I remember correctly when `queue`ing up a write call for the terminal if the queue exceeds a certain...

> I see you were already on the right track [here](https://github.com/cowboy8625/rusty-rain/blob/3315b88acf2c2286d34af86af3b6fedc07bdb6d4/src/term.rs#L8-L13), draw is taking 93% of all CPU cycles: I used [flame](https://crates.io/crates/flame) to profile last time but ultimately came to...

I don't believe [termion](https://crates.io/crates/termion) is cross platform but even if it is I do not want to swap out crates there are other ways of getting performance out of `crossterm`....

I will work on reducing RNG calls as well even though its probably not a massive contributor to the performance issue but ever little bit helps.

I cant get my CPU up that high. How big is your screen? ![image](https://user-images.githubusercontent.com/43012445/173183349-64f9ef7b-897b-4924-ac91-10742ff5b2f9.png)

Making the screen pretty large does spike up the cpu to 17%. ![image](https://user-images.githubusercontent.com/43012445/173183480-e2d14f66-d48c-4e36-8cae-b61599bd1ca0.png)

> But I actually noticed it on a Linux VM on Windows, which is even more pronounced. Yeah windows and mac native terminals do not do well esc codes, but...

Sorry for the delay. Work has taken over this week. I will have something up on Saturday or soon if I get the time.