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.

Display Execution Time of a Cell

See original GitHub issue

Hi, is there a way to display the execution time of a cell?

The cell magics don’t work. %time is marked as an unexpected token by the editor and always returns Wall time: 0 ns when it is executed and %%time does not work at all.

Thank you, Flo

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Jul 29, 2019

Both very good ideas. Thanks.

0reactions
janoshcommented, Aug 7, 2019

No worries, just checking. And thanks for creating the new issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Simple way to measure cell execution time in ipython notebook
The only way I found to overcome this problem is by executing the last statement with print. Do not forget that cell magic...
Read more >
Execute Time - Unofficial Jupyter Notebook Extensions
This extension displays when the last execution of a code cell occurred, and how long it took. Every executed code cell is extended...
Read more >
Measure execution time with timeit in Python - nkmk note
You can use the magic command %%timeit to measure the execution time of the cell. As an example, try executing the same process...
Read more >
Display execution time on each cell · Issue #1454 - GitHub
A single line with a timestamp and the execution time in milliseconds below every executed cell.
Read more >
Cell execution time is changing every time - Kaggle
There are various methods in python such as %%time , %timeit , autotime through which we can compute the execution time of a...
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