From 324a6168da429ccc9b832d9849fbd3c3f2280145 Mon Sep 17 00:00:00 2001 From: Evan Jones Date: Sun, 26 Jan 2020 18:05:35 -0500 Subject: [PATCH] Fix links/text --- README.md | 4 ++-- pprofweb.go | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) 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: