pprof
View
Top
Graph
Flame Graph
Flame Graph (new)
Peek
Source
Disassemble
Sample
samples
cpu
Refine
Focus
Ignore
Hide
Show
Show from
Reset
Config
Save as ...
✓
Default
Download
kmcp cpu
File: kmcp
Type: cpu
Time: Sep 3, 2023 at 12:39pm (CST)
Duration: 32.22s, Total samples = 105.82s (328.43%)
Showing nodes accounting for 94.89s, 89.67% of 105.82s total
Dropped 355 nodes (cum <= 0.53s)
Dropped 26 edges (freq <= 0.11s)
Showing top 80 nodes out of 93
See https://git.io/JfYMW for how to read the graph
Save options as
Delete config
kmcp
N1
cmd
parseMatchResult
4.90s (4.63%)
of 42.69s (40.34%)
N12
cmd
stringSplitNByByte
3.43s (3.24%)
of 16.01s (15.13%)
N1->N12
16.01s
N19
strconv
Atoi
3.36s (3.18%)
N1->N19
3.36s
N20
runtime
newobject
0.27s (0.26%)
of 6.95s (6.57%)
N1->N20
6.28s
N36
strconv
ParseUint
1.53s (1.45%)
N1->N36
1.53s
N49
strconv
ParseFloat
0.23s (0.22%)
of 10.54s (9.96%)
N1->N49
10.54s
N2
flate
(*decompressor)
huffmanBufioReader
15s (14.18%)
of 26.26s (24.82%)
N24
flate
(*dictDecoder)
tryWriteCopy
1.72s (1.63%)
of 3.59s (3.39%)
N2->N24
3.59s
(inline)
N25
bufio
(*Reader)
ReadByte
3.23s (3.05%)
of 3.44s (3.25%)
N2->N25
3.42s
N28
flate
(*dictDecoder)
writeByte
2.08s (1.97%)
N2->N28
2.08s
(inline)
N47
flate
(*dictDecoder)
writeCopy
0.67s (0.63%)
of 1.29s (1.22%)
N2->N47
1.29s
N53
flate
(*dictDecoder)
availWrite
0.79s (0.75%)
N2->N53
0.79s
(inline)
N3
breader
(*BufferedReader)
run
func2
1
0.69s (0.65%)
of 46.98s (44.40%)
N15
cmd
glob
func11
4
0.46s (0.43%)
of 40.68s (38.44%)
N3->N15
40.68s
N52
cmd
glob
func11
8
0.02s (0.019%)
of 4.31s (4.07%)
N3->N52
4.31s
N56
runtime
growslice
0.01s (0.0095%)
of 1.23s (1.16%)
N3->N56
1.23s
N4
runtime
mallocgc
3.13s (2.96%)
of 12.04s (11.38%)
N27
runtime
memclrNoHeapPointers
2.10s (1.98%)
N4->N27
2.10s
N31
runtime
heapBitsSetType
0.61s (0.58%)
of 2.23s (2.11%)
N4->N31
2.23s
N46
runtime
nextFreeFast
1.06s (1.00%)
N4->N46
1.06s
(inline)
N62
runtime
deductAssistCredit
0.35s (0.33%)
of 0.68s (0.64%)
N4->N62
0.68s
N76
runtime
(*mcache)
nextFree
0.04s (0.038%)
of 1.96s (1.85%)
N4->N76
1.96s
N5
cmd
glob
func11
3.59s (3.39%)
of 15.69s (14.83%)
N21
sync
(*Pool)
Get
0.47s (0.44%)
of 1.62s (1.53%)
N5->N21
0.56s
N29
runtime
mapaccess2_fast64
1.95s (1.84%)
of 2.73s (2.58%)
N5->N29
2.72s
N30
runtime
mapassign_fast64
0.83s (0.78%)
of 1.92s (1.81%)
N5->N30
1.92s
N43
sync
(*Pool)
Put
0.33s (0.31%)
of 0.94s (0.89%)
N5->N43
0.18s
N44
stats
(*Quantiler)
Add
0.44s (0.42%)
of 3.92s (3.70%)
N5->N44
3.92s
N78
wyhash
HashString
0.03s (0.028%)
of 0.85s (0.8%)
N5->N78
0.85s
N6
flate
(*decompressor)
Read
0.03s (0.028%)
of 27.71s (26.19%)
N6->N2
19.54s
N7
runtime
memmove
6.12s (5.78%)
N6->N7
0.99s
N71
flate
(*decompressor)
nextBlock
0 of 7.15s (6.76%)
N6->N71
7.15s
N8
pgzip
(*Reader)
doReadAhead
func1
0.01s (0.0095%)
of 27.76s (26.23%)
N8->N6
27.71s
N9
runtime
systemstack
0.03s (0.028%)
of 5.67s (5.36%)
N67
runtime
wbBufFlush1
0.16s (0.15%)
of 0.65s (0.61%)
N9->N67
0.64s
N70
runtime
(*mheap)
freeSpan
func1
0.01s (0.0095%)
of 0.62s (0.59%)
N9->N70
0.62s
N72
runtime
gcDrain
0.05s (0.047%)
of 2.20s (2.08%)
N9->N72
2.20s
N80
runtime
(*mheap)
alloc
func1
0.02s (0.019%)
of 1.19s (1.12%)
N9->N80
1.19s
N10
indexbytebody
8.11s (7.66%)
N11
strings
IndexByte
2.07s (1.96%)
of 12.10s (11.43%)
N11->N10
7.32s
N22
bytealg
IndexByteString
2.71s (2.56%)
N11->N22
2.71s
N12->N11
12.10s
(inline)
N42
runtime
gcWriteBarrier
0.20s (0.19%)
of 0.79s (0.75%)
N12->N42
0.47s
N13
breader
(*BufferedReader)
run
func3
0.82s (0.77%)
of 9.70s (9.17%)
N17
bufio
(*Reader)
ReadString
0.15s (0.14%)
of 8.40s (7.94%)
N13->N17
8.40s
N33
runtime
makeslice
0.19s (0.18%)
of 4.36s (4.12%)
N13->N33
0.19s
N14
runtime
main
0 of 15.69s (14.83%)
N14->N5
15.69s
N15->N1
38.61s
N15->N21
0.92s
N15->N43
0.69s
N16
strconv
readFloat
6.98s (6.60%)
of 7.04s (6.65%)
N54
bufio
(*Reader)
collectFragments
0.24s (0.23%)
of 2.62s (2.48%)
N17->N54
2.62s
N61
strings
(*Builder)
Write
0.22s (0.21%)
of 1.15s (1.09%)
N17->N61
1.15s
(inline)
N69
strings
(*Builder)
Grow
0.08s (0.076%)
of 4.47s (4.22%)
N17->N69
4.47s
(inline)
N18
strconv
atof64
0.81s (0.77%)
of 10.08s (9.53%)
N18->N16
7.04s
N35
strconv
atof64exact
1.70s (1.61%)
N18->N35
1.70s
N20->N4
6.68s
N21->N33
0.27s
N39
sync
(*Pool)
pin
0.43s (0.41%)
of 1.08s (1.02%)
N21->N39
0.63s
N23
runtime
mapassign
2.45s (2.32%)
of 3.48s (3.29%)
N73
runtime
typedmemmove
0.02s (0.019%)
of 0.90s (0.85%)
N23->N73
0.85s
N24->N7
1.87s
N68
bufio
(*Reader)
fill
0.01s (0.0095%)
of 0.81s (0.77%)
N25->N68
0.21s
N26
bufio
(*Reader)
ReadSlice
0.73s (0.69%)
of 2.38s (2.25%)
N26->N68
0.60s
N77
bytes
IndexByte
0.03s (0.028%)
of 1.05s (0.99%)
N26->N77
1.05s
(inline)
N40
runtime
memhash64
0.84s (0.79%)
N29->N40
0.64s
N30->N20
0.26s
(inline)
N30->N40
0.16s
N41
runtime
writeHeapBits
flush
0.95s (0.9%)
of 1.02s (0.96%)
N31->N41
0.93s
N57
runtime
writeHeapBits
write
0.64s (0.6%)
N31->N57
0.64s
N32
runtime
scanobject
0.63s (0.6%)
of 2.22s (2.10%)
N34
runtime
findObject
0.98s (0.93%)
of 1.27s (1.20%)
N32->N34
0.83s
N33->N4
4.17s
N37
strings
(*Builder)
grow
0.42s (0.4%)
of 4.38s (4.14%)
N37->N33
3.90s
N38
runtime
sweepone
0.43s (0.41%)
of 1.75s (1.65%)
N55
runtime
(*sweepLocked)
sweep
0.20s (0.19%)
of 1.04s (0.98%)
N38->N55
0.98s
N64
sync
runtime_procPin
0.28s (0.26%)
of 0.56s (0.53%)
N39->N64
0.56s
N74
runtime
wbBufFlush
0 of 0.66s (0.62%)
N42->N74
0.59s
N43->N39
0.45s
N44->N23
3.48s
N45
runtime
gcBgMarkWorker
0 of 2.25s (2.13%)
N45->N9
2.24s
N47->N7
0.62s
N48
crc32
ieeeCLMUL
0.96s (0.91%)
N50
strconv
parseFloatPrefix
0.23s (0.22%)
of 10.31s (9.74%)
N49->N50
10.31s
N50->N18
10.08s
N51
runtime
bgsweep
0.01s (0.0095%)
of 1.64s (1.55%)
N51->N38
1.63s
N52->N1
4.08s
N52->N21
0.14s
N54->N26
2.38s
N55->N9
0.62s
N56->N4
0.87s
N56->N7
0.23s
N58
runtime
(*mheap)
allocSpan
0.10s (0.095%)
of 1.16s (1.10%)
N59
wyhash
hash
0.36s (0.34%)
of 0.82s (0.77%)
N60
runtime
(*mcentral)
cacheSpan
0.03s (0.028%)
of 1.38s (1.30%)
N60->N38
0.12s
N75
runtime
(*mcentral)
grow
0 of 1.11s (1.05%)
N60->N75
1.11s
N61->N7
0.92s
N62->N9
0.33s
N63
pgzip
(*Reader)
doReadAhead
func1
2
0 of 0.96s (0.91%)
N63->N48
0.96s
N65
runtime
(*mcache)
refill
0.11s (0.1%)
of 1.89s (1.79%)
N65->N60
1.38s
N66
runtime
(*mheap)
alloc
0.01s (0.0095%)
of 1.20s (1.13%)
N66->N9
1.19s
N67->N34
0.43s
N79
pgzip
(*Reader)
Read
0.01s (0.0095%)
of 0.59s (0.56%)
N68->N79
0.59s
N69->N37
4.38s
(inline)
N71->N2
6.72s
N72->N32
1.93s
N73->N7
0.87s
N74->N9
0.65s
N75->N66
1.03s
N76->N65
1.89s
N77->N10
0.79s
N78->N59
0.82s
N79->N7
0.56s
N80->N58
1.16s