question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension installed via pip, but timing does not show

See original GitHub issue

I installed jupyterlab-execute-time via pip successfully:

~ % pip3 list | grep jupyter
jupyter-client          7.3.4
jupyter-core            4.10.0
jupyter-server          1.17.1
jupyterlab              3.4.3
jupyterlab-execute-time 2.1.0
jupyterlab-pygments     0.2.2
jupyterlab-server       2.14.0

However timing information does not appear under the cells:

image

recordTiming is set to true in the settings and timing does appear in the cell metadata, like

{
    "tags": [],
    "execution": {
        "iopub.status.busy": "2022-06-18T05:14:53.304459Z",
        "iopub.execute_input": "2022-06-18T05:14:53.306176Z",
        "iopub.status.idle": "2022-06-18T05:14:53.321343Z",
        "shell.execute_reply.started": "2022-06-18T05:14:53.305443Z",
        "shell.execute_reply": "2022-06-18T05:14:53.320273Z"
    }
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
slavistancommented, Aug 27, 2022

Same problem on the conda-side of things - timings don’t show up at all.

conda list | grep jupyter
# jupyter-lsp               1.5.1              pyhd8ed1ab_0    conda-forge
# jupyter_client            7.3.5              pyhd8ed1ab_0    conda-forge
# jupyter_core              4.11.1          py310hff52083_0    conda-forge
# jupyter_server            1.18.1             pyhd8ed1ab_0    conda-forge
# jupyterlab                3.4.5              pyhd8ed1ab_0    conda-forge
# jupyterlab-lsp            3.10.2             pyhd8ed1ab_0    conda-forge
# jupyterlab_execute_time   2.1.0              pyhd8ed1ab_0    conda-forge
# jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
# jupyterlab_server         2.15.1             pyhd8ed1ab_0    conda-forge
# jupyterlab_vim            0.15.1             pyhd8ed1ab_0    conda-forge
# jupyterlab_widgets        3.0.2              pyhd8ed1ab_0    conda-forge
1reaction
baloghdcommented, Oct 29, 2022

Wasn’t showing for me on

jupyter-bokeh                   3.0.4
jupyter-client                  7.3.0
jupyter-core                    4.10.0
jupyter-resource-usage          0.6.1
jupyter-server                  1.17.0
jupyterlab                      3.5.0
jupyterlab-execute-time         2.1.0
jupyterlab-pygments             0.2.2
jupyterlab-server               2.13.0
jupyterlab-widgets              1.1.0

either, but as it turns out, even though I set recordTiming to true manually, there was another line hiding later in my config where it was set to false, deleting solved it, might be worth checking out

Read more comments on GitHub >

github_iconTop Results From Across the Web

jupyterlab-execute-time although installed does not function in ...
I'm running it in Conda, on macOS Catalina. — As I side note, while I was installing the extension my computer crashed, it...
Read more >
New resolver takes a very long time to complete #9187 - GitHub
If pip is taking longer to install packages, read Dependency resolution backtracking for ways to reduce the time pip spends backtracking due to ......
Read more >
Jupyter Notebook extensions - Towards Data Science
There are better methods for timing (such as the %%timeit cell magic) but this is easy to implement and covers all cells in...
Read more >
Profiling and Timing Code | Python Data Science Handbook
%mprun : Run code with the line-by-line memory profiler. The last four commands are not bundled with IPython–you'll need to get the line_profiler...
Read more >
10 Jupyter Notebook Extensions Making My Lyfe Easier
The timing information not only allows you to quickly gage how long it will take to re-run the cell, but it also allows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found