pprof
View
Top
Graph
Flame Graph
Peek
Source
Disassemble
Sample
samples
cpu
Refine
Focus
Ignore
Hide
Show
Show from
Reset
Config
Save as ...
✓
Default
Download
tests.test samples
File: tests.test
Build ID: 13e58eaced88686a306c63c7e687bfe37e90741b
Type: samples
Time: 2025-09-11 08:41:36 UTC
Duration: 15.92s, Total samples = 3754
Showing nodes accounting for 1987, 52.93% of 3754 total
Dropped 511 nodes (cum <= 18)
Dropped 30 edges (freq <= 3)
Showing top 80 nodes out of 280
See https://git.io/JfYMW for how to read the graph
Save options as
Delete config
tests.test
N1
runtime
mallocgc
55 (1.47%)
of 834 (22.22%)
N6
runtime
mallocgcSmallScanNoHeader
74 (1.97%)
of 579 (15.42%)
N1->N6
579
N8
runtime
newstack
8 (0.21%)
of 419 (11.16%)
N1->N8
84
N2
compiler
parallel
func1
7 (0.19%)
of 1498 (39.90%)
N4
core
(*Function)
Compile
3 (0.08%)
of 1073 (28.58%)
N2->N4
1073
N32
codegen
(*Function)
CompileToAssembly
2 (0.053%)
of 382 (10.18%)
N2->N32
382
N3
scanner
(*scanner)
scanFile
1 (0.027%)
of 1104 (29.41%)
N5
runtime
newobject
28 (0.75%)
of 423 (11.27%)
N3->N5
15
N18
fs
ReadFile
3 (0.08%)
of 593 (15.80%)
N3->N18
593
N52
scanner
(*scanner)
scanImport
2 (0.053%)
of 157 (4.18%)
N3->N52
157
N69
scanner
(*scanner)
scanFunction
9 (0.24%)
of 181 (4.82%)
N3->N69
181
N70
runtime
unlock
0 of 55 (1.47%)
N3->N70
5
(inline)
N73
token
Tokenize
30 (0.8%)
of 99 (2.64%)
N3->N73
99
N26
ast
Parse
2 (0.053%)
of 454 (12.09%)
N4->N26
454
N43
core
(*Function)
compileAST
2 (0.053%)
of 370 (9.86%)
N4->N43
370
(inline)
N55
core
(*Function)
compileInputs
9 (0.24%)
of 84 (2.24%)
N4->N55
84
N77
core
(*Function)
optimize
6 (0.16%)
of 162 (4.32%)
N4->N77
162
N5->N1
379
N5->N8
16
N6->N8
100
N44
runtime
memclrNoHeapPointers
81 (2.16%)
N6->N44
39
N46
runtime
nextFreeFast
97 (2.58%)
of 99 (2.64%)
N6->N46
74
(inline)
N53
runtime
(*mcache)
nextFree
0 of 201 (5.35%)
N6->N53
156
N71
runtime
(*mspan)
writeHeapBitsSmall
63 (1.68%)
of 83 (2.21%)
N6->N71
83
N7
syscall
Syscall6
647 (17.23%)
N25
runtime
copystack
2 (0.053%)
of 394 (10.50%)
N8->N25
394
N62
runtime
casgstatus
8 (0.21%)
of 49 (1.31%)
N8->N62
6
N9
runtime
systemstack
1 (0.027%)
of 243 (6.47%)
N35
runtime
wakep
6 (0.16%)
of 254 (6.77%)
N9->N35
63
N9->N62
8
N9->N70
10
N10
scanner
(*scanner)
queueFile
func1
2 (0.053%)
of 1110 (29.57%)
N10->N3
1104
N11
runtime
mcall
1 (0.027%)
of 559 (14.89%)
N11->N70
6
(inline)
N80
runtime
goexit0
1 (0.027%)
of 421 (11.21%)
N11->N80
421
N12
runtime
futex
335 (8.92%)
N13
runtime
schedule
14 (0.37%)
of 500 (13.32%)
N34
runtime
findRunnable
13 (0.35%)
of 285 (7.59%)
N13->N34
285
N13->N35
178
N13->N62
15
N14
core
(*Function)
compileASTNode
6 (0.16%)
of 368 (9.80%)
N28
core
(*Function)
evaluateCall
7 (0.19%)
of 184 (4.90%)
N14->N28
97
N14->N43
36
(inline)
N45
core
(*Function)
compileIf
2 (0.053%)
of 125 (3.33%)
N14->N45
125
N66
ssa
(*IR)
Append
3 (0.08%)
of 48 (1.28%)
N14->N66
4
N15
expression
Parse
24 (0.64%)
of 267 (7.11%)
N15->N5
164
N15->N8
14
N16
runtime
makeslice
9 (0.24%)
of 261 (6.95%)
N15->N16
17
N31
expression
NewList
1 (0.027%)
of 212 (5.65%)
N15->N31
76
N16->N1
247
N16->N8
5
N17
core
(*Function)
evaluate
2 (0.053%)
of 197 (5.25%)
N17->N5
7
N22
runtime
growslice
26 (0.69%)
of 138 (3.68%)
N17->N22
8
N17->N28
90
N60
core
(*Function)
evaluateLeaf
3 (0.08%)
of 122 (3.25%)
N17->N60
122
N17->N66
8
N18->N5
13
N18->N16
9
N36
os
openFileNolog
0 of 377 (10.04%)
N18->N36
377
N19
syscall
RawSyscall6
6 (0.16%)
of 622 (16.57%)
N19->N7
616
N20
codegen
(*Function)
createSteps
7 (0.19%)
of 273 (7.27%)
N20->N5
10
N20->N8
27
N20->N16
44
N20->N22
18
N21
syscall
Syscall
3 (0.08%)
of 365 (9.72%)
N21->N19
328
N21->N62
12
N22->N1
95
N23
fs
Walk
0 of 310 (8.26%)
N23->N5
4
N23->N8
5
N23->N21
161
N48
syscall
Open
0 of 303 (8.07%)
N23->N48
86
(inline)
N24
ast
parseInstruction
4 (0.11%)
of 427 (11.37%)
N24->N5
7
N24->N8
5
N24->N15
174
N27
ast
parseKeyword
0 of 301 (8.02%)
N24->N27
301
N74
runtime
adjustframe
20 (0.53%)
of 190 (5.06%)
N25->N74
190
N78
runtime
(*unwinder)
next
9 (0.24%)
of 158 (4.21%)
N25->N78
157
N26->N8
25
N38
token
List
Instructions
17 (0.45%)
of 453 (12.07%)
N26->N38
453
N27->N5
14
N79
ast
block
0 of 126 (3.36%)
N27->N79
120
N28->N5
9
N28->N17
74
N51
core
(*Function)
decompose
8 (0.21%)
of 109 (2.90%)
N28->N51
84
N28->N66
4
N29
os
ignoringEINTR
0 of 267 (7.11%)
N29->N48
217
(inline)
N30
runtime
pcvalue
63 (1.68%)
of 178 (4.74%)
N61
runtime
step
68 (1.81%)
of 81 (2.16%)
N30->N61
76
N31->N16
106
N47
token
List
Split
7 (0.19%)
of 140 (3.73%)
N31->N47
110
N32->N5
14
N32->N20
273
N59
codegen
(*Function)
execute
7 (0.19%)
of 87 (2.32%)
N32->N59
87
N33
compiler
Compile
2 (0.053%)
of 256 (6.82%)
N58
scanner
Scan
5 (0.13%)
of 131 (3.49%)
N33->N58
131
N76
core
(*Function)
Variants
1 (0.027%)
of 73 (1.94%)
N33->N76
73
N49
runtime
lock
1 (0.027%)
of 72 (1.92%)
N34->N49
9
(inline)
N34->N70
11
(inline)
N35->N49
3
(inline)
N35->N70
3
(inline)
N36->N29
217
(inline)
N37
os
newFile
5 (0.13%)
of 160 (4.26%)
N36->N37
160
N37->N5
17
N37->N21
59
N37->N70
3
(inline)
N38->N22
13
N38->N24
427
N39
scanner
(*scanner)
queueDirectory
1 (0.027%)
of 331 (8.82%)
N39->N23
310
N40
scanner
Scan
func1
0 of 255 (6.79%)
N40->N29
12
(inline)
N40->N39
233
N41
testing
(*B)
run1
func1
0 of 276 (7.35%)
N41->N33
256
N42
runtime
(*mcache)
refill
7 (0.19%)
of 182 (4.85%)
N42->N8
46
N42->N9
57
N42->N44
23
N43->N14
368
N45->N5
8
N45->N43
36
(inline)
N57
ssa
(*Block)
AddSuccessor
7 (0.19%)
of 66 (1.76%)
N45->N57
46
N47->N5
13
N47->N15
104
N47->N22
10
N72
syscall
openat
0 of 303 (8.07%)
N48->N72
303
N49->N12
8
N50
syscall
Syscall6
0 of 316 (8.42%)
N50->N19
294
N50->N62
6
N51->N16
7
N51->N17
82
N52->N29
38
(inline)
N52->N39
98
N53->N8
8
N53->N42
182
N54
core
(*Function)
evaluatePackageMember
2 (0.053%)
of 71 (1.89%)
N54->N5
7
N54->N17
21
N54->N22
7
N54->N66
6
N55->N5
18
N55->N66
10
N68
runtime
mapassign_faststr
8 (0.21%)
of 57 (1.52%)
N55->N68
25
N56
runtime
(*unwinder)
resolveInternal
31 (0.83%)
of 131 (3.49%)
N56->N30
100
N57->N5
7
N57->N22
6
N57->N68
18
N58->N5
12
N67
runtime
selectgo
38 (1.01%)
of 86 (2.29%)
N58->N67
86
N58->N68
8
N59->N5
14
N59->N22
13
N60->N5
16
N60->N54
53
N60->N66
16
N63
scanner
scanSignature
7 (0.19%)
of 154 (4.10%)
N63->N47
30
N65
core
NewFunction
0 of 117 (3.12%)
N63->N65
117
(inline)
N64
runtime
(*stkframe)
getStackMap
42 (1.12%)
of 138 (3.68%)
N64->N30
78
N65->N5
19
N65->N8
70
N65->N16
20
N66->N22
5
N67->N49
12
(inline)
N67->N70
14
(inline)
N68->N1
32
N69->N63
152
N70->N12
9
N72->N1
11
N72->N8
10
N72->N50
272
N73->N16
33
N74->N64
138
N75
ssa
(*IR)
ComputeUsers
16 (0.43%)
of 79 (2.10%)
N75->N5
9
N75->N22
45
N76->N5
10
N76->N16
14
N77->N75
79
N78->N56
118
N79->N26
125
N80->N13
389