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