mirror of
https://github.com/dockersrc/go
synced 2026-06-24 14:01:08 -04:00
🔧 Add gops and benchstat Go debugging tools 🔧
Add two debug/profiling tools to 05-custom.sh: - gops: live process diagnostics (list Go processes, dump stacks, force GC) - benchstat: statistically sound benchmark comparison via pprof Both tools baked into /usr/local/bin at build time. Build verified: go1.26.3, all 19 tools confirmed on PATH. - rootfs/root/docker/setup/05-custom.sh: add gops and benchstat installs rootfs/root/docker/setup/05-custom.sh
This commit is contained in:
@@ -105,6 +105,12 @@ go install gotest.tools/gotestsum@latest
|
||||
# Source-level debugger
|
||||
go install github.com/go-delve/delve/cmd/dlv@latest
|
||||
|
||||
# Live process diagnostics: list Go processes, dump stacks, force GC, etc.
|
||||
go install github.com/google/gops@latest
|
||||
|
||||
# Benchmark comparison (statistically sound diff of pprof benchmark runs)
|
||||
go install golang.org/x/perf/cmd/benchstat@latest
|
||||
|
||||
# Live-reload dev server for iterative development
|
||||
go install github.com/air-verse/air@latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user