Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remeh/diago
Diago is a visualization tool for CPU profiles and heap snapshots generated with `pprof`.
https://github.com/remeh/diago
golang pprof profiling tool
Last synced: 2 days ago
JSON representation
Diago is a visualization tool for CPU profiles and heap snapshots generated with `pprof`.
- Host: GitHub
- URL: https://github.com/remeh/diago
- Owner: remeh
- License: apache-2.0
- Created: 2020-02-26T21:03:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T14:06:18.000Z (about 2 years ago)
- Last Synced: 2024-12-20T13:52:22.826Z (6 days ago)
- Topics: golang, pprof, profiling, tool
- Language: Go
- Homepage:
- Size: 146 KB
- Stars: 357
- Watchers: 5
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-profiling - Diago - Diago is a visualization tool for profiles and heap snapshots generated with `pprof`. (1. System Overview)
README
# Diago
Diago is a visualization tool for profiles and heap snapshots generated with `pprof`.
## Features
- Visual interface with an easy-to-use read tree
- CPU usage
- Total heap allocated
- Heap in-use
- Search in functions and filenames
- Aggregate per functions or per function calls (lines)![Screenshot of Diago](https://github.com/remeh/diago/raw/master/screenshot.png)
## Installation
Due to the underlying usage of `go-gl/glfw`, there is a few system dependencies (i.e. some Xorg libraries on Linux or headers/libraries on macOS). See [this link](https://github.com/go-gl/glfw#installation) for detailed information.
You'll need Go installed (only tested with Go >= 1.12), then:
```
go get -u github.com/remeh/diago
```The `diago` binary should be available in `$GOPATH/bin` or `$HOME/go/bin` if the `$GOPATH` environment variable is not set.
Note that the build could take a few seconds to complete due to the dependencies.
## Usage
```
./diago -file
```## Roadmap
- Read a profile from HTTP
- Test profiles not generated with Go `http/pprof`## Author
Rémy MATHIEU - @remeh
## License
Apache License 2.0