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

use async-await syntax using Tokio #9

Merged
merged 1 commit into from
Jul 18, 2021
Merged

Conversation

deantvv
Copy link
Contributor

@deantvv deantvv commented Jul 18, 2021

Related to #3 and #6

testing using https://github.com/cnlh/benchmark

benchmark -c 1000 -n 50000 -proxy socks5://127.0.0.1:1080 http://127.0.0.1

Original version:
Requests/sec: 44227.51

New (async) version:
Requests/sec: 68251.93 (+54.3%)

@ajmwagar
Copy link
Owner

Awesome! Great job on this. That performance increase is fantastic.

@ajmwagar ajmwagar merged commit b645b65 into ajmwagar:master Jul 18, 2021
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.

2 participants