Skip to content

Instantly share code, notes, and snippets.

@asoltys
Created July 27, 2014 15:18
Show Gist options
  • Save asoltys/007204a1e183700cbca5 to your computer and use it in GitHub Desktop.
Save asoltys/007204a1e183700cbca5 to your computer and use it in GitHub Desktop.
(pprof) top25
Total: 329 samples
23 7.0% 7.0% 23 7.0% syscall.Syscall
19 5.8% 12.8% 19 5.8% scanblock
17 5.2% 17.9% 41 12.5% selectgo
17 5.2% 23.1% 19 5.8% syscall.Syscall6
14 4.3% 27.4% 14 4.3% runtime.memmove
12 3.6% 31.0% 12 3.6% runtime.xchg
11 3.3% 34.3% 46 14.0% github.com/conformal/goleveldb/leveldb.(*iComparer).Compare
11 3.3% 37.7% 18 5.5% github.com/conformal/goleveldb/leveldb.iKey.ukey
11 3.3% 41.0% 26 7.9% runtime.mallocgc
9 2.7% 43.8% 27 8.2% github.com/conformal/goleveldb/leveldb/table.(*blockWriter).append
9 2.7% 46.5% 9 2.7% runtime.cmpbody
8 2.4% 48.9% 236 71.7% github.com/conformal/goleveldb/leveldb.func·014
8 2.4% 51.4% 8 2.4% github.com/conformal/goleveldb/leveldb.iKey.assert
8 2.4% 53.8% 20 6.1% github.com/conformal/goleveldb/leveldb/comparer.bytesComparer.Compare·i
8 2.4% 56.2% 10 3.0% github.com/conformal/goleveldb/leveldb/iterator.(*indexedIterator).Value
7 2.1% 58.4% 9 2.7% runtime.MSpan_Sweep
7 2.1% 60.5% 7 2.1% runtime.memclr
5 1.5% 62.0% 5 1.5% encoding/binary.Uvarint
5 1.5% 63.5% 10 3.0% github.com/conformal/goleveldb/leveldb/table.(*block).entry
5 1.5% 65.0% 20 6.1% github.com/conformal/goleveldb/leveldb/table.(*blockIter).Next
5 1.5% 66.6% 5 1.5% github.com/conformal/goleveldb/leveldb/table.sharedPrefixLen
5 1.5% 68.1% 12 3.6% github.com/conformal/goleveldb/leveldb/util.(*Buffer).Write
5 1.5% 69.6% 5 1.5% runtime.MSpan_EnsureSwept
4 1.2% 70.8% 4 1.2% encoding/binary.littleEndian.Uint64
4 1.2% 72.0% 16 4.9% github.com/conformal/goleveldb/leveldb.(*compaction).shouldStopBefore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment