Recording cell execution time in Jupyter notebooks
The jupyterlab-execute-time extension for Jupyter Lab records the time it has taken / took to execute a cell.
It was developed by the D. E. Shaw group (never heard of them), so one can be reasonably sure it has been tested to some extent.