Created
August 2, 2018 23:58
-
-
Save dm03514/57a854860ab3dcec5164d6e818e3b1c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go tool pprof pprof/heap.3.pprof | |
Local symbolization failed for main: open /tmp/go-build598947513/b001/exe/main: no such file or directory | |
Some binary filenames not available. Symbolization may be incomplete. | |
Try setting PPROF_BINARY_PATH to the search path for local binaries. | |
File: main | |
Type: inuse_space | |
Time: Jul 30, 2018 at 6:11pm (UTC) | |
Entering interactive mode (type "help" for commands, "o" for options) | |
(pprof) svg | |
Generating report in profile002.svg | |
(pprof) top20 | |
Showing nodes accounting for 410.75MB, 99.03% of 414.77MB total | |
Dropped 10 nodes (cum <= 2.07MB) | |
flat flat% sum% cum cum% | |
408.97MB 98.60% 98.60% 408.97MB 98.60% bytes.Repeat | |
1.28MB 0.31% 98.91% 410.25MB 98.91% main.(*RequestTracker).Track | |
0.50MB 0.12% 99.03% 414.26MB 99.88% net/http.(*conn).serve | |
0 0% 99.03% 410.25MB 98.91% main.main.func1 | |
0 0% 99.03% 410.25MB 98.91% net/http.(*ServeMux).ServeHTTP | |
0 0% 99.03% 410.25MB 98.91% net/http.HandlerFunc.ServeHTTP | |
0 0% 99.03% 410.25MB 98.91% net/http.serverHandler.ServeHTTP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pprof -line
would show line in SVG which might be really helpful.