Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

measure cell execution time in jupyter notebook

#The Simplest way to measure cell execution time in ipython notebook is by using ipython-autotime package.
#Install the package in the begining of the notebook

!pip install ipython-autotime

#and then load the extension by running below
%load_ext autotime
#Once you have loaded it, any cell run after this ,will give you the execution time of the cell.

#And dont worry if you want to turn it off, just unload the extension by running below
%unload_ext autotime
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #measure #cell #execution #time #jupyter #notebook
ADD COMMENT
Topic
Name
5+7 =