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,380 +0,0 @@
1
- # Sampling profile diff
2
-
3
- 122 samples → 113 samples (-9 samples, -7.4%).
4
-
5
- | Category | Change | Delta | % | Samples |
6
- | -------- | -----: | ----: | ------------: | ------: |
7
- | stdlib | -12.1% | -8 | 54.1% → 51.3% | 66 → 58 |
8
- | ours | -1.8% | -1 | 45.9% → 48.7% | 56 → 55 |
9
-
10
- ## Hottest functions
11
-
12
- ### Self samples
13
-
14
- #### Regressions
15
-
16
- Functions with the largest increase in samples taken directly in the function body, excluding callees.
17
-
18
- | Change | Delta | % | Samples | Function | Location |
19
- | -----: | ----: | ----------: | ------: | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
20
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `parsePostfixExpression()` | `org.jetbrains.kotlin.parsing.KotlinExpressionParsing` |
21
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `runTasks()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
22
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirStatement)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirOptInUsageAccessChecker` |
23
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `visitFunctionCall(FirFunctionCall, CheckerContext)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.ExpressionCheckersDiagnosticComponent` |
24
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `loadCallableSpecificExperimentalities(CheckerContext, FirCallableSymbol, Set, boolean, SmartSet)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirOptInUsageBaseChecker` |
25
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `visitBlock(FirBlock, CheckerContext)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.ExpressionCheckersDiagnosticComponent` |
26
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `convertFunctionContent(IrFunction, FirFunction, FirClass)` | `org.jetbrains.kotlin.fir.backend.generators.ClassMemberGenerator` |
27
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `applyArgumentsWithReorderingIfNeeded(IrMemberAccessExpression, CallAndReferenceGenerator$ReceiverInfo, FirCall)` | `org.jetbrains.kotlin.fir.backend.generators.CallAndReferenceGenerator` |
28
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `visitLocalVariable(FirProperty)` | `org.jetbrains.kotlin.fir.backend.Fir2IrVisitor` |
29
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `preprocessNodeBeforeInline(MethodNode, Map)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
30
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `markPlacesForInlineAndRemoveInlinable(MethodNode, Map, int)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
31
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `analyzeInstruction(AbstractInsnNode, int, Frame, Frame, Frame)` | `org.jetbrains.kotlin.codegen.optimization.common.FastAnalyzer` |
32
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `invoke(Object)` | `org.jetbrains.kotlin.fir.scopes.impl.FirScopeWithCallableCopyReturnTypeUpdater$$Lambda.0x000000a0016f2238` |
33
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `mark()` | `org.jetbrains.kotlin.parsing.AbstractKotlinParsing` |
34
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `firValueParameter_delegate$lambda$0(ValueParameter)` | `org.jetbrains.kotlin.fir.lightTree.fir.ValueParameter` |
35
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `stringsToBytes(String[])` | `org.jetbrains.kotlin.metadata.jvm.deserialization.UtfEncodingKt` |
36
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `requiredToSave(FirResolvedTypeRef)` | `org.jetbrains.kotlin.fir.resolve.transformers.plugin.AbstractFirSpecificAnnotationResolveTransformer` |
37
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `visitArray(String)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass$3` |
38
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.fir.resolve.calls.ConeResolutionAtom` |
39
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `transformPackageDirective(FirPackageDirective, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformer` |
40
-
41
- #### Improvements
42
-
43
- Functions with the largest decrease in samples taken directly in the function body, excluding callees.
44
-
45
- | Change | Delta | % | Samples | Function | Location |
46
- | ------: | ----: | ----------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
47
- | removed | -2 | 1.6% → 0.0% | 2 → 0 | `extractArgumentsTypeRefAndSource(FirTypeRef)` | `org.jetbrains.kotlin.fir.analysis.checkers.FirHelpersKt` |
48
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(FastJarFileSystem, String)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarHandler` |
49
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `at(IElementType)` | `org.jetbrains.kotlin.parsing.AbstractKotlinParsing` |
50
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `access$2602(PsiBuilderImpl$StartMarker, PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.PsiBuilderImpl$StartMarker` |
51
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `indexOf(PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.MarkerProduction` |
52
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.FirContractDeserializer` |
53
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `get(int)` | `org.jetbrains.kotlin.protobuf.LazyStringArrayList` |
54
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(KtSourceElement, FirPropertyAccessExpression, ConeKotlinType, List, FqName, FqName, FirClassLikeSymbol, FirResolvedQualifier, boolean, ConeKotlinType, boolean, boolean, boolean, List, FirResolvedSymbolOrigin, List)` | `org.jetbrains.kotlin.fir.expressions.impl.FirResolvedQualifierImpl` |
55
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `resolveVariableAccessAndSelectCandidateImpl(FirQualifiedAccessExpression, boolean, ResolutionMode, boolean, FirElement, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
56
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `enqueueResolveTasksForNoReceiver(CallInfo)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
57
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `shouldBeFlexible(TypeVariableMarker)` | `org.jetbrains.kotlin.fir.resolve.inference.ConeConstraintSystemUtilContext` |
58
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Property` |
59
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.FirElementWithResolveState` |
60
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.symbols.impl.FirPropertySymbol` |
61
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `buildDefaultFlow(CFGNode, Function2)` | `org.jetbrains.kotlin.fir.resolve.dfa.FirDataFlowAnalyzer` |
62
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `transformReturnExpression(FirReturnExpression, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirControlFlowStatementsResolveTransformer` |
63
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(Continuation)` | `kotlin.coroutines.jvm.internal.ContinuationImpl` |
64
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `runResolverForExpressionReceiver(CallInfo, FirExpression, TowerGroup, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolveTask` |
65
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `toFirResolvedTypeRef(ConeKotlinType, KtSourceElement, FirTypeRef)` | `org.jetbrains.kotlin.fir.UtilsKt` |
66
- | removed | -1 | 0.8% → 0.0% | 1 → 0 | `rollbackTransaction()` | `org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl$TransactionState` |
67
-
68
- ### Total samples
69
-
70
- #### Regressions
71
-
72
- Functions with the largest increase in total samples taken in the function and all its callees.
73
-
74
- | Change | Delta | % | Samples | Function | Location |
75
- | ------: | ----: | -----------: | ------: | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
76
- | +75.0% | +6 | 6.6% → 12.4% | 8 → 14 | `visitElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
77
- | +55.6% | +5 | 7.4% → 12.4% | 9 → 14 | `generateMethod(IrFunction, SourceMapper)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
78
- | +40.0% | +4 | 8.2% → 12.4% | 10 → 14 | `visitElement(FirElement, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
79
- | +44.4% | +4 | 7.4% → 11.5% | 9 → 13 | `visitBlock(FirBlock, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
80
- | +44.4% | +4 | 7.4% → 11.5% | 9 → 13 | `visitBlock(FirBlock, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
81
- | +400.0% | +4 | 0.8% → 4.4% | 1 → 5 | `accept(MethodVisitor)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
82
- | new | +4 | 0.0% → 3.5% | 0 → 4 | `isSubtypeOfForSingleClassifierType(TypeCheckerState, TypeSystemContext, RigidTypeMarker, RigidTypeMarker)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
83
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `findKotlinClassOrContent(ClassId, MetadataVersion)` | `org.jetbrains.kotlin.load.kotlin.VirtualFileFinder` |
84
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `computePackagePartInfo(FqName, String)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
85
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `computePackagePartsInfos(FqName)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
86
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `tryComputePackagePartInfos(FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
87
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `access$tryComputePackagePartInfos(AbstractFirDeserializedSymbolProvider, FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
88
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `invoke(Object, Void)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$special$$inlined$createCache$2` |
89
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$special$$inlined$createCache$2` |
90
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `getPackageParts(FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
91
- | +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `access$getPackageParts(AbstractFirDeserializedSymbolProvider, FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
92
- | +300.0% | +3 | 0.8% → 3.5% | 1 → 4 | `completeIsSubTypeOf(TypeCheckerState, TypeSystemContext, KotlinTypeMarker, KotlinTypeMarker, boolean)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
93
- | +300.0% | +3 | 0.8% → 3.5% | 1 → 4 | `isSubtypeOf(TypeCheckerState, KotlinTypeMarker, KotlinTypeMarker, boolean)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
94
- | +30.0% | +3 | 8.2% → 11.5% | 10 → 13 | `visitAnnotationContainer(FirAnnotationContainer, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
95
- | +30.0% | +3 | 8.2% → 11.5% | 10 → 13 | `visitAnnotationContainer(FirAnnotationContainer, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
96
-
97
- #### Improvements
98
-
99
- Functions with the largest decrease in total samples taken in the function and all its callees.
100
-
101
- | Change | Delta | % | Samples | Function | Location |
102
- | -----: | ----: | ------------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
103
- | -19.6% | -9 | 37.7% → 32.7% | 46 → 37 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
104
- | -20.0% | -9 | 36.9% → 31.9% | 45 → 36 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
105
- | -19.0% | -8 | 34.4% → 30.1% | 42 → 34 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
106
- | -17.8% | -8 | 36.9% → 32.7% | 45 → 37 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
107
- | -18.2% | -8 | 36.1% → 31.9% | 44 → 36 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
108
- | -19.5% | -8 | 33.6% → 29.2% | 41 → 33 | `execImpl(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
109
- | -10.0% | -7 | 57.4% → 55.8% | 70 → 63 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
110
- | -15.9% | -7 | 36.1% → 32.7% | 44 → 37 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
111
- | -16.3% | -7 | 35.2% → 31.9% | 43 → 36 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
112
- | -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
113
- | -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
114
- | -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `executeAndReturnPipeLineArtifact(CommonCompilerArguments, Services, MessageCollector, Disposable)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
115
- | -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `executeAndReturnPipeLineArtifact$default(AbstractCliPipeline, CommonCompilerArguments, Services, MessageCollector, Disposable, int, Object)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
116
- | -17.1% | -7 | 33.6% → 30.1% | 41 → 34 | `execute(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
117
- | -17.1% | -7 | 33.6% → 30.1% | 41 → 34 | `doExecutePhased(K2JVMCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
118
- | -17.1% | -7 | 33.6% → 30.1% | 41 → 34 | `doExecutePhased(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
119
- | -17.5% | -7 | 32.8% → 29.2% | 40 → 33 | `exec(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
120
- | -31.8% | -7 | 18.0% → 13.3% | 22 → 15 | `transformInplace(List, FirTransformer, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformerUtilKt` |
121
- | -41.2% | -7 | 13.9% → 8.8% | 17 → 10 | `transformElement(FirElement, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer` |
122
- | -41.2% | -7 | 13.9% → 8.8% | 17 → 10 | `transformElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer` |
123
-
124
- # Allocated heap profile diff
125
-
126
- Allocated 684 MiB (-244.382 KiB, ~0%) over 874 samples → 869 samples (801 KiB → 805 KiB per sample).
127
-
128
- | Category | Change | Delta | % | Size | Samples |
129
- | -------- | -----: | ----------: | ------------: | ------------------: | --------: |
130
- | stdlib | -2.0% | -10.779 MiB | 78.7% → 77.1% | 538 MiB → 527 MiB | 571 → 551 |
131
- | ours | +7.2% | +10.541 MiB | 21.3% → 22.9% | 146 MiB → 156 MiB | 293 → 310 |
132
- | native | -0.8% | -240 B | <0.1% | 29.3 KiB → 29.1 KiB | 10 → 8 |
133
-
134
- ## Hottest functions
135
-
136
- ### Self size
137
-
138
- #### Regressions
139
-
140
- Functions with the largest increase in bytes allocated directly in the function body, excluding callees.
141
-
142
- | Change | Delta | % | Size | Samples | Function | Location |
143
- | ------: | -------------: | ----------: | ------------------: | ------: | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- |
144
- | +135.4% | +4.592 MiB | 0.5% → 1.2% | 3.39 MiB → 7.98 MiB | 7 → 15 | `box-impl(List)` | `org.jetbrains.kotlin.fir.MutableOrEmptyList` |
145
- | +350.0% | +3.492 MiB | 0.1% → 0.7% | 1022 KiB → 4.49 MiB | 2 → 9 | `<init>()` | `org.jetbrains.kotlin.resolve.calls.inference.model.MutableConstraintStorage` |
146
- | +22.3% | +2.993 MiB | 2.0% → 2.4% | 13.4 MiB → 16.4 MiB | 27 → 33 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
147
- | +166.7% | +2.495 MiB | 0.2% → 0.6% | 1.5 MiB → 3.99 MiB | 3 → 7 | `to(Object, Object)` | `kotlin.TuplesKt` |
148
- | +200.0% | +1.996 MiB | 0.1% → 0.4% | 1022 KiB → 2.99 MiB | 2 → 6 | `<init>()` | `org.jetbrains.kotlin.types.AbstractTypeApproximator$Cache` |
149
- | +36.2% | +1.996 MiB | 0.8% → 1.1% | 5.52 MiB → 7.52 MiB | 12 → 16 | `newInstance(OutputStream, int)` | `org.jetbrains.kotlin.protobuf.CodedOutputStream` |
150
- | +400.0% | +1.996 MiB | 0.1% → 0.4% | 511 KiB → 2.5 MiB | 1 → 5 | `iterator()` | `org.jetbrains.kotlin.utils.SmartList` |
151
- | new | +1.497 MiB | 0.0% → 0.2% | 0 B → 1.5 MiB | 0 → 3 | `simplifyKnownSafeCallPatterns(TemporaryVariablesEliminationTransformer$ControlFlowGraph)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.TemporaryVariablesEliminationTransformer` |
152
- | new | +1.497 MiB | 0.0% → 0.2% | 0 B → 1.5 MiB | 0 → 3 | `getLabel()` | `org.jetbrains.org.objectweb.asm.tree.LabelNode` |
153
- | +60.0% | +1.497 MiB | 0.4% → 0.6% | 2.5 MiB → 3.99 MiB | 5 → 8 | `newOutput()` | `org.jetbrains.kotlin.protobuf.ByteString` |
154
- | +45.9% | +1,022.546 KiB | 0.3% → 0.5% | 2.18 MiB → 3.17 MiB | 4 → 5 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
155
- | +200.0% | +1,022.007 KiB | 0.1% → 0.2% | 511 KiB → 1.5 MiB | 1 → 3 | `IrSimpleTypeImpl(IrClassifierSymbol, SimpleTypeNullability, List, List, KotlinType)` | `org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImplKt` |
156
- | new | +1,022 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `getAnnotationsByClassId(List, ClassId, FirSession)` | `org.jetbrains.kotlin.fir.declarations.FirAnnotationUtilsKt` |
157
- | new | +1,022 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `_init_$lambda$0(int, int)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.FastStoreLoadAnalyzer` |
158
- | new | +1,022 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `valueOf(int)` | `java.lang.Integer` |
159
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `resolveNameByInternalName(String, FileBasedKotlinClass$InnerClassesInfo)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass` |
160
- | +200.0% | +1,021.992 KiB | 0.1% → 0.2% | 511 KiB → 1.5 MiB | 1 → 3 | `createScope(IrSymbolOwner)` | `org.jetbrains.kotlin.backend.common.IrElementTransformerVoidWithContext` |
161
- | new | +1,021.976 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `processCandidatesAndPostponedAtoms(ConeResolutionAtom, Function1, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.CandidateTraversalKt` |
162
- | new | +1,021.976 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `getSuperConeTypes(FirClass)` | `org.jetbrains.kotlin.fir.declarations.utils.FirDeclarationUtilKt` |
163
- | new | +1,021.976 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 1 | `_get_boundsNullability_$lambda$0$2(List, AbstractSignatureParts)` | `org.jetbrains.kotlin.load.java.typeEnhancement.AbstractSignatureParts` |
164
-
165
- #### Improvements
166
-
167
- Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
168
-
169
- | Change | Delta | % | Size | Samples | Function | Location |
170
- | ------: | -------------: | -----------: | -----------------: | --------: | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
171
- | -76.8% | -144.193 MiB | 27.5% → 6.4% | 188 MiB → 43.6 MiB | 116 → 113 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
172
- | removed | -2.495 MiB | 0.4% → 0.0% | 2.5 MiB → 0 B | 4 → 0 | `<init>(String)` | `org.jetbrains.kotlin.name.FqName` |
173
- | removed | -2.494 MiB | 0.4% → 0.0% | 2.49 MiB → 0 B | 5 → 0 | `toArray()` | `org.jetbrains.org.objectweb.asm.tree.InsnList` |
174
- | -29.6% | -2.309 MiB | 1.1% → 0.8% | 7.8 MiB → 5.49 MiB | 16 → 11 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
175
- | -50.0% | -1.996 MiB | 0.6% → 0.3% | 3.99 MiB → 2 MiB | 8 → 4 | `toString()` | `java.lang.StringBuilder` |
176
- | -74.3% | -1.604 MiB | 0.3% → 0.1% | 2.16 MiB → 569 KiB | 5 → 1 | `create()` | `com.intellij.lang.impl.PsiBuilderImpl$MyTreeStructure$2` |
177
- | -80.5% | -1.599 MiB | 0.3% → 0.1% | 1.99 MiB → 398 KiB | 5 → 1 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
178
- | removed | -1.497 MiB | 0.2% → 0.0% | 1.5 MiB → 0 B | 3 → 0 | `unmodifiableList(List)` | `java.util.Collections` |
179
- | -60.0% | -1.497 MiB | 0.4% → 0.1% | 2.5 MiB → 1022 KiB | 5 → 2 | `identifier(String)` | `org.jetbrains.kotlin.name.Name` |
180
- | removed | -1.497 MiB | 0.2% → 0.0% | 1.5 MiB → 0 B | 3 → 0 | `analyzer$lambda$0(FixStackAnalyzer, int, int)` | `org.jetbrains.kotlin.codegen.optimization.fixStack.FixStackAnalyzer` |
181
- | -75.1% | -1.495 MiB | 0.3% → 0.1% | 1.99 MiB → 508 KiB | 4 → 1 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
182
- | removed | -1.388 MiB | 0.2% → 0.0% | 1.39 MiB → 0 B | 2 → 0 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
183
- | -67.0% | -1.012 MiB | 0.2% → 0.1% | 1.51 MiB → 511 KiB | 3 → 1 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
184
- | removed | -1,022 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `processCandidate(Candidate, ResolutionContext, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.ResolutionStageRunner` |
185
- | -50.0% | -1,021.992 KiB | 0.3% → 0.1% | 2 MiB → 1022 KiB | 4 → 2 | `getTypeInternal(String, int, int)` | `org.jetbrains.org.objectweb.asm.Type` |
186
- | removed | -1,021.992 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 1 → 0 | `<init>(Function1, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.Context` |
187
- | -66.7% | -1,021.992 KiB | 0.2% → 0.1% | 1.5 MiB → 511 KiB | 3 → 1 | `executeInvokeInsn(AbstractInsnNode, String, Interpreter)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
188
- | removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `extractDeprecationAnnotationInfoPerUseSite(List, boolean, FirSession, List)` | `org.jetbrains.kotlin.fir.declarations.DeprecationUtilsKt` |
189
- | -66.7% | -1,021.984 KiB | 0.2% → 0.1% | 1.5 MiB → 511 KiB | 3 → 1 | `iterator()` | `org.jetbrains.org.objectweb.asm.tree.analysis.SmallSet` |
190
- | removed | -1,021.976 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `getBasicBlockAt$lambda$0()` | `org.jetbrains.kotlin.codegen.inline.MaxStackFrameSizeAndLocalsCalculator` |
191
-
192
- ### Total size
193
-
194
- #### Regressions
195
-
196
- Functions with the largest increase in total bytes allocated in the function and all its callees.
197
-
198
- | Change | Delta | % | Size | Samples | Function | Location |
199
- | -------: | -----------: | ------------: | ------------------: | --------: | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
200
- | +151.7% | +150.505 MiB | 14.5% → 36.5% | 99.2 MiB → 250 MiB | 101 → 113 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
201
- | +48.8% | +63.382 MiB | 19.0% → 28.3% | 130 MiB → 193 MiB | 264 → 274 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
202
- | +48.3% | +63.382 MiB | 19.2% → 28.5% | 131 MiB → 195 MiB | 267 → 277 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
203
- | +46.7% | +62.431 MiB | 19.6% → 28.7% | 134 MiB → 196 MiB | 272 → 281 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
204
- | +5873.1% | +58.555 MiB | 0.1% → 8.7% | 1021 KiB → 59.6 MiB | 2 → 3 | `getAnnotation(Class)` | `java.lang.reflect.Field` |
205
- | +3494.8% | +58.358 MiB | 0.2% → 8.8% | 1.67 MiB → 60 MiB | 4 | `parsePreprocessedCommandLineArguments(List, CommonToolArguments, Lazy, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
206
- | +3494.8% | +58.358 MiB | 0.2% → 8.8% | 1.67 MiB → 60 MiB | 4 | `parseCommandLineArguments(List, CommonToolArguments, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
207
- | +3494.8% | +58.358 MiB | 0.2% → 8.8% | 1.67 MiB → 60 MiB | 4 | `parseCommandLineArguments$default(List, CommonToolArguments, boolean, int, Object)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
208
- | +3466.4% | +57.882 MiB | 0.2% → 8.7% | 1.67 MiB → 59.6 MiB | 4 → 3 | `getArgumentsInfo(Class)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
209
- | +530.9% | +56.851 MiB | 1.6% → 9.9% | 10.7 MiB → 67.6 MiB | 24 → 19 | `put(Object, Object)` | `java.util.HashMap` |
210
- | +627.7% | +21.904 MiB | 0.5% → 3.7% | 3.49 MiB → 25.4 MiB | 8 → 12 | `loadClass(String)` | `java.lang.ClassLoader` |
211
- | +4111.1% | +20.825 MiB | 0.1% → 3.1% | 519 KiB → 21.3 MiB | 2 → 3 | `forName(String, boolean, ClassLoader)` | `java.lang.Class` |
212
- | +7.2% | +9.963 MiB | 20.4% → 21.8% | 139 MiB → 149 MiB | 281 → 299 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
213
- | +7.0% | +9.963 MiB | 20.9% → 22.4% | 143 MiB → 153 MiB | 289 → 307 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
214
- | +7.3% | +9.963 MiB | 20.1% → 21.5% | 137 MiB → 147 MiB | 277 → 295 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
215
- | +7.2% | +9.52 MiB | 19.3% → 20.7% | 132 MiB → 142 MiB | 267 → 285 | `doExecutePhased(K2JVMCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
216
- | +6.6% | +9.464 MiB | 21.1% → 22.5% | 144 MiB → 154 MiB | 290 → 308 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
217
- | +7.1% | +9.443 MiB | 19.4% → 20.8% | 133 MiB → 142 MiB | 268 → 286 | `execute(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
218
- | +6.5% | +9.312 MiB | 21.1% → 22.4% | 144 MiB → 153 MiB | 291 → 307 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
219
- | +6.5% | +9.21 MiB | 20.6% → 22.0% | 141 MiB → 150 MiB | 285 → 301 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
220
-
221
- #### Improvements
222
-
223
- Functions with the largest decrease in total bytes allocated in the function and all its callees.
224
-
225
- | Change | Delta | % | Size | Samples | Function | Location |
226
- | ------: | -----------: | -----------: | ------------------: | --------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
227
- | -76.8% | -144.193 MiB | 27.5% → 6.4% | 188 MiB → 43.6 MiB | 116 → 113 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
228
- | removed | -61.464 MiB | 9.0% → 0.0% | 61.5 MiB → 0 B | 1 → 0 | `listFiles(FilenameFilter)` | `java.io.File` |
229
- | removed | -61.464 MiB | 9.0% → 0.0% | 61.5 MiB → 0 B | 1 → 0 | `cleanup()` | `org.fusesource.jansi.internal.JansiLoader` |
230
- | removed | -61.464 MiB | 9.0% → 0.0% | 61.5 MiB → 0 B | 1 → 0 | `initialize()` | `org.fusesource.jansi.internal.JansiLoader` |
231
- | removed | -61.464 MiB | 9.0% → 0.0% | 61.5 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.fusesource.jansi.internal.CLibrary` |
232
- | removed | -61.464 MiB | 9.0% → 0.0% | 61.5 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.PlainTextMessageRenderer` |
233
- | removed | -61.464 MiB | 9.0% → 0.0% | 61.5 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.MessageRenderer` |
234
- | removed | -61.464 MiB | 9.0% → 0.0% | 61.5 MiB → 0 B | 1 → 0 | `defaultMessageRenderer()` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
235
- | -20.0% | -11.236 MiB | 8.2% → 6.6% | 56.1 MiB → 44.9 MiB | 113 → 89 | `collectCandidates(FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
236
- | -18.6% | -10.246 MiB | 8.1% → 6.6% | 55.1 MiB → 44.9 MiB | 112 → 89 | `collectCandidates$default(FirCallResolver, FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
237
- | -19.6% | -10.207 MiB | 7.6% → 6.1% | 52.1 MiB → 41.9 MiB | 105 → 83 | `runTasks()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
238
- | -18.5% | -10.207 MiB | 8.1% → 6.6% | 55.1 MiB → 44.9 MiB | 111 → 89 | `runResolver$default(FirTowerResolver, CallInfo, ResolutionContext, CandidateCollector, CandidateFactory, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
239
- | -17.2% | -9.209 MiB | 7.8% → 6.5% | 53.6 MiB → 44.4 MiB | 108 → 88 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, TowerResolveManager, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
240
- | -17.2% | -9.209 MiB | 7.8% → 6.5% | 53.6 MiB → 44.4 MiB | 108 → 88 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
241
- | -52.8% | -8.934 MiB | 2.5% → 1.2% | 16.9 MiB → 7.98 MiB | 34 → 15 | `processMembers(CallInfo, TowerLevelProcessor, Function2)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.DispatchReceiverMemberScopeTowerLevel` |
242
- | -16.6% | -8.771 MiB | 7.7% → 6.4% | 52.7 MiB → 43.9 MiB | 106 → 86 | `resumeTask(TowerResolveManager$SuspendedResolverTask)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
243
- | -16.7% | -8.005 MiB | 7.0% → 5.8% | 47.9 MiB → 39.9 MiB | 97 → 79 | `resolveCallAndSelectCandidate(FirFunctionCall, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
244
- | -16.9% | -8.005 MiB | 6.9% → 5.8% | 47.4 MiB → 39.4 MiB | 96 → 78 | `resolveCallAndSelectCandidate$default(FirCallResolver, FirFunctionCall, ResolutionMode, CollectionLiteralOuterCandidateContext, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
245
- | -14.4% | -7.274 MiB | 7.4% → 6.4% | 50.7 MiB → 43.4 MiB | 102 → 84 | `processLevel(TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
246
- | -14.4% | -7.274 MiB | 7.4% → 6.4% | 50.7 MiB → 43.4 MiB | 102 → 84 | `access$processLevel(FirBaseTowerResolveTask, TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
247
-
248
- # Retained heap profile diff
249
-
250
- Retained 19.2 MiB → 18.7 MiB (-548.218 KiB, -2.8%) over 198 samples → 203 samples (99.4 KiB → 94.3 KiB per sample).
251
-
252
- | Category | Change | Delta | % | Size | Samples |
253
- | -------- | -----: | ----------: | ------------: | ----------------: | --------: |
254
- | stdlib | -3.0% | -550.46 KiB | 93.6% → 93.5% | 18 MiB → 17.5 MiB | 183 → 188 |
255
- | ours | +0.2% | +2.242 KiB | 6.4% → 6.5% | 1.22 MiB | 15 |
256
-
257
- ## Hottest functions
258
-
259
- ### Self size
260
-
261
- #### Regressions
262
-
263
- Functions with the largest increase in bytes retained directly in the function body, excluding callees.
264
-
265
- | Change | Delta | % | Size | Samples | Function | Location |
266
- | -----: | ---------: | -----------: | ------------------: | ------: | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
267
- | new | +4.343 KiB | 0.0% → <0.1% | 0 B → 4.34 KiB | 0 → 1 | `copyOf(int[], int)` | `java.util.Arrays` |
268
- | +0.2% | +2.257 KiB | 6.1% → 6.2% | 1.16 MiB → 1.17 MiB | 6 → 7 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
269
- | new | +224 B | 0.0% → <0.1% | 0 B → 224 B | 0 → 2 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Function$1` |
270
- | new | +224 B | 0.0% → <0.1% | 0 B → 224 B | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirBlock)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirConflictsExpressionChecker` |
271
- | new | +48 B | 0.0% → <0.1% | 0 B → 48 B | 0 → 1 | `create(String, int, String, String, JavaClass, ClassifierResolutionContext, BinaryClassSignatureParser)` | `org.jetbrains.kotlin.load.java.structure.impl.classFiles.BinaryJavaMethodBase$Companion` |
272
-
273
- #### Improvements
274
-
275
- Functions with the largest decrease in bytes retained directly in the function body, excluding callees.
276
-
277
- | Change | Delta | % | Size | Samples | Function | Location |
278
- | ------: | -----: | -----------: | ----------: | ------: | ------------------------------------------- | ------------------------------------------------------------------------------ |
279
- | removed | -256 B | <0.1% → 0.0% | 256 B → 0 B | 1 → 0 | `asRigidType(KotlinTypeMarker)` | `org.jetbrains.kotlin.fir.types.ConeTypeContext` |
280
- | removed | -88 B | <0.1% → 0.0% | 88 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirRegularClassBuilder` |
281
- | removed | -72 B | <0.1% → 0.0% | 72 B → 0 B | 1 → 0 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
282
- | removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.java.declarations.FirJavaValueParameterBuilder` |
283
- | removed | -32 B | <0.1% → 0.0% | 32 B → 0 B | 1 → 0 | `substituteArguments(ConeSimpleKotlinType)` | `org.jetbrains.kotlin.fir.resolve.substitution.AbstractConeSubstitutor` |
284
-
285
- ### Total size
286
-
287
- #### Regressions
288
-
289
- Functions with the largest increase in total bytes retained in the function and all its callees.
290
-
291
- | Change | Delta | % | Size | Samples | Function | Location |
292
- | ----------: | ----------: | -----------: | -----------------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
293
- | +1698300.0% | +1.166 MiB | <0.1% → 6.2% | 72 B → 1.17 MiB | 1 → 7 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x000000a0013f5a40` |
294
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
295
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
296
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `executeAndReturnPipeLineArtifact(CommonCompilerArguments, Services, MessageCollector, Disposable)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
297
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `executeAndReturnPipeLineArtifact$default(AbstractCliPipeline, CommonCompilerArguments, Services, MessageCollector, Disposable, int, Object)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
298
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `execute(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
299
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `doExecutePhased(K2JVMCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
300
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `doExecutePhased(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
301
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `execImpl(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
302
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `exec(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
303
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
304
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
305
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
306
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
307
- | +67.2% | +40.632 KiB | 0.3% → 0.5% | 60.5 KiB → 101 KiB | 14 → 15 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
308
- | +66.3% | +40.304 KiB | 0.3% → 0.5% | 60.8 KiB → 101 KiB | 15 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
309
- | +66.3% | +40.304 KiB | 0.3% → 0.5% | 60.8 KiB → 101 KiB | 15 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
310
- | +66.3% | +40.304 KiB | 0.3% → 0.5% | 60.8 KiB → 101 KiB | 15 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
311
- | +66.3% | +40.304 KiB | 0.3% → 0.5% | 60.8 KiB → 101 KiB | 15 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
312
- | new | +36.554 KiB | 0.0% → 0.2% | 0 B → 36.6 KiB | 0 → 1 | `forName(String, boolean, ClassLoader)` | `java.lang.Class` |
313
-
314
- #### Improvements
315
-
316
- Functions with the largest decrease in total bytes retained in the function and all its callees.
317
-
318
- | Change | Delta | % | Size | Samples | Function | Location |
319
- | ------: | -----------: | ------------: | ------------------: | --------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
320
- | removed | -1.163 MiB | 6.1% → 0.0% | 1.16 MiB → 0 B | 6 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x00000070013f5a40` |
321
- | -1.8% | -331.203 KiB | 91.7% → 92.6% | 17.6 MiB → 17.3 MiB | 177 → 181 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
322
- | -1.8% | -331.117 KiB | 91.7% → 92.6% | 17.6 MiB → 17.3 MiB | 176 → 181 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
323
- | -5.7% | -226.406 KiB | 20.1% → 19.5% | 3.86 MiB → 3.64 MiB | 4 | `getResource(String)` | `java.lang.ClassLoader` |
324
- | -5.7% | -226.406 KiB | 20.1% → 19.5% | 3.86 MiB → 3.64 MiB | 4 | `getResource(String)` | `org.jetbrains.kotlin.preloading.MemoryBasedClassLoader` |
325
- | -5.7% | -226.406 KiB | 20.1% → 19.5% | 3.86 MiB → 3.64 MiB | 4 | `<init>()` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
326
- | -5.7% | -226.406 KiB | 20.1% → 19.5% | 3.86 MiB → 3.64 MiB | 4 | `<init>()` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
327
- | -5.6% | -222.359 KiB | 20.1% → 19.5% | 3.87 MiB → 3.65 MiB | 13 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
328
- | -4.6% | -185.445 KiB | 20.4% → 20.0% | 3.92 MiB → 3.74 MiB | 17 → 19 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
329
- | -4.6% | -185.445 KiB | 20.4% → 20.0% | 3.92 MiB → 3.74 MiB | 17 → 19 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
330
- | -0.8% | -108.843 KiB | 70.3% → 71.7% | 13.5 MiB → 13.4 MiB | 163 → 167 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
331
- | -0.8% | -108.843 KiB | 71.6% → 73.0% | 13.8 MiB → 13.7 MiB | 164 → 168 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
332
- | -0.8% | -108.843 KiB | 71.6% → 73.0% | 13.8 MiB → 13.7 MiB | 164 → 168 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
333
- | -0.2% | -528 B | 1.3% | 257 KiB → 256 KiB | 2 → 1 | `put(Object, Object)` | `java.util.HashMap` |
334
- | removed | -528 B | <0.1% → 0.0% | 528 B → 0 B | 1 → 0 | `<init>(ProtoBuf$PackageFragment, NameResolver, BinaryVersion, Function1)` | `org.jetbrains.kotlin.serialization.deserialization.ProtoBasedClassDataFinder` |
335
- | -61.2% | -504 B | <0.1% | 824 B → 320 B | 3 | `prepareSessions(List, CompilerConfiguration, Name, TargetPlatform, boolean, DependencyListForCliModule, List, Function1, Function1, Function2, Function0, Function0, Function1, FirSessionProducer, Function4)` | `org.jetbrains.kotlin.cli.common.SessionConstructionUtils` |
336
- | -61.2% | -504 B | <0.1% | 824 B → 320 B | 3 | `prepareSessions$default(SessionConstructionUtils, List, CompilerConfiguration, Name, TargetPlatform, boolean, DependencyListForCliModule, List, Function1, Function1, Function2, Function0, Function0, Function1, FirSessionProducer, Function4, int, Object)` | `org.jetbrains.kotlin.cli.common.SessionConstructionUtils` |
337
- | -61.2% | -504 B | <0.1% | 824 B → 320 B | 3 | `prepareJvmSessions(List, Name, CompilerConfiguration, VfsBasedProjectEnvironment, AbstractProjectFileSearchScope, DependencyListForCliModule, Function1, Function1, Function2, Function1)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
338
- | -59.2% | -488 B | <0.1% | 824 B → 336 B | 4 → 1 | `convertToIrAndActualize()` | `org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline` |
339
- | -59.2% | -488 B | <0.1% | 824 B → 336 B | 4 → 1 | `convertToIrAndActualize-MT2kVtw(List, Fir2IrExtensions, Fir2IrConfiguration, Collection, KotlinMangler$IrMangler, Fir2IrVisibilityConverter, KotlinBuiltIns, Function1, IrSpecialAnnotationsProvider, Function1, Fir2IrCommonMemberStorage, Function1)` | `org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt` |
340
-
341
- # Lock contention profile diff
342
-
343
- Blocked 510.6ms → 492.7ms (-17.91ms, -3.5%) over 3 samples → 2 samples (170.2ms → 246.4ms per sample).
344
-
345
- | Category | Change | Delta | % | Time | Samples |
346
- | -------- | -----: | -------: | -----: | ----------------: | ------: |
347
- | stdlib | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 |
348
-
349
- The entry filter hides every sampled function, so all functions are shown.
350
-
351
- ## Hottest functions
352
-
353
- ### Self time
354
-
355
- #### Improvements
356
-
357
- Functions with the largest decrease in time blocked directly in the function body, excluding callees.
358
-
359
- | Change | Delta | % | Time | Samples | Function | Location |
360
- | -----: | -------: | -----: | ----------------: | ------: | --------------------- | -------------------------- |
361
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
362
-
363
- ### Total time
364
-
365
- #### Improvements
366
-
367
- Functions with the largest decrease in total time blocked in the function and all its callees.
368
-
369
- | Change | Delta | % | Time | Samples | Function | Location |
370
- | -----: | -------: | -----: | ----------------: | ------: | --------------------------- | ----------------------------------------------------------------------- |
371
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
372
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `parkNanos(Object, long)` | `java.util.concurrent.locks.LockSupport` |
373
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `await(long, TimeUnit)` | `java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject` |
374
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `await(long)` | `java.lang.ref.ReferenceQueue` |
375
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `remove0(long)` | `java.lang.ref.ReferenceQueue` |
376
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `remove(long)` | `java.lang.ref.ReferenceQueue` |
377
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `run()` | `jdk.internal.ref.CleanerImpl` |
378
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `runWith(Object, Runnable)` | `java.lang.Thread` |
379
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `run()` | `java.lang.Thread` |
380
- | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `run()` | `jdk.internal.misc.InnocuousThread` |