Browse Source

Timeit

pull/3/head
Jure Šorn 6 years ago
parent
commit
442a3b59f8
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
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:

Loading…
Cancel
Save