mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
1. Compile the binary with the profiling flag in it. 2. Run the binary with profiling enabled: ./wtf -p 3. Run the go profiling tool against the resulting *.pprof file: go tool pprof --pdf /path/to/wtfbinary /var/path/to/cpu.pprof > profile.pdf 4. View pretty PDF file
26 lines
326 B
Plaintext
26 lines
326 B
Plaintext
### Go ###
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, build with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
# Misc
|
|
.DS_Store
|
|
gcal/client_secret.json
|
|
gspreadsheets/client_secret.json
|
|
profile.pdf
|
|
|
|
#intellij idea
|
|
.idea/
|
|
|
|
dist/*
|
|
bin/
|