M
Size: a a a
M
M
M
<Ч
before = time.time()
# запрос
print(time.time() - before)
M
before = time.time()
# запрос
print(time.time() - before)
<Ч
⟁ᴡ
<Ч
⟁ᴡ
M
M
<Ч
⟁ᴡ
before = time.time()
# запрос
print(time.time() - before)
import time
tic = time.perf_counter()
запрос = blah()
toc = time.perf_counter()
return f"{запрос}" + "\n" + f"{toc - tic:0.4f} seconds"
⟁ᴡ
timeit
M
<Ч
import time
tic = time.perf_counter()
запрос = blah()
toc = time.perf_counter()
return f"{запрос}" + "\n" + f"{toc - tic:0.4f} seconds"
a
import time
tic = time.perf_counter()
запрос = blah()
toc = time.perf_counter()
return f"{запрос}" + "\n" + f"{toc - tic:0.4f} seconds"
<Ч
timeit
👑️