diff --git a/README.md b/README.md index 1380a01..98a76bf 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # PProf Web UI -This is a total hack to upload pprof files and serve the UI. This avoids needing to install any tools. +This is a hacky experiment that serves the [Go pprof profiler web UI](https://github.com/google/pprof). You can upload pprof files then view them without installing anything. See [my blog post for some additional details](https://www.evanjones.ca/pprofweb.html). -Try it: https://pprofweb-kgdmaenclq-uc.a.run.app/ +Try it: https://pprofweb.evanjones.ca/ ## Run Locally diff --git a/pprofweb.go b/pprofweb.go index dd5e0e6..19cb33a 100644 --- a/pprofweb.go +++ b/pprofweb.go @@ -154,10 +154,8 @@ const rootTemplate = ` PProf Web Interface

PProf Web Interface

-

Upload a file to explore it using the Pprof web interface.

-

NOTE: Will not work with multiple users

+

Upload a file to explore it using the Pprof web interface. See the documentation/source code.

This is currently a hack: it runs in Google Cloud Run, which will restart instances whenever it wants. This means your state may get lost at any time, and it won't work if there are multiple people using it at the same time.

-

TODO: Write all the output from pprof out to static files in Google Cloud Storage and serve them from there.

Upload file: