• Stars
    star
    358
  • Rank 118,855 (Top 3 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created almost 5 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Diago is a visualization tool for CPU profiles and heap snapshots generated with `pprof`.

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

More Repositories

1

sizedwaitgroup

SizedWaitGroup has the same role and close to the same API as the Golang sync.WaitGroup but it adds a limit on the amount of goroutines started concurrently.
Go
411
star
2

mehstation

Opensource front-end for emulation / retro / TV box.
C
54
star
3

gost

OLD AND DEPRECATED - A realtime distributed computation system using NSQ and Etcd.
Go
18
star
4

upd

Upload from the command-line, share with your browsers.
Go
18
star
5

fatbin

Compress an executable and its resources in an auto-extractible and runnable file.
Go
17
star
6

mboximporter

MBox file importer to MongoDB
Go
8
star
7

mehcam

Motion detection for D-Link DCS-932L
Go
8
star
8

mehteor

OpenGL Game engine
C
7
star
9

mehstation-config

Configuration tool for https://github.com/remeh/mehstation.
C++
5
star
10

memoiz

Never forget a memo again.
Go
5
star
11

meh-old

meh is remeh's personal code editor
C++
5
star
12

reddit-audiences

Track audience of subreddits.
Go
4
star
13

go-webserver

Minimal, simple and powerful HTTP framework in Go. -- Old experimentation. You should use golang.org/pkg/net/http instead.
Go
4
star
14

statsd-zig

Basic statsd implementation in Ziglang.
Zig
4
star
15

qubuto

Quick bug-tracking tool.
JavaScript
3
star
16

mehtadata

Games metadata scraper using thegamesdb.net
Go
3
star
17

pgen

Create images with generated particles.
Go
2
star
18

smartwitter

Industrialize your Twitter usage.
Go
2
star
19

wcie

What Can I Eat - Twitter search queries analyzer in Golang
Go
2
star
20

home-sensors-server

Server receiving data from the Arduino+Olimex 4G Kit about home sensors
Go
2
star
21

goid

Basic package to generate pseudo-random unique IDs.
Go
1
star
22

galactictaxi

Galactit Taxi - Ludum Dare 23 Entry
C++
1
star
23

go-subtitles

Retrieve movies / series subtitles from a filename.
Go
1
star
24

soulkeeper

GameDevParty Jam #4 Participation - Soul Keeper team.
Lua
1
star
25

meh2d

Meh2D is a simple game library based upon Allegro 5 to easily realize 2d games in C++
C++
1
star
26

go-rrd

A golang client for talking to rrdcached
Go
1
star
27

logr

logr is a small log rotating struct compatible with io.Writer, suitable for the default log package
Go
1
star
28

memoiz-front

React Front for Memoiz. Go backend → https://github.com/remeh/memoiz
JavaScript
1
star
29

meh

remeh's personal code editor
Zig
1
star