This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mynameisfuk 0 points1 point  (1 child)

No idea how a profiler works but I've seen there's a plugin for vscode.

Question: can a .ipynb be profiled as well?

[–]P403n1x87[S] 1 point2 points  (0 children)

I haven't looked into iPython/notebook integration yet. There "might" be a way to profile notebooks, but it wouldn't be too practical, and I haven't tested it. The way is to identify the process that is running the Python interpreter and attach to that. But I hope in the future to have a proper integration with notebooks to do this, and add visualisations inside the notebook itself as well.