Skip to content

Memory consumption and execution time report after each cell #16831

@ibobak

Description

@ibobak

Type: Feature Request

It would be nice to execute the whole notebook and then to see two things:

  1. which of the cells consumed most of RAM.

E.g. if I have a huge dataframe and (mistakenly) did df[columns].head(10) in a notebook cell, it can consume AND NOT RELEASE 10GB of RAM. Yes, I know a better solution would be to fix as display(df.head(10)[columns]), but this is the purpose: I don't see a mistake in my code, and I want to get a report that "these are the cells that consumed most of RAM: ...", so that I click on each of them and get navigated to the cells.

It would be nice to see this info somewhere in cell metadata, and even marked with red color/hightlight/dot/whatever, so that I would pay attention later to this cell.

  1. which of the cells executed most of the time.

Also would be nice to have a summary report, so that I would be able to click and got navigated immediately.

Extension version: 2025.6.0
VS Code version: Code 1.102.1 (7adae6a56e34cb64d08899664b814cf620465925, 2025-07-15T16:41:17.147Z)
OS version: Linux x64 6.8.0-60-generic
Modes:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions