To compare the performance of golang and python request libraries, we mainly compare the following request libraries:
Library name | time consuming |
---|---|
gospider007/requests | 6.9499259s |
go-resty | 7.1604138s |
imroc/req | 7.2530969s |
wangluozhe/requests | 8.4787594s |
curl_cffi | 26.215140342712402s |
httpx | 61.01818656921387s |
psf/requests | 76.01117539405823s |
Library name | time consuming |
---|---|
gospider007/requests | 9.4316189s |
imroc/req | 10.1804427s |
go-resty | 10.2600992s |
wangluozhe/requests | 11.7542946s |
curl_cffi | 27.91108274459839s |
httpx | 64.91894054412842s |
psf/requests | 77.11325931549072s |
Library name | time consuming |
---|---|
gospider007/requests | 19.228713s |
imroc/req | 31.6547403s |
go-resty | 32.5609081s |
wangluozhe/requests | 33.4119696s |
curl_cffi | 43.912320137023926s |
httpx | 84.05615258216858s |
psf/requests | 92.94585227966309s |
gospider007/requests > imroc/req > go-resty > wangluozhe/requests > curl_cffi > httpx > psf/requests