profiler-md 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/dist/cli/index.mjs +5331 -2044
  2. package/dist/index.d.mts +738 -229
  3. package/dist/index.js +2 -2
  4. package/docs/formats/collapsed.md +12 -0
  5. package/docs/formats/jfr.md +16 -0
  6. package/docs/formats/jsc-heap-snapshot.md +2 -2
  7. package/docs/languages/c.md +31 -7
  8. package/docs/languages/cpp.md +160 -0
  9. package/docs/languages/csharp.md +52 -0
  10. package/docs/languages/elixir.md +46 -0
  11. package/docs/languages/erlang.md +46 -0
  12. package/docs/languages/fsharp.md +52 -0
  13. package/docs/languages/go.md +11 -6
  14. package/docs/languages/java.md +110 -57
  15. package/docs/languages/javascript.md +69 -12
  16. package/docs/languages/julia.md +54 -0
  17. package/docs/languages/kotlin.md +170 -0
  18. package/docs/languages/php.md +64 -20
  19. package/docs/languages/python.md +13 -68
  20. package/docs/languages/ruby.md +17 -27
  21. package/docs/languages/typescript.md +276 -0
  22. package/examples/output/c.gperftools.cpu.base.pprof.md +324 -0
  23. package/examples/output/c.gperftools.cpu.current.pprof.md +271 -0
  24. package/examples/output/c.gperftools.cpu.diff.pprof.md +98 -0
  25. package/examples/output/c.gperftools.heap.base.pprof.md +362 -0
  26. package/examples/output/c.gperftools.heap.current.pprof.md +362 -0
  27. package/examples/output/c.gperftools.heap.diff.pprof.md +28 -0
  28. package/examples/output/cpp.gperftools.cpu.base.pprof.md +557 -0
  29. package/examples/output/cpp.gperftools.cpu.current.pprof.md +573 -0
  30. package/examples/output/cpp.gperftools.cpu.diff.pprof.md +122 -0
  31. package/examples/output/cpp.gperftools.heap.base.pprof.md +67 -0
  32. package/examples/output/cpp.gperftools.heap.current.pprof.md +67 -0
  33. package/examples/output/cpp.gperftools.heap.diff.pprof.md +19 -0
  34. package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +411 -0
  35. package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +412 -0
  36. package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +122 -0
  37. package/examples/output/elixir.eflambe.cpu.base.collapsed.md +399 -0
  38. package/examples/output/elixir.eflambe.cpu.current.collapsed.md +398 -0
  39. package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +92 -0
  40. package/examples/output/erlang.eflambe.cpu.base.collapsed.md +147 -0
  41. package/examples/output/erlang.eflambe.cpu.current.collapsed.md +147 -0
  42. package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +18 -0
  43. package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +324 -0
  44. package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +314 -0
  45. package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +119 -0
  46. package/examples/output/go.pprof.block.base.pprof.md +86 -0
  47. package/examples/output/go.pprof.block.current.pprof.md +83 -0
  48. package/examples/output/go.pprof.block.diff.pprof.md +42 -0
  49. package/examples/output/go.pprof.cpu.base.pprof.md +81 -0
  50. package/examples/output/go.pprof.cpu.current.pprof.md +70 -0
  51. package/examples/output/go.pprof.cpu.diff.pprof.md +52 -0
  52. package/examples/output/go.pprof.goroutine.base.pprof.md +43 -0
  53. package/examples/output/go.pprof.goroutine.current.pprof.md +43 -0
  54. package/examples/output/go.pprof.goroutine.diff.pprof.md +13 -0
  55. package/examples/output/go.pprof.heap-alloc.base.pprof.md +154 -0
  56. package/examples/output/go.pprof.heap-alloc.current.pprof.md +146 -0
  57. package/examples/output/go.pprof.heap-alloc.diff.pprof.md +67 -0
  58. package/examples/output/go.pprof.heap.base.pprof.md +154 -0
  59. package/examples/output/go.pprof.heap.current.pprof.md +146 -0
  60. package/examples/output/go.pprof.heap.diff.pprof.md +67 -0
  61. package/examples/output/go.pprof.mutex.base.pprof.md +55 -0
  62. package/examples/output/go.pprof.mutex.current.pprof.md +41 -0
  63. package/examples/output/go.pprof.mutex.diff.pprof.md +31 -0
  64. package/examples/output/go.pprof.threadcreate.base.pprof.md +55 -0
  65. package/examples/output/go.pprof.threadcreate.current.pprof.md +55 -0
  66. package/examples/output/go.pprof.threadcreate.diff.pprof.md +19 -0
  67. package/examples/output/java.async-profiler.all.base.jfr.md +1071 -0
  68. package/examples/output/java.async-profiler.all.current.jfr.md +1007 -0
  69. package/examples/output/java.async-profiler.all.diff.jfr.md +268 -0
  70. package/examples/output/java.async-profiler.alloc.base.jfr.md +425 -0
  71. package/examples/output/java.async-profiler.alloc.current.jfr.md +413 -0
  72. package/examples/output/java.async-profiler.alloc.diff.jfr.md +99 -0
  73. package/examples/output/java.async-profiler.cpu.base.collapsed.md +367 -0
  74. package/examples/output/java.async-profiler.cpu.base.jfr.md +485 -0
  75. package/examples/output/java.async-profiler.cpu.current.collapsed.md +355 -0
  76. package/examples/output/java.async-profiler.cpu.current.jfr.md +488 -0
  77. package/examples/output/java.async-profiler.cpu.diff.collapsed.md +117 -0
  78. package/examples/output/java.async-profiler.cpu.diff.jfr.md +118 -0
  79. package/examples/output/java.async-profiler.live.base.jfr.md +697 -0
  80. package/examples/output/java.async-profiler.live.current.jfr.md +684 -0
  81. package/examples/output/java.async-profiler.live.diff.jfr.md +191 -0
  82. package/examples/output/java.async-profiler.lock.base.jfr.md +140 -0
  83. package/examples/output/java.async-profiler.lock.current.jfr.md +108 -0
  84. package/examples/output/java.async-profiler.lock.diff.jfr.md +44 -0
  85. package/examples/output/java.async-profiler.nativemem.base.jfr.md +222 -0
  86. package/examples/output/java.async-profiler.nativemem.current.jfr.md +222 -0
  87. package/examples/output/java.async-profiler.nativemem.diff.jfr.md +65 -0
  88. package/examples/output/java.async-profiler.wall.base.jfr.md +400 -0
  89. package/examples/output/java.async-profiler.wall.current.jfr.md +420 -0
  90. package/examples/output/java.async-profiler.wall.diff.jfr.md +94 -0
  91. package/examples/output/java.jdk.all.base.jfr.md +1024 -0
  92. package/examples/output/java.jdk.all.current.jfr.md +1010 -0
  93. package/examples/output/java.jdk.all.diff.jfr.md +311 -0
  94. package/examples/output/java.jdk.alloc.base.jfr.md +1024 -0
  95. package/examples/output/java.jdk.alloc.current.jfr.md +1046 -0
  96. package/examples/output/java.jdk.alloc.diff.jfr.md +312 -0
  97. package/examples/output/java.jdk.cpu.base.jfr.md +1023 -0
  98. package/examples/output/java.jdk.cpu.current.jfr.md +1039 -0
  99. package/examples/output/java.jdk.cpu.diff.jfr.md +285 -0
  100. package/examples/output/java.jdk.live.base.jfr.md +1029 -0
  101. package/examples/output/java.jdk.live.current.jfr.md +1035 -0
  102. package/examples/output/java.jdk.live.diff.jfr.md +289 -0
  103. package/examples/output/java.jdk.lock.base.jfr.md +1040 -0
  104. package/examples/output/java.jdk.lock.current.jfr.md +1051 -0
  105. package/examples/output/java.jdk.lock.diff.jfr.md +339 -0
  106. package/examples/output/javascript.bun.base.cpuprofile.md +73 -0
  107. package/examples/output/javascript.bun.base.heapsnapshot.md +608 -0
  108. package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +480 -0
  109. package/examples/output/javascript.bun.current.cpuprofile.md +73 -0
  110. package/examples/output/javascript.bun.current.heapsnapshot.md +608 -0
  111. package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +480 -0
  112. package/examples/output/javascript.bun.diff.cpuprofile.md +54 -0
  113. package/examples/output/javascript.bun.diff.heapsnapshot.md +48 -0
  114. package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +62 -0
  115. package/examples/output/javascript.chrome.base.cpuprofile.md +163 -0
  116. package/examples/output/javascript.chrome.base.heapprofile.md +32 -0
  117. package/examples/output/javascript.chrome.base.heapsnapshot.md +649 -0
  118. package/examples/output/javascript.chrome.current.cpuprofile.md +149 -0
  119. package/examples/output/javascript.chrome.current.heapprofile.md +32 -0
  120. package/examples/output/javascript.chrome.current.heapsnapshot.md +647 -0
  121. package/examples/output/javascript.chrome.diff.cpuprofile.md +65 -0
  122. package/examples/output/javascript.chrome.diff.heapprofile.md +50 -0
  123. package/examples/output/javascript.chrome.diff.heapsnapshot.md +73 -0
  124. package/examples/output/javascript.deno.base.cpuprofile.md +122 -0
  125. package/examples/output/javascript.deno.current.cpuprofile.md +114 -0
  126. package/examples/output/javascript.deno.diff.cpuprofile.md +66 -0
  127. package/examples/output/javascript.node.base.cpuprofile.md +136 -0
  128. package/examples/output/javascript.node.base.heapprofile.md +56 -0
  129. package/examples/output/javascript.node.base.heapsnapshot.md +660 -0
  130. package/examples/output/javascript.node.current.cpuprofile.md +119 -0
  131. package/examples/output/javascript.node.current.heapprofile.md +52 -0
  132. package/examples/output/javascript.node.current.heapsnapshot.md +660 -0
  133. package/examples/output/javascript.node.diff.cpuprofile.md +70 -0
  134. package/examples/output/javascript.node.diff.heapprofile.md +34 -0
  135. package/examples/output/javascript.node.diff.heapsnapshot.md +39 -0
  136. package/examples/output/javascript.pprof.cpu.base.pprof.md +104 -0
  137. package/examples/output/javascript.pprof.cpu.current.pprof.md +120 -0
  138. package/examples/output/javascript.pprof.cpu.diff.pprof.md +63 -0
  139. package/examples/output/javascript.pprof.heap.base.pprof.md +86 -0
  140. package/examples/output/javascript.pprof.heap.current.pprof.md +57 -0
  141. package/examples/output/javascript.pprof.heap.diff.pprof.md +42 -0
  142. package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +388 -0
  143. package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +378 -0
  144. package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +122 -0
  145. package/examples/output/julia.pprof-jl.alloc.base.pprof.md +124 -0
  146. package/examples/output/julia.pprof-jl.alloc.current.pprof.md +126 -0
  147. package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +30 -0
  148. package/examples/output/julia.pprof-jl.cpu.base.pprof.md +177 -0
  149. package/examples/output/julia.pprof-jl.cpu.current.pprof.md +179 -0
  150. package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +64 -0
  151. package/examples/output/kotlin.async-profiler.all.base.jfr.md +920 -0
  152. package/examples/output/kotlin.async-profiler.all.current.jfr.md +925 -0
  153. package/examples/output/kotlin.async-profiler.all.diff.jfr.md +247 -0
  154. package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +467 -0
  155. package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +473 -0
  156. package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +122 -0
  157. package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +371 -0
  158. package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +472 -0
  159. package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +370 -0
  160. package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +445 -0
  161. package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +124 -0
  162. package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +125 -0
  163. package/examples/output/kotlin.async-profiler.live.base.jfr.md +934 -0
  164. package/examples/output/kotlin.async-profiler.live.current.jfr.md +917 -0
  165. package/examples/output/kotlin.async-profiler.live.diff.jfr.md +245 -0
  166. package/examples/output/kotlin.async-profiler.lock.base.jfr.md +1 -0
  167. package/examples/output/kotlin.async-profiler.lock.current.jfr.md +1 -0
  168. package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +1 -0
  169. package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +234 -0
  170. package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +234 -0
  171. package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +65 -0
  172. package/examples/output/kotlin.async-profiler.wall.base.jfr.md +452 -0
  173. package/examples/output/kotlin.async-profiler.wall.current.jfr.md +457 -0
  174. package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +125 -0
  175. package/examples/output/kotlin.jdk.all.base.jfr.md +1442 -0
  176. package/examples/output/kotlin.jdk.all.current.jfr.md +1343 -0
  177. package/examples/output/kotlin.jdk.all.diff.jfr.md +392 -0
  178. package/examples/output/kotlin.jdk.alloc.base.jfr.md +1418 -0
  179. package/examples/output/kotlin.jdk.alloc.current.jfr.md +1389 -0
  180. package/examples/output/kotlin.jdk.alloc.diff.jfr.md +383 -0
  181. package/examples/output/kotlin.jdk.cpu.base.jfr.md +1406 -0
  182. package/examples/output/kotlin.jdk.cpu.current.jfr.md +1374 -0
  183. package/examples/output/kotlin.jdk.cpu.diff.jfr.md +380 -0
  184. package/examples/output/kotlin.jdk.live.base.jfr.md +1378 -0
  185. package/examples/output/kotlin.jdk.live.current.jfr.md +1311 -0
  186. package/examples/output/kotlin.jdk.live.diff.jfr.md +381 -0
  187. package/examples/output/kotlin.jdk.lock.base.jfr.md +1427 -0
  188. package/examples/output/kotlin.jdk.lock.current.jfr.md +1374 -0
  189. package/examples/output/kotlin.jdk.lock.diff.jfr.md +386 -0
  190. package/examples/output/php.excimer.wall.base.speedscope.json.md +25 -0
  191. package/examples/output/php.excimer.wall.current.speedscope.json.md +25 -0
  192. package/examples/output/php.excimer.wall.diff.speedscope.json.md +29 -0
  193. package/examples/output/python.py-spy.cpu.base.collapsed.md +526 -0
  194. package/examples/output/python.py-spy.cpu.base.speedscope.json.md +37 -0
  195. package/examples/output/python.py-spy.cpu.current.collapsed.md +514 -0
  196. package/examples/output/python.py-spy.cpu.current.speedscope.json.md +37 -0
  197. package/examples/output/python.py-spy.cpu.diff.collapsed.md +122 -0
  198. package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +31 -0
  199. package/examples/output/python.py-spy.wall.base.collapsed.md +527 -0
  200. package/examples/output/python.py-spy.wall.current.collapsed.md +518 -0
  201. package/examples/output/python.py-spy.wall.diff.collapsed.md +122 -0
  202. package/examples/output/ruby.rbspy.cpu.base.collapsed.md +90 -0
  203. package/examples/output/ruby.rbspy.cpu.base.pprof.md +105 -0
  204. package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +105 -0
  205. package/examples/output/ruby.rbspy.cpu.current.collapsed.md +90 -0
  206. package/examples/output/ruby.rbspy.cpu.current.pprof.md +115 -0
  207. package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +115 -0
  208. package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +32 -0
  209. package/examples/output/ruby.rbspy.cpu.diff.pprof.md +44 -0
  210. package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +44 -0
  211. package/examples/output/rust.pprof-rs.cpu.base.pprof.md +60 -0
  212. package/examples/output/rust.pprof-rs.cpu.current.pprof.md +60 -0
  213. package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +24 -0
  214. package/package.json +27 -20
  215. package/readme.md +201 -87
  216. package/examples/bun.cpuprofile.md +0 -475
  217. package/examples/deno.cpuprofile.md +0 -481
  218. package/examples/jsc-heap-snapshot.json.md +0 -509
  219. package/examples/node.cpuprofile.md +0 -485
  220. package/examples/node.heapprofile.md +0 -281
  221. package/examples/node.heapsnapshot.md +0 -694
  222. package/examples/node.pprof.md +0 -441
  223. package/examples/node.speedscope.json.md +0 -408
  224. package/examples/rust.pprof.md +0 -477
  225. package/examples/webkit-timeline-recording.json.md +0 -434
