MCPcopy Index your code
hub / github.com/dominikh/gotraceui

github.com/dominikh/gotraceui @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
1,457 symbols 4,361 edges 95 files 243 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

gotraceui - an efficient frontend for Go execution traces

Gotraceui is a tool for visualizing and analyzing Go execution traces. It is meant to be a faster, more accessible, and more powerful alternative to go tool trace. Unlike go tool trace, Gotraceui doesn’t use deprecated browser APIs (or a browser at all), and its UI is tuned specifically to the unique characteristics of Go traces.

Screenshot

Installation

Users of Nix can use the flake. There are no packages for other distributions or OSs yet and you will have to build honnef.co/go/gotraceui/cmd/gotraceui yourself. The manual contains information on how to.

Manual

Gotraceui includes a manual in PDF form. Each release includes the manual as an asset.

Notes for package maintainers

When packaging Gotraceui please take care to

  • pass -X gioui.org/app.ID=co.honnef.Gotraceui to the linker
  • install the share directory
  • call the package gotraceui, please
  • include the LICENSE-THIRD-PARTY file; it contains all the licenses and copyright notices of all dependencies and all code our code is derived from. Including this file satisfies the requirement of reproducing copyright notices and permission notices.

License

The source code of the program and all assets necessary to run the program are licensed under the MIT license. The manual (all files in doc/manual as well as the compiled output) is licensed under the CC BY-SA 4.0.

Copies of the licenses of all dependencies can be found in LICENSE-THIRD-PARTY.

Copyright

All original work is copyrighted by its respective authors (consult the git log.)
Parts of the code are derived from Go, © The Go Authors.
Parts of the code are derived from Gio, © The Gio authors.
Parts of the code are derived from go-tinylfu, © Damian Gryski
font/fallback.ttf is derived from the DejaVu fonts, © Bitstream, © Tavmjong Bah
doc/manual/images/olive.jpg is © Charlotte Brandhorst-Satzkorn, photographer and owner of the subject.

The compiled binary includes code from dependencies. These dependencies and their copyright holders can be found in LICENSE-THIRD-PARTY.

Known issues

Extension points exported contracts — how you extend this code

Action (Interface)
(no doc) [28 implementers]
theme/window.go
Component (Interface)
A Component is a widget that can be displayed as a panel, tab, or in its own window. [4 implementers]
theme/component.go
HoveredLinker (Interface)
(no doc) [8 implementers]
cmd/gotraceui/link.go
Lerper (Interface)
(no doc) [2 implementers]
theme/animation.go
Filter (Interface)
(no doc) [2 implementers]
theme/list_window.go
Command (Interface)
(no doc) [2 implementers]
theme/cmdpalette.go
Spans (Interface)
Spans is an interface that allows ComputeStatistics to operate on abstract collections of spans, not just slices.
trace/ptrace/statistics.go
Boolean (Interface)
(no doc) [1 implementers]
widget/bool.go

Core symbols most depended-on inside this repo

Layout
called by 140
theme/cmdpalette.go
Layout
called by 131
widget/bool.go
Len
called by 119
cmd/gotraceui/items.go
AtPtr
called by 97
cmd/gotraceui/items.go
Add
called by 90
tinylfu/tinylfu.go
Pop
called by 78
trace/gc.go
Add
called by 66
cmd/gotraceui/text.go
Push
called by 66
trace/gc.go

Shape

Method 789
Function 314
Struct 277
TypeAlias 51
Interface 19
FuncType 7

Languages

Go100%

Modules by API surface

cmd/gotraceui/link.go154 symbols
cmd/gotraceui/main.go96 symbols
cmd/gotraceui/items.go70 symbols
theme/theme.go55 symbols
cmd/gotraceui/canvas.go55 symbols
trace/gc.go40 symbols
cmd/gotraceui/compress.go40 symbols
cmd/gotraceui/timeline.go38 symbols
trace/parser.go37 symbols
trace/ptrace/ptrace.go35 symbols
theme/table.go35 symbols
theme/window.go31 symbols

For agents

$ claude mcp add gotraceui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact