Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another attempt at reducing CPU usage #347

Closed
wants to merge 1 commit into from

Conversation

sayanarijit
Copy link
Owner

Following https://github.com/crossterm-rs/crossterm/blob/master/examples/event-stream-async-std.rs
let's see if we can somehow reduce CPU usage and improve responsiveness
using async rust.

Ref: #10

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 5, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: eaf0274
Status: ✅  Deploy successful!
Preview URL: https://adcfbd76.xplr.pages.dev

View logs

@sayanarijit sayanarijit force-pushed the experiment/improve-cpu-usage branch from 41b2cde to 383b557 Compare October 5, 2021 16:37
Following https://github.com/crossterm-rs/crossterm/blob/master/examples/event-stream-async-std.rs
let's see if we can somehow reduce CPU usage and improve responsiveness
using async rust.

Ref: #10
@sayanarijit sayanarijit force-pushed the experiment/improve-cpu-usage branch 2 times, most recently from 435d101 to eaf0274 Compare October 5, 2021 16:43
@sayanarijit
Copy link
Owner Author

It does seem to reduce some CPU usage, but not significant.

@sayanarijit
Copy link
Owner Author

Reason for the slight improvement in CPU usage has been replicated in #348 without using async.

@sayanarijit sayanarijit deleted the experiment/improve-cpu-usage branch January 27, 2023 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant