backend/python

Check execution time in jupyter notebook

seul chan 2020. 3. 6. 23:10

Check execution time in jupyter notebook

There're some ipython's built in magic functinos like %time and %timeit.

For more information, ipython docs
Line magic starts with %, and cell magic starts with %%

%%time
a = 1

You can see the execution time like below

execution image

'backend > python' 카테고리의 다른 글

isolated environment with pipx  (0) 2021.04.03
kafka-python 사용법  (0) 2020.12.31
poetry usage  (0) 2020.01.14
Install celery and daemonize  (0) 2020.01.07
Installing jupyterhub  (0) 2019.02.14