funny stuff
This commit is contained in:
parent
cf703c7bdd
commit
275e8b605e
1 changed files with 3 additions and 2 deletions
|
|
@ -1,11 +1,12 @@
|
||||||
import requests as http
|
import requests as http
|
||||||
from time import sleep, time
|
from time import sleep, time
|
||||||
|
|
||||||
|
|
||||||
for i in range(1,10):
|
for i in range(1,10):
|
||||||
sleep(1)
|
sleep(1)
|
||||||
startTime = time()
|
startTime = time()
|
||||||
http.get("https://fs.gjkoolen.com")
|
responce = http.get("https://fs.gjkoolen.com")
|
||||||
endTime = time()
|
endTime = time()
|
||||||
duration = endTime - startTime
|
duration = endTime - startTime
|
||||||
print(f"⏱️ Request took **{duration:.4f} seconds**")
|
print(f"⏱️ Request took **{duration:.4f} seconds** and {responce}")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue