JuliaPerf / PProf.jl

Export Julia profiles to the pprof format
MIT License
155 stars 18 forks source link

Using PProf.jl on JupyterHub #80

Closed renatobellotti closed 1 year ago

renatobellotti commented 1 year ago

Hi,

I'm trying to get PProf running on a JupyterHub. Unfortunately, I cannot access the webserver that is started in the background due to firewall restrictions.

However, I can mount the remote directory on my local machine. Which commands do I have to use to visualise the allocations with pprof using the alloc-profile.pb.gz?

vchuravy commented 1 year ago

You can use PProf.refresh(file="...") to open a new file in the server (and start it).

renatobellotti commented 1 year ago

Thanks for the quick answer! This works perfectly.