profiler-md 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/cli/index.mjs +12953 -4258
  2. package/dist/index.d.mts +1182 -435
  3. package/dist/index.js +2 -2
  4. package/docs/api.md +138 -0
  5. package/docs/formats/callgrind.md +25 -0
  6. package/docs/formats/collapsed.md +5 -3
  7. package/docs/formats/ghc-eventlog.md +20 -0
  8. package/docs/formats/ghc-json-profile.md +23 -0
  9. package/docs/formats/hprof.md +21 -0
  10. package/docs/formats/jfr.md +2 -2
  11. package/docs/formats/jsc-heap-snapshot.md +10 -4
  12. package/docs/formats/memray.md +30 -0
  13. package/docs/formats/perf.md +74 -0
  14. package/docs/formats/pprof.md +4 -2
  15. package/docs/formats/speedscope.md +3 -2
  16. package/docs/formats/systing.md +17 -15
  17. package/docs/formats/v8-cpu-profile.md +4 -3
  18. package/docs/formats/v8-heap-profile.md +8 -5
  19. package/docs/formats/v8-heap-snapshot.md +8 -3
  20. package/docs/formats/webkit-timeline-recording.md +6 -0
  21. package/docs/languages/c.md +119 -32
  22. package/docs/languages/csharp.md +5 -3
  23. package/docs/languages/elixir.md +19 -11
  24. package/docs/languages/fortran.md +141 -0
  25. package/docs/languages/go.md +33 -10
  26. package/docs/languages/haskell.md +134 -0
  27. package/docs/languages/java.md +81 -26
  28. package/docs/languages/javascript.md +43 -25
  29. package/docs/languages/julia.md +21 -18
  30. package/docs/languages/php.md +19 -0
  31. package/docs/languages/python.md +105 -14
  32. package/docs/languages/ruby.md +15 -16
  33. package/docs/languages/rust.md +11 -10
  34. package/docs/languages/swift.md +135 -0
  35. package/docs/languages/zig.md +155 -0
  36. package/package.json +42 -42
  37. package/readme.md +302 -259
  38. package/skills/profile-optimize/SKILL.md +4 -2
  39. package/examples/output/c.gperftools.cpu.base.pprof.md +0 -324
  40. package/examples/output/c.gperftools.cpu.current.pprof.md +0 -271
  41. package/examples/output/c.gperftools.cpu.diff.pprof.md +0 -98
  42. package/examples/output/c.gperftools.heap.base.pprof.md +0 -362
  43. package/examples/output/c.gperftools.heap.current.pprof.md +0 -362
  44. package/examples/output/c.gperftools.heap.diff.pprof.md +0 -28
  45. package/examples/output/c.systing.cpu.base.systing.md +0 -824
  46. package/examples/output/c.systing.cpu.current.systing.md +0 -825
  47. package/examples/output/c.systing.cpu.diff.systing.md +0 -238
  48. package/examples/output/cpp.gperftools.cpu.base.pprof.md +0 -557
  49. package/examples/output/cpp.gperftools.cpu.current.pprof.md +0 -573
  50. package/examples/output/cpp.gperftools.cpu.diff.pprof.md +0 -122
  51. package/examples/output/cpp.gperftools.heap.base.pprof.md +0 -67
  52. package/examples/output/cpp.gperftools.heap.current.pprof.md +0 -67
  53. package/examples/output/cpp.gperftools.heap.diff.pprof.md +0 -19
  54. package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +0 -411
  55. package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +0 -412
  56. package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +0 -122
  57. package/examples/output/elixir.eflambe.cpu.base.collapsed.md +0 -399
  58. package/examples/output/elixir.eflambe.cpu.current.collapsed.md +0 -398
  59. package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +0 -92
  60. package/examples/output/erlang.eflambe.cpu.base.collapsed.md +0 -147
  61. package/examples/output/erlang.eflambe.cpu.current.collapsed.md +0 -147
  62. package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +0 -18
  63. package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +0 -324
  64. package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +0 -314
  65. package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +0 -119
  66. package/examples/output/go.pprof.block.base.pprof.md +0 -86
  67. package/examples/output/go.pprof.block.current.pprof.md +0 -83
  68. package/examples/output/go.pprof.block.diff.pprof.md +0 -42
  69. package/examples/output/go.pprof.cpu.base.pprof.md +0 -81
  70. package/examples/output/go.pprof.cpu.current.pprof.md +0 -70
  71. package/examples/output/go.pprof.cpu.diff.pprof.md +0 -52
  72. package/examples/output/go.pprof.goroutine.base.pprof.md +0 -43
  73. package/examples/output/go.pprof.goroutine.current.pprof.md +0 -43
  74. package/examples/output/go.pprof.goroutine.diff.pprof.md +0 -13
  75. package/examples/output/go.pprof.heap-alloc.base.pprof.md +0 -154
  76. package/examples/output/go.pprof.heap-alloc.current.pprof.md +0 -146
  77. package/examples/output/go.pprof.heap-alloc.diff.pprof.md +0 -67
  78. package/examples/output/go.pprof.heap.base.pprof.md +0 -154
  79. package/examples/output/go.pprof.heap.current.pprof.md +0 -146
  80. package/examples/output/go.pprof.heap.diff.pprof.md +0 -67
  81. package/examples/output/go.pprof.mutex.base.pprof.md +0 -55
  82. package/examples/output/go.pprof.mutex.current.pprof.md +0 -41
  83. package/examples/output/go.pprof.mutex.diff.pprof.md +0 -31
  84. package/examples/output/go.pprof.threadcreate.base.pprof.md +0 -55
  85. package/examples/output/go.pprof.threadcreate.current.pprof.md +0 -55
  86. package/examples/output/go.pprof.threadcreate.diff.pprof.md +0 -19
  87. package/examples/output/java.async-profiler.all.base.jfr.md +0 -1071
  88. package/examples/output/java.async-profiler.all.current.jfr.md +0 -1007
  89. package/examples/output/java.async-profiler.all.diff.jfr.md +0 -268
  90. package/examples/output/java.async-profiler.alloc.base.jfr.md +0 -425
  91. package/examples/output/java.async-profiler.alloc.current.jfr.md +0 -413
  92. package/examples/output/java.async-profiler.alloc.diff.jfr.md +0 -99
  93. package/examples/output/java.async-profiler.cpu.base.collapsed.md +0 -367
  94. package/examples/output/java.async-profiler.cpu.base.jfr.md +0 -485
  95. package/examples/output/java.async-profiler.cpu.current.collapsed.md +0 -355
  96. package/examples/output/java.async-profiler.cpu.current.jfr.md +0 -488
  97. package/examples/output/java.async-profiler.cpu.diff.collapsed.md +0 -117
  98. package/examples/output/java.async-profiler.cpu.diff.jfr.md +0 -118
  99. package/examples/output/java.async-profiler.live.base.jfr.md +0 -697
  100. package/examples/output/java.async-profiler.live.current.jfr.md +0 -684
  101. package/examples/output/java.async-profiler.live.diff.jfr.md +0 -191
  102. package/examples/output/java.async-profiler.lock.base.jfr.md +0 -140
  103. package/examples/output/java.async-profiler.lock.current.jfr.md +0 -108
  104. package/examples/output/java.async-profiler.lock.diff.jfr.md +0 -44
  105. package/examples/output/java.async-profiler.nativemem.base.jfr.md +0 -222
  106. package/examples/output/java.async-profiler.nativemem.current.jfr.md +0 -222
  107. package/examples/output/java.async-profiler.nativemem.diff.jfr.md +0 -65
  108. package/examples/output/java.async-profiler.wall.base.jfr.md +0 -400
  109. package/examples/output/java.async-profiler.wall.current.jfr.md +0 -420
  110. package/examples/output/java.async-profiler.wall.diff.jfr.md +0 -94
  111. package/examples/output/java.jdk.all.base.jfr.md +0 -1024
  112. package/examples/output/java.jdk.all.current.jfr.md +0 -1010
  113. package/examples/output/java.jdk.all.diff.jfr.md +0 -311
  114. package/examples/output/java.jdk.alloc.base.jfr.md +0 -1024
  115. package/examples/output/java.jdk.alloc.current.jfr.md +0 -1046
  116. package/examples/output/java.jdk.alloc.diff.jfr.md +0 -312
  117. package/examples/output/java.jdk.cpu.base.jfr.md +0 -1023
  118. package/examples/output/java.jdk.cpu.current.jfr.md +0 -1039
  119. package/examples/output/java.jdk.cpu.diff.jfr.md +0 -285
  120. package/examples/output/java.jdk.live.base.jfr.md +0 -1029
  121. package/examples/output/java.jdk.live.current.jfr.md +0 -1035
  122. package/examples/output/java.jdk.live.diff.jfr.md +0 -289
  123. package/examples/output/java.jdk.lock.base.jfr.md +0 -1040
  124. package/examples/output/java.jdk.lock.current.jfr.md +0 -1051
  125. package/examples/output/java.jdk.lock.diff.jfr.md +0 -339
  126. package/examples/output/javascript.bun.base.cpuprofile.md +0 -73
  127. package/examples/output/javascript.bun.base.heapsnapshot.md +0 -608
  128. package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +0 -480
  129. package/examples/output/javascript.bun.current.cpuprofile.md +0 -73
  130. package/examples/output/javascript.bun.current.heapsnapshot.md +0 -608
  131. package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +0 -480
  132. package/examples/output/javascript.bun.diff.cpuprofile.md +0 -54
  133. package/examples/output/javascript.bun.diff.heapsnapshot.md +0 -48
  134. package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +0 -62
  135. package/examples/output/javascript.chrome.base.cpuprofile.md +0 -163
  136. package/examples/output/javascript.chrome.base.heapprofile.md +0 -32
  137. package/examples/output/javascript.chrome.base.heapsnapshot.md +0 -649
  138. package/examples/output/javascript.chrome.current.cpuprofile.md +0 -149
  139. package/examples/output/javascript.chrome.current.heapprofile.md +0 -32
  140. package/examples/output/javascript.chrome.current.heapsnapshot.md +0 -647
  141. package/examples/output/javascript.chrome.diff.cpuprofile.md +0 -65
  142. package/examples/output/javascript.chrome.diff.heapprofile.md +0 -50
  143. package/examples/output/javascript.chrome.diff.heapsnapshot.md +0 -73
  144. package/examples/output/javascript.deno.base.cpuprofile.md +0 -122
  145. package/examples/output/javascript.deno.current.cpuprofile.md +0 -114
  146. package/examples/output/javascript.deno.diff.cpuprofile.md +0 -66
  147. package/examples/output/javascript.node.base.cpuprofile.md +0 -136
  148. package/examples/output/javascript.node.base.heapprofile.md +0 -56
  149. package/examples/output/javascript.node.base.heapsnapshot.md +0 -660
  150. package/examples/output/javascript.node.current.cpuprofile.md +0 -119
  151. package/examples/output/javascript.node.current.heapprofile.md +0 -52
  152. package/examples/output/javascript.node.current.heapsnapshot.md +0 -660
  153. package/examples/output/javascript.node.diff.cpuprofile.md +0 -70
  154. package/examples/output/javascript.node.diff.heapprofile.md +0 -34
  155. package/examples/output/javascript.node.diff.heapsnapshot.md +0 -39
  156. package/examples/output/javascript.pprof.cpu.base.pprof.md +0 -104
  157. package/examples/output/javascript.pprof.cpu.current.pprof.md +0 -120
  158. package/examples/output/javascript.pprof.cpu.diff.pprof.md +0 -63
  159. package/examples/output/javascript.pprof.heap.base.pprof.md +0 -86
  160. package/examples/output/javascript.pprof.heap.current.pprof.md +0 -57
  161. package/examples/output/javascript.pprof.heap.diff.pprof.md +0 -42
  162. package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +0 -388
  163. package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +0 -378
  164. package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +0 -122
  165. package/examples/output/julia.pprof-jl.alloc.base.pprof.md +0 -124
  166. package/examples/output/julia.pprof-jl.alloc.current.pprof.md +0 -126
  167. package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +0 -30
  168. package/examples/output/julia.pprof-jl.cpu.base.pprof.md +0 -177
  169. package/examples/output/julia.pprof-jl.cpu.current.pprof.md +0 -179
  170. package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +0 -64
  171. package/examples/output/julia.pprof-jl.wall.base.pprof.md +0 -181
  172. package/examples/output/julia.pprof-jl.wall.current.pprof.md +0 -193
  173. package/examples/output/julia.pprof-jl.wall.diff.pprof.md +0 -64
  174. package/examples/output/julia.profile.base.heapsnapshot.md +0 -590
  175. package/examples/output/julia.profile.current.heapsnapshot.md +0 -590
  176. package/examples/output/julia.profile.diff.heapsnapshot.md +0 -288
  177. package/examples/output/kotlin.async-profiler.all.base.jfr.md +0 -920
  178. package/examples/output/kotlin.async-profiler.all.current.jfr.md +0 -925
  179. package/examples/output/kotlin.async-profiler.all.diff.jfr.md +0 -247
  180. package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +0 -467
  181. package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +0 -473
  182. package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +0 -122
  183. package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +0 -371
  184. package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +0 -472
  185. package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +0 -370
  186. package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +0 -445
  187. package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +0 -124
  188. package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +0 -125
  189. package/examples/output/kotlin.async-profiler.live.base.jfr.md +0 -934
  190. package/examples/output/kotlin.async-profiler.live.current.jfr.md +0 -917
  191. package/examples/output/kotlin.async-profiler.live.diff.jfr.md +0 -245
  192. package/examples/output/kotlin.async-profiler.lock.base.jfr.md +0 -1
  193. package/examples/output/kotlin.async-profiler.lock.current.jfr.md +0 -1
  194. package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +0 -1
  195. package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +0 -234
  196. package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +0 -234
  197. package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +0 -65
  198. package/examples/output/kotlin.async-profiler.wall.base.jfr.md +0 -452
  199. package/examples/output/kotlin.async-profiler.wall.current.jfr.md +0 -457
  200. package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +0 -125
  201. package/examples/output/kotlin.jdk.all.base.jfr.md +0 -1442
  202. package/examples/output/kotlin.jdk.all.current.jfr.md +0 -1343
  203. package/examples/output/kotlin.jdk.all.diff.jfr.md +0 -392
  204. package/examples/output/kotlin.jdk.alloc.base.jfr.md +0 -1418
  205. package/examples/output/kotlin.jdk.alloc.current.jfr.md +0 -1389
  206. package/examples/output/kotlin.jdk.alloc.diff.jfr.md +0 -383
  207. package/examples/output/kotlin.jdk.cpu.base.jfr.md +0 -1406
  208. package/examples/output/kotlin.jdk.cpu.current.jfr.md +0 -1374
  209. package/examples/output/kotlin.jdk.cpu.diff.jfr.md +0 -380
  210. package/examples/output/kotlin.jdk.live.base.jfr.md +0 -1378
  211. package/examples/output/kotlin.jdk.live.current.jfr.md +0 -1311
  212. package/examples/output/kotlin.jdk.live.diff.jfr.md +0 -381
  213. package/examples/output/kotlin.jdk.lock.base.jfr.md +0 -1427
  214. package/examples/output/kotlin.jdk.lock.current.jfr.md +0 -1374
  215. package/examples/output/kotlin.jdk.lock.diff.jfr.md +0 -386
  216. package/examples/output/php.excimer.wall.base.speedscope.json.md +0 -25
  217. package/examples/output/php.excimer.wall.current.speedscope.json.md +0 -25
  218. package/examples/output/php.excimer.wall.diff.speedscope.json.md +0 -29
  219. package/examples/output/python.py-spy.cpu.base.collapsed.md +0 -526
  220. package/examples/output/python.py-spy.cpu.base.speedscope.json.md +0 -37
  221. package/examples/output/python.py-spy.cpu.current.collapsed.md +0 -514
  222. package/examples/output/python.py-spy.cpu.current.speedscope.json.md +0 -37
  223. package/examples/output/python.py-spy.cpu.diff.collapsed.md +0 -122
  224. package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +0 -31
  225. package/examples/output/python.py-spy.wall.base.collapsed.md +0 -527
  226. package/examples/output/python.py-spy.wall.current.collapsed.md +0 -518
  227. package/examples/output/python.py-spy.wall.diff.collapsed.md +0 -122
  228. package/examples/output/ruby.rbspy.cpu.base.collapsed.md +0 -90
  229. package/examples/output/ruby.rbspy.cpu.base.pprof.md +0 -105
  230. package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +0 -105
  231. package/examples/output/ruby.rbspy.cpu.current.collapsed.md +0 -90
  232. package/examples/output/ruby.rbspy.cpu.current.pprof.md +0 -115
  233. package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +0 -115
  234. package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +0 -32
  235. package/examples/output/ruby.rbspy.cpu.diff.pprof.md +0 -44
  236. package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +0 -44
  237. package/examples/output/rust.pprof-rs.cpu.base.pprof.md +0 -60
  238. package/examples/output/rust.pprof-rs.cpu.current.pprof.md +0 -60
  239. package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +0 -24
