profiler-md 0.6.0 → 0.8.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.
Files changed (239) hide show
  1. package/dist/cli/index.mjs +12953 -4258
  2. package/dist/index.d.mts +1182 -435
  3. package/dist/index.js +2 -2
  4. package/docs/api.md +138 -0
  5. package/docs/formats/callgrind.md +25 -0
  6. package/docs/formats/collapsed.md +5 -3
  7. package/docs/formats/ghc-eventlog.md +20 -0
  8. package/docs/formats/ghc-json-profile.md +23 -0
  9. package/docs/formats/hprof.md +21 -0
  10. package/docs/formats/jfr.md +2 -2
  11. package/docs/formats/jsc-heap-snapshot.md +10 -4
  12. package/docs/formats/memray.md +30 -0
  13. package/docs/formats/perf.md +74 -0
  14. package/docs/formats/pprof.md +4 -2
  15. package/docs/formats/speedscope.md +3 -2
  16. package/docs/formats/systing.md +17 -15
  17. package/docs/formats/v8-cpu-profile.md +4 -3
  18. package/docs/formats/v8-heap-profile.md +8 -5
  19. package/docs/formats/v8-heap-snapshot.md +8 -3
  20. package/docs/formats/webkit-timeline-recording.md +6 -0
  21. package/docs/languages/c.md +119 -32
  22. package/docs/languages/csharp.md +5 -3
  23. package/docs/languages/elixir.md +19 -11
  24. package/docs/languages/fortran.md +141 -0
  25. package/docs/languages/go.md +33 -10
  26. package/docs/languages/haskell.md +134 -0
  27. package/docs/languages/java.md +81 -26
  28. package/docs/languages/javascript.md +43 -25
  29. package/docs/languages/julia.md +21 -18
  30. package/docs/languages/php.md +19 -0
  31. package/docs/languages/python.md +105 -14
  32. package/docs/languages/ruby.md +15 -16
  33. package/docs/languages/rust.md +11 -10
  34. package/docs/languages/swift.md +135 -0
  35. package/docs/languages/zig.md +155 -0
  36. package/package.json +42 -42
  37. package/readme.md +302 -259
  38. package/skills/profile-optimize/SKILL.md +4 -2
  39. package/examples/output/c.gperftools.cpu.base.pprof.md +0 -324
  40. package/examples/output/c.gperftools.cpu.current.pprof.md +0 -271
  41. package/examples/output/c.gperftools.cpu.diff.pprof.md +0 -98
  42. package/examples/output/c.gperftools.heap.base.pprof.md +0 -362
  43. package/examples/output/c.gperftools.heap.current.pprof.md +0 -362
  44. package/examples/output/c.gperftools.heap.diff.pprof.md +0 -28
  45. package/examples/output/c.systing.cpu.base.systing.md +0 -824
  46. package/examples/output/c.systing.cpu.current.systing.md +0 -825
  47. package/examples/output/c.systing.cpu.diff.systing.md +0 -238
  48. package/examples/output/cpp.gperftools.cpu.base.pprof.md +0 -557
  49. package/examples/output/cpp.gperftools.cpu.current.pprof.md +0 -573
  50. package/examples/output/cpp.gperftools.cpu.diff.pprof.md +0 -122
  51. package/examples/output/cpp.gperftools.heap.base.pprof.md +0 -67
  52. package/examples/output/cpp.gperftools.heap.current.pprof.md +0 -67
  53. package/examples/output/cpp.gperftools.heap.diff.pprof.md +0 -19
  54. package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +0 -411
  55. package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +0 -412
  56. package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +0 -122
  57. package/examples/output/elixir.eflambe.cpu.base.collapsed.md +0 -399
  58. package/examples/output/elixir.eflambe.cpu.current.collapsed.md +0 -398
  59. package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +0 -92
  60. package/examples/output/erlang.eflambe.cpu.base.collapsed.md +0 -147
  61. package/examples/output/erlang.eflambe.cpu.current.collapsed.md +0 -147
  62. package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +0 -18
  63. package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +0 -324
  64. package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +0 -314
  65. package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +0 -119
  66. package/examples/output/go.pprof.block.base.pprof.md +0 -86
  67. package/examples/output/go.pprof.block.current.pprof.md +0 -83
  68. package/examples/output/go.pprof.block.diff.pprof.md +0 -42
  69. package/examples/output/go.pprof.cpu.base.pprof.md +0 -81
  70. package/examples/output/go.pprof.cpu.current.pprof.md +0 -70
  71. package/examples/output/go.pprof.cpu.diff.pprof.md +0 -52
  72. package/examples/output/go.pprof.goroutine.base.pprof.md +0 -43
  73. package/examples/output/go.pprof.goroutine.current.pprof.md +0 -43
  74. package/examples/output/go.pprof.goroutine.diff.pprof.md +0 -13
  75. package/examples/output/go.pprof.heap-alloc.base.pprof.md +0 -154
  76. package/examples/output/go.pprof.heap-alloc.current.pprof.md +0 -146
  77. package/examples/output/go.pprof.heap-alloc.diff.pprof.md +0 -67
  78. package/examples/output/go.pprof.heap.base.pprof.md +0 -154
  79. package/examples/output/go.pprof.heap.current.pprof.md +0 -146
  80. package/examples/output/go.pprof.heap.diff.pprof.md +0 -67
  81. package/examples/output/go.pprof.mutex.base.pprof.md +0 -55
  82. package/examples/output/go.pprof.mutex.current.pprof.md +0 -41
  83. package/examples/output/go.pprof.mutex.diff.pprof.md +0 -31
  84. package/examples/output/go.pprof.threadcreate.base.pprof.md +0 -55
  85. package/examples/output/go.pprof.threadcreate.current.pprof.md +0 -55
  86. package/examples/output/go.pprof.threadcreate.diff.pprof.md +0 -19
  87. package/examples/output/java.async-profiler.all.base.jfr.md +0 -1071
  88. package/examples/output/java.async-profiler.all.current.jfr.md +0 -1007
  89. package/examples/output/java.async-profiler.all.diff.jfr.md +0 -268
  90. package/examples/output/java.async-profiler.alloc.base.jfr.md +0 -425
  91. package/examples/output/java.async-profiler.alloc.current.jfr.md +0 -413
  92. package/examples/output/java.async-profiler.alloc.diff.jfr.md +0 -99
  93. package/examples/output/java.async-profiler.cpu.base.collapsed.md +0 -367
  94. package/examples/output/java.async-profiler.cpu.base.jfr.md +0 -485
  95. package/examples/output/java.async-profiler.cpu.current.collapsed.md +0 -355
  96. package/examples/output/java.async-profiler.cpu.current.jfr.md +0 -488
  97. package/examples/output/java.async-profiler.cpu.diff.collapsed.md +0 -117
  98. package/examples/output/java.async-profiler.cpu.diff.jfr.md +0 -118
  99. package/examples/output/java.async-profiler.live.base.jfr.md +0 -697
  100. package/examples/output/java.async-profiler.live.current.jfr.md +0 -684
  101. package/examples/output/java.async-profiler.live.diff.jfr.md +0 -191
  102. package/examples/output/java.async-profiler.lock.base.jfr.md +0 -140
  103. package/examples/output/java.async-profiler.lock.current.jfr.md +0 -108
  104. package/examples/output/java.async-profiler.lock.diff.jfr.md +0 -44
  105. package/examples/output/java.async-profiler.nativemem.base.jfr.md +0 -222
  106. package/examples/output/java.async-profiler.nativemem.current.jfr.md +0 -222
  107. package/examples/output/java.async-profiler.nativemem.diff.jfr.md +0 -65
  108. package/examples/output/java.async-profiler.wall.base.jfr.md +0 -400
  109. package/examples/output/java.async-profiler.wall.current.jfr.md +0 -420
  110. package/examples/output/java.async-profiler.wall.diff.jfr.md +0 -94
  111. package/examples/output/java.jdk.all.base.jfr.md +0 -1024
  112. package/examples/output/java.jdk.all.current.jfr.md +0 -1010
  113. package/examples/output/java.jdk.all.diff.jfr.md +0 -311
  114. package/examples/output/java.jdk.alloc.base.jfr.md +0 -1024
  115. package/examples/output/java.jdk.alloc.current.jfr.md +0 -1046
  116. package/examples/output/java.jdk.alloc.diff.jfr.md +0 -312
  117. package/examples/output/java.jdk.cpu.base.jfr.md +0 -1023
  118. package/examples/output/java.jdk.cpu.current.jfr.md +0 -1039
  119. package/examples/output/java.jdk.cpu.diff.jfr.md +0 -285
  120. package/examples/output/java.jdk.live.base.jfr.md +0 -1029
  121. package/examples/output/java.jdk.live.current.jfr.md +0 -1035
  122. package/examples/output/java.jdk.live.diff.jfr.md +0 -289
  123. package/examples/output/java.jdk.lock.base.jfr.md +0 -1040
  124. package/examples/output/java.jdk.lock.current.jfr.md +0 -1051
  125. package/examples/output/java.jdk.lock.diff.jfr.md +0 -339
  126. package/examples/output/javascript.bun.base.cpuprofile.md +0 -73
  127. package/examples/output/javascript.bun.base.heapsnapshot.md +0 -608
  128. package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +0 -480
  129. package/examples/output/javascript.bun.current.cpuprofile.md +0 -73
  130. package/examples/output/javascript.bun.current.heapsnapshot.md +0 -608
  131. package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +0 -480
  132. package/examples/output/javascript.bun.diff.cpuprofile.md +0 -54
  133. package/examples/output/javascript.bun.diff.heapsnapshot.md +0 -48
  134. package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +0 -62
  135. package/examples/output/javascript.chrome.base.cpuprofile.md +0 -163
  136. package/examples/output/javascript.chrome.base.heapprofile.md +0 -32
  137. package/examples/output/javascript.chrome.base.heapsnapshot.md +0 -649
  138. package/examples/output/javascript.chrome.current.cpuprofile.md +0 -149
  139. package/examples/output/javascript.chrome.current.heapprofile.md +0 -32
  140. package/examples/output/javascript.chrome.current.heapsnapshot.md +0 -647
  141. package/examples/output/javascript.chrome.diff.cpuprofile.md +0 -65
  142. package/examples/output/javascript.chrome.diff.heapprofile.md +0 -50
  143. package/examples/output/javascript.chrome.diff.heapsnapshot.md +0 -73
  144. package/examples/output/javascript.deno.base.cpuprofile.md +0 -122
  145. package/examples/output/javascript.deno.current.cpuprofile.md +0 -114
  146. package/examples/output/javascript.deno.diff.cpuprofile.md +0 -66
  147. package/examples/output/javascript.node.base.cpuprofile.md +0 -136
  148. package/examples/output/javascript.node.base.heapprofile.md +0 -56
  149. package/examples/output/javascript.node.base.heapsnapshot.md +0 -660
  150. package/examples/output/javascript.node.current.cpuprofile.md +0 -119
  151. package/examples/output/javascript.node.current.heapprofile.md +0 -52
  152. package/examples/output/javascript.node.current.heapsnapshot.md +0 -660
  153. package/examples/output/javascript.node.diff.cpuprofile.md +0 -70
  154. package/examples/output/javascript.node.diff.heapprofile.md +0 -34
  155. package/examples/output/javascript.node.diff.heapsnapshot.md +0 -39
  156. package/examples/output/javascript.pprof.cpu.base.pprof.md +0 -104
  157. package/examples/output/javascript.pprof.cpu.current.pprof.md +0 -120
  158. package/examples/output/javascript.pprof.cpu.diff.pprof.md +0 -63
  159. package/examples/output/javascript.pprof.heap.base.pprof.md +0 -86
  160. package/examples/output/javascript.pprof.heap.current.pprof.md +0 -57
  161. package/examples/output/javascript.pprof.heap.diff.pprof.md +0 -42
  162. package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +0 -388
  163. package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +0 -378
  164. package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +0 -122
  165. package/examples/output/julia.pprof-jl.alloc.base.pprof.md +0 -124
  166. package/examples/output/julia.pprof-jl.alloc.current.pprof.md +0 -126
  167. package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +0 -30
  168. package/examples/output/julia.pprof-jl.cpu.base.pprof.md +0 -177
  169. package/examples/output/julia.pprof-jl.cpu.current.pprof.md +0 -179
  170. package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +0 -64
  171. package/examples/output/julia.pprof-jl.wall.base.pprof.md +0 -181
  172. package/examples/output/julia.pprof-jl.wall.current.pprof.md +0 -193
  173. package/examples/output/julia.pprof-jl.wall.diff.pprof.md +0 -64
  174. package/examples/output/julia.profile.base.heapsnapshot.md +0 -590
  175. package/examples/output/julia.profile.current.heapsnapshot.md +0 -590
  176. package/examples/output/julia.profile.diff.heapsnapshot.md +0 -288
  177. package/examples/output/kotlin.async-profiler.all.base.jfr.md +0 -920
  178. package/examples/output/kotlin.async-profiler.all.current.jfr.md +0 -925
  179. package/examples/output/kotlin.async-profiler.all.diff.jfr.md +0 -247
  180. package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +0 -467
  181. package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +0 -473
  182. package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +0 -122
  183. package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +0 -371
  184. package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +0 -472
  185. package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +0 -370
  186. package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +0 -445
  187. package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +0 -124
  188. package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +0 -125
  189. package/examples/output/kotlin.async-profiler.live.base.jfr.md +0 -934
  190. package/examples/output/kotlin.async-profiler.live.current.jfr.md +0 -917
  191. package/examples/output/kotlin.async-profiler.live.diff.jfr.md +0 -245
  192. package/examples/output/kotlin.async-profiler.lock.base.jfr.md +0 -1
  193. package/examples/output/kotlin.async-profiler.lock.current.jfr.md +0 -1
  194. package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +0 -1
  195. package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +0 -234
  196. package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +0 -234
  197. package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +0 -65
  198. package/examples/output/kotlin.async-profiler.wall.base.jfr.md +0 -452
  199. package/examples/output/kotlin.async-profiler.wall.current.jfr.md +0 -457
  200. package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +0 -125
  201. package/examples/output/kotlin.jdk.all.base.jfr.md +0 -1442
  202. package/examples/output/kotlin.jdk.all.current.jfr.md +0 -1343
  203. package/examples/output/kotlin.jdk.all.diff.jfr.md +0 -392
  204. package/examples/output/kotlin.jdk.alloc.base.jfr.md +0 -1418
  205. package/examples/output/kotlin.jdk.alloc.current.jfr.md +0 -1389
  206. package/examples/output/kotlin.jdk.alloc.diff.jfr.md +0 -383
  207. package/examples/output/kotlin.jdk.cpu.base.jfr.md +0 -1406
  208. package/examples/output/kotlin.jdk.cpu.current.jfr.md +0 -1374
  209. package/examples/output/kotlin.jdk.cpu.diff.jfr.md +0 -380
  210. package/examples/output/kotlin.jdk.live.base.jfr.md +0 -1378
  211. package/examples/output/kotlin.jdk.live.current.jfr.md +0 -1311
  212. package/examples/output/kotlin.jdk.live.diff.jfr.md +0 -381
  213. package/examples/output/kotlin.jdk.lock.base.jfr.md +0 -1427
  214. package/examples/output/kotlin.jdk.lock.current.jfr.md +0 -1374
  215. package/examples/output/kotlin.jdk.lock.diff.jfr.md +0 -386
  216. package/examples/output/php.excimer.wall.base.speedscope.json.md +0 -25
  217. package/examples/output/php.excimer.wall.current.speedscope.json.md +0 -25
  218. package/examples/output/php.excimer.wall.diff.speedscope.json.md +0 -29
  219. package/examples/output/python.py-spy.cpu.base.collapsed.md +0 -526
  220. package/examples/output/python.py-spy.cpu.base.speedscope.json.md +0 -37
  221. package/examples/output/python.py-spy.cpu.current.collapsed.md +0 -514
  222. package/examples/output/python.py-spy.cpu.current.speedscope.json.md +0 -37
  223. package/examples/output/python.py-spy.cpu.diff.collapsed.md +0 -122
  224. package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +0 -31
  225. package/examples/output/python.py-spy.wall.base.collapsed.md +0 -527
  226. package/examples/output/python.py-spy.wall.current.collapsed.md +0 -518
  227. package/examples/output/python.py-spy.wall.diff.collapsed.md +0 -122
  228. package/examples/output/ruby.rbspy.cpu.base.collapsed.md +0 -90
  229. package/examples/output/ruby.rbspy.cpu.base.pprof.md +0 -105
  230. package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +0 -105
  231. package/examples/output/ruby.rbspy.cpu.current.collapsed.md +0 -90
  232. package/examples/output/ruby.rbspy.cpu.current.pprof.md +0 -115
  233. package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +0 -115
  234. package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +0 -32
  235. package/examples/output/ruby.rbspy.cpu.diff.pprof.md +0 -44
  236. package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +0 -44
  237. package/examples/output/rust.pprof-rs.cpu.base.pprof.md +0 -60
  238. package/examples/output/rust.pprof-rs.cpu.current.pprof.md +0 -60
  239. package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +0 -24
@@ -1,147 +0,0 @@
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`) |
@@ -1,18 +0,0 @@
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.
@@ -1,324 +0,0 @@
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`) |