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 = 1You can see the execution time like below