@@ -0,0 +1,383 @@
1
+ # Sampling profile diff
2
+
3
+ 133 samples → 106 samples (-27 samples, -20.3%).
4
+
5
+ | Category | Change | Delta | % | Samples |
6
+ | -------- | -----: | ----: | ------------: | ------: |
7
+ | ours | -26.3% | -20 | 57.1% → 52.8% | 76 → 56 |
8
+ | stdlib | -12.3% | -7 | 42.9% → 47.2% | 57 → 50 |
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 | `checkNotNullParameter(Object, String)` | `kotlin.jvm.internal.Intrinsics` |
21
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `parametersCount(TypeSystemContext, TypeConstructorMarker)` | `org.jetbrains.kotlin.types.model.TypeSystemContextContextualKt` |
22
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `fullyExpandedType(ConeClassLikeType, FirSession, Function1)` | `org.jetbrains.kotlin.fir.resolve.TypeExpansionUtilsKt` |
23
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `fullyExpandedType$default(ConeClassLikeType, FirSession, Function1, int, Object)` | `org.jetbrains.kotlin.fir.resolve.TypeExpansionUtilsKt` |
24
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Property` |
25
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `acceptChildren(FirVisitor, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirResolvedArgumentList` |
26
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `markPlacesForInlineAndRemoveInlinable(MethodNode, Map, int)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
27
+ | +100.0% | +1 | 0.8% → 1.9% | 1 → 2 | `analyze(String, MethodNode)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.TemporaryValsAnalyzer` |
28
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `writeGenericArguments$lambda$1(JvmSignatureWriter, Function3, int, KotlinTypeMarker, Variance, Variance, TypeMappingMode)` | `org.jetbrains.kotlin.codegen.state.KotlinTypeMapper$Companion` |
29
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>(FastJarFileSystem, String)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarHandler` |
30
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `getContextReceiverTypeCount()` | `org.jetbrains.kotlin.metadata.ProtoBuf$Property` |
31
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.fir.builder.FirFunctionTypeParameterBuilder` |
32
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `take(Object[], int)` | `kotlin.collections.ArraysKt___ArraysKt` |
33
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>(KtSourceElement, List, FirTarget, FirExpression, DefaultConstructorMarker)` | `org.jetbrains.kotlin.fir.expressions.impl.FirReturnExpressionImpl` |
34
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.fir.expressions.builder.FirFunctionCallBuilder` |
35
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>(KtSourceElement, FirResolvePhase, FirModuleData, FirDeclarationOrigin, FirDeclarationAttributes, Name, FirTypeParameterSymbol, FirBasedSymbol, Variance, boolean, List, List)` | `org.jetbrains.kotlin.fir.declarations.impl.FirTypeParameterImpl` |
36
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `stringsToBytes(String[])` | `org.jetbrains.kotlin.metadata.jvm.deserialization.UtfEncodingKt` |
37
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `getOptionalAnnotationClassNamesByPackage()` | `org.jetbrains.kotlin.fir.java.deserialization.OptionalAnnotationClassesProvider` |
38
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `getEmptyRoot()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerGroup$Companion` |
39
+ | new | +1 | 0.0% → 0.9% | 0 → 1 | `safeSubstitute(TypeSubstitutorMarker, KotlinTypeMarker)` | `org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl` |
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.5% → 0.0% | 2 → 0 | `prepareQualifiedTransform(FirQualifiedAccessExpression, FirNamedReferenceWithCandidate)` | `org.jetbrains.kotlin.fir.resolve.transformers.FirCallCompletionResultsWriterTransformer` |
48
+ | removed | -2 | 1.5% → 0.0% | 2 → 0 | `execute(AbstractInsnNode, Interpreter)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
49
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `isInitialized()` | `org.jetbrains.kotlin.metadata.ProtoBuf$TypeTable` |
50
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `balanceWhiteSpaces()` | `com.intellij.lang.impl.PsiBuilderImpl` |
51
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `parseTypeRefContents(TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
52
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `advance()` | `org.jetbrains.kotlin.lexer._JetLexer` |
53
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `bind(FirTargetElement)` | `org.jetbrains.kotlin.fir.FirAbstractTarget` |
54
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `consume(ModifierList, LighterASTNode, boolean)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
55
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `searchClasses(ClassId, Set, Function2)` | `org.jetbrains.kotlin.cli.jvm.index.JvmDependenciesIndexImpl` |
56
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `isVisible$default(FirVisibilityChecker, FirMemberDeclaration, FirSession, FirFile, List, FirExpression, boolean, FirRegularClass, boolean, SupertypeSupplier, int, Object)` | `org.jetbrains.kotlin.fir.FirVisibilityChecker` |
57
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$ValueParameter` |
58
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `reduceCandidates(FirExpression, Collection, Set)` | `org.jetbrains.kotlin.fir.resolve.calls.overloads.FirOverloadByLambdaReturnTypeResolver` |
59
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `processCandidatesWithGivenImplicitReceiverAsValue(ImplicitReceiverValue, CallInfo, TowerGroup, Set, Set, Set, boolean, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolveTask` |
60
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `resumeWith(Object)` | `kotlin.coroutines.jvm.internal.BaseContinuationImpl` |
61
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `hashCode()` | `org.jetbrains.kotlin.fir.resolve.dfa.SyntheticVariable` |
62
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `getExpectedTypeWithSAMConversion(ResolutionContext, Candidate, FirExpression, ConeKotlinType)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.CheckArgumentsKt` |
63
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `approximateTo(TypeApproximatorConfiguration, AbstractTypeApproximator$Cache, RigidTypeMarker, boolean, int)` | `org.jetbrains.kotlin.types.AbstractTypeApproximator` |
64
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.expressions.builder.FirThisReceiverExpressionBuilder` |
65
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `transformFunctionCall(FirFunctionCall, FirSession)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirArrayOfCallTransformer` |
66
+ | removed | -1 | 0.8% → 0.0% | 1 → 0 | `transformBranches(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirWhenExpressionImpl` |
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
+ | +80.0% | +4 | 3.8% → 8.5% | 5 → 9 | `visitWithCallOrAssignment(FirStatement)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
77
+ | +100.0% | +4 | 3.0% → 7.5% | 4 → 8 | `visitFunctionCall(FirFunctionCall, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
78
+ | +100.0% | +4 | 3.0% → 7.5% | 4 → 8 | `visitFunctionCall(FirFunctionCall, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
79
+ | new | +4 | 0.0% → 3.8% | 0 → 4 | `preprocessNodeBeforeInline(MethodNode, Map)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
80
+ | +150.0% | +3 | 1.5% → 4.7% | 2 → 5 | `convertFunctionDeclaration(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
81
+ | +150.0% | +3 | 1.5% → 4.7% | 2 → 5 | `convertFile(LighterASTNode, KtSourceFile, KtSourceFileLinesMapping)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
82
+ | +150.0% | +3 | 1.5% → 4.7% | 2 → 5 | `buildFirFile(FlyweightCapableTreeStructure, KtSourceFile, KtSourceFileLinesMapping)` | `org.jetbrains.kotlin.fir.lightTree.LightTree2Fir` |
83
+ | +42.9% | +3 | 5.3% → 9.4% | 7 → 10 | `getValue(Object, Object)` | `org.jetbrains.kotlin.fir.caches.FirThreadUnsafeCache` |
84
+ | +300.0% | +3 | 0.8% → 3.8% | 1 → 4 | `transformArguments(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirArgumentListImpl` |
85
+ | +300.0% | +3 | 0.8% → 3.8% | 1 → 4 | `transformChildren(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirArgumentListImpl` |
86
+ | +300.0% | +3 | 0.8% → 3.8% | 1 → 4 | `transformElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
87
+ | +30.0% | +3 | 7.5% → 12.3% | 10 → 13 | `accept(FirVisitor, Object)` | `org.jetbrains.kotlin.fir.expressions.FirBlock` |
88
+ | +30.0% | +3 | 7.5% → 12.3% | 10 → 13 | `visitStatement(FirStatement, Object)` | `org.jetbrains.kotlin.fir.visitors.FirDefaultVisitor` |
89
+ | +30.0% | +3 | 7.5% → 12.3% | 10 → 13 | `visitExpression(FirExpression, Object)` | `org.jetbrains.kotlin.fir.visitors.FirDefaultVisitor` |
90
+ | +33.3% | +3 | 6.8% → 11.3% | 9 → 12 | `visitElement(FirElement, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
91
+ | +100.0% | +3 | 2.3% → 5.7% | 3 → 6 | `acceptChildren(FirVisitor, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirFunctionCallImpl` |
92
+ | +60.0% | +3 | 3.8% → 7.5% | 5 → 8 | `accept(FirVisitor, Object)` | `org.jetbrains.kotlin.fir.expressions.FirFunctionCall` |
93
+ | +42.9% | +3 | 5.3% → 9.4% | 7 → 10 | `acceptChildren(FirVisitor, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirBlockImpl` |
94
+ | +150.0% | +3 | 1.5% → 4.7% | 2 → 5 | `visitJump(FirJump, Object)` | `org.jetbrains.kotlin.fir.visitors.FirDefaultVisitor` |
95
+ | +150.0% | +3 | 1.5% → 4.7% | 2 → 5 | `visitReturnExpression(FirReturnExpression, Object)` | `org.jetbrains.kotlin.fir.visitors.FirDefaultVisitor` |
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
+ | -23.0% | -17 | 55.6% → 53.8% | 74 → 57 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
104
+ | -23.0% | -17 | 55.6% → 53.8% | 74 → 57 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
105
+ | -25.9% | -14 | 40.6% → 37.7% | 54 → 40 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
106
+ | -31.1% | -14 | 33.8% → 29.2% | 45 → 31 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
107
+ | -25.9% | -14 | 40.6% → 37.7% | 54 → 40 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
108
+ | -25.9% | -14 | 40.6% → 37.7% | 54 → 40 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
109
+ | -24.5% | -13 | 39.8% → 37.7% | 53 → 40 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
110
+ | -26.5% | -13 | 36.8% → 34.0% | 49 → 36 | `exec(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
111
+ | -26.5% | -13 | 36.8% → 34.0% | 49 → 36 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
112
+ | -27.7% | -13 | 35.3% → 32.1% | 47 → 34 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
113
+ | -25.0% | -12 | 36.1% → 34.0% | 48 → 36 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
114
+ | -23.5% | -12 | 38.3% → 36.8% | 51 → 39 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
115
+ | -52.2% | -12 | 17.3% → 10.4% | 23 → 11 | `transform(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.FirFunctionCall` |
116
+ | -46.2% | -12 | 19.5% → 13.2% | 26 → 14 | `transformStatementsIndexed(FirBlock, FirTransformer, Function1)` | `org.jetbrains.kotlin.fir.expressions.FirExpressionUtilKt` |
117
+ | -22.9% | -11 | 36.1% → 34.9% | 48 → 37 | `doExecutePhased(K2JVMCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
118
+ | -22.9% | -11 | 36.1% → 34.9% | 48 → 37 | `doExecutePhased(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
119
+ | -23.4% | -11 | 35.3% → 34.0% | 47 → 36 | `execImpl(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
120
+ | -20.8% | -11 | 39.8% → 39.6% | 53 → 42 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
121
+ | -21.2% | -11 | 39.1% → 38.7% | 52 → 41 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
122
+ | -21.2% | -11 | 39.1% → 38.7% | 52 → 41 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
123
+
124
+ # Allocated heap profile diff
125
+
126
+ Allocated 717 MB (+178.576 kB, ~0%) over 867 samples → 865 samples (827 kB → 829 kB per sample).
127
+
128
+ | Category | Change | Delta | % | Size | Samples |
129
+ | -------- | -----: | ---------: | ------------: | ----------------: | --------: |
130
+ | stdlib | -15.1% | -84.272 MB | 77.7% → 65.9% | 557 MB → 472 MB | 554 → 534 |
131
+ | ours | +52.7% | +84.451 MB | 22.3% → 34.1% | 160 MB → 245 MB | 303 → 322 |
132
+ | native | -0.9% | -256 B | <0.1% | 29.6 kB → 29.3 kB | 10 → 9 |
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
+ | +19200.8% | +77.004 MB | 0.1% → 10.8% | 401 kB → 77.4 MB | 1 → 4 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
145
+ | +25.8% | +3.436 MB | 1.9% → 2.3% | 13.3 MB → 16.7 MB | 30 → 35 | `iterator()` | `java.util.ArrayList` |
146
+ | +40.0% | +2.093 MB | 0.7% → 1.0% | 5.23 MB → 7.33 MB | 10 → 14 | `newOutput()` | `org.jetbrains.kotlin.protobuf.ByteString` |
147
+ | +400.0% | +2.093 MB | 0.1% → 0.4% | 523 kB → 2.62 MB | 1 → 5 | `requestGroup(TowerGroup, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
148
+ | new | +2.092 MB | 0.0% → 0.3% | 0 B → 2.09 MB | 0 → 4 | `createScope(IrSymbolOwner)` | `org.jetbrains.kotlin.backend.common.IrElementTransformerVoidWithContext` |
149
+ | +330.0% | +1.606 MB | 0.1% → 0.3% | 487 kB → 2.09 MB | 1 → 4 | `analyzer$lambda$0(FixStackAnalyzer, int, int)` | `org.jetbrains.kotlin.codegen.optimization.fixStack.FixStackAnalyzer` |
150
+ | +100.0% | +1.569 MB | 0.2% → 0.4% | 1.57 MB → 3.14 MB | 3 → 6 | `unmodifiableList(List)` | `java.util.Collections` |
151
+ | +75.0% | +1.569 MB | 0.3% → 0.5% | 2.09 MB → 3.66 MB | 4 → 7 | `<init>()` | `org.jetbrains.kotlin.resolve.calls.inference.model.MutableConstraintStorage` |
152
+ | new | +1.569 MB | 0.0% → 0.2% | 0 B → 1.57 MB | 0 → 3 | `addNewIncorporatedConstraint(TypeVariableMarker, KotlinTypeMarker, ConstraintContext)` | `org.jetbrains.kotlin.resolve.calls.inference.components.ConstraintInjector$TypeCheckerStateForConstraintInjector` |
153
+ | +150.0% | +1.569 MB | 0.1% → 0.4% | 1.05 MB → 2.62 MB | 1 → 3 | `iterator()` | `java.util.LinkedHashMap$LinkedEntrySet` |
154
+ | +71.4% | +1.493 MB | 0.3% → 0.5% | 2.09 MB → 3.59 MB | 4 → 7 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
155
+ | +66.6% | +1.083 MB | 0.2% → 0.4% | 1.63 MB → 2.71 MB | 3 → 5 | `<init>(byte[], int, boolean)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
156
+ | +50.0% | +1.046 MB | 0.3% → 0.4% | 2.09 MB → 3.14 MB | 4 → 6 | `ensureCapacity()` | `com.intellij.lang.impl.PsiBuilderImpl$MyTreeStructure` |
157
+ | new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 1 | `convertType(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
158
+ | new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `fromMethodNameAndDesc(String, String)` | `org.jetbrains.kotlin.load.kotlin.MemberSignature$Companion` |
159
+ | new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `<init>(FirBasedSymbol, ConeResolutionAtom, ConeResolutionAtom, ExplicitReceiverKind, InferenceComponents$ConstraintSystemFactory, ConstraintStorage, CallInfo, FirScope, boolean, boolean, BodyResolveContext)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.Candidate` |
160
+ | new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `notNull()` | `kotlin.properties.Delegates` |
161
+ | new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `valueOf(int)` | `java.lang.Integer` |
162
+ | +66.7% | +1.046 MB | 0.2% → 0.4% | 1.57 MB → 2.62 MB | 3 → 5 | `<init>(String)` | `org.jetbrains.kotlin.name.FqName` |
163
+ | +50.0% | +1.046 MB | 0.3% → 0.4% | 2.09 MB → 3.14 MB | 4 → 6 | `toString()` | `java.lang.StringBuilder` |
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
+ | -79.4% | -151.325 MB | 26.6% → 5.5% | 191 MB → 39.3 MB | 106 → 102 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
172
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `listFiles(FilenameFilter)` | `java.io.File` |
173
+ | -43.8% | -3.662 MB | 1.2% → 0.7% | 8.37 MB → 4.71 MB | 16 → 9 | `newInstance(OutputStream, int)` | `org.jetbrains.kotlin.protobuf.CodedOutputStream` |
174
+ | -50.0% | -2.092 MB | 0.6% → 0.3% | 4.19 MB → 2.09 MB | 8 → 4 | `simplifyTrivialInstructions(MethodNode)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.TemporaryVariablesEliminationTransformer` |
175
+ | removed | -1.569 MB | 0.2% → 0.0% | 1.57 MB → 0 B | 3 → 0 | `iterator()` | `java.util.LinkedHashMap$LinkedValues` |
176
+ | -75.0% | -1.569 MB | 0.3% → 0.1% | 2.09 MB → 523 kB | 4 → 1 | `iterator()` | `org.jetbrains.kotlin.utils.SmartList` |
177
+ | -9.2% | -1.478 MB | 2.2% → 2.0% | 16 MB → 14.5 MB | 31 → 27 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
178
+ | -53.4% | -1.397 MB | 0.4% → 0.2% | 2.62 MB → 1.22 MB | 5 → 3 | `<init>()` | `org.jetbrains.kotlin.types.AbstractTypeApproximator$Cache` |
179
+ | removed | -1.063 MB | 0.1% → 0.0% | 1.06 MB → 0 B | 2 → 0 | `visitEnd()` | `org.jetbrains.kotlin.fir.java.deserialization.AnnotationsLoader$loadAnnotation$1` |
180
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `parseParameterizedClassRefSignature(CharacterIterator, ClassifierResolutionContext)` | `org.jetbrains.kotlin.load.java.structure.impl.classFiles.BinaryClassSignatureParser` |
181
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `hashCode()` | `org.jetbrains.kotlin.fir.resolve.dfa.RealVariable` |
182
+ | -66.7% | -1.046 MB | 0.2% → 0.1% | 1.57 MB → 523 kB | 3 → 1 | `kindOf(TowerGroupKind)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerGroup` |
183
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 1 → 0 | `getChild(KtSourceElement, Set, int, int, boolean)` | `org.jetbrains.kotlin.fir.analysis.FirSourceUtilsKt` |
184
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `executeInvokeInsn(AbstractInsnNode, String, Interpreter)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
185
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `coneFlexibleOrSimpleType(ConeTypeContext, ConeKotlinType, ConeKotlinType, boolean)` | `org.jetbrains.kotlin.fir.types.TypeUtilsKt` |
186
+ | -50.0% | -1.046 MB | 0.3% → 0.1% | 2.09 MB → 1.05 MB | 4 → 2 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
187
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `IrSimpleTypeImpl(IrClassifierSymbol, SimpleTypeNullability, List, List, KotlinType)` | `org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImplKt` |
188
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.serialization.FirSerializerExtension` |
189
+ | removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 1 → 0 | `convertCallExpression(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder` |
190
+ | -51.0% | -954.304 kB | 0.3% → 0.1% | 1.87 MB → 915 kB | 3 → 2 | `compute()` | `org.jetbrains.kotlin.name.FqNameUnsafe` |
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
+ | +73.6% | +82.097 MB | 15.5% → 27.0% | 111 MB → 194 MB | 122 → 121 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
201
+ | +34391.7% | +58.033 MB | <0.1% → 8.1% | 169 kB → 58.2 MB | 1 | `getDeclaredFields()` | `java.lang.Class` |
202
+ | +3696.1% | +57.688 MB | 0.2% → 8.3% | 1.56 MB → 59.2 MB | 4 → 3 | `getArgumentsInfo(Class)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
203
+ | +2743.0% | +57.164 MB | 0.3% → 8.3% | 2.08 MB → 59.2 MB | 5 → 3 | `parsePreprocessedCommandLineArguments(List, CommonToolArguments, Lazy, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
204
+ | +2743.0% | +57.164 MB | 0.3% → 8.3% | 2.08 MB → 59.2 MB | 5 → 3 | `parseCommandLineArguments(List, CommonToolArguments, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
205
+ | +2743.0% | +57.164 MB | 0.3% → 8.3% | 2.08 MB → 59.2 MB | 5 → 3 | `parseCommandLineArguments$default(List, CommonToolArguments, boolean, int, Object)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
206
+ | +39.8% | +57.014 MB | 20.0% → 27.9% | 143 MB → 200 MB | 274 → 271 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
207
+ | +40.4% | +56.498 MB | 19.5% → 27.4% | 140 MB → 196 MB | 267 → 263 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
208
+ | +39.2% | +55.974 MB | 19.9% → 27.7% | 143 MB → 199 MB | 273 → 268 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
209
+ | +404.7% | +10.587 MB | 0.4% → 1.8% | 2.62 MB → 13.2 MB | 4 → 23 | `invoke(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.ScopeBasedTowerLevel$$Lambda.0x000000e0016911a8` |
210
+ | +109.5% | +9.167 MB | 1.2% → 2.4% | 8.37 MB → 17.5 MB | 16 → 35 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x000000e001671dc8` |
211
+ | +2.9% | +8.967 MB | 42.6% → 43.9% | 306 MB → 314 MB | 237 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
212
+ | +2.9% | +8.967 MB | 42.6% → 43.9% | 306 MB → 314 MB | 237 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
213
+ | +24.0% | +8.678 MB | 5.0% → 6.2% | 36.1 MB → 44.8 MB | 68 → 84 | `resolveCallAndSelectCandidate(FirFunctionCall, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
214
+ | +19.5% | +8.678 MB | 6.2% → 7.4% | 44.5 MB → 53.2 MB | 83 → 99 | `runResolver$default(FirTowerResolver, CallInfo, ResolutionContext, CandidateCollector, CandidateFactory, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
215
+ | +27.2% | +8.248 MB | 4.2% → 5.4% | 30.3 MB → 38.5 MB | 59 → 71 | `resolveAndCheckFir(FirSession, List, BaseDiagnosticsCollector)` | `org.jetbrains.kotlin.fir.pipeline.FirUtilsKt` |
216
+ | +19.4% | +8.211 MB | 5.9% → 7.1% | 42.4 MB → 50.6 MB | 79 → 94 | `processLevel(TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
217
+ | +19.4% | +8.211 MB | 5.9% → 7.1% | 42.4 MB → 50.6 MB | 79 → 94 | `access$processLevel(FirBaseTowerResolveTask, TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
218
+ | +16.6% | +7.631 MB | 6.4% → 7.5% | 46.1 MB → 53.7 MB | 86 → 100 | `collectCandidates(FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
219
+ | +16.6% | +7.631 MB | 6.4% → 7.5% | 46.1 MB → 53.7 MB | 86 → 100 | `collectCandidates$default(FirCallResolver, FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
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
+ | -79.4% | -151.325 MB | 26.6% → 5.5% | 191 MB → 39.3 MB | 106 → 102 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
228
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `listFiles(FilenameFilter)` | `java.io.File` |
229
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `cleanup()` | `org.fusesource.jansi.internal.JansiLoader` |
230
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `initialize()` | `org.fusesource.jansi.internal.JansiLoader` |
231
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `<clinit>()` | `org.fusesource.jansi.internal.CLibrary` |
232
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.PlainTextMessageRenderer` |
233
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.MessageRenderer` |
234
+ | removed | -66.374 MB | 9.3% → 0.0% | 66.4 MB → 0 B | 1 → 0 | `defaultMessageRenderer()` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
235
+ | removed | -23.545 MB | 3.3% → 0.0% | 23.5 MB → 0 B | 44 → 0 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016d95c0` |
236
+ | -4.7% | -23.31 MB | 69.9% → 66.6% | 501 MB → 478 MB | 443 → 437 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
237
+ | -87.9% | -22.86 MB | 3.6% → 0.4% | 26 MB → 3.14 MB | 8 → 6 | `loadClass(String)` | `java.lang.ClassLoader` |
238
+ | -4.4% | -22.264 MB | 70.2% → 67.1% | 503 MB → 481 MB | 447 → 443 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
239
+ | -60.8% | -12.608 MB | 2.9% → 1.1% | 20.7 MB → 8.14 MB | 38 → 17 | `put(Object, Object)` | `java.util.HashMap` |
240
+ | -5.8% | -11.684 MB | 27.9% → 26.3% | 200 MB → 188 MB | 256 → 248 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
241
+ | -4.8% | -9.874 MB | 28.5% → 27.1% | 204 MB → 194 MB | 265 → 259 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
242
+ | -19.1% | -9.779 MB | 7.1% → 5.8% | 51.1 MB → 41.3 MB | 94 → 79 | `transformElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer` |
243
+ | -4.8% | -9.651 MB | 28.1% → 26.8% | 202 MB → 192 MB | 260 → 255 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
244
+ | -4.8% | -9.65 MB | 28.0% → 26.6% | 201 MB → 191 MB | 258 → 253 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
245
+ | -72.2% | -9.51 MB | 1.8% → 0.5% | 13.2 MB → 3.66 MB | 25 → 6 | `invoke(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.ScopeBasedTowerLevel$$Lambda.0x000000e0016913e0` |
246
+ | -5.2% | -9.413 MB | 25.1% → 23.8% | 180 MB → 171 MB | 218 → 214 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
247
+
248
+ # Retained heap profile diff
249
+
250
+ Retained 19.3 MB → 19.5 MB (+156.92 kB, +0.8%) over 194 samples → 203 samples (99.6 kB → 95.9 kB per sample).
251
+
252
+ | Category | Change | Delta | % | Size | Samples |
253
+ | -------- | -----: | ----------: | ------------: | ----------------: | --------: |
254
+ | stdlib | +0.2% | +43.432 kB | 94.0% → 93.4% | 18.2 MB | 180 → 185 |
255
+ | ours | +9.8% | +113.488 kB | 6.0% → 6.6% | 1.16 MB → 1.28 MB | 14 → 18 |
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 | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
268
+ | +5.1% | +58.96 kB | 6.0% → 6.2% | 1.16 MB → 1.22 MB | 4 → 7 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
269
+ | new | +136 B | 0.0% → <0.1% | 0 B → 136 B | 0 → 1 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Property$1` |
270
+ | new | +112 B | 0.0% → <0.1% | 0 B → 112 B | 0 → 1 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Function$1` |
271
+ | new | +112 B | 0.0% → <0.1% | 0 B → 112 B | 0 → 1 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirPropertyBuilder` |
272
+ | new | +88 B | 0.0% → <0.1% | 0 B → 88 B | 0 → 1 | `build()` | `org.jetbrains.kotlin.fir.java.declarations.FirJavaMethodBuilder` |
273
+ | new | +80 B | 0.0% → <0.1% | 0 B → 80 B | 0 → 1 | `copy(CallKind, List, FirArgumentList, FirExpression, Name, ImplicitInvokeMode, Candidate, Candidate)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.CallInfo` |
274
+
275
+ #### Improvements
276
+
277
+ Functions with the largest decrease in bytes retained directly in the function body, excluding callees.
278
+
279
+ | Change | Delta | % | Size | Samples | Function | Location |
280
+ | ------: | --------: | -----------: | ------------: | ------: | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
281
+ | removed | -4.448 kB | <0.1% → 0.0% | 4.45 kB → 0 B | 1 → 0 | `lambda$static$0(int)` | `com.intellij.psi.tree.IElementType` |
282
+ | removed | -344 B | <0.1% → 0.0% | 344 B → 0 B | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.analysis.CheckersComponent` |
283
+ | removed | -144 B | <0.1% → 0.0% | 144 B → 0 B | 1 → 0 | `createCandidate(CallInfo, FirBasedSymbol, ExplicitReceiverKind, FirScope, FirExpression, FirExpression, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.CandidateFactory` |
284
+ | removed | -96 B | <0.1% → 0.0% | 96 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirNamedFunctionBuilder` |
285
+ | removed | -32 B | <0.1% → 0.0% | 32 B → 0 B | 1 → 0 | `IrSimpleTypeImpl(IrClassifierSymbol, SimpleTypeNullability, List, List, KotlinType)` | `org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImplKt` |
286
+ | removed | -24 B | <0.1% → 0.0% | 24 B → 0 B | 1 → 0 | `lazy(Function0)` | `kotlin.LazyKt__LazyJVMKt` |
287
+
288
+ ### Total size
289
+
290
+ #### Regressions
291
+
292
+ Functions with the largest increase in total bytes retained in the function and all its callees.
293
+
294
+ | Change | Delta | % | Size | Samples | Function | Location |
295
+ | -----: | ---------: | ----------: | ------------: | ------: | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
296
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
297
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `grow(int)` | `it.unimi.dsi.fastutil.ints.IntArrayList` |
298
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `add(int)` | `it.unimi.dsi.fastutil.ints.IntArrayList` |
299
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `addMarker(PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.MarkerProduction` |
300
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `mark()` | `com.intellij.lang.impl.PsiBuilderImpl` |
301
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `mark()` | `com.intellij.lang.impl.PsiBuilderAdapter` |
302
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `mark()` | `org.jetbrains.kotlin.parsing.AbstractKotlinParsing` |
303
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `tryParseModifier(Consumer, TokenSet, TokenSet)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
304
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `doParseModifierListBody(Consumer, TokenSet, KotlinParsing$AnnotationParsingMode, TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
305
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `doParseModifierList(Consumer, TokenSet, KotlinParsing$AnnotationParsingMode, TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
306
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseTypeArgumentModifierList()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
307
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `tryParseTypeArgumentList(TokenSet)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
308
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseTypeArgumentList()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
309
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseUserType()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
310
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseTypeRefContents(TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
311
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseTypeRef(TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
312
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseTypeRef(TokenSet)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
313
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseTypeRef()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
314
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseFunction(boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
315
+ | new | +59.064 kB | 0.0% → 0.3% | 0 B → 59.1 kB | 0 → 1 | `parseFunction()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
316
+
317
+ #### Improvements
318
+
319
+ Functions with the largest decrease in total bytes retained in the function and all its callees.
320
+
321
+ | Change | Delta | % | Size | Samples | Function | Location |
322
+ | -----: | ----------: | ------------: | ----------------: | ------: | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
323
+ | -0.6% | -114.208 kB | 93.0% → 91.7% | 18 MB → 17.9 MB | 178 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
324
+ | -0.6% | -114.208 kB | 93.0% → 91.7% | 18 MB → 17.9 MB | 178 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
325
+ | -59.1% | -108.76 kB | 1.0% → 0.4% | 184 kB → 75.4 kB | 5 → 3 | `readElementValue(AnnotationVisitor, int, String, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
326
+ | -59.1% | -108.76 kB | 1.0% → 0.4% | 184 kB → 75.4 kB | 5 → 3 | `readElementValues(AnnotationVisitor, int, boolean, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
327
+ | -59.1% | -108.76 kB | 1.0% → 0.4% | 184 kB → 75.4 kB | 5 → 3 | `create(byte[], MetadataVersion, Function4)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass` |
328
+ | -58.9% | -108.528 kB | 1.0% → 0.4% | 184 kB → 75.6 kB | 5 → 6 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
329
+ | -58.9% | -108.528 kB | 1.0% → 0.4% | 184 kB → 75.6 kB | 5 → 6 | `accept(ClassVisitor, int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
330
+ | -58.8% | -107.392 kB | 0.9% → 0.4% | 183 kB → 75.3 kB | 4 → 2 | `<init>(char[], int, int)` | `java.lang.String` |
331
+ | -58.8% | -107.392 kB | 0.9% → 0.4% | 183 kB → 75.3 kB | 4 → 2 | `readUtfNonAscii(int, int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
332
+ | -58.7% | -107.312 kB | 0.9% → 0.4% | 183 kB → 75.4 kB | 4 → 3 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
333
+ | -58.7% | -107.312 kB | 0.9% → 0.4% | 183 kB → 75.4 kB | 4 → 3 | `readUtf(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
334
+ | -58.7% | -107.312 kB | 0.9% → 0.4% | 183 kB → 75.4 kB | 4 → 3 | `readUTF8(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
335
+ | -0.5% | -72.344 kB | 72.0% → 71.0% | 13.9 MB → 13.8 MB | 164 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
336
+ | -0.5% | -72.344 kB | 72.0% → 71.0% | 13.9 MB → 13.8 MB | 164 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
337
+ | -0.5% | -72.344 kB | 72.0% → 71.0% | 13.9 MB → 13.8 MB | 164 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
338
+ | -3.8% | -51.496 kB | 6.9% → 6.6% | 1.34 MB → 1.29 MB | 9 → 8 | `computeTopLevelCallableNames(FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$symbolNamesProvider$1` |
339
+ | -3.8% | -51.496 kB | 6.9% → 6.6% | 1.34 MB → 1.29 MB | 9 → 8 | `invoke(Object, Void)` | `org.jetbrains.kotlin.fir.resolve.providers.FirCachedSymbolNamesProvider$topLevelCallableNamesByPackage_delegate$lambda$0$$inlined$createCache$1` |
340
+ | -3.8% | -51.496 kB | 6.9% → 6.6% | 1.34 MB → 1.29 MB | 9 → 8 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.resolve.providers.FirCachedSymbolNamesProvider$topLevelCallableNamesByPackage_delegate$lambda$0$$inlined$createCache$1` |
341
+ | -3.8% | -51.496 kB | 6.9% → 6.6% | 1.34 MB → 1.29 MB | 9 → 8 | `getTopLevelCallableNamesInPackage(FqName)` | `org.jetbrains.kotlin.fir.resolve.providers.FirCachedSymbolNamesProvider` |
342
+ | -3.8% | -51.496 kB | 6.9% → 6.6% | 1.34 MB → 1.29 MB | 9 → 8 | `computeTopLevelCallableNames(FqName)` | `org.jetbrains.kotlin.fir.resolve.providers.FirCompositeCachedSymbolNamesProvider` |
343
+
344
+ # Lock contention profile diff
345
+
346
+ Blocked 510.8ms → 491.4ms (-19.38ms, -3.8%) over 3 samples (170.3ms → 163.8ms per sample).
347
+
348
+ | Category | Change | Delta | % | Time | Samples |
349
+ | -------- | -----: | -------: | -----: | ----------------: | ------: |
350
+ | stdlib | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 |
351
+
352
+ The entry filter hides every sampled function, so all functions are shown.
353
+
354
+ ## Hottest functions
355
+
356
+ ### Self time
357
+
358
+ #### Improvements
359
+
360
+ Functions with the largest decrease in time blocked directly in the function body, excluding callees.
361
+
362
+ | Change | Delta | % | Time | Samples | Function | Location |
363
+ | -----: | -------: | -----: | ----------------: | ------: | --------------------- | -------------------------- |
364
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
365
+
366
+ ### Total time
367
+
368
+ #### Improvements
369
+
370
+ Functions with the largest decrease in total time blocked in the function and all its callees.
371
+
372
+ | Change | Delta | % | Time | Samples | Function | Location |
373
+ | -----: | -------: | -----: | ----------------: | ------: | --------------------------- | ----------------------------------------------------------------------- |
374
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
375
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `parkNanos(Object, long)` | `java.util.concurrent.locks.LockSupport` |
376
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `await(long, TimeUnit)` | `java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject` |
377
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `await(long)` | `java.lang.ref.ReferenceQueue` |
378
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `remove0(long)` | `java.lang.ref.ReferenceQueue` |
379
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `remove(long)` | `java.lang.ref.ReferenceQueue` |
380
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `run()` | `jdk.internal.ref.CleanerImpl` |
381
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `runWith(Object, Runnable)` | `java.lang.Thread` |
382
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `run()` | `java.lang.Thread` |
383
+ | -3.8% | -19.38ms | 100.0% | 510.8ms → 491.4ms | 3 | `run()` | `jdk.internal.misc.InnocuousThread` |