I have a Mathematica notebook that has a number of cells, and each cell has a number of code lines. Sometimes it takes long hours to finish evaluating each cell and I want to compare their evaluation times. I would like to know how much each cell has taken (wall-clock time) in terms of evaluation and would like to have that as output printed after each cell evaluates, and before the kernel moves on to next cell.
Is there a simple way to do this? For example, something like a stopwatch ON and OFF commands that I can wrap around the code written inside each cell?
Note that the option to ShowTiming in Options Inspector is not helpful to me here, as it shows the timing for the last cell, but not each. When I run a Notebook and it takes long time, say 2 days, it would be nice to see how long each cell took on its own.
Timing
around each cell. $\endgroup$