From 442a3b59f80b710da633fb65a81f74cf32982d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 14 Apr 2018 04:36:30 +0200 Subject: [PATCH] Timeit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 293bd5e..b48ed3b 100644 --- a/README.md +++ b/README.md @@ -815,8 +815,8 @@ duration = time() - start_time #### Times execution of the passed code: ```python -import timeit -timeit.timeit('"-".join(str(n) for n in range(100))', number=10000) +from timeit import timeit +timeit('"-".join(str(n) for n in range(100))', number=10000) ``` #### Generates a PNG image of call graph and highlights the bottlenecks: