leap-stc / data-and-compute-team

Repo to organize issues/mangagment of the LEAP Data and Computation Team
Apache License 2.0
0 stars 0 forks source link

Use snakeviz on the hub #3

Open jbusecke opened 1 month ago

jbusecke commented 1 month ago

I have opened a ticket with 2i2c about this.

I would love for this to work:

%load_extension snakeviz
%%snakeviz
some_function_call()

...and then get a nice icycle plot (see https://jiffyclub.github.io/snakeviz/)

jbusecke commented 1 month ago

Some addtl info:

I believe that snakeviz starts a small local server, so a solution to this might be related to #2 and the jupyter-server-proxy