Last active
August 29, 2015 14:14
-
-
Save tleyden/70bac20b093f1e92f389 to your computer and use it in GitHub Desktop.
go tool pprof bin/sync_gateway profile/master_branch/run640/profile_heap_1.prof
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
root@core-01:/opt/sync_gateway# go tool pprof bin/sync_gateway profile/master_branch/run640/profile_heap_2.prof | |
Entering interactive mode (type "help" for commands) | |
(pprof) top25 | |
786.80MB of 846.25MB total (92.98%) | |
Dropped 501 nodes (cum <= 4.23MB) | |
Showing top 25 nodes out of 86 (cum >= 118.45MB) | |
flat flat% sum% cum cum% | |
376.11MB 44.44% 44.44% 376.11MB 44.44% compress/flate.(*compressor).initDeflate | |
161.56MB 19.09% 63.54% 161.56MB 19.09% net/http.newBufioWriterSize | |
118.45MB 14.00% 77.53% 118.45MB 14.00% bufio.NewReaderSize | |
20MB 2.36% 79.90% 21.03MB 2.48% github.com/couchbaselabs/sync_gateway/db.(*changeCache).processEntry | |
19.73MB 2.33% 82.23% 19.73MB 2.33% encoding/json.unquote | |
12.27MB 1.45% 83.68% 12.27MB 1.45% newproc_m | |
10MB 1.18% 84.86% 10MB 1.18% runtime.deferproc_m | |
9.50MB 1.12% 85.98% 9.50MB 1.12% net/textproto.(*Reader).ReadMIMEHeader | |
8.50MB 1.00% 86.99% 23.50MB 2.78% net/http.ReadRequest | |
8.17MB 0.97% 87.95% 8.17MB 0.97% github.com/gorilla/context.Set | |
7MB 0.83% 88.78% 258.46MB 30.54% net/http.(*Server).newConn | |
5MB 0.59% 89.37% 31.22MB 3.69% github.com/couchbaselabs/sync_gateway/db.func·004 | |
4.50MB 0.53% 89.90% 4.50MB 0.53% github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed | |
4.50MB 0.53% 90.43% 4.50MB 0.53% net/textproto.MIMEHeader.Set | |
4.50MB 0.53% 90.97% 25.23MB 2.98% encoding/json.(*decodeState).objectInterface | |
4.50MB 0.53% 91.50% 4.50MB 0.53% net.sockaddrToTCP | |
3.50MB 0.41% 91.91% 7.50MB 0.89% github.com/couchbaselabs/go-couchbase.Bucket.getConnectionToVBucket | |
2.50MB 0.3% 92.21% 55.06MB 6.51% net/http.(*conn).readRequest | |
2MB 0.24% 92.44% 10MB 1.18% net.(*netFD).accept | |
1.50MB 0.18% 92.62% 13.50MB 1.60% github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges | |
1MB 0.12% 92.74% 13.50MB 1.60% github.com/couchbaselabs/sync_gateway/auth.(*Authenticator).AuthenticateCookie | |
1MB 0.12% 92.86% 20.73MB 2.45% encoding/json.(*decodeState).literalInterface | |
0.50MB 0.059% 92.92% 4.50MB 0.53% github.com/gorilla/mux.(*Route).Match | |
0.50MB 0.059% 92.98% 446.07MB 52.71% github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke | |
0 0% 92.98% 118.45MB 14.00% bufio.NewReader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment