Closed vkiskbot closed 3 years ago
I try to do this code:
import time import faster_than_requests as ftrq import requests as rq start_time = time.time()
ftrq.get2str("https://www.binance.com/")
print("--- %s seconds ---" % (time.time() - start_time))
start_time = time.time()
rq.get("https://www.binance.com/")
And i got this:
--- 0.7738809585571289 seconds --- --- 0.42874670028686523 seconds ---
2 times slower than simple request
Python version: Python 3.9.1 Linux: Debian 9 Pip: 21.0.1
Please try installing the latest version:
Assuming user made it work (?), with provided comments...
I try to do this code:
import time import faster_than_requests as ftrq import requests as rq start_time = time.time()
ftrq.get2str("https://www.binance.com/")
print("--- %s seconds ---" % (time.time() - start_time))
start_time = time.time()
rq.get("https://www.binance.com/")
print("--- %s seconds ---" % (time.time() - start_time))
And i got this:
--- 0.7738809585571289 seconds --- --- 0.42874670028686523 seconds ---
2 times slower than simple request
Python version: Python 3.9.1 Linux: Debian 9 Pip: 21.0.1