pprof
View
Top
Graph
Flame Graph
Peek
Source
Disassemble
Sample
samples
cpu
Refine
Focus
Ignore
Hide
Show
Show from
Reset
cpu
Type: cpu
Time: Jan 26, 2021 at 8:58pm (CST)
Duration: 30.11s, Total samples = 92.50s (307.17%)
Showing nodes accounting for 85.94s, 92.91% of 92.50s total
Dropped 398 nodes (cum <= 0.46s)
Dropped 63 edges (freq <= 0.09s)
Showing top 80 nodes out of 101
unnamed
N1
http
(*conn)
serve
0.03s (0.032%)
of 78.58s (84.95%)
N29
http
(*conn)
readRequest
0 of 27.09s (29.29%)
N1->N29
27.09s
N57
http
(*response)
finishRequest
0.02s (0.022%)
of 48.18s (52.09%)
N1->N57
48.18s
N80
http
serverHandler
ServeHTTP
0.01s (0.011%)
of 3.03s (3.28%)
N1->N80
3.03s
N2
syscall
syscall
72.20s (78.05%)
of 72.34s (78.21%)
N3
poll
ignoringEINTR
0.01s (0.011%)
of 72.41s (78.28%)
N70
syscall
Write
0.02s (0.022%)
of 47.01s (50.82%)
N3->N70
47.01s
N77
syscall
Read
0.01s (0.011%)
of 25.38s (27.44%)
N3->N77
25.38s
N4
runtime
systemstack
0.01s (0.011%)
of 5.95s (6.43%)
N17
runtime
gcDrain
0.16s (0.17%)
of 1.95s (2.11%)
N4->N17
1.95s
N30
runtime
netpoll
0.10s (0.11%)
of 3.62s (3.91%)
N4->N30
0.21s
N38
runtime
runSafePointFn
0 of 0.74s (0.8%)
N4->N38
0.31s
N41
runtime
forEachP
0 of 0.94s (1.02%)
N4->N41
0.94s
N48
runtime
notewakeup
0 of 0.52s (0.56%)
N4->N48
0.23s
N64
runtime
gcAssistAlloc1
0.06s (0.065%)
of 1.03s (1.11%)
N4->N64
1.03s
N5
runtime
mallocgc
0.15s (0.16%)
of 2.29s (2.48%)
N61
runtime
(*mcentral)
cacheSpan
0.02s (0.022%)
of 0.47s (0.51%)
N5->N61
0.47s
N68
runtime
gcAssistAlloc
0.02s (0.022%)
of 0.92s (0.99%)
N5->N68
0.92s
N6
runtime
mcall
0 of 5.88s (6.36%)
N8
runtime
schedule
0.02s (0.022%)
of 5.78s (6.25%)
N6->N8
5.35s
N31
runtime
goschedImpl
0 of 1.36s (1.47%)
N6->N31
0.15s
N7
bufio
(*Writer)
Flush
0.38s (0.41%)
of 48.03s (51.92%)
N7->N3
47.02s
N50
http
(*chunkWriter)
writeHeader
0.04s (0.043%)
of 0.60s (0.65%)
N7->N50
0.60s
N10
runtime
findrunnable
0.04s (0.043%)
of 4.84s (5.23%)
N8->N10
4.84s
N8->N38
0.33s
N8->N48
0.16s
N9
net
(*conn)
Read
0.01s (0.011%)
of 25.62s (27.70%)
N23
runtime
newobject
0.01s (0.011%)
of 0.96s (1.04%)
N9->N23
0.15s
N59
poll
(*FD)
Read
0.02s (0.022%)
of 25.46s (27.52%)
N9->N59
25.46s
N27
runtime
nanotime
0 of 0.89s (0.96%)
N10->N27
0.26s
(inline)
N10->N30
3.41s
N10->N38
0.10s
N39
runtime
stopm
0 of 0.88s (0.95%)
N10->N39
0.44s
N11
runtime
kevent
3.48s (3.76%)
of 3.49s (3.77%)
N12
runtime
mstart
0 of 3.65s (3.95%)
N12->N4
2.94s
N51
runtime
sysmon
0 of 0.71s (0.77%)
N12->N51
0.71s
N13
bufio
(*Reader)
ReadSlice
0.01s (0.011%)
of 25.50s (27.57%)
N26
indexbytebody
0.90s (0.97%)
N13->N26
0.84s
N71
bufio
(*Reader)
fill
0.02s (0.022%)
of 24.65s (26.65%)
N13->N71
24.65s
N14
runtime
usleep
1.61s (1.74%)
N15
regexp
compile
0.01s (0.011%)
of 2.72s (2.94%)
N32
regexp
compileOnePass
0.02s (0.022%)
of 1.22s (1.32%)
N15->N32
1.22s
N42
syntax
Parse
0.07s (0.076%)
of 0.69s (0.75%)
N15->N42
0.69s
N69
syntax
Compile
0 of 0.59s (0.64%)
N15->N69
0.59s
N16
http
readRequest
0.02s (0.022%)
of 26.70s (28.86%)
N19
textproto
(*Reader)
ReadLine
0 of 25.90s (28.00%)
N16->N19
25.90s
(inline)
N16->N23
0.31s
N20
runtime
scanobject
0.70s (0.76%)
of 1.10s (1.19%)
N17->N20
0.73s
N47
runtime
markroot
0.03s (0.032%)
of 0.79s (0.85%)
N17->N47
0.58s
N56
runtime
(*gcWork)
balance
0 of 0.70s (0.76%)
N17->N56
0.41s
N18
runtime
lock
0 of 1.91s (2.06%)
N24
runtime
lock2
0.03s (0.032%)
of 1.91s (2.06%)
N18->N24
1.91s
N53
textproto
(*Reader)
readLineSlice
0.02s (0.022%)
of 25.53s (27.60%)
N19->N53
25.48s
N67
runtime
slicebytetostring
0.01s (0.011%)
of 0.48s (0.52%)
N19->N67
0.42s
N21
runtime
semasleep
0 of 1.28s (1.38%)
N37
runtime
pthread_cond_wait
0.81s (0.88%)
N21->N37
0.81s
N49
runtime
pthread_cond_timedwait_relative_np
0.47s (0.51%)
N21->N49
0.47s
N22
runtime
pthread_kill
1.30s (1.41%)
N23->N5
0.95s
N36
runtime
procyield
0.83s (0.9%)
N24->N36
0.83s
N60
runtime
osyield
0 of 1.08s (1.17%)
N24->N60
1s
(inline)
N25
http
(*connReader)
backgroundRead
0.20s (0.22%)
of 1.26s (1.36%)
N25->N9
1.01s
N34
runtime
nanotime1
0.85s (0.92%)
of 0.89s (0.96%)
N27->N34
0.89s
N28
runtime
gcBgMarkWorker
0 of 1.68s (1.82%)
N28->N4
1.59s
N29->N16
26.70s
N30->N11
3.49s
N31->N8
0.43s
N31->N18
0.92s
(inline)
N54
regexp
makeOnePass
0.02s (0.022%)
of 0.78s (0.84%)
N32->N54
0.78s
N33
runtime
gcDrainN
0.06s (0.065%)
of 0.96s (1.04%)
N33->N20
0.36s
N33->N47
0.21s
N33->N56
0.29s
N35
runtime
growslice
0.06s (0.065%)
of 0.67s (0.72%)
N35->N5
0.46s
N38->N18
0.59s
(inline)
N39->N21
0.76s
N40
runtime
morestack
0.01s (0.011%)
of 1.19s (1.29%)
N45
runtime
newstack
0.07s (0.076%)
of 1.26s (1.36%)
N40->N45
1.18s
N52
runtime
notetsleep
0.04s (0.043%)
of 0.56s (0.61%)
N41->N52
0.38s
N62
runtime
preemptall
0 of 0.56s (0.61%)
N41->N62
0.40s
N42->N23
0.17s
N42->N35
0.24s
N43
runtime
preemptone
0 of 1.13s (1.22%)
N55
runtime
preemptM
0 of 1.30s (1.41%)
N43->N55
1.13s
(inline)
N44
runtime
pthread_cond_signal
0.56s (0.61%)
N74
runtime
gopreempt_m
0 of 1.21s (1.31%)
N45->N74
1.18s
N46
regexp
makeOnePass
func1
0.25s (0.27%)
of 0.56s (0.61%)
N46->N35
0.11s
N63
runtime
markroot
func1
0.01s (0.011%)
of 0.63s (0.68%)
N47->N63
0.63s
N65
runtime
semawakeup
0 of 0.60s (0.65%)
N48->N65
0.52s
N51->N14
0.34s
N51->N27
0.35s
(inline)
N72
runtime
notetsleep_internal
0 of 0.52s (0.56%)
N52->N72
0.52s
N76
bufio
(*Reader)
ReadLine
0.01s (0.011%)
of 25.51s (27.58%)
N53->N76
25.51s
N54->N46
0.56s
N55->N22
1.30s
N56->N43
0.57s
N57->N7
48.03s
N58
main
handler
0.02s (0.022%)
of 2.93s (3.17%)
N58->N15
2.72s
N59->N3
25.39s
N60->N14
1.08s
N61->N4
0.15s
N62->N43
0.56s
N63->N55
0.17s
(inline)
N64->N33
0.96s
N65->N44
0.56s
N66
syntax
(*compiler)
compile
0.06s (0.065%)
of 0.51s (0.55%)
N66->N35
0.30s
N67->N5
0.42s
N68->N4
0.80s
N69->N66
0.51s
N75
syscall
write
0.01s (0.011%)
of 46.99s (50.80%)
N70->N75
46.99s
N79
http
(*connReader)
Read
0.01s (0.011%)
of 24.63s (26.63%)
N71->N79
24.63s
N72->N21
0.47s
N73
http
(*ServeMux)
ServeHTTP
0.01s (0.011%)
of 3.02s (3.26%)
N73->N58
2.93s
N74->N31
1.21s
N75->N2
46.98s
N76->N13
25.50s
N78
syscall
read
0.01s (0.011%)
of 25.37s (27.43%)
N77->N78
25.37s
N78->N2
25.36s
N79->N9
24.61s
N80->N73
3.02s