diago

command module
v0.0.0-...-b1cf872 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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 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 <profile-or-heap-snapshot-to-visualize>

Roadmap

  • Read a profile from HTTP
  • Test profiles not generated with Go http/pprof

Author

Rémy MATHIEU - @remeh

License

Apache License 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL