pprof

tests.test samples
File: tests.test
Build ID: a8f1019f707d60417bcfa237460769131865f9cf
Type: samples
Time: 2026-09-13 10:43:01 UTC
Duration: 23.31s, Total samples = 7153
Showing nodes accounting for 2852, 39.87% of 7153 total
Dropped 733 nodes (cum <= 35)
Dropped 114 edges (freq <= 7)
Showing top 80 nodes out of 331
See https://git.io/JfYMW for how to read the graph
Save options as
Delete config
tests.test N1 sync (*WaitGroup) Go func1 18 (0.25%) of 5781 (80.82%) N5 scanner (*scanner) scanFile 3 (0.042%) of 1647 (23.03%) N1->N5 1647 N7 compiler parallel-range1 1 5 (0.07%) of 4063 (56.80%) N1->N7 4063 N2 runtime mallocgc 56 (0.78%) of 1214 (16.97%) N6 runtime newstack 9 (0.13%) of 1046 (14.62%) N2->N6 401 N22 runtime (*mcache) nextFree 7 (0.098%) of 365 (5.10%) N2->N22 102 N24 runtime mallocgcSmallScanNoHeaderSC5 71 (0.99%) of 239 (3.34%) N2->N24 46 N52 runtime mallocgcSmallScanNoHeader 41 (0.57%) of 317 (4.43%) N2->N52 317 N55 runtime memclrNoHeapPointers 118 (1.65%) N2->N55 35 N74 runtime mallocgcSmallScanNoHeaderSC4 59 (0.82%) of 96 (1.34%) N2->N74 62 N3 core (*Function) Compile 1 (0.014%) of 3036 (42.44%) N8 core (*Function) compileAST 6 (0.084%) of 1662 (23.24%) N3->N8 1662 (inline) N29 ast Parse 3 (0.042%) of 599 (8.37%) N3->N29 599 N32 core (*Function) optimize 6 (0.084%) of 437 (6.11%) N3->N32 437 N51 core (*Function) composeStruct 8 (0.11%) of 271 (3.79%) N3->N51 271 N4 core (*Function) compileASTNode 12 (0.17%) of 1657 (23.17%) N18 core (*Function) compileIf 0 of 703 (9.83%) N4->N18 703 N28 core (*Function) compileLoop 4 (0.056%) of 626 (8.75%) N4->N28 626 N39 ssa (*IR) Append 3 (0.042%) of 147 (2.06%) N4->N39 18 N41 core (*Function) compileReturn 8 (0.11%) of 355 (4.96%) N4->N41 355 N70 core (*Function) define 7 (0.098%) of 432 (6.04%) N4->N70 432 N11 runtime makeslice 37 (0.52%) of 400 (5.59%) N5->N11 21 N12 expression Parse 30 (0.42%) of 450 (6.29%) N5->N12 14 N20 fs ReadFile 6 (0.084%) of 931 (13.02%) N5->N20 931 N78 token Tokenize 60 (0.84%) of 188 (2.63%) N5->N78 188 N79 scanner (*scanner) queueDirectory 1 (0.014%) of 332 (4.64%) N5->N79 163 N17 runtime copystack 8 (0.11%) of 953 (13.32%) N6->N17 953 N67 runtime findfunc 112 (1.57%) of 123 (1.72%) N6->N67 21 N7->N3 3036 N13 codegen (*Function) CompileToAssembly 4 (0.056%) of 1014 (14.18%) N7->N13 1014 N8->N4 1657 N9 core (*Function) evaluateRight 2 (0.028%) of 659 (9.21%) N15 core (*Function) evaluate 11 (0.15%) of 656 (9.17%) N9->N15 631 N9->N39 16 N10 runtime systemstack 6 (0.084%) of 383 (5.35%) N57 runtime (*unwinder) next 11 (0.15%) of 389 (5.44%) N10->N57 7 N58 runtime wakep 3 (0.042%) of 299 (4.18%) N10->N58 62 N71 runtime lock 1 (0.014%) of 124 (1.73%) N10->N71 24 N11->N2 331 N11->N6 32 N12->N6 110 N12->N11 29 N12->N24 103 N68 expression handleGroupEnd 8 (0.11%) of 180 (2.52%) N12->N68 180 N35 codegen (*Function) execute 16 (0.22%) of 288 (4.03%) N13->N35 288 N54 slices Backward[go shape []*git urbach dev/cli/q/src/codegen Step,go shape *uint8] func1 4 (0.056%) of 355 (4.96%) N13->N54 355 (inline) N61 codegen createSteps 15 (0.21%) of 209 (2.92%) N13->N61 209 N14 linux Syscall6 722 (10.09%) N15->N9 200 N21 core (*Function) evaluateCall 12 (0.17%) of 432 (6.04%) N15->N21 332 N15->N39 31 N40 core (*Function) evaluateLeaf 5 (0.07%) of 424 (5.93%) N15->N40 424 N16 runtime futex 378 (5.28%) N17->N57 382 N77 runtime adjustframe 41 (0.57%) of 456 (6.37%) N17->N77 456 N18->N8 336 (inline) N43 core (*Function) deleteResources 14 (0.2%) of 221 (3.09%) N18->N43 27 N50 core (*Function) compileCondition 3 (0.042%) of 324 (4.53%) N18->N50 292 N19 runtime pcvalue 224 (3.13%) of 460 (6.43%) N53 runtime step 162 (2.26%) of 188 (2.63%) N19->N53 159 N20->N11 30 N33 os openFileNolog 1 (0.014%) of 597 (8.35%) N20->N33 597 N21->N15 45 N66 core (*Function) evaluateAll 2 (0.028%) of 322 (4.50%) N21->N66 250 N22->N6 30 N49 runtime (*mcache) refill 8 (0.11%) of 311 (4.35%) N22->N49 311 N23 runtime growslice 48 (0.67%) of 234 (3.27%) N23->N2 144 N24->N6 57 N24->N22 79 N25 syscall openat 2 (0.028%) of 495 (6.92%) N25->N2 212 N25->N6 9 N26 syscall RawSyscall6 4 (0.056%) of 695 (9.72%) N25->N26 249 N26->N14 691 N27 runtime mcall 2 (0.028%) of 623 (8.71%) N38 runtime schedule 19 (0.27%) of 534 (7.47%) N27->N38 534 N28->N8 419 (inline) N29->N6 8 N29->N11 32 N44 ast parseInstruction 2 (0.028%) of 569 (7.95%) N29->N44 569 N30 runtime mapaccess2_faststr 35 (0.49%) of 232 (3.24%) N30->N6 47 N31 runtime mapassign_faststr 36 (0.5%) of 264 (3.69%) N31->N2 106 N32->N43 33 N62 runtime mapassign 25 (0.35%) of 109 (1.52%) N32->N62 7 N73 slices Backward[go shape []git urbach dev/cli/q/src/ssa Value,go shape interface { AddUser; Equals bool; Inputs []git urbach dev/cli/q/src/ssa Value; IsPure bool; RemoveUser; Replace; String string; Type git urbach dev/cli/q/src/types Type; Users []git urbach dev/cli/q/src/ssa Value }] func1 20 (0.28%) of 158 (2.21%) N32->N73 85 (inline) N75 ssa (*IR) ComputeUsers 60 (0.84%) of 169 (2.36%) N32->N75 169 N34 runtime newobject 12 (0.17%) of 169 (2.36%) N33->N34 8 N37 syscall Syscall 4 (0.056%) of 437 (6.11%) N33->N37 71 N60 os ignoringEINTR 0 of 469 (6.56%) N33->N60 422 (inline) N34->N2 157 N35->N6 62 N35->N11 12 N35->N23 32 N36 ssa (*Block) AddSuccessor 1 (0.014%) of 366 (5.12%) N36->N23 16 N46 ssa mergeIdentifiers 8 (0.11%) of 346 (4.84%) N36->N46 346 N37->N26 406 N38->N58 204 N76 runtime findRunnable 19 (0.27%) of 272 (3.80%) N38->N76 272 N39->N23 13 N39->N73 73 (inline) N40->N6 186 N40->N39 24 N40->N62 8 N63 core (*Function) evaluateIdentifier 15 (0.21%) of 357 (4.99%) N40->N63 357 N41->N43 161 N41->N66 128 N42 ast parseKeyword 3 (0.042%) of 396 (5.54%) N42->N12 66 N69 expression NewList 3 (0.042%) of 215 (3.01%) N42->N69 167 N80 ast block 1 (0.014%) of 302 (4.22%) N42->N80 302 N43->N11 13 N43->N30 73 N44->N12 245 N44->N42 396 N45 testing (*B) run1 func1 0 of 429 (6.00%) N47 compiler Compile 3 (0.042%) of 374 (5.23%) N45->N47 374 N46->N11 9 N46->N30 24 N46->N31 145 N46->N34 21 N65 scanner Scan 6 (0.084%) of 161 (2.25%) N47->N65 161 N48 fs Walk 0 of 318 (4.45%) N48->N25 74 N48->N37 150 N49->N6 62 N49->N10 99 N49->N55 52 N50->N9 94 N50->N36 206 N51->N2 161 N51->N11 11 N51->N31 15 N51->N34 18 N51->N39 13 N51->N62 24 N52->N22 126 N52->N55 24 N54->N6 30 N54->N23 23 N56 runtime (*unwinder) resolveInternal 65 (0.91%) of 312 (4.36%) N56->N19 247 N57->N56 280 N57->N67 93 N58->N16 257 N59 runtime (*stkframe) getStackMap 95 (1.33%) of 350 (4.89%) N59->N19 206 N60->N25 421 N61->N11 100 N61->N34 8 N61->N62 49 N62->N2 22 N63->N30 69 N64 core (*Function) evaluatePackageMember 4 (0.056%) of 267 (3.73%) N63->N64 258 N64->N9 201 N64->N30 32 N65->N30 21 N65->N31 57 N65->N34 7 N66->N9 309 N66->N11 11 N68->N12 22 N68->N24 67 N68->N69 60 N69->N11 45 N72 token List Split 8 (0.11%) of 205 (2.87%) N69->N72 168 N70->N9 325 N70->N31 9 N71->N16 7 N72->N12 154 N72->N23 13 N72->N34 14 N74->N22 25 N75->N23 65 N76->N71 9 (inline) N77->N59 350 N78->N11 43 N79->N48 318 N80->N29 302