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

Would replacing requests with httpx speed up long queries? #662

Open
1 task done
cclauss opened this issue Nov 11, 2024 · 0 comments
Open
1 task done

Would replacing requests with httpx speed up long queries? #662

cclauss opened this issue Nov 11, 2024 · 0 comments
Labels
question Further information is requested

Comments

@cclauss
Copy link

cclauss commented Nov 11, 2024

Checklist

  • I've searched the project's issues.

❓ Question

Would replacing requests with httpx speed up long queries about very popular dependencies?

https://www.python-httpx.org is designed to be highly compatible with requests but adds async support. Would this help to accelerate long-running queries like:
% time pipx run github-dependents-info --repo benjaminp/six --minstars=1000 --sort=stars
--> 280.98s user 17.35s system 5% cpu 1:36:46.54 total which visits 3,631 pages to return 68 repos.

📎 Additional context

https://www.python-httpx.org

@cclauss cclauss added the question Further information is requested label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant