profiler-md 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/dist/cli/index.mjs +5331 -2044
  2. package/dist/index.d.mts +738 -229
  3. package/dist/index.js +2 -2
  4. package/docs/formats/collapsed.md +12 -0
  5. package/docs/formats/jfr.md +16 -0
  6. package/docs/formats/jsc-heap-snapshot.md +2 -2
  7. package/docs/languages/c.md +31 -7
  8. package/docs/languages/cpp.md +160 -0
  9. package/docs/languages/csharp.md +52 -0
  10. package/docs/languages/elixir.md +46 -0
  11. package/docs/languages/erlang.md +46 -0
  12. package/docs/languages/fsharp.md +52 -0
  13. package/docs/languages/go.md +11 -6
  14. package/docs/languages/java.md +110 -57
  15. package/docs/languages/javascript.md +69 -12
  16. package/docs/languages/julia.md +54 -0
  17. package/docs/languages/kotlin.md +170 -0
  18. package/docs/languages/php.md +64 -20
  19. package/docs/languages/python.md +13 -68
  20. package/docs/languages/ruby.md +17 -27
  21. package/docs/languages/typescript.md +276 -0
  22. package/examples/output/c.gperftools.cpu.base.pprof.md +324 -0
  23. package/examples/output/c.gperftools.cpu.current.pprof.md +271 -0
  24. package/examples/output/c.gperftools.cpu.diff.pprof.md +98 -0
  25. package/examples/output/c.gperftools.heap.base.pprof.md +362 -0
  26. package/examples/output/c.gperftools.heap.current.pprof.md +362 -0
  27. package/examples/output/c.gperftools.heap.diff.pprof.md +28 -0
  28. package/examples/output/cpp.gperftools.cpu.base.pprof.md +557 -0
  29. package/examples/output/cpp.gperftools.cpu.current.pprof.md +573 -0
  30. package/examples/output/cpp.gperftools.cpu.diff.pprof.md +122 -0
  31. package/examples/output/cpp.gperftools.heap.base.pprof.md +67 -0
  32. package/examples/output/cpp.gperftools.heap.current.pprof.md +67 -0
  33. package/examples/output/cpp.gperftools.heap.diff.pprof.md +19 -0
  34. package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +411 -0
  35. package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +412 -0
  36. package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +122 -0
  37. package/examples/output/elixir.eflambe.cpu.base.collapsed.md +399 -0
  38. package/examples/output/elixir.eflambe.cpu.current.collapsed.md +398 -0
  39. package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +92 -0
  40. package/examples/output/erlang.eflambe.cpu.base.collapsed.md +147 -0
  41. package/examples/output/erlang.eflambe.cpu.current.collapsed.md +147 -0
  42. package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +18 -0
  43. package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +324 -0
  44. package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +314 -0
  45. package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +119 -0
  46. package/examples/output/go.pprof.block.base.pprof.md +86 -0
  47. package/examples/output/go.pprof.block.current.pprof.md +83 -0
  48. package/examples/output/go.pprof.block.diff.pprof.md +42 -0
  49. package/examples/output/go.pprof.cpu.base.pprof.md +81 -0
  50. package/examples/output/go.pprof.cpu.current.pprof.md +70 -0
  51. package/examples/output/go.pprof.cpu.diff.pprof.md +52 -0
  52. package/examples/output/go.pprof.goroutine.base.pprof.md +43 -0
  53. package/examples/output/go.pprof.goroutine.current.pprof.md +43 -0
  54. package/examples/output/go.pprof.goroutine.diff.pprof.md +13 -0
  55. package/examples/output/go.pprof.heap-alloc.base.pprof.md +154 -0
  56. package/examples/output/go.pprof.heap-alloc.current.pprof.md +146 -0
  57. package/examples/output/go.pprof.heap-alloc.diff.pprof.md +67 -0
  58. package/examples/output/go.pprof.heap.base.pprof.md +154 -0
  59. package/examples/output/go.pprof.heap.current.pprof.md +146 -0
  60. package/examples/output/go.pprof.heap.diff.pprof.md +67 -0
  61. package/examples/output/go.pprof.mutex.base.pprof.md +55 -0
  62. package/examples/output/go.pprof.mutex.current.pprof.md +41 -0
  63. package/examples/output/go.pprof.mutex.diff.pprof.md +31 -0
  64. package/examples/output/go.pprof.threadcreate.base.pprof.md +55 -0
  65. package/examples/output/go.pprof.threadcreate.current.pprof.md +55 -0
  66. package/examples/output/go.pprof.threadcreate.diff.pprof.md +19 -0
  67. package/examples/output/java.async-profiler.all.base.jfr.md +1071 -0
  68. package/examples/output/java.async-profiler.all.current.jfr.md +1007 -0
  69. package/examples/output/java.async-profiler.all.diff.jfr.md +268 -0
  70. package/examples/output/java.async-profiler.alloc.base.jfr.md +425 -0
  71. package/examples/output/java.async-profiler.alloc.current.jfr.md +413 -0
  72. package/examples/output/java.async-profiler.alloc.diff.jfr.md +99 -0
  73. package/examples/output/java.async-profiler.cpu.base.collapsed.md +367 -0
  74. package/examples/output/java.async-profiler.cpu.base.jfr.md +485 -0
  75. package/examples/output/java.async-profiler.cpu.current.collapsed.md +355 -0
  76. package/examples/output/java.async-profiler.cpu.current.jfr.md +488 -0
  77. package/examples/output/java.async-profiler.cpu.diff.collapsed.md +117 -0
  78. package/examples/output/java.async-profiler.cpu.diff.jfr.md +118 -0
  79. package/examples/output/java.async-profiler.live.base.jfr.md +697 -0
  80. package/examples/output/java.async-profiler.live.current.jfr.md +684 -0
  81. package/examples/output/java.async-profiler.live.diff.jfr.md +191 -0
  82. package/examples/output/java.async-profiler.lock.base.jfr.md +140 -0
  83. package/examples/output/java.async-profiler.lock.current.jfr.md +108 -0
  84. package/examples/output/java.async-profiler.lock.diff.jfr.md +44 -0
  85. package/examples/output/java.async-profiler.nativemem.base.jfr.md +222 -0
  86. package/examples/output/java.async-profiler.nativemem.current.jfr.md +222 -0
  87. package/examples/output/java.async-profiler.nativemem.diff.jfr.md +65 -0
  88. package/examples/output/java.async-profiler.wall.base.jfr.md +400 -0
  89. package/examples/output/java.async-profiler.wall.current.jfr.md +420 -0
  90. package/examples/output/java.async-profiler.wall.diff.jfr.md +94 -0
  91. package/examples/output/java.jdk.all.base.jfr.md +1024 -0
  92. package/examples/output/java.jdk.all.current.jfr.md +1010 -0
  93. package/examples/output/java.jdk.all.diff.jfr.md +311 -0
  94. package/examples/output/java.jdk.alloc.base.jfr.md +1024 -0
  95. package/examples/output/java.jdk.alloc.current.jfr.md +1046 -0
  96. package/examples/output/java.jdk.alloc.diff.jfr.md +312 -0
  97. package/examples/output/java.jdk.cpu.base.jfr.md +1023 -0
  98. package/examples/output/java.jdk.cpu.current.jfr.md +1039 -0
  99. package/examples/output/java.jdk.cpu.diff.jfr.md +285 -0
  100. package/examples/output/java.jdk.live.base.jfr.md +1029 -0
  101. package/examples/output/java.jdk.live.current.jfr.md +1035 -0
  102. package/examples/output/java.jdk.live.diff.jfr.md +289 -0
  103. package/examples/output/java.jdk.lock.base.jfr.md +1040 -0
  104. package/examples/output/java.jdk.lock.current.jfr.md +1051 -0
  105. package/examples/output/java.jdk.lock.diff.jfr.md +339 -0
  106. package/examples/output/javascript.bun.base.cpuprofile.md +73 -0
  107. package/examples/output/javascript.bun.base.heapsnapshot.md +608 -0
  108. package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +480 -0
  109. package/examples/output/javascript.bun.current.cpuprofile.md +73 -0
  110. package/examples/output/javascript.bun.current.heapsnapshot.md +608 -0
  111. package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +480 -0
  112. package/examples/output/javascript.bun.diff.cpuprofile.md +54 -0
  113. package/examples/output/javascript.bun.diff.heapsnapshot.md +48 -0
  114. package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +62 -0
  115. package/examples/output/javascript.chrome.base.cpuprofile.md +163 -0
  116. package/examples/output/javascript.chrome.base.heapprofile.md +32 -0
  117. package/examples/output/javascript.chrome.base.heapsnapshot.md +649 -0
  118. package/examples/output/javascript.chrome.current.cpuprofile.md +149 -0
  119. package/examples/output/javascript.chrome.current.heapprofile.md +32 -0
  120. package/examples/output/javascript.chrome.current.heapsnapshot.md +647 -0
  121. package/examples/output/javascript.chrome.diff.cpuprofile.md +65 -0
  122. package/examples/output/javascript.chrome.diff.heapprofile.md +50 -0
  123. package/examples/output/javascript.chrome.diff.heapsnapshot.md +73 -0
  124. package/examples/output/javascript.deno.base.cpuprofile.md +122 -0
  125. package/examples/output/javascript.deno.current.cpuprofile.md +114 -0
  126. package/examples/output/javascript.deno.diff.cpuprofile.md +66 -0
  127. package/examples/output/javascript.node.base.cpuprofile.md +136 -0
  128. package/examples/output/javascript.node.base.heapprofile.md +56 -0
  129. package/examples/output/javascript.node.base.heapsnapshot.md +660 -0
  130. package/examples/output/javascript.node.current.cpuprofile.md +119 -0
  131. package/examples/output/javascript.node.current.heapprofile.md +52 -0
  132. package/examples/output/javascript.node.current.heapsnapshot.md +660 -0
  133. package/examples/output/javascript.node.diff.cpuprofile.md +70 -0
  134. package/examples/output/javascript.node.diff.heapprofile.md +34 -0
  135. package/examples/output/javascript.node.diff.heapsnapshot.md +39 -0
  136. package/examples/output/javascript.pprof.cpu.base.pprof.md +104 -0
  137. package/examples/output/javascript.pprof.cpu.current.pprof.md +120 -0
  138. package/examples/output/javascript.pprof.cpu.diff.pprof.md +63 -0
  139. package/examples/output/javascript.pprof.heap.base.pprof.md +86 -0
  140. package/examples/output/javascript.pprof.heap.current.pprof.md +57 -0
  141. package/examples/output/javascript.pprof.heap.diff.pprof.md +42 -0
  142. package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +388 -0
  143. package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +378 -0
  144. package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +122 -0
  145. package/examples/output/julia.pprof-jl.alloc.base.pprof.md +124 -0
  146. package/examples/output/julia.pprof-jl.alloc.current.pprof.md +126 -0
  147. package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +30 -0
  148. package/examples/output/julia.pprof-jl.cpu.base.pprof.md +177 -0
  149. package/examples/output/julia.pprof-jl.cpu.current.pprof.md +179 -0
  150. package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +64 -0
  151. package/examples/output/kotlin.async-profiler.all.base.jfr.md +920 -0
  152. package/examples/output/kotlin.async-profiler.all.current.jfr.md +925 -0
  153. package/examples/output/kotlin.async-profiler.all.diff.jfr.md +247 -0
  154. package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +467 -0
  155. package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +473 -0
  156. package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +122 -0
  157. package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +371 -0
  158. package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +472 -0
  159. package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +370 -0
  160. package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +445 -0
  161. package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +124 -0
  162. package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +125 -0
  163. package/examples/output/kotlin.async-profiler.live.base.jfr.md +934 -0
  164. package/examples/output/kotlin.async-profiler.live.current.jfr.md +917 -0
  165. package/examples/output/kotlin.async-profiler.live.diff.jfr.md +245 -0
  166. package/examples/output/kotlin.async-profiler.lock.base.jfr.md +1 -0
  167. package/examples/output/kotlin.async-profiler.lock.current.jfr.md +1 -0
  168. package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +1 -0
  169. package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +234 -0
  170. package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +234 -0
  171. package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +65 -0
  172. package/examples/output/kotlin.async-profiler.wall.base.jfr.md +452 -0
  173. package/examples/output/kotlin.async-profiler.wall.current.jfr.md +457 -0
  174. package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +125 -0
  175. package/examples/output/kotlin.jdk.all.base.jfr.md +1442 -0
  176. package/examples/output/kotlin.jdk.all.current.jfr.md +1343 -0
  177. package/examples/output/kotlin.jdk.all.diff.jfr.md +392 -0
  178. package/examples/output/kotlin.jdk.alloc.base.jfr.md +1418 -0
  179. package/examples/output/kotlin.jdk.alloc.current.jfr.md +1389 -0
  180. package/examples/output/kotlin.jdk.alloc.diff.jfr.md +383 -0
  181. package/examples/output/kotlin.jdk.cpu.base.jfr.md +1406 -0
  182. package/examples/output/kotlin.jdk.cpu.current.jfr.md +1374 -0
  183. package/examples/output/kotlin.jdk.cpu.diff.jfr.md +380 -0
  184. package/examples/output/kotlin.jdk.live.base.jfr.md +1378 -0
  185. package/examples/output/kotlin.jdk.live.current.jfr.md +1311 -0
  186. package/examples/output/kotlin.jdk.live.diff.jfr.md +381 -0
  187. package/examples/output/kotlin.jdk.lock.base.jfr.md +1427 -0
  188. package/examples/output/kotlin.jdk.lock.current.jfr.md +1374 -0
  189. package/examples/output/kotlin.jdk.lock.diff.jfr.md +386 -0
  190. package/examples/output/php.excimer.wall.base.speedscope.json.md +25 -0
  191. package/examples/output/php.excimer.wall.current.speedscope.json.md +25 -0
  192. package/examples/output/php.excimer.wall.diff.speedscope.json.md +29 -0
  193. package/examples/output/python.py-spy.cpu.base.collapsed.md +526 -0
  194. package/examples/output/python.py-spy.cpu.base.speedscope.json.md +37 -0
  195. package/examples/output/python.py-spy.cpu.current.collapsed.md +514 -0
  196. package/examples/output/python.py-spy.cpu.current.speedscope.json.md +37 -0
  197. package/examples/output/python.py-spy.cpu.diff.collapsed.md +122 -0
  198. package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +31 -0
  199. package/examples/output/python.py-spy.wall.base.collapsed.md +527 -0
  200. package/examples/output/python.py-spy.wall.current.collapsed.md +518 -0
  201. package/examples/output/python.py-spy.wall.diff.collapsed.md +122 -0
  202. package/examples/output/ruby.rbspy.cpu.base.collapsed.md +90 -0
  203. package/examples/output/ruby.rbspy.cpu.base.pprof.md +105 -0
  204. package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +105 -0
  205. package/examples/output/ruby.rbspy.cpu.current.collapsed.md +90 -0
  206. package/examples/output/ruby.rbspy.cpu.current.pprof.md +115 -0
  207. package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +115 -0
  208. package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +32 -0
  209. package/examples/output/ruby.rbspy.cpu.diff.pprof.md +44 -0
  210. package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +44 -0
  211. package/examples/output/rust.pprof-rs.cpu.base.pprof.md +60 -0
  212. package/examples/output/rust.pprof-rs.cpu.current.pprof.md +60 -0
  213. package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +24 -0
  214. package/package.json +27 -20
  215. package/readme.md +201 -87
  216. package/examples/bun.cpuprofile.md +0 -475
  217. package/examples/deno.cpuprofile.md +0 -481
  218. package/examples/jsc-heap-snapshot.json.md +0 -509
  219. package/examples/node.cpuprofile.md +0 -485
  220. package/examples/node.heapprofile.md +0 -281
  221. package/examples/node.heapsnapshot.md +0 -694
  222. package/examples/node.pprof.md +0 -441
  223. package/examples/node.speedscope.json.md +0 -408
  224. package/examples/rust.pprof.md +0 -477
  225. package/examples/webkit-timeline-recording.json.md +0 -434
@@ -0,0 +1,314 @@
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` |
@@ -0,0 +1,119 @@
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` |
@@ -0,0 +1,86 @@
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` | `Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` | `Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` | `Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` | `Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` (`Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/profile.go:61`)
58
+
59
+ | % | Time | Samples | Callee | Location |
60
+ | ----: | ------: | ------: | ------------------------------ | ---------------------------------------------------------------------------------------------- |
61
+ | 89.7% | 1.26s | 1 | `main.workload` | `Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` (`Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` (`Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` (`Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` (`Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` (`Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/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` (`Users/tomer/Documents/work/code/profiler-md/scripts/fixtures/assets/go/profile.go:25`) |