Automatic cell execution timing in jupyter lab

Requirement

JupyterLab >= 2.0.2

enter image description here

Let’s move step by step

Extension available for JupyterLab is

jupyterlab-execute-time

First enable Extension Manager

enter image description here

After enabling you see new button in side task bar at the end “Extension Manager”

You can also enable it with the following steps:

  1. Go into advanced settings editor.
  2. Open the Extension Manager section.
  3. Add the entry “enabled”: true.
  4. Save the settings.
    If prompted whether you are sure, read the warning, and click “Enable” if you are still sure.
    Once enabled, you should see a new tab appear in the left sidebar
    enter image description here

By default, the disclaimer is not acknowledged.
enter image description here

As the disclaimer is not acknowledged, you can search for an extension, but can not install it (no install button is available).
enter image description here

To install an extension, you first have to explicitly acknowledge the disclaimer. Once done, this will remain across sessions and the user would not have to check it again.

enter image description here

Finding Extension

enter image description here

search jupyterlab-execute-time

Install
Enable

After enable you have to Rebuild it: A small popup window open on it click on Rebulid;

then you have to restart kernel

Still you find you will not able to see what you want :

Last thing

Note: for this to show anything, you need to enable cell timing in the notebook via Settings->Advanced Settings Editor->Notebook: {“recordTiming”: true}

Advanced Settings Editor

enter image description here

finally “recordTiming”=true

enter image description here

and save it at right end!

Leave a Comment