jiffyclub / snakeviz

An in-browser Python profile viewer
https://jiffyclub.github.io/snakeviz/
Other
2.36k stars 139 forks source link

Adds support for Jupyter instances running remotely, also adds new parameter for visualizing existing profiling result #161

Open udincer opened 3 years ago

udincer commented 3 years ago

The tornado server was not reachable when user ran Jupyter remotely (e.g. on a server with SSH tunnelling). Now the HTML is retrieved from tornado on the server side (hence requests lib dependency) and loaded into iframe.

Also added support for reusing an already existing profiling results with the -p parameter in the magics.