5

After I select run all, run all above, or run all below in a Jupyter notebook, how can I view how much time each cell took to run?

My question is different from Simple way to measure cell execution time in ipython notebook as I want the running times for all cells, not just one. I.e., if the notebook contains 10 cells I want 10 running times.

Franck Dernoncourt
  • 69,497
  • 68
  • 312
  • 474

2 Answers2

7

Install and enable ExecuteTime nbextension: "Display when each cell has been executed and how long it took".

Installation and configuration details are here.

stason
  • 4,417
  • 3
  • 28
  • 44
4

I believe only by putting magic function %%time

vishes_shell
  • 20,161
  • 6
  • 65
  • 77