@@ -1,392 +0,0 @@
1
- # Sampling profile diff
2
-
3
- 110 samples → 108 samples (-2 samples, -1.8%).
4
-
5
- | Category | Change | Delta | % | Samples |
6
- | -------- | -----: | ----: | ------------: | ------: |
7
- | ours | 0.0% | 0 | 54.5% → 55.6% | 60 |
8
- | stdlib | -4.0% | -2 | 45.5% → 44.4% | 50 → 48 |
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 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
21
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `processFunctionsByName(Name, List, Function1)` | `org.jetbrains.kotlin.fir.scopes.impl.FirAbstractImportingScope` |
22
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `enhancedFunctionImpl(FirFunctionSymbol, Name, List)` | `org.jetbrains.kotlin.fir.java.enhancement.FirSignatureEnhancement` |
23
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirResolvedTypeRef)` | `org.jetbrains.kotlin.fir.analysis.checkers.type.FirUpperBoundViolatedTypeChecker` |
24
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `visitReceiverParameter(FirReceiverParameter, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
25
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirQualifiedAccessExpression)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirReifiedChecker` |
26
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `visitWhileLoop(FirWhileLoop, Object)` | `org.jetbrains.kotlin.fir.backend.Fir2IrVisitor` |
27
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `analyzeMainLoop()` | `org.jetbrains.kotlin.codegen.optimization.common.FastAnalyzer` |
28
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `analyze(String, MethodNode)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.TemporaryValsAnalyzer` |
29
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `nextPowerOfTwo(long)` | `it.unimi.dsi.fastutil.HashCommon` |
30
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `isInitialized()` | `org.jetbrains.kotlin.metadata.ProtoBuf$Class` |
31
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `addDone(PsiBuilderImpl$StartMarker, PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.MarkerProduction` |
32
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `advance()` | `org.jetbrains.kotlin.lexer._JetLexer` |
33
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `balanceWhiteSpaces()` | `com.intellij.lang.impl.PsiBuilderImpl` |
34
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `fromString(String, boolean)` | `org.jetbrains.kotlin.name.ClassId$Companion` |
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 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.jvm.JvmProtoBuf$StringTableTypes` |
37
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `loadTypeAnnotations(ProtoBuf$Type, NameResolver)` | `org.jetbrains.kotlin.fir.deserialization.FirBuiltinAnnotationDeserializer` |
38
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `freshTypeConstructor(TypeVariableMarker)` | `org.jetbrains.kotlin.fir.types.ConeInferenceContext` |
39
- | new | +1 | 0.0% → 0.9% | 0 → 1 | `transformAnnotationCall(FirAnnotationCall, ExpectedArgumentType)` | `org.jetbrains.kotlin.fir.resolve.transformers.FirCallCompletionResultsWriterTransformer` |
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.8% → 0.0% | 2 → 0 | `buildParameters()` | `org.jetbrains.kotlin.codegen.inline.ParametersBuilder` |
48
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `read(VirtualFile, KotlinCliJavaFileManager, GlobalSearchScope)` | `org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion` |
49
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `convertType(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
50
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `<init>(FirValueParameterSymbol, boolean, boolean, ModifierList, List, FirTypeRef, KtSourceElement, FirModuleData, boolean, boolean, List, Name, FirExpression, FirBasedSymbol, DestructuringDeclaration)` | `org.jetbrains.kotlin.fir.lightTree.fir.ValueParameter` |
51
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `addCapturedTypeParameters(boolean, KtSourceElement, List)` | `org.jetbrains.kotlin.fir.builder.AbstractRawFirBuilder` |
52
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `getTokenType()` | `org.jetbrains.kotlin.parsing.SemanticWhitespaceAwarePsiBuilderImpl` |
53
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `<init>(NameResolver, TypeTable, VersionRequirementTable, FirModuleData, FqName, FqName, FirTypeDeserializer, AnnotationDeserializer, FirConstDeserializer, FirKDocDeserializer, DeserializedContainerSource, FirRegularClassSymbol, List)` | `org.jetbrains.kotlin.fir.deserialization.FirDeserializationContext` |
54
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `visitNamedFunction(FirNamedFunction, Object)` | `org.jetbrains.kotlin.fir.visitors.FirVisitor` |
55
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `extractDeprecationAnnotationInfoPerUseSite(List, boolean, FirSession, List)` | `org.jetbrains.kotlin.fir.declarations.DeprecationUtilsKt` |
56
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `deserializeClassToSymbol(ClassId, ProtoBuf$Class, FirRegularClassSymbol, NameResolver, FirSession, FirModuleData, AnnotationDeserializer, FirKDocDeserializer, FirTypeDeserializer$FlexibleTypeFactory, FirScopeProvider, SerializerExtensionProtocol, FirDeserializationContext, DeserializedContainerSource, FirDeclarationOrigin, Function2, Function2)` | `org.jetbrains.kotlin.fir.deserialization.ClassDeserializationKt` |
57
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `extractClassMetadata(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
58
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `isSubtypeForSameConstructor(TypeCheckerState, TypeSystemContext, TypeArgumentListMarker, RigidTypeMarker)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
59
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `invokeSuspend(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.ResolutionStageRunner$processCandidate$1` |
60
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `completeCall(FirExpression, ResolutionMode, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
61
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `getOrderedAllTypeVariables$collectAllTypeVariables$lambda$2(LinkedHashSet, ConstraintSystemCompletionContext, Candidate)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
62
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `transformAnnotations(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirPropertyAccessExpressionImpl` |
63
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `transformThisReceiverExpression(FirThisReceiverExpression, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformer` |
64
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `hasRecursiveTypeParametersWithGivenSelfType(TypeSystemInferenceExtensionContext, TypeConstructorMarker)` | `org.jetbrains.kotlin.resolve.calls.inference.InferenceUtilsKt` |
65
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `addEdge(CFGNode, CFGNode, boolean, boolean, EdgeKind, EdgeLabel)` | `org.jetbrains.kotlin.fir.resolve.dfa.cfg.ControlFlowGraphBuilder` |
66
- | removed | -1 | 0.9% → 0.0% | 1 → 0 | `loadFunction(ProtoBuf$Function, ProtoBuf$Class, FirClassSymbol, FirDeclarationOrigin)` | `org.jetbrains.kotlin.fir.deserialization.FirMemberDeserializer` |
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
- | +62.5% | +5 | 7.3% → 12.0% | 8 → 13 | `getValue(Object, Object)` | `org.jetbrains.kotlin.fir.caches.FirThreadUnsafeCache` |
77
- | +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualize()` | `org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline` |
78
- | +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualize-MT2kVtw(List, Fir2IrExtensions, Fir2IrConfiguration, Collection, KotlinMangler$IrMangler, Fir2IrVisibilityConverter, KotlinBuiltIns, Function1, IrSpecialAnnotationsProvider, Function1, Fir2IrCommonMemberStorage, Function1)` | `org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt` |
79
- | +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualize-MT2kVtw$default(List, Fir2IrExtensions, Fir2IrConfiguration, Collection, KotlinMangler$IrMangler, Fir2IrVisibilityConverter, KotlinBuiltIns, Function1, IrSpecialAnnotationsProvider, Function1, Fir2IrCommonMemberStorage, Function1, int, Object)` | `org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt` |
80
- | +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualizeForJvm-_I1IR-w(List, Fir2IrExtensions, CompilerConfiguration, BaseDiagnosticsCollector, Collection)` | `org.jetbrains.kotlin.cli.jvm.compiler.legacy.pipeline.JvmCompilerPipelineKt` |
81
- | +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `executePhase(JvmFrontendPipelineArtifact, List)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFir2IrPipelinePhase` |
82
- | +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `executePhase(JvmFrontendPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFir2IrPipelinePhase` |
83
- | +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFir2IrPipelinePhase` |
84
- | +133.3% | +4 | 2.7% → 6.5% | 3 → 7 | `doTransformFile(FirFile, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
85
- | +200.0% | +4 | 1.8% → 5.6% | 2 → 6 | `transformFile(FirFile, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
86
- | +133.3% | +4 | 2.7% → 6.5% | 3 → 7 | `runFir2IrConversion()` | `org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline` |
87
- | +8.3% | +3 | 32.7% → 36.1% | 36 → 39 | `execImpl(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
88
- | +20.0% | +3 | 13.6% → 16.7% | 15 → 18 | `transformInplace(List, FirTransformer, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformerUtilKt` |
89
- | +60.0% | +3 | 4.5% → 7.4% | 5 → 8 | `transform(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.declarations.FirFile` |
90
- | +60.0% | +3 | 4.5% → 7.4% | 5 → 8 | `processFunctionsAndConstructorsByName(FirScope, CallInfo, BodyResolveComponents, ConstructorFilter, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.ConstructorProcessingKt` |
91
- | +60.0% | +3 | 4.5% → 7.4% | 5 → 8 | `invokeSuspend(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask$processLevel$6` |
92
- | +37.5% | +3 | 7.3% → 10.2% | 8 → 11 | `transform(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.declarations.FirNamedFunction` |
93
- | +42.9% | +3 | 6.4% → 9.3% | 7 → 10 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016d22e8` |
94
- | +100.0% | +3 | 2.7% → 5.6% | 3 → 6 | `transformFile(FirFile, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
95
- | +100.0% | +3 | 2.7% → 5.6% | 3 → 6 | `transformFile(FirFile, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
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
- | removed | -8 | 7.3% → 0.0% | 8 → 0 | `runCompletion(ConstraintSystemCompletionContext, ConstraintSystemCompletionMode, List, ConeKotlinType, ResolutionContext, ConstraintSystemCompleter$PostponedAtomAnalyzer)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
104
- | removed | -8 | 7.3% → 0.0% | 8 → 0 | `complete(ConstraintSystemCompletionContext, ConstraintSystemCompletionMode, List, ConeKotlinType, ResolutionContext, ConstraintSystemCompleter$PostponedAtomAnalyzer)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
105
- | removed | -8 | 7.3% → 0.0% | 8 → 0 | `runCompletionForCall(Candidate, ConstraintSystemCompletionMode, FirExpression, ConeKotlinType, PostponedArgumentsAnalyzer)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
106
- | -41.2% | -7 | 15.5% → 9.3% | 17 → 10 | `generate()` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
107
- | -41.2% | -7 | 15.5% → 9.3% | 17 → 10 | `generateFile(JvmBackendContext, IrFile, List, boolean)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
108
- | -41.2% | -7 | 15.5% → 9.3% | 17 → 10 | `invokeCodegen(JvmIrCodegenFactory$CodegenInput)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
109
- | -9.2% | -6 | 59.1% → 54.6% | 65 → 59 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
110
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeLambda(PostponedArgumentsAnalyzerContext, ConeResolvedLambdaAtom, Candidate, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.PostponedArgumentsAnalyzer` |
111
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeLambda$default(PostponedArgumentsAnalyzer, PostponedArgumentsAnalyzerContext, ConeResolvedLambdaAtom, Candidate, boolean, boolean, boolean, int, Object)` | `org.jetbrains.kotlin.fir.resolve.inference.PostponedArgumentsAnalyzer` |
112
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyze(PostponedArgumentsAnalyzerContext, ConePostponedResolvedAtom, Candidate, boolean, CollectionLiteralBounds)` | `org.jetbrains.kotlin.fir.resolve.inference.PostponedArgumentsAnalyzer` |
113
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `runCompletionForCall$lambda$0(PostponedArgumentsAnalyzer, Candidate, ConePostponedResolvedAtom, boolean, CollectionLiteralBounds)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
114
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeInternal(ConePostponedResolvedAtom, boolean, CollectionLiteralBounds)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter$$Lambda.0x00000003016a1578` |
115
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyze(ConstraintSystemCompleter$PostponedAtomAnalyzer, ConePostponedResolvedAtom, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
116
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyze$default(ConstraintSystemCompleter, ConstraintSystemCompleter$PostponedAtomAnalyzer, ConePostponedResolvedAtom, boolean, int, Object)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
117
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `runCompletion$lambda$0(ConstraintSystemCompleter, ConstraintSystemCompleter$PostponedAtomAnalyzer, ConePostponedResolvedAtom)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
118
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter$$Lambda.0x00000003016a29d0` |
119
- | removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeArgumentWithFixedParameterTypes(List, Function1)` | `org.jetbrains.kotlin.resolve.calls.inference.components.ConstraintSystemCompletionContext` |
120
- | -42.9% | -6 | 12.7% → 7.4% | 14 → 8 | `generateMethod(IrFunction, SourceMapper)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
121
- | -37.5% | -6 | 14.5% → 9.3% | 16 → 10 | `runCodegen$org_jetbrains_kotlin_cli_jvm(JvmIrCodegenFactory$CodegenInput, GenerationState, JvmIrCodegenFactory, BaseDiagnosticsCollector, CompilerConfiguration, boolean)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler` |
122
- | -10.9% | -5 | 41.8% → 38.0% | 46 → 41 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
123
-
124
- # Allocated heap profile diff
125
-
126
- Allocated 683 MiB (-261.554 KiB, ~0%) over 861 samples → 863 samples (812 KiB → 810 KiB per sample).
127
-
128
- | Category | Change | Delta | % | Size | Samples |
129
- | -------- | -----: | ----------: | ------------: | ----------------: | --------: |
130
- | stdlib | +14.7% | +67.622 MiB | 67.3% → 77.2% | 460 MiB → 527 MiB | 531 → 547 |
131
- | ours | -30.4% | -67.887 MiB | 32.7% → 22.7% | 223 MiB → 155 MiB | 325 → 308 |
132
- | native | +48.7% | +9.812 KiB | <0.1% | 20.2 KiB → 30 KiB | 5 → 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
- | +333.6% | +1.664 MiB | 0.1% → 0.3% | 511 KiB → 2.16 MiB | 1 → 4 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
145
- | +64.9% | +1.616 MiB | 0.4% → 0.6% | 2.49 MiB → 4.11 MiB | 5 → 8 | `copyOf(Object[], int)` | `java.util.Arrays` |
146
- | +150.0% | +1.497 MiB | 0.1% → 0.4% | 1022 KiB → 2.5 MiB | 2 → 5 | `getTypeInternal(String, int, int)` | `org.jetbrains.org.objectweb.asm.Type` |
147
- | +300.0% | +1.497 MiB | 0.1% → 0.3% | 511 KiB → 2 MiB | 1 → 4 | `to(Object, Object)` | `kotlin.TuplesKt` |
148
- | +300.0% | +1.497 MiB | 0.1% → 0.3% | 511 KiB → 2 MiB | 1 → 4 | `unmodifiableList(List)` | `java.util.Collections` |
149
- | new | +1.497 MiB | 0.0% → 0.2% | 0 B → 1.5 MiB | 0 → 3 | `toIrType(ConeKotlinType, ConversionTypeOrigin, List, boolean, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.backend.Fir2IrTypeConverter` |
150
- | +300.0% | +1.497 MiB | 0.1% → 0.3% | 511 KiB → 2 MiB | 1 → 3 | `extractDeprecationAnnotationInfoPerUseSite(List, boolean, FirSession, List)` | `org.jetbrains.kotlin.fir.declarations.DeprecationUtilsKt` |
151
- | +144.4% | +1.179 MiB | 0.1% → 0.3% | 836 KiB → 2 MiB | 2 → 4 | `newTypeCheckerState(TypeSystemContext, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.types.ConeInferenceContext` |
152
- | new | +1.117 MiB | 0.0% → 0.2% | 0 B → 1.12 MiB | 0 → 2 | `readBootstrapMethodsAttribute(int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
153
- | new | +1.113 MiB | 0.0% → 0.2% | 0 B → 1.11 MiB | 0 → 3 | `freeze()` | `org.jetbrains.kotlin.fir.resolve.dfa.MutableFlow` |
154
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `topLevel(Name)` | `org.jetbrains.kotlin.name.FqName$Companion` |
155
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `getDependentTypeParameters$lambda$0(NewConstraintSystemImpl, TypeConstructorMarker, Map$Entry)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.CollectTypeVariableUsagesInfo` |
156
- | +100.0% | +1,021.992 KiB | 0.1% → 0.3% | 1022 KiB → 2 MiB | 2 → 3 | `visitLineNumber(int, Label)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
157
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `<init>()` | `org.jetbrains.kotlin.fir.expressions.builder.FirAnnotationBuilder` |
158
- | +200.0% | +1,021.984 KiB | 0.1% → 0.2% | 511 KiB → 1.5 MiB | 1 → 3 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
159
- | +200.0% | +1,021.984 KiB | 0.1% → 0.2% | 511 KiB → 1.5 MiB | 1 → 3 | `<init>()` | `java.util.HashSet` |
160
- | new | +1,021.984 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 1 | `next()` | `kotlin.collections.IndexingIterator` |
161
- | new | +1,021.976 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `plus(Collection, Iterable)` | `kotlin.collections.CollectionsKt___CollectionsKt` |
162
- | new | +1,021.976 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `enqueueResolveTasksForNoReceiver(CallInfo)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
163
- | new | +1,021.968 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `<init>(ConstraintInjector, TypeSystemInferenceExtensionContext, LanguageVersionSettings, Function2)` | `org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl` |
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
- | removed | -62.659 MiB | 9.2% → 0.0% | 62.7 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.config.LanguageFeature` |
172
- | -5.3% | -6.465 MiB | 17.9% → 17.0% | 123 MiB → 116 MiB | 124 → 115 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
173
- | -50.0% | -3.991 MiB | 1.2% → 0.6% | 7.98 MiB → 3.99 MiB | 16 → 8 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
174
- | -9.6% | -1.532 MiB | 2.3% → 2.1% | 15.9 MiB → 14.4 MiB | 32 → 29 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
175
- | -60.0% | -1.497 MiB | 0.4% → 0.1% | 2.5 MiB → 1022 KiB | 5 → 2 | `iterator()` | `org.jetbrains.kotlin.utils.SmartList` |
176
- | -75.0% | -1.497 MiB | 0.3% → 0.1% | 2 MiB → 511 KiB | 3 → 1 | `lazy(LazyThreadSafetyMode, Function0)` | `kotlin.LazyKt__LazyJVMKt` |
177
- | -75.0% | -1.497 MiB | 0.3% → 0.1% | 2 MiB → 511 KiB | 4 → 1 | `enqueueResolveTasksForExpressionReceiver(CallInfo, FirExpression)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
178
- | -75.0% | -1.497 MiB | 0.3% → 0.1% | 2 MiB → 511 KiB | 4 → 1 | `<init>(String)` | `org.jetbrains.kotlin.name.FqName` |
179
- | removed | -1.497 MiB | 0.2% → 0.0% | 1.5 MiB → 0 B | 3 → 0 | `build()` | `org.jetbrains.kotlin.fir.types.builder.FirResolvedTypeRefBuilder` |
180
- | -47.2% | -1.337 MiB | 0.4% → 0.2% | 2.83 MiB → 1.5 MiB | 6 → 3 | `iterator()` | `java.util.LinkedHashMap$LinkedEntrySet` |
181
- | removed | -1.327 MiB | 0.2% → 0.0% | 1.33 MiB → 0 B | 3 → 0 | `visitInsn(int)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
182
- | -54.0% | -1.169 MiB | 0.3% → 0.1% | 2.17 MiB → 1021 KiB | 5 → 2 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
183
- | -20.3% | -1.115 MiB | 0.8% → 0.6% | 5.49 MiB → 4.37 MiB | 11 → 9 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
184
- | -66.7% | -1,022.007 KiB | 0.2% → 0.1% | 1.5 MiB → 511 KiB | 2 → 1 | `topLevel(Name)` | `org.jetbrains.kotlin.name.FqNameUnsafe$Companion` |
185
- | -50.0% | -1,022.007 KiB | 0.3% → 0.1% | 2 MiB → 1022 KiB | 4 → 2 | `<init>(Object, Object)` | `org.jetbrains.kotlin.util.WeakPair` |
186
- | removed | -1,021.992 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `check(CheckerContext, DiagnosticReporter, FirQualifiedAccessExpression)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirMissingDependencyClassChecker` |
187
- | -40.0% | -1,021.984 KiB | 0.4% → 0.2% | 2.5 MiB → 1.5 MiB | 5 → 3 | `toString()` | `java.lang.StringBuilder` |
188
- | removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `parent()` | `org.jetbrains.kotlin.name.FqName` |
189
- | removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `getTypeParameterSymbols()` | `org.jetbrains.kotlin.fir.symbols.impl.FirCallableSymbol` |
190
- | removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `getValueParameterSymbols()` | `org.jetbrains.kotlin.fir.symbols.impl.FirFunctionSymbol` |
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
- | new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `parseVersion(String)` | `org.jetbrains.kotlin.config.MavenComparableVersion` |
201
- | new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `<init>(String)` | `org.jetbrains.kotlin.config.MavenComparableVersion` |
202
- | new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `parse(String)` | `org.jetbrains.kotlin.config.ApiVersion$Companion` |
203
- | new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `append(Object)` | `java.lang.StringBuilder` |
204
- | new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `toString()` | `java.math.BigInteger` |
205
- | new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `toString()` | `org.jetbrains.kotlin.config.MavenComparableVersion$IntegerItem` |
206
- | new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `toString()` | `org.jetbrains.kotlin.config.MavenComparableVersion$ListItem` |
207
- | new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `createByLanguageVersion(LanguageVersion)` | `org.jetbrains.kotlin.config.ApiVersion$Companion` |
208
- | new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `<clinit>()` | `org.jetbrains.kotlin.config.ApiVersion` |
209
- | new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `<init>(String, int, LanguageVersion, String)` | `org.jetbrains.kotlin.config.LanguageFeature` |
210
- | +23.0% | +9.152 MiB | 5.8% → 7.2% | 39.7 MiB → 48.9 MiB | 80 → 96 | `resumeTask(TowerResolveManager$SuspendedResolverTask)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
211
- | +21.8% | +9.098 MiB | 6.1% → 7.4% | 41.7 MiB → 50.8 MiB | 84 → 99 | `collectCandidates(FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
212
- | +5.4% | +9.058 MiB | 24.4% → 25.8% | 167 MiB → 176 MiB | 104 → 114 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
213
- | +28.1% | +9.05 MiB | 4.7% → 6.0% | 32.2 MiB → 41.2 MiB | 64 → 82 | `transformQualifiedAccessExpression(FirQualifiedAccessExpression, ResolutionMode, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirExpressionsResolveTransformer` |
214
- | +20.6% | +8.6 MiB | 6.1% → 7.4% | 41.7 MiB → 50.3 MiB | 84 → 98 | `runResolver$default(FirTowerResolver, CallInfo, ResolutionContext, CandidateCollector, CandidateFactory, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
215
- | +18.4% | +7.602 MiB | 6.0% → 7.2% | 41.2 MiB → 48.8 MiB | 83 → 96 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
216
- | +18.2% | +7.602 MiB | 6.1% → 7.2% | 41.7 MiB → 49.3 MiB | 84 → 97 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, TowerResolveManager, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
217
- | +19.1% | +7.602 MiB | 5.8% → 6.9% | 39.7 MiB → 47.3 MiB | 80 → 93 | `runTasks()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
218
- | +18.1% | +7.554 MiB | 6.1% → 7.2% | 41.7 MiB → 49.3 MiB | 84 → 96 | `collectCandidates$default(FirCallResolver, FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
219
- | +44.6% | +7.44 MiB | 2.4% → 3.5% | 16.7 MiB → 24.1 MiB | 34 → 48 | `transformElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
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
- | -4.5% | -8.478 MiB | 27.7% → 26.5% | 189 MiB → 181 MiB | 256 → 247 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
228
- | -4.4% | -8.478 MiB | 28.0% → 26.8% | 191 MiB → 183 MiB | 260 → 251 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
229
- | -27.3% | -8.338 MiB | 4.5% → 3.3% | 30.6 MiB → 22.2 MiB | 61 → 45 | `transformNamedFunction(FirNamedFunction, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
230
- | -4.3% | -7.979 MiB | 27.4% → 26.3% | 187 MiB → 179 MiB | 252 → 244 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
231
- | -25.2% | -7.839 MiB | 4.5% → 3.4% | 31.1 MiB → 23.2 MiB | 62 → 47 | `transformNamedFunction(FirNamedFunction, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
232
- | -3.9% | -7.484 MiB | 28.4% → 27.3% | 194 MiB → 186 MiB | 265 → 257 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
233
- | -31.1% | -7.148 MiB | 3.4% → 2.3% | 23 MiB → 15.8 MiB | 45 → 32 | `completeCall(FirExpression, ResolutionMode, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
234
- | -28.3% | -7.03 MiB | 3.6% → 2.6% | 24.9 MiB → 17.8 MiB | 50 → 36 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
235
- | -23.4% | -6.934 MiB | 4.3% → 3.3% | 29.7 MiB → 22.7 MiB | 59 → 47 | `transformChildren(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.declarations.impl.FirFileImpl` |
236
- | -33.9% | -6.912 MiB | 3.0% → 2.0% | 20.4 MiB → 13.5 MiB | 41 → 27 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type` |
237
- | -33.9% | -6.912 MiB | 3.0% → 2.0% | 20.4 MiB → 13.5 MiB | 41 → 27 | `<init>(CodedInputStream, ExtensionRegistryLite, ProtoBuf$1)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type` |
238
- | -21.7% | -6.841 MiB | 4.6% → 3.6% | 31.6 MiB → 24.7 MiB | 63 → 50 | `withParameters(FirCallableDeclaration, SessionAndScopeSessionHolder, Function0)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.BodyResolveContext` |
239
- | -22.4% | -6.841 MiB | 4.5% → 3.5% | 30.6 MiB → 23.7 MiB | 61 → 48 | `forFunctionBody(FirFunction, SessionAndScopeSessionHolder, Function0)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.BodyResolveContext` |
240
- | -25.3% | -6.841 MiB | 4.0% → 3.0% | 27.1 MiB → 20.2 MiB | 54 → 41 | `transformNamedFunction$lambda$0$0$0(FirDeclarationsResolveTransformer, FirNamedFunction, boolean)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
241
- | -5.3% | -6.465 MiB | 17.9% → 17.0% | 123 MiB → 116 MiB | 124 → 115 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
242
- | -3.9% | -6.345 MiB | 24.1% → 23.2% | 165 MiB → 158 MiB | 207 → 201 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
243
- | -25.8% | -6.342 MiB | 3.6% → 2.7% | 24.6 MiB → 18.2 MiB | 49 → 37 | `transformNamedFunction(FirNamedFunction, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
244
- | -3.1% | -5.986 MiB | 28.7% → 27.9% | 196 MiB → 190 MiB | 270 → 263 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
245
- | -3.0% | -5.986 MiB | 29.0% → 28.1% | 198 MiB → 192 MiB | 273 → 266 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
246
- | -22.8% | -5.843 MiB | 3.7% → 2.9% | 25.6 MiB → 19.7 MiB | 51 → 40 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016d22e8` |
247
-
248
- # Retained heap profile diff
249
-
250
- Retained 19.5 MiB → 19.6 MiB (+154.945 KiB, +0.8%) over 207 samples → 203 samples (96.4 KiB → 99.1 KiB per sample).
251
-
252
- | Category | Change | Delta | % | Size | Samples |
253
- | -------- | -----: | -----------: | ------------: | ------------------: | --------: |
254
- | stdlib | +2.1% | +390.945 KiB | 92.9% → 94.1% | 18.1 MiB → 18.5 MiB | 182 → 193 |
255
- | ours | -16.6% | -236 KiB | 7.1% → 5.9% | 1.39 MiB → 1.16 MiB | 25 → 10 |
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 | `lambda$static$0(int)` | `com.intellij.psi.tree.IElementType` |
268
- | new | +424 B | 0.0% → <0.1% | 0 B → 424 B | 0 → 2 | `copyOf(Object[], int)` | `java.util.Arrays` |
269
- | new | +144 B | 0.0% → <0.1% | 0 B → 144 B | 0 → 1 | `createCandidate(CallInfo, FirBasedSymbol, ExplicitReceiverKind, FirScope, FirExpression, FirExpression, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.CandidateFactory` |
270
- | new | +96 B | 0.0% → <0.1% | 0 B → 96 B | 0 → 1 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirNamedFunctionBuilder` |
271
- | new | +80 B | 0.0% → <0.1% | 0 B → 80 B | 0 → 1 | `<init>(int)` | `java.util.ArrayList` |
272
- | new | +24 B | 0.0% → <0.1% | 0 B → 24 B | 0 → 1 | `toString()` | `java.lang.StringBuilder` |
273
-
274
- #### Improvements
275
-
276
- Functions with the largest decrease in bytes retained directly in the function body, excluding callees.
277
-
278
- | Change | Delta | % | Size | Samples | Function | Location |
279
- | ------: | -----------: | -----------: | ------------------: | ------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
280
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
281
- | removed | -57.679 KiB | 0.3% → 0.0% | 57.7 KiB → 0 B | 1 → 0 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
282
- | removed | -344 B | <0.1% → 0.0% | 344 B → 0 B | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.analysis.CheckersComponent` |
283
- | -66.7% | -192 B | <0.1% | 288 B → 96 B | 3 → 1 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
284
- | removed | -120 B | <0.1% → 0.0% | 120 B → 0 B | 1 → 0 | `doGenerate(ReifiedTypeParametersUsages)` | `org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen` |
285
- | removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 1 → 0 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Function$1` |
286
- | removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 1 → 0 | `$values()` | `org.jetbrains.kotlin.ir.overrides.IrExternalOverridabilityCondition$Contract` |
287
- | removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 2 → 0 | `visitMethodInsn(int, String, String, String, boolean)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
288
- | removed | -104 B | <0.1% → 0.0% | 104 B → 0 B | 1 → 0 | `createSimpleFunction(int, int, IrDeclarationOrigin, Name, DescriptorVisibility, boolean, boolean, IrType, Modality, IrSimpleFunctionSymbol, boolean, boolean, boolean, boolean, boolean, DeserializedContainerSource, boolean)` | `org.jetbrains.kotlin.ir.declarations.IrFactory` |
289
- | removed | -96 B | <0.1% → 0.0% | 96 B → 0 B | 1 → 0 | `getInstance(String)` | `java.security.MessageDigest` |
290
- | removed | -80 B | <0.1% → 0.0% | 80 B → 0 B | 1 → 0 | `<init>()` | `org.jetbrains.org.objectweb.asm.ByteVector` |
291
- | removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `transformArguments(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirResolvedArgumentListImpl` |
292
- | removed | -56 B | <0.1% → 0.0% | 56 B → 0 B | 1 → 0 | `getLabel()` | `org.jetbrains.org.objectweb.asm.tree.LabelNode` |
293
- | removed | -40 B | <0.1% → 0.0% | 40 B → 0 B | 1 → 0 | `buildPartial()` | `org.jetbrains.kotlin.metadata.ProtoBuf$Annotation$Builder` |
294
- | removed | -32 B | <0.1% → 0.0% | 32 B → 0 B | 1 → 0 | `<init>(Object, Object)` | `org.jetbrains.kotlin.util.WeakPair` |
295
- | removed | -32 B | <0.1% → 0.0% | 32 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.types.builder.FirResolvedTypeRefBuilder` |
296
-
297
- ### Total size
298
-
299
- #### Regressions
300
-
301
- Functions with the largest increase in total bytes retained in the function and all its callees.
302
-
303
- | Change | Delta | % | Size | Samples | Function | Location |
304
- | -----: | -----------: | ------------: | ------------------: | --------: | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
305
- | +2.0% | +360.906 KiB | 90.9% → 92.0% | 17.7 MiB → 18.1 MiB | 182 → 179 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
306
- | +2.0% | +360.765 KiB | 90.9% → 92.0% | 17.7 MiB → 18.1 MiB | 184 → 179 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
307
- | +2.6% | +355.984 KiB | 69.5% → 70.7% | 13.5 MiB → 13.9 MiB | 164 → 168 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
308
- | +2.5% | +355.984 KiB | 70.8% → 72.0% | 13.8 MiB → 14.1 MiB | 165 → 169 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
309
- | +2.5% | +355.984 KiB | 70.8% → 72.0% | 13.8 MiB → 14.1 MiB | 165 → 169 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
310
- | +23.8% | +32.031 KiB | 0.7% → 0.8% | 134 KiB → 166 KiB | 4 | `readElementValue(AnnotationVisitor, int, String, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
311
- | +23.8% | +32.031 KiB | 0.7% → 0.8% | 134 KiB → 166 KiB | 4 | `readElementValues(AnnotationVisitor, int, boolean, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
312
- | +23.8% | +32.031 KiB | 0.7% → 0.8% | 134 KiB → 166 KiB | 4 | `create(byte[], MetadataVersion, Function4)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass` |
313
- | +23.7% | +31.882 KiB | 0.7% → 0.8% | 135 KiB → 166 KiB | 5 → 4 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
314
- | +23.7% | +31.882 KiB | 0.7% → 0.8% | 135 KiB → 166 KiB | 5 → 4 | `accept(ClassVisitor, int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
315
- | +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `<init>(char[], int, int)` | `java.lang.String` |
316
- | +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUtfNonAscii(int, int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
317
- | +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
318
- | +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUtf(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
319
- | +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUTF8(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
320
- | new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `loadClass(String)` | `java.lang.ClassLoader` |
321
- | new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `registerProjectComponents(MockProject, CompilerConfiguration)` | `org.jetbrains.kotlin.scripting.compiler.plugin.ScriptingCompilerConfigurationComponentRegistrar` |
322
- | new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `registerExtensionsFromPlugins$org_jetbrains_kotlin_cli_base(MockProject, CompilerConfiguration)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion` |
323
- | new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `registerExtensionsFromPlugins(CompilerConfiguration)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$ProjectEnvironment` |
324
- | new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `configureProjectEnvironment(KotlinCoreEnvironment$ProjectEnvironment, CompilerConfiguration, EnvironmentConfigFiles)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion` |
325
-
326
- #### Improvements
327
-
328
- Functions with the largest decrease in total bytes retained in the function and all its callees.
329
-
330
- | Change | Delta | % | Size | Samples | Function | Location |
331
- | ------: | -----------: | -----------: | ------------------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
332
- | -93.8% | -186.226 KiB | 1.0% → 0.1% | 199 KiB → 12.3 KiB | 20 → 8 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
333
- | -93.8% | -186.226 KiB | 1.0% → 0.1% | 199 KiB → 12.3 KiB | 20 → 8 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
334
- | -93.8% | -186.226 KiB | 1.0% → 0.1% | 199 KiB → 12.3 KiB | 20 → 8 | `executeAndReturnPipeLineArtifact(CommonCompilerArguments, Services, MessageCollector, Disposable)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
335
- | -93.6% | -185.898 KiB | 1.0% → 0.1% | 199 KiB → 12.6 KiB | 20 → 9 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
336
- | -93.6% | -185.875 KiB | 1.0% → 0.1% | 199 KiB → 12.7 KiB | 20 → 10 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
337
- | -93.6% | -185.781 KiB | 1.0% → 0.1% | 199 KiB → 12.8 KiB | 20 → 10 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
338
- | -93.6% | -185.781 KiB | 1.0% → 0.1% | 199 KiB → 12.8 KiB | 20 → 10 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
339
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
340
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x00000070013f7650` |
341
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `withMappedRange(long, long, Function1)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer` |
342
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `withMappedRangeFrom(long, Function1)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer` |
343
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray(LargeDynamicMappedBuffer, ZipEntryDescription)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
344
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray(ZipEntryDescription)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarHandler` |
345
- | -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray()` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarVirtualFile` |
346
- | removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `generate()` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
347
- | removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `generateFile(JvmBackendContext, IrFile, List, boolean)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
348
- | removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `invokeCodegen(JvmIrCodegenFactory$CodegenInput)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
349
- | removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `runCodegen$org_jetbrains_kotlin_cli_jvm(JvmIrCodegenFactory$CodegenInput, GenerationState, JvmIrCodegenFactory, BaseDiagnosticsCollector, CompilerConfiguration, boolean)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler` |
350
- | -99.7% | -139.265 KiB | 0.7% → <0.1% | 140 KiB → 432 B | 8 → 2 | `executePhase(JvmFir2IrPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
351
- | -99.7% | -139.265 KiB | 0.7% → <0.1% | 140 KiB → 432 B | 8 → 2 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
352
-
353
- # Lock contention profile diff
354
-
355
- Blocked 486.7ms → 538.7ms (+52.05ms, +10.7%) over 2 samples → 3 samples (243.3ms → 179.6ms per sample).
356
-
357
- | Category | Change | Delta | % | Time | Samples |
358
- | -------- | -----: | -------: | -----: | ----------------: | ------: |
359
- | stdlib | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 |
360
-
361
- The entry filter hides every sampled function, so all functions are shown.
362
-
363
- ## Hottest functions
364
-
365
- ### Self time
366
-
367
- #### Regressions
368
-
369
- Functions with the largest increase in time blocked directly in the function body, excluding callees.
370
-
371
- | Change | Delta | % | Time | Samples | Function | Location |
372
- | -----: | -------: | -----: | ----------------: | ------: | --------------------- | -------------------------- |
373
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
374
-
375
- ### Total time
376
-
377
- #### Regressions
378
-
379
- Functions with the largest increase in total time blocked in the function and all its callees.
380
-
381
- | Change | Delta | % | Time | Samples | Function | Location |
382
- | -----: | -------: | -----: | ----------------: | ------: | --------------------------- | ----------------------------------------------------------------------- |
383
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
384
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `parkNanos(Object, long)` | `java.util.concurrent.locks.LockSupport` |
385
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `await(long, TimeUnit)` | `java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject` |
386
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `await(long)` | `java.lang.ref.ReferenceQueue` |
387
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `remove0(long)` | `java.lang.ref.ReferenceQueue` |
388
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `remove(long)` | `java.lang.ref.ReferenceQueue` |
389
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `run()` | `jdk.internal.ref.CleanerImpl` |
390
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `runWith(Object, Runnable)` | `java.lang.Thread` |
391
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `run()` | `java.lang.Thread` |
392
- | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `run()` | `jdk.internal.misc.InnocuousThread` |