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,383 +0,0 @@
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 684 MiB (+174.39 KiB, ~0%) over 867 samples → 865 samples (808 KiB → 810 KiB per sample).
127
-
128
- | Category | Change | Delta | % | Size | Samples |
129
- | -------- | -----: | ----------: | ------------: | ------------------: | --------: |
130
- | stdlib | -15.1% | -80.368 MiB | 77.7% → 65.9% | 531 MiB → 451 MiB | 554 → 534 |
131
- | ours | +52.7% | +80.539 MiB | 22.3% → 34.1% | 153 MiB → 233 MiB | 303 → 322 |
132
- | native | -0.9% | -256 B | <0.1% | 28.9 KiB → 28.6 KiB | 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% | +73.437 MiB | 0.1% → 10.8% | 392 KiB → 73.8 MiB | 1 → 4 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
145
- | +25.8% | +3.277 MiB | 1.9% → 2.3% | 12.7 MiB → 16 MiB | 30 → 35 | `iterator()` | `java.util.ArrayList` |
146
- | +40.0% | +1.996 MiB | 0.7% → 1.0% | 4.99 MiB → 6.99 MiB | 10 → 14 | `newOutput()` | `org.jetbrains.kotlin.protobuf.ByteString` |
147
- | +400.0% | +1.996 MiB | 0.1% → 0.4% | 511 KiB → 2.5 MiB | 1 → 5 | `requestGroup(TowerGroup, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
148
- | new | +1.996 MiB | 0.0% → 0.3% | 0 B → 2 MiB | 0 → 4 | `createScope(IrSymbolOwner)` | `org.jetbrains.kotlin.backend.common.IrElementTransformerVoidWithContext` |
149
- | +330.0% | +1.531 MiB | 0.1% → 0.3% | 475 KiB → 2 MiB | 1 → 4 | `analyzer$lambda$0(FixStackAnalyzer, int, int)` | `org.jetbrains.kotlin.codegen.optimization.fixStack.FixStackAnalyzer` |
150
- | +100.0% | +1.497 MiB | 0.2% → 0.4% | 1.5 MiB → 2.99 MiB | 3 → 6 | `unmodifiableList(List)` | `java.util.Collections` |
151
- | +75.0% | +1.497 MiB | 0.3% → 0.5% | 2 MiB → 3.49 MiB | 4 → 7 | `<init>()` | `org.jetbrains.kotlin.resolve.calls.inference.model.MutableConstraintStorage` |
152
- | new | +1.497 MiB | 0.0% → 0.2% | 0 B → 1.5 MiB | 0 → 3 | `addNewIncorporatedConstraint(TypeVariableMarker, KotlinTypeMarker, ConstraintContext)` | `org.jetbrains.kotlin.resolve.calls.inference.components.ConstraintInjector$TypeCheckerStateForConstraintInjector` |
153
- | +150.0% | +1.496 MiB | 0.1% → 0.4% | 1022 KiB → 2.5 MiB | 1 → 3 | `iterator()` | `java.util.LinkedHashMap$LinkedEntrySet` |
154
- | +71.4% | +1.424 MiB | 0.3% → 0.5% | 2 MiB → 3.42 MiB | 4 → 7 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
155
- | +66.6% | +1.033 MiB | 0.2% → 0.4% | 1.55 MiB → 2.59 MiB | 3 → 5 | `<init>(byte[], int, boolean)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
156
- | +50.0% | +1,021.992 KiB | 0.3% → 0.4% | 2 MiB → 2.99 MiB | 4 → 6 | `ensureCapacity()` | `com.intellij.lang.impl.PsiBuilderImpl$MyTreeStructure` |
157
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 1 | `convertType(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
158
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `fromMethodNameAndDesc(String, String)` | `org.jetbrains.kotlin.load.kotlin.MemberSignature$Companion` |
159
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 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,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `notNull()` | `kotlin.properties.Delegates` |
161
- | new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `valueOf(int)` | `java.lang.Integer` |
162
- | +66.7% | +1,021.976 KiB | 0.2% → 0.4% | 1.5 MiB → 2.5 MiB | 3 → 5 | `<init>(String)` | `org.jetbrains.kotlin.name.FqName` |
163
- | +50.0% | +1,021.953 KiB | 0.3% → 0.4% | 2 MiB → 2.99 MiB | 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% | -144.315 MiB | 26.6% → 5.5% | 182 MiB → 37.5 MiB | 106 → 102 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
172
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `listFiles(FilenameFilter)` | `java.io.File` |
173
- | -43.8% | -3.493 MiB | 1.2% → 0.7% | 7.98 MiB → 4.49 MiB | 16 → 9 | `newInstance(OutputStream, int)` | `org.jetbrains.kotlin.protobuf.CodedOutputStream` |
174
- | -50.0% | -1.996 MiB | 0.6% → 0.3% | 3.99 MiB → 2 MiB | 8 → 4 | `simplifyTrivialInstructions(MethodNode)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.TemporaryVariablesEliminationTransformer` |
175
- | removed | -1.497 MiB | 0.2% → 0.0% | 1.5 MiB → 0 B | 3 → 0 | `iterator()` | `java.util.LinkedHashMap$LinkedValues` |
176
- | -75.0% | -1.497 MiB | 0.3% → 0.1% | 2 MiB → 511 KiB | 4 → 1 | `iterator()` | `org.jetbrains.kotlin.utils.SmartList` |
177
- | -9.2% | -1.41 MiB | 2.2% → 2.0% | 15.3 MiB → 13.9 MiB | 31 → 27 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
178
- | -53.4% | -1.333 MiB | 0.4% → 0.2% | 2.5 MiB → 1.16 MiB | 5 → 3 | `<init>()` | `org.jetbrains.kotlin.types.AbstractTypeApproximator$Cache` |
179
- | removed | -1.014 MiB | 0.1% → 0.0% | 1.01 MiB → 0 B | 2 → 0 | `visitEnd()` | `org.jetbrains.kotlin.fir.java.deserialization.AnnotationsLoader$loadAnnotation$1` |
180
- | removed | -1,021.992 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `parseParameterizedClassRefSignature(CharacterIterator, ClassifierResolutionContext)` | `org.jetbrains.kotlin.load.java.structure.impl.classFiles.BinaryClassSignatureParser` |
181
- | removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `hashCode()` | `org.jetbrains.kotlin.fir.resolve.dfa.RealVariable` |
182
- | -66.7% | -1,021.984 KiB | 0.2% → 0.1% | 1.5 MiB → 511 KiB | 3 → 1 | `kindOf(TowerGroupKind)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerGroup` |
183
- | removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 1 → 0 | `getChild(KtSourceElement, Set, int, int, boolean)` | `org.jetbrains.kotlin.fir.analysis.FirSourceUtilsKt` |
184
- | removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `executeInvokeInsn(AbstractInsnNode, String, Interpreter)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
185
- | removed | -1,021.976 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `coneFlexibleOrSimpleType(ConeTypeContext, ConeKotlinType, ConeKotlinType, boolean)` | `org.jetbrains.kotlin.fir.types.TypeUtilsKt` |
186
- | -50.0% | -1,021.968 KiB | 0.3% → 0.1% | 2 MiB → 1022 KiB | 4 → 2 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
187
- | removed | -1,021.968 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `IrSimpleTypeImpl(IrClassifierSymbol, SimpleTypeNullability, List, List, KotlinType)` | `org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImplKt` |
188
- | removed | -1,021.968 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.serialization.FirSerializerExtension` |
189
- | removed | -1,021.664 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 1 → 0 | `convertCallExpression(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder` |
190
- | -51.0% | -931.937 KiB | 0.3% → 0.1% | 1.78 MiB → 894 KiB | 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% | +78.294 MiB | 15.5% → 27.0% | 106 MiB → 185 MiB | 122 → 121 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
201
- | +34391.7% | +55.345 MiB | <0.1% → 8.1% | 165 KiB → 55.5 MiB | 1 | `getDeclaredFields()` | `java.lang.Class` |
202
- | +3696.1% | +55.015 MiB | 0.2% → 8.3% | 1.49 MiB → 56.5 MiB | 4 → 3 | `getArgumentsInfo(Class)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
203
- | +2743.0% | +54.516 MiB | 0.3% → 8.3% | 1.99 MiB → 56.5 MiB | 5 → 3 | `parsePreprocessedCommandLineArguments(List, CommonToolArguments, Lazy, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
204
- | +2743.0% | +54.516 MiB | 0.3% → 8.3% | 1.99 MiB → 56.5 MiB | 5 → 3 | `parseCommandLineArguments(List, CommonToolArguments, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
205
- | +2743.0% | +54.516 MiB | 0.3% → 8.3% | 1.99 MiB → 56.5 MiB | 5 → 3 | `parseCommandLineArguments$default(List, CommonToolArguments, boolean, int, Object)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
206
- | +39.8% | +54.373 MiB | 20.0% → 27.9% | 137 MiB → 191 MiB | 274 → 271 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
207
- | +40.4% | +53.881 MiB | 19.5% → 27.4% | 133 MiB → 187 MiB | 267 → 263 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
208
- | +39.2% | +53.381 MiB | 19.9% → 27.7% | 136 MiB → 190 MiB | 273 → 268 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
209
- | +404.7% | +10.097 MiB | 0.4% → 1.8% | 2.5 MiB → 12.6 MiB | 4 → 23 | `invoke(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.ScopeBasedTowerLevel$$Lambda.0x000000e0016911a8` |
210
- | +109.5% | +8.743 MiB | 1.2% → 2.4% | 7.98 MiB → 16.7 MiB | 16 → 35 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x000000e001671dc8` |
211
- | +2.9% | +8.552 MiB | 42.6% → 43.9% | 291 MiB → 300 MiB | 237 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
212
- | +2.9% | +8.552 MiB | 42.6% → 43.9% | 291 MiB → 300 MiB | 237 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
213
- | +24.0% | +8.276 MiB | 5.0% → 6.2% | 34.4 MiB → 42.7 MiB | 68 → 84 | `resolveCallAndSelectCandidate(FirFunctionCall, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
214
- | +19.5% | +8.276 MiB | 6.2% → 7.4% | 42.4 MiB → 50.7 MiB | 83 → 99 | `runResolver$default(FirTowerResolver, CallInfo, ResolutionContext, CandidateCollector, CandidateFactory, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
215
- | +27.2% | +7.866 MiB | 4.2% → 5.4% | 28.9 MiB → 36.7 MiB | 59 → 71 | `resolveAndCheckFir(FirSession, List, BaseDiagnosticsCollector)` | `org.jetbrains.kotlin.fir.pipeline.FirUtilsKt` |
216
- | +19.4% | +7.83 MiB | 5.9% → 7.1% | 40.4 MiB → 48.3 MiB | 79 → 94 | `processLevel(TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
217
- | +19.4% | +7.83 MiB | 5.9% → 7.1% | 40.4 MiB → 48.3 MiB | 79 → 94 | `access$processLevel(FirBaseTowerResolveTask, TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
218
- | +16.6% | +7.278 MiB | 6.4% → 7.5% | 43.9 MiB → 51.2 MiB | 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.278 MiB | 6.4% → 7.5% | 43.9 MiB → 51.2 MiB | 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% | -144.315 MiB | 26.6% → 5.5% | 182 MiB → 37.5 MiB | 106 → 102 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
228
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `listFiles(FilenameFilter)` | `java.io.File` |
229
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `cleanup()` | `org.fusesource.jansi.internal.JansiLoader` |
230
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `initialize()` | `org.fusesource.jansi.internal.JansiLoader` |
231
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.fusesource.jansi.internal.CLibrary` |
232
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.PlainTextMessageRenderer` |
233
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.MessageRenderer` |
234
- | removed | -63.299 MiB | 9.3% → 0.0% | 63.3 MiB → 0 B | 1 → 0 | `defaultMessageRenderer()` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
235
- | removed | -22.455 MiB | 3.3% → 0.0% | 22.5 MiB → 0 B | 44 → 0 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016d95c0` |
236
- | -4.7% | -22.23 MiB | 69.9% → 66.6% | 478 MiB → 456 MiB | 443 → 437 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
237
- | -87.9% | -21.801 MiB | 3.6% → 0.4% | 24.8 MiB → 2.99 MiB | 8 → 6 | `loadClass(String)` | `java.lang.ClassLoader` |
238
- | -4.4% | -21.232 MiB | 70.2% → 67.1% | 480 MiB → 459 MiB | 447 → 443 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
239
- | -60.8% | -12.024 MiB | 2.9% → 1.1% | 19.8 MiB → 7.76 MiB | 38 → 17 | `put(Object, Object)` | `java.util.HashMap` |
240
- | -5.8% | -11.143 MiB | 27.9% → 26.3% | 191 MiB → 180 MiB | 256 → 248 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
241
- | -4.8% | -9.417 MiB | 28.5% → 27.1% | 195 MiB → 185 MiB | 265 → 259 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
242
- | -19.1% | -9.326 MiB | 7.1% → 5.8% | 48.7 MiB → 39.4 MiB | 94 → 79 | `transformElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer` |
243
- | -4.8% | -9.203 MiB | 28.1% → 26.8% | 192 MiB → 183 MiB | 260 → 255 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
244
- | -4.8% | -9.203 MiB | 28.0% → 26.6% | 191 MiB → 182 MiB | 258 → 253 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
245
- | -72.2% | -9.07 MiB | 1.8% → 0.5% | 12.6 MiB → 3.49 MiB | 25 → 6 | `invoke(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.ScopeBasedTowerLevel$$Lambda.0x000000e0016913e0` |
246
- | -5.2% | -8.977 MiB | 25.1% → 23.8% | 172 MiB → 163 MiB | 218 → 214 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
247
-
248
- # Retained heap profile diff
249
-
250
- Retained 18.4 MiB → 18.6 MiB (+153.242 KiB, +0.8%) over 194 samples → 203 samples (97.2 KiB → 93.7 KiB per sample).
251
-
252
- | Category | Change | Delta | % | Size | Samples |
253
- | -------- | -----: | -----------: | ------------: | ------------------: | --------: |
254
- | stdlib | +0.2% | +42.414 KiB | 94.0% → 93.4% | 17.3 MiB → 17.4 MiB | 180 → 185 |
255
- | ours | +9.8% | +110.828 KiB | 6.0% → 6.6% | 1.11 MiB → 1.22 MiB | 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 | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
268
- | +5.1% | +57.578 KiB | 6.0% → 6.2% | 1.1 MiB → 1.16 MiB | 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.343 KiB | <0.1% → 0.0% | 4.34 KiB → 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 | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
297
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `grow(int)` | `it.unimi.dsi.fastutil.ints.IntArrayList` |
298
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `add(int)` | `it.unimi.dsi.fastutil.ints.IntArrayList` |
299
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `addMarker(PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.MarkerProduction` |
300
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `mark()` | `com.intellij.lang.impl.PsiBuilderImpl` |
301
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `mark()` | `com.intellij.lang.impl.PsiBuilderAdapter` |
302
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `mark()` | `org.jetbrains.kotlin.parsing.AbstractKotlinParsing` |
303
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `tryParseModifier(Consumer, TokenSet, TokenSet)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
304
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `doParseModifierListBody(Consumer, TokenSet, KotlinParsing$AnnotationParsingMode, TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
305
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `doParseModifierList(Consumer, TokenSet, KotlinParsing$AnnotationParsingMode, TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
306
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseTypeArgumentModifierList()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
307
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `tryParseTypeArgumentList(TokenSet)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
308
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseTypeArgumentList()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
309
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseUserType()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
310
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseTypeRefContents(TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
311
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseTypeRef(TokenSet, boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
312
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseTypeRef(TokenSet)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
313
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseTypeRef()` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
314
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 0 → 1 | `parseFunction(boolean)` | `org.jetbrains.kotlin.parsing.KotlinParsing` |
315
- | new | +57.679 KiB | 0.0% → 0.3% | 0 B → 57.7 KiB | 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% | -111.531 KiB | 93.0% → 91.7% | 17.1 MiB → 17 MiB | 178 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
324
- | -0.6% | -111.531 KiB | 93.0% → 91.7% | 17.1 MiB → 17 MiB | 178 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
325
- | -59.1% | -106.21 KiB | 1.0% → 0.4% | 180 KiB → 73.6 KiB | 5 → 3 | `readElementValue(AnnotationVisitor, int, String, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
326
- | -59.1% | -106.21 KiB | 1.0% → 0.4% | 180 KiB → 73.6 KiB | 5 → 3 | `readElementValues(AnnotationVisitor, int, boolean, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
327
- | -59.1% | -106.21 KiB | 1.0% → 0.4% | 180 KiB → 73.6 KiB | 5 → 3 | `create(byte[], MetadataVersion, Function4)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass` |
328
- | -58.9% | -105.984 KiB | 1.0% → 0.4% | 180 KiB → 73.8 KiB | 5 → 6 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
329
- | -58.9% | -105.984 KiB | 1.0% → 0.4% | 180 KiB → 73.8 KiB | 5 → 6 | `accept(ClassVisitor, int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
330
- | -58.8% | -104.875 KiB | 0.9% → 0.4% | 178 KiB → 73.5 KiB | 4 → 2 | `<init>(char[], int, int)` | `java.lang.String` |
331
- | -58.8% | -104.875 KiB | 0.9% → 0.4% | 178 KiB → 73.5 KiB | 4 → 2 | `readUtfNonAscii(int, int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
332
- | -58.7% | -104.796 KiB | 0.9% → 0.4% | 178 KiB → 73.6 KiB | 4 → 3 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
333
- | -58.7% | -104.796 KiB | 0.9% → 0.4% | 178 KiB → 73.6 KiB | 4 → 3 | `readUtf(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
334
- | -58.7% | -104.796 KiB | 0.9% → 0.4% | 178 KiB → 73.6 KiB | 4 → 3 | `readUTF8(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
335
- | -0.5% | -70.648 KiB | 72.0% → 71.0% | 13.3 MiB → 13.2 MiB | 164 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
336
- | -0.5% | -70.648 KiB | 72.0% → 71.0% | 13.3 MiB → 13.2 MiB | 164 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
337
- | -0.5% | -70.648 KiB | 72.0% → 71.0% | 13.3 MiB → 13.2 MiB | 164 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
338
- | -3.8% | -50.289 KiB | 6.9% → 6.6% | 1.28 MiB → 1.23 MiB | 9 → 8 | `computeTopLevelCallableNames(FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$symbolNamesProvider$1` |
339
- | -3.8% | -50.289 KiB | 6.9% → 6.6% | 1.28 MiB → 1.23 MiB | 9 → 8 | `invoke(Object, Void)` | `org.jetbrains.kotlin.fir.resolve.providers.FirCachedSymbolNamesProvider$topLevelCallableNamesByPackage_delegate$lambda$0$$inlined$createCache$1` |
340
- | -3.8% | -50.289 KiB | 6.9% → 6.6% | 1.28 MiB → 1.23 MiB | 9 → 8 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.resolve.providers.FirCachedSymbolNamesProvider$topLevelCallableNamesByPackage_delegate$lambda$0$$inlined$createCache$1` |
341
- | -3.8% | -50.289 KiB | 6.9% → 6.6% | 1.28 MiB → 1.23 MiB | 9 → 8 | `getTopLevelCallableNamesInPackage(FqName)` | `org.jetbrains.kotlin.fir.resolve.providers.FirCachedSymbolNamesProvider` |
342
- | -3.8% | -50.289 KiB | 6.9% → 6.6% | 1.28 MiB → 1.23 MiB | 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` |