Jupyter

Jupyter Nsight

I found out about this at Jane Street.

Resources

“Run all the cells required for the code you want to profile, then run the cell you want to profile.”

My own tutorial:

First, let’s look at the highest top-level shit:

It says processes (3) because there are 3 processes launched:

  • Python
  • nsys
  • information not available (nsys-tee)

The other two are simply profiling infrastructure

For mouse controls:

  • Control + scroll wheel to zoom in / zoom out
  • You can also hold your mouse and drag, and that is going to create the green region that you see highlighted below. And you can double click on it to zoom into that area

There’s an Expert system view