Golang Pprof Web Visualizer is a web application that visualizes the output of the pprof tool in a web browser.
The Size of the binary is < 10MB.
Support on WebUI, x86, ARM, Linux and MacOS.
Download the binaries for your system and architecture from the release page.
If you prefer docker, you can use the following command (DockerHub):
docker pull lovecho/pprof-web:latest
docker pull lovecho/pprof-web:latest
Use default parameters to format all configuration files in the current directory:
./pprof-web
This will start a web server on port 8080.
Then you can access it at localhost:8080.
There is no difference between using parameters in Docker and the above, for example, we start a Web UI formatting tool service in Docker:
docker run --rm -it -p 8080:8080 lovecho/pprof-web:latest
You can access live demo at pprof.gotool.tech.
Upload the pprof result by curl inside a remote machine and then access the web UI from your local machine.
# upload by curl
curl -F "file=@$FILE_PATH" https://pprof.gotool.tech/submit -v
Then you can check the output and find something like below
< HTTP/2 307
< date: Thu, 27 Apr 2023 08:14:54 GMT
< location: /pprof/?file_id=XXXXXXXX
< vary: Accept-Encoding
< cf-cache-status: DYNAMIC
You can then visit https://pprof.gotool.tech/pprof/?file_id=XXXXXXXX
to view your pprof result.
Web Components:
- Gin is a HTTP web framework written in Go (Golang), under [MIT license].
- Crayons - A UI Kit comprising of web components for building Freshworks Apps! - [License not specified yet]