profiler-md 0.6.0 → 0.7.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 +12685 -4219
  2. package/dist/index.d.mts +1140 -432
  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 +33 -27
  29. package/docs/languages/julia.md +21 -18
  30. package/docs/languages/php.md +7 -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 +301 -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,314 +0,0 @@
1
- # Sampling profile
2
-
3
- Took 11.24s over 9,569 samples (1.2ms per sample).
4
-
5
- | Category | % | Time | Samples |
6
- | -------- | -----: | -----: | ------: |
7
- | stdlib | 100.0% | 11.24s | 9,341 |
8
- | ours | <0.1% | 1.3ms | 228 |
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.8% | 11.11s | 6,000 | `UNMANAGED_CODE_TIME` | `<unknown>` |
19
- | 0.1% | 13.3ms | 110 | `MakeGenericType(Type[])` | `System.RuntimeType` |
20
- | <0.1% | 2.6ms | 1 | `get_Item(Object)` | `System.Collections.Hashtable` |
21
- | <0.1% | 1.4ms | 1 | `ToArray()` | ``System.Collections.Generic.List`1[System.__Canon]`` |
22
- | <0.1% | 1.3ms | 1 | ``unpickleObj(Assembly, Type[], FSharpFunc`2<InputState, !!0>, unsigned int8[])`` | `Microsoft.FSharp.Quotations.PatternsModule+SimpleUnpickle` |
23
- | <0.1% | 1.3ms | 1 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
24
- | <0.1% | 1.3ms | 1 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
25
- | <0.1% | 7.0µs | 214 | `main(String[])` | `Profile` |
26
- | <0.1% | 0.6µs | 1,771 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
27
- | <0.1% | 0.1µs | 729 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` | `Microsoft.FSharp.Reflection.FSharpType` |
28
- | <0.1% | <0.1µs | 1 | ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
29
- | <0.1% | <0.1µs | 12 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
30
- | <0.1% | <0.1µs | 1 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
31
- | <0.1% | <0.1µs | 2 | ``ToArray(IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
32
- | <0.1% | <0.1µs | 2 | `preComputeUnionArgInfo()` | `Argu.PreCompute` |
33
- | <0.1% | <0.1µs | 1 | `.ctor(String, RegexOptions, TimeSpan, CultureInfo)` | `System.Text.RegularExpressions.Regex` |
34
- | <0.1% | <0.1µs | 1 | ``gprintf(FSharpFunc`2<int32, !!0>, PrintfFormat`4<!!4, !!1, !!2, !!3>)`` | `Microsoft.FSharp.Core.PrintfModule` |
35
- | <0.1% | <0.1µs | 2 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
36
- | <0.1% | <0.1µs | 1 | `GetNextToken(bool, UnionArgInfo)` | `Argu.CliParser+CliTokenReader` |
37
- | <0.1% | <0.1µs | 2 | ``TryFind(FSharpFunc`2<!!0, bool>, IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
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
- | 36.3% | 4.02s | 2,030 | `MakeGenericType(Type[])` | `System.RuntimeType` |
48
- | 0.1% | 6.7ms | 4 | `main(String[])` | `Profile` |
49
- | <0.1% | 5.4ms | 4 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
50
- | <0.1% | 4.1ms | 1 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
51
- | <0.1% | 1.5ms | 1 | `preComputeUnionArgInfo()` | `Argu.PreCompute` |
52
-
53
- ##### `MakeGenericType(Type[])` (`System.RuntimeType`)
54
-
55
- | % | Time | Samples | Caller | Location |
56
- | ----: | -----: | ------: | -------------------- | -------------------------------------------------------- |
57
- | 89.9% | 11.9ms | 97 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
58
- | 10.1% | 1.3ms | 3 | `main(String[])` | `Profile` |
59
-
60
- ##### `get_Item(Object)` (`System.Collections.Hashtable`)
61
-
62
- | % | Time | Samples | Caller | Location |
63
- | -----: | ----: | ------: | ------------------------------------------------------------ | --------------------- |
64
- | 100.0% | 2.6ms | 1 | `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` | `Argu.KeyValueParser` |
65
-
66
- ##### `ToArray()` (``System.Collections.Generic.List`1[System.__Canon]``)
67
-
68
- | % | Time | Samples | Caller | Location |
69
- | -----: | ----: | ------: | ----------------------- | ----------------------------------------- |
70
- | 100.0% | 1.4ms | 1 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
71
-
72
- ##### ``unpickleObj(Assembly, Type[], FSharpFunc`2<InputState, !!0>, unsigned int8[])`` (`Microsoft.FSharp.Quotations.PatternsModule+SimpleUnpickle`)
73
-
74
- | % | Time | Samples | Caller | Location |
75
- | -----: | ----: | ------: | ---------------- | --------- |
76
- | 100.0% | 1.3ms | 1 | `main(String[])` | `Profile` |
77
-
78
- ##### `ToUnionParseResults()` (`Argu.CliParser+CliParseResultAggregator`)
79
-
80
- | % | Time | Samples | Caller | Location |
81
- | -----: | ----: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
82
- | 100.0% | 1.3ms | 1 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
83
-
84
- ##### `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`)
85
-
86
- | % | Time | Samples | Caller | Location |
87
- | ----: | ----: | ------: | ---------------- | --------- |
88
- | 99.9% | 0.6µs | 1,763 | `main(String[])` | `Profile` |
89
-
90
- ##### ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``)
91
-
92
- | % | Time | Samples | Caller | Location |
93
- | -----: | -----: | ------: | ---------------- | --------- |
94
- | 100.0% | <0.1µs | 1 | `main(String[])` | `Profile` |
95
-
96
- ##### `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`)
97
-
98
- | % | Time | Samples | Caller | Location |
99
- | -----: | -----: | ------: | -------------------------------------------------------------------- | ---------------------------------------- |
100
- | 100.0% | <0.1µs | 12 | `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.FSharpExpr` |
101
-
102
- ##### `checkUnionArgInfo(UnionArgInfo)` (`Argu.PreCompute`)
103
-
104
- | % | Time | Samples | Caller | Location |
105
- | -----: | -----: | ------: | -------------- | ---------------------------------------------------------------- |
106
- | 100.0% | <0.1µs | 1 | `Invoke(Unit)` | `<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]` |
107
-
108
- ##### `preComputeUnionArgInfo()` (`Argu.PreCompute`)
109
-
110
- | % | Time | Samples | Caller | Location |
111
- | -----: | -----: | ------: | -------------- | -------------------------------------------------------------- |
112
- | 100.0% | <0.1µs | 2 | `Invoke(Unit)` | `<StartupCode$Argu>.$ArgumentParser+-cctor@86[System.__Canon]` |
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
- ##### ``gprintf(FSharpFunc`2<int32, !!0>, PrintfFormat`4<!!4, !!1, !!2, !!3>)`` (`Microsoft.FSharp.Core.PrintfModule`)
121
-
122
- | % | Time | Samples | Caller | Location |
123
- | -----: | -----: | ------: | ---------------- | --------- |
124
- | 100.0% | <0.1µs | 1 | `main(String[])` | `Profile` |
125
-
126
- ##### `parseCommandLineInner(CliParseState, UnionArgInfo)` (`Argu.CliParser`)
127
-
128
- | % | Time | Samples | Caller | Location |
129
- | -----: | -----: | ------: | -------------------------------------------------------------------------------------------------------- | ---------------- |
130
- | 100.0% | <0.1µs | 2 | ``parseCommandLine(UnionArgInfo, String, FSharpOption`1<String>, int32, IExiter, bool, bool, String[])`` | `Argu.CliParser` |
131
-
132
- ##### `GetNextToken(bool, UnionArgInfo)` (`Argu.CliParser+CliTokenReader`)
133
-
134
- | % | Time | Samples | Caller | Location |
135
- | -----: | -----: | ------: | ------------------------------------------------------------------ | ---------------- |
136
- | 100.0% | <0.1µs | 1 | `parseNextField@321(CliParseState, UnionArgInfo, FieldParserInfo)` | `Argu.CliParser` |
137
-
138
- ##### ``TryFind(FSharpFunc`2<!!0, bool>, IEnumerable`1<!!0>)`` (`Microsoft.FSharp.Collections.SeqModule`)
139
-
140
- | % | Time | Samples | Caller | Location |
141
- | -----: | -----: | ------: | ------------------------------- | ----------------- |
142
- | 100.0% | <0.1µs | 2 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
143
-
144
- ### Total time
145
-
146
- Functions ranked by total time spent in the function and all its callees.
147
-
148
- | % | Time | Samples | Function | Location |
149
- | ----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
150
- | 99.9% | 11.22s | 9,554 | `main(String[])` | `Profile` |
151
- | 98.8% | 11.11s | 6,000 | `UNMANAGED_CODE_TIME` | `<unknown>` |
152
- | 95.1% | 10.68s | 8,850 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
153
- | 56.1% | 6.30s | 3,580 | `GetCustomAttributes(RuntimeType, RuntimeType, bool)` | `System.Reflection.CustomAttribute` |
154
- | 56.1% | 6.30s | 4,709 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` | `Microsoft.FSharp.Reflection.FSharpType` |
155
- | 42.2% | 4.73s | 2,613 | `MakeGenericType(Type[])` | `System.RuntimeType` |
156
- | 4.0% | 451.5ms | 389 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
157
- | 3.4% | 384.8ms | 334 | `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.FSharpExpr` |
158
- | 0.6% | 70.0ms | 78 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
159
- | 0.6% | 69.9ms | 78 | ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
160
- | 0.5% | 61.8ms | 69 | `Invoke(Unit)` | `<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]` |
161
- | 0.5% | 51.4ms | 52 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
162
- | 0.4% | 47.9ms | 53 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
163
- | 0.4% | 46.6ms | 51 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
164
- | 0.3% | 31.0ms | 34 | `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` | `Argu.KeyValueParser` |
165
- | 0.3% | 31.0ms | 34 | `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` | `Argu.KeyValueParser` |
166
- | 0.2% | 27.0ms | 31 | `get_AppSettings()` | `System.Configuration.ConfigurationManager` |
167
- | 0.2% | 27.0ms | 31 | `GetValue(String)` | `Argu.AppSettingsConfigurationReader.Argu.IConfigurationReader` |
168
- | 0.2% | 22.8ms | 17 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
169
- | 0.2% | 17.7ms | 16 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
170
-
171
- #### Callees
172
-
173
- 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.
174
-
175
- ##### `main(String[])` (`Profile`)
176
-
177
- | % | Time | Samples | Callee | Location |
178
- | ----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
179
- | 91.4% | 10.25s | 8,545 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
180
- | 3.4% | 384.8ms | 334 | `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.FSharpExpr` |
181
- | 3.2% | 358.8ms | 247 | `MakeGenericType(Type[])` | `System.RuntimeType` |
182
- | 0.6% | 69.9ms | 78 | ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
183
- | 0.6% | 66.7ms | 55 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
184
-
185
- ##### `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`)
186
-
187
- | % | Time | Samples | Callee | Location |
188
- | ----: | ----: | ------: | ------------------------- | -------------------- |
189
- | 35.5% | 3.79s | 1,967 | `MakeGenericType(Type[])` | `System.RuntimeType` |
190
- | 0.1% | 5.4ms | 4 | `UNMANAGED_CODE_TIME` | `<unknown>` |
191
-
192
- ##### `MakeGenericType(Type[])` (`System.RuntimeType`)
193
-
194
- | % | Time | Samples | Callee | Location |
195
- | ----: | ----: | ------: | --------------------- | ----------- |
196
- | 85.0% | 4.02s | 2,030 | `UNMANAGED_CODE_TIME` | `<unknown>` |
197
-
198
- ##### `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.PatternsModule`)
199
-
200
- | % | Time | Samples | Callee | Location |
201
- | ---: | ----: | ------: | --------------------- | ----------- |
202
- | 0.3% | 1.3ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
203
-
204
- ##### `Deserialize40(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` (`Microsoft.FSharp.Quotations.FSharpExpr`)
205
-
206
- | % | Time | Samples | Callee | Location |
207
- | -----: | ------: | ------: | ------------------------------------------------------------------ | -------------------------------------------- |
208
- | 100.0% | 384.8ms | 334 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
209
-
210
- ##### ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``)
211
-
212
- | % | Time | Samples | Callee | Location |
213
- | ----: | -----: | ------: | ----------------------------------------------------------------------- | ----------------------------------------- |
214
- | 88.4% | 61.8ms | 69 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
215
- | 7.7% | 5.4ms | 6 | `getDefaultCharacterWidth()` | `Argu.Utils` |
216
- | 2.0% | 1.4ms | 1 | `.cctor()` | ``Argu.ArgumentParser`1[System.__Canon]`` |
217
- | 1.9% | 1.4ms | 1 | ``.ctor(UnionArgInfo, String, FSharpOption`1<String>, int32, IExiter)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
218
-
219
- ##### `Invoke(Unit)` (`<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]`)
220
-
221
- | % | Time | Samples | Callee | Location |
222
- | ----: | -----: | ------: | --------------------------------- | --------------------------------- |
223
- | 77.6% | 47.9ms | 53 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
224
- | 22.4% | 13.8ms | 16 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
225
-
226
- ##### ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` (``Argu.ArgumentParser`1[System.__Canon]``)
227
-
228
- | % | Time | Samples | Callee | Location |
229
- | ----: | -----: | ------: | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
230
- | 60.3% | 31.0ms | 34 | `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` | `Argu.KeyValueParser` |
231
- | 34.5% | 17.7ms | 16 | ``parseCommandLine(UnionArgInfo, String, FSharpOption`1<String>, int32, IExiter, bool, bool, String[])`` | `Argu.CliParser` |
232
- | 2.6% | 1.4ms | 1 | ``postProcessResults(UnionArgInfo, bool, FSharpOption`1<FSharpChoice`2<UnionCaseParseResult[], Exception>[]>, FSharpOption`1<UnionParseResults>)`` | `Argu.CommonParsers` |
233
- | 2.6% | 1.3ms | 1 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
234
-
235
- ##### `checkUnionArgInfo(UnionArgInfo)` (`Argu.PreCompute`)
236
-
237
- | % | Time | Samples | Callee | Location |
238
- | ----: | -----: | ------: | ------------------------------- | ----------------- |
239
- | 97.1% | 46.6ms | 51 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
240
- | 2.9% | 1.4ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
241
-
242
- ##### `postProcess@648(UnionArgInfo)` (`Argu.PreCompute`)
243
-
244
- | % | Time | Samples | Callee | Location |
245
- | ----: | -----: | ------: | -------------------------------------------------------- | ---------------------------------------- |
246
- | 65.0% | 30.3ms | 33 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
247
- | 29.2% | 13.6ms | 15 | ``TryFind(FSharpFunc`2<!!0, bool>, IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
248
- | 3.0% | 1.4ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
249
- | 2.9% | 1.4ms | 1 | `get_Value()` | ``System.Lazy`1[Argu.CliPosition]`` |
250
-
251
- ##### `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` (`Argu.KeyValueParser`)
252
-
253
- | % | Time | Samples | Callee | Location |
254
- | ----: | -----: | ------: | --------------------- | --------------------------------------------------------------- |
255
- | 87.1% | 27.0ms | 31 | `GetValue(String)` | `Argu.AppSettingsConfigurationReader.Argu.IConfigurationReader` |
256
- | 8.4% | 2.6ms | 1 | `get_Item(Object)` | `System.Collections.Hashtable` |
257
- | 4.5% | 1.4ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
258
-
259
- ##### `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` (`Argu.KeyValueParser`)
260
-
261
- | % | Time | Samples | Callee | Location |
262
- | -----: | -----: | ------: | ------------------------------------------------------------ | --------------------- |
263
- | 100.0% | 31.0ms | 34 | `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` | `Argu.KeyValueParser` |
264
-
265
- ##### `GetValue(String)` (`Argu.AppSettingsConfigurationReader.Argu.IConfigurationReader`)
266
-
267
- | % | Time | Samples | Callee | Location |
268
- | -----: | -----: | ------: | ------------------- | ------------------------------------------- |
269
- | 100.0% | 27.0ms | 31 | `get_AppSettings()` | `System.Configuration.ConfigurationManager` |
270
-
271
- ##### `u_Expr(InputState)` (`Microsoft.FSharp.Quotations.PatternsModule`)
272
-
273
- | % | Time | Samples | Callee | Location |
274
- | ---: | ----: | ------: | --------------------- | -------------------------------------------- |
275
- | 6.0% | 1.4ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
276
- | 6.0% | 1.4ms | 1 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
277
-
278
- ##### `parseCommandLineInner(CliParseState, UnionArgInfo)` (`Argu.CliParser`)
279
-
280
- | % | Time | Samples | Callee | Location |
281
- | ----: | -----: | ------: | -------------------------------------------------------------------------------- | ----------------------------------------- |
282
- | 61.5% | 10.9ms | 11 | `parseCommandLinePartial(CliParseState, UnionArgInfo, CliParseResultAggregator)` | `Argu.CliParser` |
283
- | 23.2% | 4.1ms | 1 | `UNMANAGED_CODE_TIME` | `<unknown>` |
284
- | 7.6% | 1.4ms | 1 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
285
- | 7.6% | 1.3ms | 1 | `get_Value()` | ``System.Lazy`1[System.Boolean]`` |
286
-
287
- ## Hottest call stacks
288
-
289
- Call stacks ranked by time spent in their leaf frame.
290
-
291
- Common call stack: `main(String[])` (`Profile`)
292
-
293
- | % | Time | Samples | Call stack |
294
- | ----: | ------: | ------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
295
- | 53.7% | 6.03s | 3,289 | `UNMANAGED_CODE_TIME` ← `GetCustomAttributes(RuntimeType, RuntimeType, bool)` (`System.Reflection.CustomAttribute`) ← ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` (`Microsoft.FSharp.Reflection.FSharpType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) |
296
- | 31.5% | 3.53s | 1,708 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `Invoke(BindingEnv)` |
297
- | 5.7% | 643.3ms | 450 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) |
298
- | 3.2% | 357.4ms | 244 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) |
299
- | 1.5% | 173.1ms | 92 | `UNMANAGED_CODE_TIME` ← `GetCustomAttributes(RuntimeType, RuntimeType, bool)` (`System.Reflection.CustomAttribute`) ← ``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`) |
300
- | 1.0% | 112.1ms | 50 | `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`) |
301
- | 0.4% | 40.1ms | 25 | `UNMANAGED_CODE_TIME` ← `GetCustomAttributes(RuntimeType, RuntimeType, bool)` (`System.Reflection.CustomAttribute`) ← ``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`) |
302
- | 0.3% | 33.6ms | 42 | `GetCustomAttributes(RuntimeType, RuntimeType, bool)` (`System.Reflection.CustomAttribute`) ← ``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`) |
303
- | 0.2% | 27.0ms | 18 | `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]``) |
304
- | 0.2% | 25.6ms | 24 | `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`) |
305
- | 0.2% | 22.7ms | 129 | `GetCustomAttributes(RuntimeType, RuntimeType, bool)` (`System.Reflection.CustomAttribute`) ← ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` (`Microsoft.FSharp.Reflection.FSharpType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) |
306
- | 0.2% | 22.6ms | 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`) |
307
- | 0.1% | 12.1ms | 9 | `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`) |
308
- | 0.1% | 10.7ms | 96 | `MakeGenericType(Type[])` (`System.RuntimeType`) ← `Invoke(BindingEnv)` (`Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965`) ← `Invoke(BindingEnv)` |
309
- | 0.1% | 9.5ms | 6 | `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]``) |
310
- | 0.1% | 9.5ms | 7 | `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]``) |
311
- | 0.1% | 8.2ms | 6 | `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]``) |
312
- | 0.1% | 6.8ms | 5 | `UNMANAGED_CODE_TIME` ← `MakeGenericType(Type[])` (`System.RuntimeType`) ← `cast(FSharpExpr)` (`Microsoft.FSharp.Quotations.PatternsModule`) ← `Cast(FSharpExpr)` (`Microsoft.FSharp.Quotations.FSharpExpr`) |
313
- | 0.1% | 6.7ms | 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`) |
314
- | 0.1% | 6.7ms | 4 | `UNMANAGED_CODE_TIME` |
@@ -1,119 +0,0 @@
1
- # Sampling profile diff
2
-
3
- Took 10.81s → 11.24s (+427.38ms, +4.0%) over 9,201 samples → 9,569 samples (1.2ms per sample).
4
-
5
- | Category | Change | Delta | % | Time | Samples |
6
- | -------- | -----: | --------: | -----: | --------------: | ------------: |
7
- | stdlib | +4.0% | +431.42ms | 100.0% | 10.80s → 11.24s | 8,995 → 9,341 |
8
- | ours | -75.1% | -4.04ms | <0.1% | 5.4ms → 1.3ms | 206 → 228 |
9
-
10
- ## Hottest functions
11
-
12
- ### Self time
13
-
14
- #### Regressions
15
-
16
- Functions with the largest increase in time spent directly in the function body, excluding callees.
17
-
18
- | Change | Delta | % | Time | Samples | Function | Location |
19
- | ---------: | --------: | ------------: | --------------: | ------------: | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
20
- | +4.1% | +434.75ms | 98.7% → 98.8% | 10.67s → 11.11s | 5,767 → 6,000 | `UNMANAGED_CODE_TIME` | `<unknown>` |
21
- | +139.1% | +7.72ms | 0.1% | 5.6ms → 13.3ms | 81 → 110 | `MakeGenericType(Type[])` | `System.RuntimeType` |
22
- | new | +2.59ms | 0.0% → <0.1% | 0ms → 2.6ms | 0 → 1 | `get_Item(Object)` | `System.Collections.Hashtable` |
23
- | new | +1.34ms | 0.0% → <0.1% | 0ms → 1.3ms | 0 → 1 | ``unpickleObj(Assembly, Type[], FSharpFunc`2<InputState, !!0>, unsigned int8[])`` | `Microsoft.FSharp.Quotations.PatternsModule+SimpleUnpickle` |
24
- | +0.7% | +0.01ms | <0.1% | 1.3ms → 1.4ms | 1 | `ToArray()` | ``System.Collections.Generic.List`1[System.__Canon]`` |
25
- | +109732.8% | +0.01ms | <0.1% | <0.1µs → 7.0µs | 183 → 214 | `main(String[])` | `Profile` |
26
- | new | +0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 1 | ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
27
- | +739.6% | +<0.01µs | <0.1% | <0.1µs | 2 → 1 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
28
- | new | +<0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 1 | ``gprintf(FSharpFunc`2<int32, !!0>, PrintfFormat`4<!!4, !!1, !!2, !!3>)`` | `Microsoft.FSharp.Core.PrintfModule` |
29
- | new | +<0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 1 | `GetNextToken(bool, UnionArgInfo)` | `Argu.CliParser+CliTokenReader` |
30
- | new | +<0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 2 | ``TryFind(FSharpFunc`2<!!0, bool>, IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
31
- | +14.8% | +<0.01µs | <0.1% | <0.1µs | 1 → 2 | `preComputeUnionArgInfo()` | `Argu.PreCompute` |
32
- | +186.8% | +<0.01µs | <0.1% | <0.1µs | 1 | `cast(FSharpExpr)` | `Microsoft.FSharp.Quotations.PatternsModule` |
33
- | new | +<0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 1 | `Invoke(Unit)` | `Argu.PreCompute+primitiveParsers@90` |
34
- | new | +<0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 1 | `parseSingleParameter@336-2(CliParseState, UnionArgInfo, CliParseResultAggregator, String, UnionCaseArgInfo, FieldParserInfo[])` | `Argu.CliParser` |
35
- | new | +<0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 1 | `Invoke(UnionCaseInfo)` | `Argu.PreCompute+caseInfo@576-2` |
36
- | new | +<0.01µs | 0.0% → <0.1% | 0ms → <0.1µs | 0 → 1 | `tryExtractUnionParameterLabel(PropertyInfo)` | `Argu.PreCompute` |
37
-
38
- #### Improvements
39
-
40
- Functions with the largest decrease in time spent directly in the function body, excluding callees.
41
-
42
- | Change | Delta | % | Time | Samples | Function | Location |
43
- | ------: | -------: | -----------: | ------------: | ------------: | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
44
- | -67.1% | -2.71ms | <0.1% | 4.0ms → 1.3ms | 3 → 1 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
45
- | -66.6% | -2.68ms | <0.1% | 4.0ms → 1.3ms | 3 → 1 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
46
- | removed | -2.61ms | <0.1% → 0.0% | 2.6ms → 0ms | 1 → 0 | `StartsWith(String, StringComparison)` | `System.String` |
47
- | -100.0% | -1.37ms | <0.1% | 1.4ms → 0.6µs | 1,712 → 1,771 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
48
- | removed | -1.34ms | <0.1% → 0.0% | 1.3ms → 0ms | 2 → 0 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
49
- | removed | -1.28ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | ``AddMany(IEnumerable`1<!0>)`` | ``Microsoft.FSharp.Core.CompilerServices.ListCollector`1[System.__Canon]`` |
50
- | -75.6% | -0.01µs | <0.1% | <0.1µs | 13 → 12 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
51
- | -99.5% | -0.01µs | <0.1% | <0.1µs | 4 → 1 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
52
- | -70.6% | -<0.01µs | <0.1% | <0.1µs | 1 | `.ctor(String, RegexOptions, TimeSpan, CultureInfo)` | `System.Text.RegularExpressions.Regex` |
53
- | -0.7% | -<0.01µs | <0.1% | 0.1µs | 755 → 729 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` | `Microsoft.FSharp.Reflection.FSharpType` |
54
- | removed | -<0.01µs | <0.1% → 0.0% | <0.1µs → 0ms | 1 → 0 | `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` | `Argu.KeyValueParser` |
55
- | removed | -<0.01µs | <0.1% → 0.0% | <0.1µs → 0ms | 2 → 0 | ``preComputeUnionCaseArgInfo(FSharpList`1<Type>, FSharpOption`1<HelpParam>, FSharpFunc`2<Unit, UnionArgInfo>, UnionCaseInfo)`` | `Argu.PreCompute` |
56
- | removed | -<0.01µs | <0.1% → 0.0% | <0.1µs → 0ms | 1 → 0 | `parseCommandLinePartial(CliParseState, UnionArgInfo, CliParseResultAggregator)` | `Argu.CliParser` |
57
- | removed | -<0.01µs | <0.1% → 0.0% | <0.1µs → 0ms | 1 → 0 | ``preComputeUnionArgInfoInner(FSharpList`1<Type>, FSharpOption`1<HelpParam>, FSharpFunc`2<Unit, FSharpOption`1<UnionCaseArgInfo>>, Type)`` | `Argu.PreCompute` |
58
- | -58.6% | -<0.01µs | <0.1% | <0.1µs | 1 → 2 | `parseCommandLineInner(CliParseState, UnionArgInfo)` | `Argu.CliParser` |
59
- | -78.8% | -<0.01µs | <0.1% | <0.1µs | 2 → 1 | `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` | `Argu.KeyValueParser` |
60
- | removed | -<0.01µs | <0.1% → 0.0% | <0.1µs → 0ms | 2 → 0 | ``IsUnion(Type, FSharpOption`1<BindingFlags>)`` | `Microsoft.FSharp.Reflection.FSharpType` |
61
- | -16.6% | -<0.01µs | <0.1% | <0.1µs | 2 | ``ToArray(IEnumerable`1<!!0>)`` | `Microsoft.FSharp.Collections.SeqModule` |
62
- | removed | -<0.01µs | <0.1% → 0.0% | <0.1µs → 0ms | 1 → 0 | `Invoke(Unit)` | `Argu.PreCompute+commandLineArgs@458` |
63
- | removed | -<0.01µs | <0.1% → 0.0% | <0.1µs → 0ms | 2 → 0 | `Invoke(Unit)` | `Argu.PreCompute+parsers@414` |
64
-
65
- ### Total time
66
-
67
- #### Regressions
68
-
69
- Functions with the largest increase in total time spent in the function and all its callees.
70
-
71
- | Change | Delta | % | Time | Samples | Function | Location |
72
- | -----: | --------: | ------------: | ----------------: | ------------: | ------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
73
- | +4.1% | +434.75ms | 98.7% → 98.8% | 10.67s → 11.11s | 5,767 → 6,000 | `UNMANAGED_CODE_TIME` | `<unknown>` |
74
- | +4.0% | +432.69ms | 99.8% → 99.9% | 10.79s → 11.22s | 9,189 → 9,554 | `main(String[])` | `Profile` |
75
- | +3.9% | +400.84ms | 95.1% | 10.28s → 10.68s | 8,510 → 8,850 | `Invoke(BindingEnv)` | `Microsoft.FSharp.Quotations.PatternsModule+u_Expr@1965` |
76
- | +5.9% | +263.31ms | 41.4% → 42.2% | 4.47s → 4.73s | 2,507 → 2,613 | `MakeGenericType(Type[])` | `System.RuntimeType` |
77
- | +2.6% | +161.45ms | 56.8% → 56.1% | 6.14s → 6.30s | 3,437 → 3,580 | `GetCustomAttributes(RuntimeType, RuntimeType, bool)` | `System.Reflection.CustomAttribute` |
78
- | +2.6% | +158.79ms | 56.8% → 56.1% | 6.14s → 6.30s | 4,513 → 4,709 | ``GetUnionCases(Type, FSharpOption`1<BindingFlags>)`` | `Microsoft.FSharp.Reflection.FSharpType` |
79
- | +4.7% | +20.43ms | 4.0% | 431.0ms → 451.5ms | 411 → 389 | `deserialize(Type, Type[], Type[], FSharpExpr[], unsigned int8[])` | `Microsoft.FSharp.Quotations.PatternsModule` |
80
- | +13.9% | +8.56ms | 0.6% | 61.4ms → 69.9ms | 80 → 78 | ``.ctor(FSharpOption`1<String>, FSharpOption`1<String>, FSharpOption`1<int32>, FSharpOption`1<IExiter>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
81
- | +10.1% | +5.68ms | 0.5% | 56.1ms → 61.8ms | 73 → 69 | `Invoke(Unit)` | `<StartupCode$Argu>.$ArgumentParser+-cctor@87-1[System.__Canon]` |
82
- | +31.7% | +5.49ms | 0.2% | 17.3ms → 22.8ms | 13 → 17 | `u_Expr(InputState)` | `Microsoft.FSharp.Quotations.PatternsModule` |
83
- | +12.0% | +5.12ms | 0.4% | 42.8ms → 47.9ms | 57 → 53 | `checkUnionArgInfo(UnionArgInfo)` | `Argu.PreCompute` |
84
- | +12.2% | +5.06ms | 0.4% | 41.5ms → 46.6ms | 54 → 51 | `postProcess@648(UnionArgInfo)` | `Argu.PreCompute` |
85
- | +7.0% | +4.59ms | 0.6% | 65.4ms → 70.0ms | 82 → 78 | `CreateValue()` | ``System.Lazy`1[System.__Canon]`` |
86
- | +11.3% | +3.15ms | 0.3% | 27.9ms → 31.0ms | 30 → 34 | `parseKeyValuePartial(KeyValueParseState, UnionCaseArgInfo)` | `Argu.KeyValueParser` |
87
- | +44.1% | +2.94ms | 0.1% | 6.7ms → 9.6ms | 7 → 10 | `.ctor(String, RegexOptions, TimeSpan, CultureInfo)` | `System.Text.RegularExpressions.Regex` |
88
- | +69.5% | +2.82ms | <0.1% → 0.1% | 4.1ms → 6.9ms | 5 → 7 | `Invoke(Unit)` | `Argu.PreCompute+parsers@414` |
89
- | +98.0% | +2.64ms | <0.1% | 2.7ms → 5.3ms | 2 → 4 | ``unpickleObj(Assembly, Type[], FSharpFunc`2<InputState, !!0>, unsigned int8[])`` | `Microsoft.FSharp.Quotations.PatternsModule+SimpleUnpickle` |
90
- | new | +2.59ms | 0.0% → <0.1% | 0ms → 2.6ms | 0 → 1 | `get_Item(Object)` | `System.Collections.Hashtable` |
91
- | +15.8% | +1.89ms | 0.1% | 12.0ms → 13.8ms | 15 → 16 | `preComputeUnionArgInfo()` | `Argu.PreCompute` |
92
- | +6.3% | +1.83ms | 0.3% | 29.2ms → 31.0ms | 32 → 34 | `parseKeyValueConfig(IConfigurationReader, UnionArgInfo)` | `Argu.KeyValueParser` |
93
-
94
- #### Improvements
95
-
96
- Functions with the largest decrease in total time spent in the function and all its callees.
97
-
98
- | Change | Delta | % | Time | Samples | Function | Location |
99
- | ------: | ------: | -----------: | --------------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
100
- | -35.8% | -5.32ms | 0.1% | 14.8ms → 9.5ms | 12 → 8 | `Cast(FSharpExpr)` | `Microsoft.FSharp.Quotations.FSharpExpr` |
101
- | -55.1% | -5.12ms | 0.1% → <0.1% | 9.3ms → 4.2ms | 7 → 5 | `parseNextField@321(CliParseState, UnionArgInfo, FieldParserInfo)` | `Argu.CliParser` |
102
- | -7.8% | -4.34ms | 0.5% | 55.8ms → 51.4ms | 53 → 52 | ``Parse(FSharpOption`1<String[]>, FSharpOption`1<IConfigurationReader>, FSharpOption`1<bool>, FSharpOption`1<bool>, FSharpOption`1<bool>)`` | ``Argu.ArgumentParser`1[System.__Canon]`` |
103
- | -59.7% | -3.98ms | 0.1% → <0.1% | 6.7ms → 2.7ms | 5 → 2 | `ToUnionParseResults()` | `Argu.CliParser+CliParseResultAggregator` |
104
- | -40.5% | -3.76ms | 0.1% → <0.1% | 9.3ms → 5.5ms | 7 | `parseSingleParameter@336-2(CliParseState, UnionArgInfo, CliParseResultAggregator, String, UnionCaseArgInfo, FieldParserInfo[])` | `Argu.CliParser` |
105
- | -67.0% | -2.72ms | <0.1% | 4.1ms → 1.3ms | 3 → 1 | ``add(IComparer`1<!!0>, !!0, !!1, MapTree`2<!!0, !!1>)`` | `Microsoft.FSharp.Collections.MapTreeModule` |
106
- | -66.3% | -2.66ms | <0.1% | 4.0ms → 1.3ms | 3 → 1 | `get_Value()` | ``System.Lazy`1[System.Boolean]`` |
107
- | -17.7% | -2.63ms | 0.1% | 14.8ms → 12.2ms | 12 → 10 | `cast(FSharpExpr)` | `Microsoft.FSharp.Quotations.PatternsModule` |
108
- | removed | -2.61ms | <0.1% → 0.0% | 2.6ms → 0ms | 1 → 0 | `StartsWith(String, StringComparison)` | `System.String` |
109
- | removed | -2.61ms | <0.1% → 0.0% | 2.6ms → 0ms | 1 → 0 | `TryGetPrefix(String, String&, !0&)` | ``Argu.Utils+PrefixDictionary`1[System.__Canon]`` |
110
- | -25.8% | -2.39ms | 0.1% | 9.3ms → 6.9ms | 7 | `GetNextToken(bool, UnionArgInfo)` | `Argu.CliParser+CliTokenReader` |
111
- | -17.8% | -2.37ms | 0.1% | 13.3ms → 10.9ms | 11 | `parseCommandLinePartial(CliParseState, UnionArgInfo, CliParseResultAggregator)` | `Argu.CliParser` |
112
- | -27.6% | -1.56ms | 0.1% → <0.1% | 5.6ms → 4.1ms | 5 | ``gprintf(FSharpFunc`2<int32, !!0>, PrintfFormat`4<!!4, !!1, !!2, !!3>)`` | `Microsoft.FSharp.Core.PrintfModule` |
113
- | removed | -1.35ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `Regex2_Scan(pMT: 0x105526b78, pMT: 0x104f4f7f0<wchar>)` | `dynamicClass` |
114
- | removed | -1.34ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `Parse(String)` | `System.Int32` |
115
- | removed | -1.34ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `Invoke(String)` | `Argu.PreCompute+primitiveParsers@98-13` |
116
- | removed | -1.34ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `Invoke(String)` | `Argu.PreCompute+mkPrimitiveParser@80[System.Int32]` |
117
- | removed | -1.33ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | ``.ctor(IEnumerable`1<Tuple`2<String, !0>>)`` | ``Argu.Utils+PrefixDictionary`1[System.__Canon]`` |
118
- | removed | -1.32ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `.cctor()` | `Argu.PreCompute+Helpers+chars@236` |
119
- | removed | -1.32ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `.cctor()` | `<StartupCode$FSharp-Core>.$Reflect` |
@@ -1,86 +0,0 @@
1
- # Contention profile
2
-
3
- Blocked 1.41s over 14 samples (101.0ms per sample).
4
-
5
- | Category | % | Time | Samples |
6
- | -------- | -----: | ----: | ------: |
7
- | stdlib | 100.0% | 1.41s | 14 |
8
-
9
- ## Hottest functions
10
-
11
- ### Self time
12
-
13
- Functions ranked by time blocked directly in the function body, excluding callees.
14
-
15
- | % | Time | Samples | Function | Location |
16
- | ----: | ----: | ------: | ------------------------ | ------------------------------------------------------------------------------------------ |
17
- | 89.7% | 1.26s | 1 | `sync.(*WaitGroup).Wait` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/sync/waitgroup.go:160` |
18
-
19
- #### Lines
20
-
21
- Lines ranked by contribution to each function's self time.
22
-
23
- ##### `sync.(*WaitGroup).Wait` (`/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/sync/waitgroup.go:160`)
24
-
25
- | % | Time | Samples | Location |
26
- | -----: | ----: | ------: | ------------------------------------------------------------------------------------------ |
27
- | 100.0% | 1.26s | 1 | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/sync/waitgroup.go:206` |
28
-
29
- #### Callers
30
-
31
- Callers ranked by contribution to each function's self time. Inlining can make caller attribution imprecise.
32
-
33
- ##### `sync.(*WaitGroup).Wait` (`/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/sync/waitgroup.go:160`)
34
-
35
- | % | Time | Samples | Caller | Location |
36
- | -----: | ----: | ------: | --------------- | --------------- |
37
- | 100.0% | 1.26s | 1 | `main.workload` | `profile.go:16` |
38
-
39
- ### Total time
40
-
41
- Functions ranked by total time blocked in the function and all its callees.
42
-
43
- | % | Time | Samples | Function | Location |
44
- | -----: | ------: | ------: | ------------------------------ | ------------------------------------------------------------------------------------------------ |
45
- | 100.0% | 1.41s | 2 | `main.main` | `profile.go:61` |
46
- | 89.7% | 1.26s | 1 | `sync.(*WaitGroup).Wait` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/sync/waitgroup.go:160` |
47
- | 89.7% | 1.26s | 1 | `main.workload` | `profile.go:16` |
48
- | 10.3% | 145.1ms | 1 | `runtime/pprof.StopCPUProfile` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/runtime/pprof/pprof.go:950` |
49
- | <0.1% | 37.5µs | 12 | `main.workload.func1` | `profile.go:25` |
50
- | <0.1% | 30.9µs | 2 | `encoding/json.Marshal` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/encoding/json/encode.go:205` |
51
- | <0.1% | 6.6µs | 10 | `encoding/json.Unmarshal` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/encoding/json/decode.go:102` |
52
-
53
- #### Callees
54
-
55
- 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.
56
-
57
- ##### `main.main` (`profile.go:61`)
58
-
59
- | % | Time | Samples | Callee | Location |
60
- | ----: | ------: | ------: | ------------------------------ | ----------------------------------------------------------------------------------------------- |
61
- | 89.7% | 1.26s | 1 | `main.workload` | `profile.go:16` |
62
- | 10.3% | 145.1ms | 1 | `runtime/pprof.StopCPUProfile` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/runtime/pprof/pprof.go:950` |
63
-
64
- ##### `main.workload` (`profile.go:16`)
65
-
66
- | % | Time | Samples | Callee | Location |
67
- | -----: | ----: | ------: | ------------------------ | ------------------------------------------------------------------------------------------ |
68
- | 100.0% | 1.26s | 1 | `sync.(*WaitGroup).Wait` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/sync/waitgroup.go:160` |
69
-
70
- ##### `main.workload.func1` (`profile.go:25`)
71
-
72
- | % | Time | Samples | Callee | Location |
73
- | ----: | -----: | ------: | ------------------------- | ------------------------------------------------------------------------------------------------ |
74
- | 82.3% | 30.9µs | 2 | `encoding/json.Marshal` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/encoding/json/encode.go:205` |
75
- | 17.7% | 6.6µs | 10 | `encoding/json.Unmarshal` | `/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/encoding/json/decode.go:102` |
76
-
77
- ## Hottest call stacks
78
-
79
- Call stacks ranked by time blocked in their leaf frame.
80
-
81
- | % | Time | Samples | Call stack |
82
- | ----: | ------: | ------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
83
- | 89.7% | 1.26s | 1 | `sync.(*WaitGroup).Wait` (`/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/sync/waitgroup.go:160`) ← `main.workload` (`profile.go:16`) ← `main.main` (61) |
84
- | 10.3% | 145.1ms | 1 | `runtime/pprof.StopCPUProfile` (`/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/runtime/pprof/pprof.go:950`) ← `main.main` (`profile.go:61`) |
85
- | <0.1% | 30.9µs | 2 | `encoding/json.Marshal` (`/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/encoding/json/encode.go:205`) ← `main.workload.func1` (`profile.go:25`) |
86
- | <0.1% | 6.6µs | 10 | `encoding/json.Unmarshal` (`/nix/store/7ycp8j45iay38g9mjaxmy4jhwdsrb47y-go-1.26.3/share/go/src/encoding/json/decode.go:102`) ← `main.workload.func1` (`profile.go:25`) |