profiler-md 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.mjs +5331 -2044
- package/dist/index.d.mts +738 -229
- package/dist/index.js +2 -2
- package/docs/formats/collapsed.md +12 -0
- package/docs/formats/jfr.md +16 -0
- package/docs/formats/jsc-heap-snapshot.md +2 -2
- package/docs/languages/c.md +31 -7
- package/docs/languages/cpp.md +160 -0
- package/docs/languages/csharp.md +52 -0
- package/docs/languages/elixir.md +46 -0
- package/docs/languages/erlang.md +46 -0
- package/docs/languages/fsharp.md +52 -0
- package/docs/languages/go.md +11 -6
- package/docs/languages/java.md +110 -57
- package/docs/languages/javascript.md +69 -12
- package/docs/languages/julia.md +54 -0
- package/docs/languages/kotlin.md +170 -0
- package/docs/languages/php.md +64 -20
- package/docs/languages/python.md +13 -68
- package/docs/languages/ruby.md +17 -27
- package/docs/languages/typescript.md +276 -0
- package/examples/output/c.gperftools.cpu.base.pprof.md +324 -0
- package/examples/output/c.gperftools.cpu.current.pprof.md +271 -0
- package/examples/output/c.gperftools.cpu.diff.pprof.md +98 -0
- package/examples/output/c.gperftools.heap.base.pprof.md +362 -0
- package/examples/output/c.gperftools.heap.current.pprof.md +362 -0
- package/examples/output/c.gperftools.heap.diff.pprof.md +28 -0
- package/examples/output/cpp.gperftools.cpu.base.pprof.md +557 -0
- package/examples/output/cpp.gperftools.cpu.current.pprof.md +573 -0
- package/examples/output/cpp.gperftools.cpu.diff.pprof.md +122 -0
- package/examples/output/cpp.gperftools.heap.base.pprof.md +67 -0
- package/examples/output/cpp.gperftools.heap.current.pprof.md +67 -0
- package/examples/output/cpp.gperftools.heap.diff.pprof.md +19 -0
- package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +411 -0
- package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +412 -0
- package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +122 -0
- package/examples/output/elixir.eflambe.cpu.base.collapsed.md +399 -0
- package/examples/output/elixir.eflambe.cpu.current.collapsed.md +398 -0
- package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +92 -0
- package/examples/output/erlang.eflambe.cpu.base.collapsed.md +147 -0
- package/examples/output/erlang.eflambe.cpu.current.collapsed.md +147 -0
- package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +18 -0
- package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +324 -0
- package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +314 -0
- package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +119 -0
- package/examples/output/go.pprof.block.base.pprof.md +86 -0
- package/examples/output/go.pprof.block.current.pprof.md +83 -0
- package/examples/output/go.pprof.block.diff.pprof.md +42 -0
- package/examples/output/go.pprof.cpu.base.pprof.md +81 -0
- package/examples/output/go.pprof.cpu.current.pprof.md +70 -0
- package/examples/output/go.pprof.cpu.diff.pprof.md +52 -0
- package/examples/output/go.pprof.goroutine.base.pprof.md +43 -0
- package/examples/output/go.pprof.goroutine.current.pprof.md +43 -0
- package/examples/output/go.pprof.goroutine.diff.pprof.md +13 -0
- package/examples/output/go.pprof.heap-alloc.base.pprof.md +154 -0
- package/examples/output/go.pprof.heap-alloc.current.pprof.md +146 -0
- package/examples/output/go.pprof.heap-alloc.diff.pprof.md +67 -0
- package/examples/output/go.pprof.heap.base.pprof.md +154 -0
- package/examples/output/go.pprof.heap.current.pprof.md +146 -0
- package/examples/output/go.pprof.heap.diff.pprof.md +67 -0
- package/examples/output/go.pprof.mutex.base.pprof.md +55 -0
- package/examples/output/go.pprof.mutex.current.pprof.md +41 -0
- package/examples/output/go.pprof.mutex.diff.pprof.md +31 -0
- package/examples/output/go.pprof.threadcreate.base.pprof.md +55 -0
- package/examples/output/go.pprof.threadcreate.current.pprof.md +55 -0
- package/examples/output/go.pprof.threadcreate.diff.pprof.md +19 -0
- package/examples/output/java.async-profiler.all.base.jfr.md +1071 -0
- package/examples/output/java.async-profiler.all.current.jfr.md +1007 -0
- package/examples/output/java.async-profiler.all.diff.jfr.md +268 -0
- package/examples/output/java.async-profiler.alloc.base.jfr.md +425 -0
- package/examples/output/java.async-profiler.alloc.current.jfr.md +413 -0
- package/examples/output/java.async-profiler.alloc.diff.jfr.md +99 -0
- package/examples/output/java.async-profiler.cpu.base.collapsed.md +367 -0
- package/examples/output/java.async-profiler.cpu.base.jfr.md +485 -0
- package/examples/output/java.async-profiler.cpu.current.collapsed.md +355 -0
- package/examples/output/java.async-profiler.cpu.current.jfr.md +488 -0
- package/examples/output/java.async-profiler.cpu.diff.collapsed.md +117 -0
- package/examples/output/java.async-profiler.cpu.diff.jfr.md +118 -0
- package/examples/output/java.async-profiler.live.base.jfr.md +697 -0
- package/examples/output/java.async-profiler.live.current.jfr.md +684 -0
- package/examples/output/java.async-profiler.live.diff.jfr.md +191 -0
- package/examples/output/java.async-profiler.lock.base.jfr.md +140 -0
- package/examples/output/java.async-profiler.lock.current.jfr.md +108 -0
- package/examples/output/java.async-profiler.lock.diff.jfr.md +44 -0
- package/examples/output/java.async-profiler.nativemem.base.jfr.md +222 -0
- package/examples/output/java.async-profiler.nativemem.current.jfr.md +222 -0
- package/examples/output/java.async-profiler.nativemem.diff.jfr.md +65 -0
- package/examples/output/java.async-profiler.wall.base.jfr.md +400 -0
- package/examples/output/java.async-profiler.wall.current.jfr.md +420 -0
- package/examples/output/java.async-profiler.wall.diff.jfr.md +94 -0
- package/examples/output/java.jdk.all.base.jfr.md +1024 -0
- package/examples/output/java.jdk.all.current.jfr.md +1010 -0
- package/examples/output/java.jdk.all.diff.jfr.md +311 -0
- package/examples/output/java.jdk.alloc.base.jfr.md +1024 -0
- package/examples/output/java.jdk.alloc.current.jfr.md +1046 -0
- package/examples/output/java.jdk.alloc.diff.jfr.md +312 -0
- package/examples/output/java.jdk.cpu.base.jfr.md +1023 -0
- package/examples/output/java.jdk.cpu.current.jfr.md +1039 -0
- package/examples/output/java.jdk.cpu.diff.jfr.md +285 -0
- package/examples/output/java.jdk.live.base.jfr.md +1029 -0
- package/examples/output/java.jdk.live.current.jfr.md +1035 -0
- package/examples/output/java.jdk.live.diff.jfr.md +289 -0
- package/examples/output/java.jdk.lock.base.jfr.md +1040 -0
- package/examples/output/java.jdk.lock.current.jfr.md +1051 -0
- package/examples/output/java.jdk.lock.diff.jfr.md +339 -0
- package/examples/output/javascript.bun.base.cpuprofile.md +73 -0
- package/examples/output/javascript.bun.base.heapsnapshot.md +608 -0
- package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +480 -0
- package/examples/output/javascript.bun.current.cpuprofile.md +73 -0
- package/examples/output/javascript.bun.current.heapsnapshot.md +608 -0
- package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +480 -0
- package/examples/output/javascript.bun.diff.cpuprofile.md +54 -0
- package/examples/output/javascript.bun.diff.heapsnapshot.md +48 -0
- package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +62 -0
- package/examples/output/javascript.chrome.base.cpuprofile.md +163 -0
- package/examples/output/javascript.chrome.base.heapprofile.md +32 -0
- package/examples/output/javascript.chrome.base.heapsnapshot.md +649 -0
- package/examples/output/javascript.chrome.current.cpuprofile.md +149 -0
- package/examples/output/javascript.chrome.current.heapprofile.md +32 -0
- package/examples/output/javascript.chrome.current.heapsnapshot.md +647 -0
- package/examples/output/javascript.chrome.diff.cpuprofile.md +65 -0
- package/examples/output/javascript.chrome.diff.heapprofile.md +50 -0
- package/examples/output/javascript.chrome.diff.heapsnapshot.md +73 -0
- package/examples/output/javascript.deno.base.cpuprofile.md +122 -0
- package/examples/output/javascript.deno.current.cpuprofile.md +114 -0
- package/examples/output/javascript.deno.diff.cpuprofile.md +66 -0
- package/examples/output/javascript.node.base.cpuprofile.md +136 -0
- package/examples/output/javascript.node.base.heapprofile.md +56 -0
- package/examples/output/javascript.node.base.heapsnapshot.md +660 -0
- package/examples/output/javascript.node.current.cpuprofile.md +119 -0
- package/examples/output/javascript.node.current.heapprofile.md +52 -0
- package/examples/output/javascript.node.current.heapsnapshot.md +660 -0
- package/examples/output/javascript.node.diff.cpuprofile.md +70 -0
- package/examples/output/javascript.node.diff.heapprofile.md +34 -0
- package/examples/output/javascript.node.diff.heapsnapshot.md +39 -0
- package/examples/output/javascript.pprof.cpu.base.pprof.md +104 -0
- package/examples/output/javascript.pprof.cpu.current.pprof.md +120 -0
- package/examples/output/javascript.pprof.cpu.diff.pprof.md +63 -0
- package/examples/output/javascript.pprof.heap.base.pprof.md +86 -0
- package/examples/output/javascript.pprof.heap.current.pprof.md +57 -0
- package/examples/output/javascript.pprof.heap.diff.pprof.md +42 -0
- package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +388 -0
- package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +378 -0
- package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +122 -0
- package/examples/output/julia.pprof-jl.alloc.base.pprof.md +124 -0
- package/examples/output/julia.pprof-jl.alloc.current.pprof.md +126 -0
- package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +30 -0
- package/examples/output/julia.pprof-jl.cpu.base.pprof.md +177 -0
- package/examples/output/julia.pprof-jl.cpu.current.pprof.md +179 -0
- package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +64 -0
- package/examples/output/kotlin.async-profiler.all.base.jfr.md +920 -0
- package/examples/output/kotlin.async-profiler.all.current.jfr.md +925 -0
- package/examples/output/kotlin.async-profiler.all.diff.jfr.md +247 -0
- package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +467 -0
- package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +473 -0
- package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +122 -0
- package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +371 -0
- package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +472 -0
- package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +370 -0
- package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +445 -0
- package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +124 -0
- package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +125 -0
- package/examples/output/kotlin.async-profiler.live.base.jfr.md +934 -0
- package/examples/output/kotlin.async-profiler.live.current.jfr.md +917 -0
- package/examples/output/kotlin.async-profiler.live.diff.jfr.md +245 -0
- package/examples/output/kotlin.async-profiler.lock.base.jfr.md +1 -0
- package/examples/output/kotlin.async-profiler.lock.current.jfr.md +1 -0
- package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +1 -0
- package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +234 -0
- package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +234 -0
- package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +65 -0
- package/examples/output/kotlin.async-profiler.wall.base.jfr.md +452 -0
- package/examples/output/kotlin.async-profiler.wall.current.jfr.md +457 -0
- package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +125 -0
- package/examples/output/kotlin.jdk.all.base.jfr.md +1442 -0
- package/examples/output/kotlin.jdk.all.current.jfr.md +1343 -0
- package/examples/output/kotlin.jdk.all.diff.jfr.md +392 -0
- package/examples/output/kotlin.jdk.alloc.base.jfr.md +1418 -0
- package/examples/output/kotlin.jdk.alloc.current.jfr.md +1389 -0
- package/examples/output/kotlin.jdk.alloc.diff.jfr.md +383 -0
- package/examples/output/kotlin.jdk.cpu.base.jfr.md +1406 -0
- package/examples/output/kotlin.jdk.cpu.current.jfr.md +1374 -0
- package/examples/output/kotlin.jdk.cpu.diff.jfr.md +380 -0
- package/examples/output/kotlin.jdk.live.base.jfr.md +1378 -0
- package/examples/output/kotlin.jdk.live.current.jfr.md +1311 -0
- package/examples/output/kotlin.jdk.live.diff.jfr.md +381 -0
- package/examples/output/kotlin.jdk.lock.base.jfr.md +1427 -0
- package/examples/output/kotlin.jdk.lock.current.jfr.md +1374 -0
- package/examples/output/kotlin.jdk.lock.diff.jfr.md +386 -0
- package/examples/output/php.excimer.wall.base.speedscope.json.md +25 -0
- package/examples/output/php.excimer.wall.current.speedscope.json.md +25 -0
- package/examples/output/php.excimer.wall.diff.speedscope.json.md +29 -0
- package/examples/output/python.py-spy.cpu.base.collapsed.md +526 -0
- package/examples/output/python.py-spy.cpu.base.speedscope.json.md +37 -0
- package/examples/output/python.py-spy.cpu.current.collapsed.md +514 -0
- package/examples/output/python.py-spy.cpu.current.speedscope.json.md +37 -0
- package/examples/output/python.py-spy.cpu.diff.collapsed.md +122 -0
- package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +31 -0
- package/examples/output/python.py-spy.wall.base.collapsed.md +527 -0
- package/examples/output/python.py-spy.wall.current.collapsed.md +518 -0
- package/examples/output/python.py-spy.wall.diff.collapsed.md +122 -0
- package/examples/output/ruby.rbspy.cpu.base.collapsed.md +90 -0
- package/examples/output/ruby.rbspy.cpu.base.pprof.md +105 -0
- package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +105 -0
- package/examples/output/ruby.rbspy.cpu.current.collapsed.md +90 -0
- package/examples/output/ruby.rbspy.cpu.current.pprof.md +115 -0
- package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +115 -0
- package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +32 -0
- package/examples/output/ruby.rbspy.cpu.diff.pprof.md +44 -0
- package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +44 -0
- package/examples/output/rust.pprof-rs.cpu.base.pprof.md +60 -0
- package/examples/output/rust.pprof-rs.cpu.current.pprof.md +60 -0
- package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +24 -0
- package/package.json +27 -20
- package/readme.md +201 -87
- package/examples/bun.cpuprofile.md +0 -475
- package/examples/deno.cpuprofile.md +0 -481
- package/examples/jsc-heap-snapshot.json.md +0 -509
- package/examples/node.cpuprofile.md +0 -485
- package/examples/node.heapprofile.md +0 -281
- package/examples/node.heapsnapshot.md +0 -694
- package/examples/node.pprof.md +0 -441
- package/examples/node.speedscope.json.md +0 -408
- package/examples/rust.pprof.md +0 -477
- package/examples/webkit-timeline-recording.json.md +0 -434
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Sampling profile
|
|
2
|
+
|
|
3
|
+
Collected 19,789 samples.
|
|
4
|
+
|
|
5
|
+
| Category | % | Samples |
|
|
6
|
+
| -------- | ----: | ------: |
|
|
7
|
+
| stdlib | 99.8% | 19,758 |
|
|
8
|
+
| ours | 0.2% | 31 |
|
|
9
|
+
|
|
10
|
+
## Hottest functions
|
|
11
|
+
|
|
12
|
+
### Self samples
|
|
13
|
+
|
|
14
|
+
Functions ranked by samples taken directly in the function body, excluding callees.
|
|
15
|
+
|
|
16
|
+
| % | Samples | Function | Location |
|
|
17
|
+
| ----: | ------: | -------------------- | --------- |
|
|
18
|
+
| 4.3% | 855 | `do_encode/2` | `json` |
|
|
19
|
+
| 2.5% | 485 | `do_encode_map/2` | `json` |
|
|
20
|
+
| 0.1% | 15 | `encode/1` | `profile` |
|
|
21
|
+
| 0.1% | 10 | `-run/1-fun-0-/2` | `profile` |
|
|
22
|
+
| <0.1% | 5 | `encode/1` | `json` |
|
|
23
|
+
| <0.1% | 5 | `encode/2` | `json` |
|
|
24
|
+
| <0.1% | 5 | `iolist_to_binary/1` | `erlang` |
|
|
25
|
+
| <0.1% | 5 | `decode/1` | `profile` |
|
|
26
|
+
| <0.1% | 2 | `seq/2` | `lists` |
|
|
27
|
+
| <0.1% | 2 | `seq_loop/3` | `lists` |
|
|
28
|
+
| <0.1% | 1 | `run/1` | `profile` |
|
|
29
|
+
|
|
30
|
+
#### Callers
|
|
31
|
+
|
|
32
|
+
Callers ranked by contribution to each function's self samples. Inlining can make caller attribution imprecise.
|
|
33
|
+
|
|
34
|
+
##### `do_encode/2` (`json`)
|
|
35
|
+
|
|
36
|
+
| % | Samples | Caller | Location |
|
|
37
|
+
| ---: | ------: | ---------- | --------- |
|
|
38
|
+
| 0.6% | 5 | `encode/1` | `profile` |
|
|
39
|
+
|
|
40
|
+
##### `do_encode_map/2` (`json`)
|
|
41
|
+
|
|
42
|
+
| % | Samples | Caller | Location |
|
|
43
|
+
| ----: | ------: | ---------- | --------- |
|
|
44
|
+
| 26.8% | 130 | `encode/1` | `profile` |
|
|
45
|
+
|
|
46
|
+
##### `encode/1` (`profile`)
|
|
47
|
+
|
|
48
|
+
| % | Samples | Caller | Location |
|
|
49
|
+
| -----: | ------: | ----------------- | --------- |
|
|
50
|
+
| 100.0% | 15 | `-run/1-fun-0-/2` | `profile` |
|
|
51
|
+
|
|
52
|
+
##### `encode/1` (`json`)
|
|
53
|
+
|
|
54
|
+
| % | Samples | Caller | Location |
|
|
55
|
+
| -----: | ------: | ---------- | --------- |
|
|
56
|
+
| 100.0% | 5 | `encode/1` | `profile` |
|
|
57
|
+
|
|
58
|
+
##### `encode/2` (`json`)
|
|
59
|
+
|
|
60
|
+
| % | Samples | Caller | Location |
|
|
61
|
+
| -----: | ------: | ---------- | --------- |
|
|
62
|
+
| 100.0% | 5 | `encode/1` | `profile` |
|
|
63
|
+
|
|
64
|
+
##### `iolist_to_binary/1` (`erlang`)
|
|
65
|
+
|
|
66
|
+
| % | Samples | Caller | Location |
|
|
67
|
+
| -----: | ------: | ---------- | --------- |
|
|
68
|
+
| 100.0% | 5 | `encode/1` | `profile` |
|
|
69
|
+
|
|
70
|
+
##### `seq/2` (`lists`)
|
|
71
|
+
|
|
72
|
+
| % | Samples | Caller | Location |
|
|
73
|
+
| -----: | ------: | ------- | --------- |
|
|
74
|
+
| 100.0% | 2 | `run/1` | `profile` |
|
|
75
|
+
|
|
76
|
+
##### `seq_loop/3` (`lists`)
|
|
77
|
+
|
|
78
|
+
| % | Samples | Caller | Location |
|
|
79
|
+
| -----: | ------: | ------- | --------- |
|
|
80
|
+
| 100.0% | 2 | `run/1` | `profile` |
|
|
81
|
+
|
|
82
|
+
### Total samples
|
|
83
|
+
|
|
84
|
+
Functions ranked by total samples taken in the function and all its callees.
|
|
85
|
+
|
|
86
|
+
| % | Samples | Function | Location |
|
|
87
|
+
| ----: | ------: | -------------------- | --------- |
|
|
88
|
+
| 49.5% | 9,794 | `-run/1-fun-0-/2` | `profile` |
|
|
89
|
+
| 49.4% | 9,784 | `encode/1` | `profile` |
|
|
90
|
+
| 49.3% | 9,749 | `do_encode_map/2` | `json` |
|
|
91
|
+
| 4.6% | 920 | `do_encode/2` | `json` |
|
|
92
|
+
| <0.1% | 5 | `run/1` | `profile` |
|
|
93
|
+
| <0.1% | 5 | `encode/1` | `json` |
|
|
94
|
+
| <0.1% | 5 | `encode/2` | `json` |
|
|
95
|
+
| <0.1% | 5 | `iolist_to_binary/1` | `erlang` |
|
|
96
|
+
| <0.1% | 5 | `decode/1` | `profile` |
|
|
97
|
+
| <0.1% | 2 | `seq/2` | `lists` |
|
|
98
|
+
| <0.1% | 2 | `seq_loop/3` | `lists` |
|
|
99
|
+
|
|
100
|
+
#### Callees
|
|
101
|
+
|
|
102
|
+
Callees ranked by contribution to each function's total samples. Inlining can make callee attribution imprecise, and percentages can sum past 100% when callees recurse.
|
|
103
|
+
|
|
104
|
+
##### `-run/1-fun-0-/2` (`profile`)
|
|
105
|
+
|
|
106
|
+
| % | Samples | Callee | Location |
|
|
107
|
+
| ----: | ------: | ---------- | --------- |
|
|
108
|
+
| 99.9% | 9,784 | `encode/1` | `profile` |
|
|
109
|
+
|
|
110
|
+
##### `encode/1` (`profile`)
|
|
111
|
+
|
|
112
|
+
| % | Samples | Callee | Location |
|
|
113
|
+
| ----: | ------: | -------------------- | -------- |
|
|
114
|
+
| 99.6% | 9,749 | `do_encode_map/2` | `json` |
|
|
115
|
+
| 0.1% | 5 | `encode/1` | `json` |
|
|
116
|
+
| 0.1% | 5 | `encode/2` | `json` |
|
|
117
|
+
| 0.1% | 5 | `do_encode/2` | `json` |
|
|
118
|
+
| 0.1% | 5 | `iolist_to_binary/1` | `erlang` |
|
|
119
|
+
|
|
120
|
+
##### `run/1` (`profile`)
|
|
121
|
+
|
|
122
|
+
| % | Samples | Callee | Location |
|
|
123
|
+
| ----: | ------: | ------------ | -------- |
|
|
124
|
+
| 40.0% | 2 | `seq/2` | `lists` |
|
|
125
|
+
| 40.0% | 2 | `seq_loop/3` | `lists` |
|
|
126
|
+
|
|
127
|
+
## Hottest call stacks
|
|
128
|
+
|
|
129
|
+
Call stacks ranked by samples taken in their leaf frame.
|
|
130
|
+
|
|
131
|
+
| % | Samples | Call stack |
|
|
132
|
+
| ----: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
133
|
+
| 20.7% | 4,105 | `do_encode_map/2` (`json`) ← `do_encode_map/2` ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
134
|
+
| 20.3% | 4,027 | `do_encode_map/2` (`json`) ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
135
|
+
| 3.1% | 607 | `do_encode_map/2` (`json`) ← `do_encode_map/2` ← `do_encode_map/2` ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
136
|
+
| 2.7% | 530 | `do_encode/2` (`json`) ← `do_encode_map/2` ← `do_encode_map/2` ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
137
|
+
| 1.4% | 273 | `do_encode/2` (`json`) ← `do_encode_map/2` ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
138
|
+
| 0.5% | 102 | `do_encode/2` (`json`) ← `do_encode_map/2` ← `do_encode_map/2` ← `do_encode_map/2` ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
139
|
+
| 0.5% | 95 | `do_encode_map/2` (`json`) ← `do_encode_map/2` ← `do_encode_map/2` ← `do_encode_map/2` ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
140
|
+
| 0.1% | 15 | `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
141
|
+
| 0.1% | 10 | `do_encode/2` (`json`) ← `do_encode_map/2` ← `do_encode_map/2` ← `do_encode_map/2` ← `do_encode_map/2` ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
142
|
+
| <0.1% | 5 | `encode/1` (`json`) ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
143
|
+
| <0.1% | 5 | `encode/2` (`json`) ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
144
|
+
| <0.1% | 5 | `do_encode/2` (`json`) ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
145
|
+
| <0.1% | 5 | `iolist_to_binary/1` (`erlang`) ← `encode/1` (`profile`) ← `-run/1-fun-0-/2` |
|
|
146
|
+
| <0.1% | 2 | `seq/2` (`lists`) ← `run/1` (`profile`) |
|
|
147
|
+
| <0.1% | 2 | `seq_loop/3` (`lists`) ← `run/1` (`profile`) |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Sampling profile diff
|
|
2
|
+
|
|
3
|
+
19,789 samples.
|
|
4
|
+
|
|
5
|
+
| Category | Change | Delta | % | Samples |
|
|
6
|
+
| -------- | -----: | ----: | ----: | ------: |
|
|
7
|
+
| stdlib | 0.0% | 0 | 99.8% | 19,758 |
|
|
8
|
+
| ours | 0.0% | 0 | 0.2% | 31 |
|
|
9
|
+
|
|
10
|
+
## Hottest functions
|
|
11
|
+
|
|
12
|
+
### Self samples
|
|
13
|
+
|
|
14
|
+
No function differed in samples taken directly in the function body, excluding callees.
|
|
15
|
+
|
|
16
|
+
### Total samples
|
|
17
|
+
|
|
18
|
+
No function differed in total samples taken in the function and all its callees.
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
# Sampling profile
|
|
2
|
+
|
|
3
|
+
Took 10.81s over 9,201 samples (1.2ms per sample).
|
|
4
|
+
|
|
5
|
+
| Category | % | Time | Samples |
|
|
6
|
+
| -------- | -----: | -----: | ------: |
|
|
7
|
+
| stdlib | 100.0% | 10.80s | 8,995 |
|
|
8
|
+
| ours | <0.1% | 5.4ms | 206 |
|
|
9
|
+
|
|
10
|
+
## Hottest functions
|
|
11
|
+
|
|
12
|
+
### Self time
|
|
13
|
+
|
|
14
|
+
Functions ranked by time spent directly in the function body, excluding callees.
|
|
15
|
+
|
|
16
|
+
| % | Time | Samples | Function | Location |
|
|
17
|
+
| ----: | -----: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
|
|
18
|
+
| 98.7% | 10.67s | 5,767 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
19
|
+
| 0.1% | 5.6ms | 81 | `MakeGenericType(Type[])` | `System.RuntimeType` |
|
|
20
|
+
| <0.1% | 4.0ms | 3 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
|
|
21
|
+
| <0.1% | 4.0ms | 3 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
|
|
22
|
+
| <0.1% | 2.6ms | 1 | `StartsWith(String, StringComparison)` | `System.String` |
|
|
23
|
+
| <0.1% | 1.4ms | 1,712 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
|
|
24
|
+
| <0.1% | 1.3ms | 1 | `ToArray()` | ``System.Collections.Generic.List`1[System.__Canon]`` |
|
|
25
|
+
| <0.1% | 1.3ms | 2 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
|
|
26
|
+
| <0.1% | 1.3ms | 1 | ``AddMany(IEnumerable`1<!0>)`` | ``Microsoft.FSharp.Core.CompilerServices.ListCollector`1[System.__Canon]`` |
|
|
27
|
+
| <0.1% | 0.1µs | 755 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` | `Microsoft.FSharp.Reflection.FSharpType` |
|
|
28
|
+
| <0.1% | <0.1µs | 13 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
|
|
29
|
+
| <0.1% | <0.1µs | 183 | `main(String[])` | `Profile` |
|
|
30
|
+
| <0.1% | <0.1µs | 4 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
|
|
31
|
+
| <0.1% | <0.1µs | 1 | `.ctor(String, RegexOptions, TimeSpan, CultureInfo)` | `System.Text.RegularExpressions.Regex` |
|
|
32
|
+
| <0.1% | <0.1µs | 2 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
|
|
33
|
+
| <0.1% | <0.1µs | 2 | ``ToArray(IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
|
|
34
|
+
| <0.1% | <0.1µs | 1 | `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` | `Argu.KeyValueParser` |
|
|
35
|
+
| <0.1% | <0.1µs | 2 | ``preComputeUnionCaseArgInfo(FSharpList`1<Type>, FSharpOption`1<HelpParam>, FSharpFunc`2<Unit, UnionArgInfo>, UnionCaseInfo)`` | `Argu.PreCompute` |
|
|
36
|
+
| <0.1% | <0.1µs | 1 | `parseCommandLinePartial(CliParseState, UnionArgInfo, CliParseResultAggregator)` | `Argu.CliParser` |
|
|
37
|
+
| <0.1% | <0.1µs | 1 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
|
|
38
|
+
|
|
39
|
+
#### Callers
|
|
40
|
+
|
|
41
|
+
Callers ranked by contribution to each function's self time. Inlining can make caller attribution imprecise.
|
|
42
|
+
|
|
43
|
+
##### `UNMANAGED_CODE_TIME` (`<unknown>`)
|
|
44
|
+
|
|
45
|
+
| % | Time | Samples | Caller | Location |
|
|
46
|
+
| ----: | ----: | ------: | -------------------------------------------------------- | -------------------------------------------------------- |
|
|
47
|
+
| 35.4% | 3.78s | 1,950 | `MakeGenericType(Type[])` | `System.RuntimeType` |
|
|
48
|
+
| 0.1% | 6.8ms | 4 | `main(String[])` | `Profile` |
|
|
49
|
+
| <0.1% | 4.0ms | 1 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
|
|
50
|
+
| <0.1% | 2.7ms | 2 | ``add(IComparer`1<!!0>, !!0, !!1, MapTree`2<!!0, !!1>)`` | `Microsoft.FSharp.Collections.MapTreeModule` |
|
|
51
|
+
| <0.1% | 2.7ms | 2 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
|
|
52
|
+
|
|
53
|
+
##### `MakeGenericType(Type[])` (`System.RuntimeType`)
|
|
54
|
+
|
|
55
|
+
| % | Time | Samples | Caller | Location |
|
|
56
|
+
| -----: | -----: | ------: | -------------------- | -------------------------------------------------------- |
|
|
57
|
+
| 100.0% | 5.6ms | 73 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
|
|
58
|
+
| <0.1% | <0.1µs | 3 | `main(String[])` | `Profile` |
|
|
59
|
+
|
|
60
|
+
##### `ToUnionParseResults()` (`Argu.CliParser+CliParseResultAggregator`)
|
|
61
|
+
|
|
62
|
+
| % | Time | Samples | Caller | Location |
|
|
63
|
+
| -----: | ----: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
64
|
+
| 100.0% | 4.0ms | 3 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
|
|
65
|
+
|
|
66
|
+
##### `u_Expr(InputState)` (`Microsoft.FSharp.Quotations.PatternsModule`)
|
|
67
|
+
|
|
68
|
+
| % | Time | Samples | Caller | Location |
|
|
69
|
+
| ----: | ----: | ------: | -------------------- | -------------------------------------------- |
|
|
70
|
+
| 33.2% | 1.3ms | 1 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
|
|
71
|
+
|
|
72
|
+
##### `StartsWith(String, StringComparison)` (`System.String`)
|
|
73
|
+
|
|
74
|
+
| % | Time | Samples | Caller | Location |
|
|
75
|
+
| -----: | ----: | ------: | ------------------------------------ | ------------------------------------------------- |
|
|
76
|
+
| 100.0% | 2.6ms | 1 | `TryGetPrefix(String, String&, !0&)` | ``Argu.Utils+PrefixDictionary`1[System.__Canon]`` |
|
|
77
|
+
|
|
78
|
+
##### `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`)
|
|
79
|
+
|
|
80
|
+
| % | Time | Samples | Caller | Location |
|
|
81
|
+
| ----: | ----: | ------: | ---------------- | --------- |
|
|
82
|
+
| <0.1% | 0.5µs | 1,691 | `main(String[])` | `Profile` |
|
|
83
|
+
|
|
84
|
+
##### `ToArray()` (``System.Collections.Generic.List`1[System.__Canon]``)
|
|
85
|
+
|
|
86
|
+
| % | Time | Samples | Caller | Location |
|
|
87
|
+
| -----: | ----: | ------: | ----------------------- | ----------------------------------------- |
|
|
88
|
+
| 100.0% | 1.3ms | 1 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
|
|
89
|
+
|
|
90
|
+
##### ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``)
|
|
91
|
+
|
|
92
|
+
| % | Time | Samples | Caller | Location |
|
|
93
|
+
| -----: | ----: | ------: | ---------------- | --------- |
|
|
94
|
+
| 100.0% | 1.3ms | 2 | `main(String[])` | `Profile` |
|
|
95
|
+
|
|
96
|
+
##### ``AddMany(IEnumerable`1<!0>)`` (``Microsoft.FSharp.Core.CompilerServices.ListCollector`1[System.__Canon]``)
|
|
97
|
+
|
|
98
|
+
| % | Time | Samples | Caller | Location |
|
|
99
|
+
| -----: | ----: | ------: | ----------------------- | ----------------------------------------- |
|
|
100
|
+
| 100.0% | 1.3ms | 1 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
|
|
101
|
+
|
|
102
|
+
##### `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`)
|
|
103
|
+
|
|
104
|
+
| % | Time | Samples | Caller | Location |
|
|
105
|
+
| -----: | -----: | ------: | -------------------------------------------------------------------- | ---------------------------------------- |
|
|
106
|
+
| 100.0% | <0.1µs | 13 | `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.FSharpExpr` |
|
|
107
|
+
|
|
108
|
+
##### `postProcess@648(UnionArgInfo)` (`Argu.PreCompute`)
|
|
109
|
+
|
|
110
|
+
| % | Time | Samples | Caller | Location |
|
|
111
|
+
| -----: | -----: | ------: | --------------------------------- | ----------------- |
|
|
112
|
+
| 100.0% | <0.1µs | 4 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
|
|
113
|
+
|
|
114
|
+
##### `.ctor(String, RegexOptions, TimeSpan, CultureInfo)` (`System.Text.RegularExpressions.Regex`)
|
|
115
|
+
|
|
116
|
+
| % | Time | Samples | Caller | Location |
|
|
117
|
+
| -----: | -----: | ------: | ---------- | ------------------------------------- |
|
|
118
|
+
| 100.0% | <0.1µs | 1 | `.cctor()` | `<StartupCode$Argu>.$Argu.PreCompute` |
|
|
119
|
+
|
|
120
|
+
##### `checkUnionArgInfo(UnionArgInfo)` (`Argu.PreCompute`)
|
|
121
|
+
|
|
122
|
+
| % | Time | Samples | Caller | Location |
|
|
123
|
+
| -----: | -----: | ------: | -------------- | ---------------------------------------------------------------- |
|
|
124
|
+
| 100.0% | <0.1µs | 2 | `Invoke(Unit)` | `<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]` |
|
|
125
|
+
|
|
126
|
+
##### ``ToArray(IEnumerable`1<!!0>)`` (`Microsoft.FSharp.Collections.SeqModule`)
|
|
127
|
+
|
|
128
|
+
| % | Time | Samples | Caller | Location |
|
|
129
|
+
| ----: | -----: | ------: | -------------- | ------------------------------------------------ |
|
|
130
|
+
| 35.4% | <0.1µs | 1 | `Invoke(Unit)` | `Argu.PreCompute+Helpers+groupedSwitchRegex@229` |
|
|
131
|
+
|
|
132
|
+
##### `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` (`Argu.KeyValueParser`)
|
|
133
|
+
|
|
134
|
+
| % | Time | Samples | Caller | Location |
|
|
135
|
+
| -----: | -----: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
136
|
+
| 100.0% | <0.1µs | 1 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
|
|
137
|
+
|
|
138
|
+
##### ``preComputeUnionCaseArgInfo(FSharpList`1<Type>, FSharpOption`1<HelpParam>, FSharpFunc`2<Unit, UnionArgInfo>, UnionCaseInfo)`` (`Argu.PreCompute`)
|
|
139
|
+
|
|
140
|
+
| % | Time | Samples | Caller | Location |
|
|
141
|
+
| -----: | -----: | ------: | ----------------------- | -------------------------------- |
|
|
142
|
+
| 100.0% | <0.1µs | 2 | `Invoke(UnionCaseInfo)` | `Argu.PreCompute+caseInfo@576-2` |
|
|
143
|
+
|
|
144
|
+
##### `parseCommandLinePartial(CliParseState, UnionArgInfo, CliParseResultAggregator)` (`Argu.CliParser`)
|
|
145
|
+
|
|
146
|
+
| % | Time | Samples | Caller | Location |
|
|
147
|
+
| -----: | -----: | ------: | ---------------------------------------------------- | ---------------- |
|
|
148
|
+
| 100.0% | <0.1µs | 1 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
|
|
149
|
+
|
|
150
|
+
##### `parseCommandLineInner(CliParseState, UnionArgInfo)` (`Argu.CliParser`)
|
|
151
|
+
|
|
152
|
+
| % | Time | Samples | Caller | Location |
|
|
153
|
+
| -----: | -----: | ------: | -------------------------------------------------------------------------------------------------------- | ---------------- |
|
|
154
|
+
| 100.0% | <0.1µs | 1 | ``parseCommandLine(UnionArgInfo, String, FSharpOption`1<String>, int32, IExiter, bool, bool, String[])`` | `Argu.CliParser` |
|
|
155
|
+
|
|
156
|
+
### Total time
|
|
157
|
+
|
|
158
|
+
Functions ranked by total time spent in the function and all its callees.
|
|
159
|
+
|
|
160
|
+
| % | Time | Samples | Function | Location |
|
|
161
|
+
| ----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
|
|
162
|
+
| 99.8% | 10.79s | 9,189 | `main(String[])` | `Profile` |
|
|
163
|
+
| 98.7% | 10.67s | 5,767 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
164
|
+
| 95.1% | 10.28s | 8,510 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
|
|
165
|
+
| 56.8% | 6.14s | 4,513 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` | `Microsoft.FSharp.Reflection.FSharpType` |
|
|
166
|
+
| 41.4% | 4.47s | 2,507 | `MakeGenericType(Type[])` | `System.RuntimeType` |
|
|
167
|
+
| 4.0% | 431.0ms | 411 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
|
|
168
|
+
| 3.6% | 384.3ms | 366 | `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.FSharpExpr` |
|
|
169
|
+
| 0.6% | 65.4ms | 82 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
|
|
170
|
+
| 0.6% | 61.4ms | 80 | ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
|
|
171
|
+
| 0.5% | 56.1ms | 73 | `Invoke(Unit)` | `<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]` |
|
|
172
|
+
| 0.5% | 55.8ms | 53 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
|
|
173
|
+
| 0.4% | 42.8ms | 57 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
|
|
174
|
+
| 0.4% | 41.5ms | 54 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
|
|
175
|
+
| 0.3% | 29.2ms | 32 | `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` | `Argu.KeyValueParser` |
|
|
176
|
+
| 0.3% | 27.9ms | 30 | `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` | `Argu.KeyValueParser` |
|
|
177
|
+
| 0.2% | 26.5ms | 27 | `get_AppSettings()` | `System.Configuration.ConfigurationManager` |
|
|
178
|
+
| 0.2% | 26.5ms | 27 | `GetValue(String)` | `Argu.AppSettingsConfigurationReader.Argu.IConfigurationReader` |
|
|
179
|
+
| 0.2% | 18.5ms | 14 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
|
|
180
|
+
| 0.2% | 18.5ms | 14 | ``parseCommandLine(UnionArgInfo, String, FSharpOption`1<String>, int32, IExiter, bool, bool, String[])`` | `Argu.CliParser` |
|
|
181
|
+
| 0.2% | 17.3ms | 13 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
|
|
182
|
+
|
|
183
|
+
#### Callees
|
|
184
|
+
|
|
185
|
+
Callees ranked by contribution to each function's total time. Inlining can make callee attribution imprecise, and percentages can sum past 100% when callees recurse.
|
|
186
|
+
|
|
187
|
+
##### `main(String[])` (`Profile`)
|
|
188
|
+
|
|
189
|
+
| % | Time | Samples | Callee | Location |
|
|
190
|
+
| ----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
|
|
191
|
+
| 91.5% | 9.87s | 8,203 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
|
|
192
|
+
| 3.6% | 384.3ms | 366 | `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.FSharpExpr` |
|
|
193
|
+
| 3.1% | 333.8ms | 232 | `MakeGenericType(Type[])` | `System.RuntimeType` |
|
|
194
|
+
| 0.6% | 61.4ms | 80 | ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
|
|
195
|
+
| 0.5% | 55.8ms | 53 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
|
|
196
|
+
|
|
197
|
+
##### `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`)
|
|
198
|
+
|
|
199
|
+
| % | Time | Samples | Callee | Location |
|
|
200
|
+
| ----: | ----: | ------: | ------------------------- | -------------------- |
|
|
201
|
+
| 35.2% | 3.62s | 1,908 | `MakeGenericType(Type[])` | `System.RuntimeType` |
|
|
202
|
+
| <0.1% | 2.7ms | 2 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
203
|
+
|
|
204
|
+
##### `MakeGenericType(Type[])` (`System.RuntimeType`)
|
|
205
|
+
|
|
206
|
+
| % | Time | Samples | Callee | Location |
|
|
207
|
+
| ----: | ----: | ------: | --------------------- | ----------- |
|
|
208
|
+
| 84.5% | 3.78s | 1,950 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
209
|
+
|
|
210
|
+
##### `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`)
|
|
211
|
+
|
|
212
|
+
| % | Time | Samples | Callee | Location |
|
|
213
|
+
| -----: | ------: | ------: | ------------------------------------------------------------------ | -------------------------------------------- |
|
|
214
|
+
| 100.0% | 384.3ms | 366 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
|
|
215
|
+
|
|
216
|
+
##### ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``)
|
|
217
|
+
|
|
218
|
+
| % | Time | Samples | Callee | Location |
|
|
219
|
+
| ----: | -----: | ------: | ---------------------------- | --------------------------------- |
|
|
220
|
+
| 91.4% | 56.1ms | 73 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
|
|
221
|
+
| 8.6% | 5.3ms | 7 | `getDefaultCharacterWidth()` | `Argu.Utils` |
|
|
222
|
+
|
|
223
|
+
##### `Invoke(Unit)` (`<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]`)
|
|
224
|
+
|
|
225
|
+
| % | Time | Samples | Callee | Location |
|
|
226
|
+
| ----: | -----: | ------: | --------------------------------- | --------------------------------- |
|
|
227
|
+
| 76.3% | 42.8ms | 57 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
|
|
228
|
+
| 23.7% | 13.3ms | 16 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
|
|
229
|
+
|
|
230
|
+
##### ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``)
|
|
231
|
+
|
|
232
|
+
| % | Time | Samples | Callee | Location |
|
|
233
|
+
| ----: | -----: | ------: | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
234
|
+
| 52.3% | 29.2ms | 32 | `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` | `Argu.KeyValueParser` |
|
|
235
|
+
| 33.2% | 18.5ms | 14 | ``parseCommandLine(UnionArgInfo, String, FSharpOption`1<String>, int32, IExiter, bool, bool, String[])`` | `Argu.CliParser` |
|
|
236
|
+
| 7.2% | 4.0ms | 3 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
|
|
237
|
+
| 2.4% | 1.3ms | 1 | ``postProcessResults(UnionArgInfo, bool, FSharpOption`1<FSharpChoice`2<UnionCaseParseResult[], Exception>[]>, FSharpOption`1<UnionParseResults>)`` | `Argu.CommonParsers` |
|
|
238
|
+
| 2.4% | 1.3ms | 1 | `parseCommandLinePartial(CliParseState, UnionArgInfo, CliParseResultAggregator)` | `Argu.CliParser` |
|
|
239
|
+
|
|
240
|
+
##### `checkUnionArgInfo(UnionArgInfo)` (`Argu.PreCompute`)
|
|
241
|
+
|
|
242
|
+
| % | Time | Samples | Callee | Location |
|
|
243
|
+
| ----: | -----: | ------: | ------------------------------- | ----------------- |
|
|
244
|
+
| 96.9% | 41.5ms | 54 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
|
|
245
|
+
| 3.1% | 1.3ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
246
|
+
|
|
247
|
+
##### `postProcess@648(UnionArgInfo)` (`Argu.PreCompute`)
|
|
248
|
+
|
|
249
|
+
| % | Time | Samples | Callee | Location |
|
|
250
|
+
| ----: | -----: | ------: | -------------------------------------------------------- | ---------------------------------------- |
|
|
251
|
+
| 58.2% | 24.2ms | 30 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
|
|
252
|
+
| 32.1% | 13.3ms | 17 | ``TryFind(FSharpFunc`2<!!0, bool>, IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
|
|
253
|
+
| 6.5% | 2.7ms | 2 | `get_Value()` | ``System.Lazy`1[System.Boolean]`` |
|
|
254
|
+
| 3.2% | 1.3ms | 1 | ``Append(IEnumerable`1<!!0>, IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
|
|
255
|
+
|
|
256
|
+
##### `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` (`Argu.KeyValueParser`)
|
|
257
|
+
|
|
258
|
+
| % | Time | Samples | Callee | Location |
|
|
259
|
+
| ----: | -----: | ------: | ------------------------------------------------------------ | ------------------------------------------ |
|
|
260
|
+
| 95.5% | 27.9ms | 30 | `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` | `Argu.KeyValueParser` |
|
|
261
|
+
| 4.5% | 1.3ms | 1 | `.ctor(UnionArgInfo)` | `Argu.KeyValueParser+KeyValueParseResults` |
|
|
262
|
+
|
|
263
|
+
##### `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` (`Argu.KeyValueParser`)
|
|
264
|
+
|
|
265
|
+
| % | Time | Samples | Callee | Location |
|
|
266
|
+
| ----: | -----: | ------: | --------------------- | --------------------------------------------------------------- |
|
|
267
|
+
| 95.1% | 26.5ms | 27 | `GetValue(String)` | `Argu.AppSettingsConfigurationReader.Argu.IConfigurationReader` |
|
|
268
|
+
| 4.9% | 1.4ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
269
|
+
|
|
270
|
+
##### `GetValue(String)` (`Argu.AppSettingsConfigurationReader.Argu.IConfigurationReader`)
|
|
271
|
+
|
|
272
|
+
| % | Time | Samples | Callee | Location |
|
|
273
|
+
| -----: | -----: | ------: | ------------------- | ------------------------------------------- |
|
|
274
|
+
| 100.0% | 26.5ms | 27 | `get_AppSettings()` | `System.Configuration.ConfigurationManager` |
|
|
275
|
+
|
|
276
|
+
##### `parseCommandLineInner(CliParseState, UnionArgInfo)` (`Argu.CliParser`)
|
|
277
|
+
|
|
278
|
+
| % | Time | Samples | Callee | Location |
|
|
279
|
+
| ----: | -----: | ------: | -------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
280
|
+
| 64.5% | 12.0ms | 10 | `parseCommandLinePartial(CliParseState, UnionArgInfo, CliParseResultAggregator)` | `Argu.CliParser` |
|
|
281
|
+
| 21.4% | 4.0ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
282
|
+
| 14.1% | 2.6ms | 2 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
|
|
283
|
+
|
|
284
|
+
##### ``parseCommandLine(UnionArgInfo, String, FSharpOption`1<String>, int32, IExiter, bool, bool, String[])`` (`Argu.CliParser`)
|
|
285
|
+
|
|
286
|
+
| % | Time | Samples | Callee | Location |
|
|
287
|
+
| -----: | -----: | ------: | ---------------------------------------------------- | ---------------- |
|
|
288
|
+
| 100.0% | 18.5ms | 14 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
|
|
289
|
+
|
|
290
|
+
##### `u_Expr(InputState)` (`Microsoft.FSharp.Quotations.PatternsModule`)
|
|
291
|
+
|
|
292
|
+
| % | Time | Samples | Callee | Location |
|
|
293
|
+
| ----: | ----: | ------: | --------------------- | -------------------------------------------- |
|
|
294
|
+
| 38.6% | 6.7ms | 5 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
|
|
295
|
+
| 7.9% | 1.4ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
|
|
296
|
+
|
|
297
|
+
## Hottest call stacks
|
|
298
|
+
|
|
299
|
+
Call stacks ranked by time spent in their leaf frame.
|
|
300
|
+
|
|
301
|
+
Common call stack: `main(String[])` (`Profile`)
|
|
302
|
+
|
|
303
|
+
| % | Time | Samples | Call stack |
|
|
304
|
+
| ----: | ------: | ------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
305
|
+
| 54.6% | 5.89s | 3,165 | `UNMANAGED_CODE_TIME` ← ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` (`Microsoft.FSharp.Reflection.FSharpType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) |
|
|
306
|
+
| 31.0% | 3.35s | 1,657 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `Invoke(BindingEnv)` |
|
|
307
|
+
| 5.3% | 578.2ms | 408 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) |
|
|
308
|
+
| 3.1% | 333.8ms | 229 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) |
|
|
309
|
+
| 1.4% | 153.9ms | 87 | `UNMANAGED_CODE_TIME` ← ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` (`Microsoft.FSharp.Reflection.FSharpType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) ← `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
|
|
310
|
+
| 1.1% | 121.6ms | 68 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `Invoke(BindingEnv)` ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) ← `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
|
|
311
|
+
| 0.4% | 41.7ms | 55 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` (`Microsoft.FSharp.Reflection.FSharpType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) ← `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
|
|
312
|
+
| 0.2% | 26.5ms | 17 | `UNMANAGED_CODE_TIME` ← `get_AppSettings()` (`System.Configuration.ConfigurationManager`) ← `GetValue(String)` (`Argu.AppSettingsConfigurationReader.Argu.IConfigurationReader`) ← `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` (`Argu.KeyValueParser`) ← `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` ← ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``) |
|
|
313
|
+
| 0.2% | 25.6ms | 30 | `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `Invoke(BindingEnv)` ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) ← `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
|
|
314
|
+
| 0.2% | 24.1ms | 1,189 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` (`Microsoft.FSharp.Reflection.FSharpType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) |
|
|
315
|
+
| 0.2% | 22.7ms | 13 | `UNMANAGED_CODE_TIME` ← ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` (`Microsoft.FSharp.Reflection.FSharpType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) |
|
|
316
|
+
| 0.2% | 17.7ms | 13 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) ← `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
|
|
317
|
+
| 0.1% | 16.1ms | 10 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `Invoke(BindingEnv)` ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) |
|
|
318
|
+
| 0.1% | 12.2ms | 9 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Cast(FSharpExpr)` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
|
|
319
|
+
| 0.1% | 10.7ms | 8 | `UNMANAGED_CODE_TIME` ← ``TryFind(FSharpFunc`2<!!0, bool>, IEnumerable`1<!!0>)`` (`Microsoft.FSharp.Collections.SeqModule`) ← `postProcess@648(UnionArgInfo)` (`Argu.PreCompute`) ← `checkUnionArgInfo(UnionArgInfo)` ← `Invoke(Unit)` (`<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]`) ← `CreateValue()` (``System.Lazy`1[System.__Canon]``) ← ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``) |
|
|
320
|
+
| 0.1% | 9.5ms | 7 | `UNMANAGED_CODE_TIME` ← `CreateValue()` (``System.Lazy`1[System.__Canon]``) ← `postProcess@648(UnionArgInfo)` (`Argu.PreCompute`) ← `checkUnionArgInfo(UnionArgInfo)` ← `Invoke(Unit)` (`<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]`) ← `CreateValue()` (``System.Lazy`1[System.__Canon]``) ← ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``) |
|
|
321
|
+
| 0.1% | 7.9ms | 5 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`) |
|
|
322
|
+
| 0.1% | 6.8ms | 4 | `UNMANAGED_CODE_TIME` |
|
|
323
|
+
| 0.1% | 6.7ms | 4 | `UNMANAGED_CODE_TIME` ← `.ctor(String, RegexOptions, TimeSpan, CultureInfo)` (`System.Text.RegularExpressions.Regex`) ← `.cctor()` (`<StartupCode$Argu>.$Argu.PreCompute`) ← `.cctor()` (`Argu.PreCompute`) ← `preComputeUnionArgInfo()` ← `Invoke(Unit)` (`<StartupCode$Argu>.$ArgumentParser+-cctor@86[System.__Canon]`) ← `CreateValue()` (``System.Lazy`1[System.__Canon]``) ← `Invoke(Unit)` (`<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]`) ← `CreateValue()` (``System.Lazy`1[System.__Canon]``) ← ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``) |
|
|
324
|
+
| 0.1% | 6.5ms | 5 | `u_Expr(InputState)` (`Microsoft.FSharp.Quotations.PatternsModule`) ← `u_Expr(InputState)` ← `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` ← `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
|