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,245 +0,0 @@
1
- # Allocated heap profile diff
2
-
3
- Allocated 26 MiB → 22.3 MiB (-3.661 MiB, -14.1%) over 1,345 samples → 1,235 samples (19.8 KiB → 18.5 KiB per sample).
4
-
5
- | Category | Change | Delta | % | Size | Samples |
6
- | -------- | -----: | ----------: | ------------: | ------------------: | ----------: |
7
- | stdlib | -14.3% | -3.565 MiB | 96.0% → 95.8% | 24.9 MiB → 21.4 MiB | 1,028 → 936 |
8
- | ours | -9.3% | -97.976 KiB | 4.0% → 4.2% | 1.03 MiB → 960 KiB | 317 → 299 |
9
-
10
- ## Hottest functions
11
-
12
- ### Self size
13
-
14
- #### Regressions
15
-
16
- Functions with the largest increase in bytes allocated directly in the function body, excluding callees.
17
-
18
- | Change | Delta | % | Size | Samples | Function | Location |
19
- | ------: | ----------: | -----------: | ----------------: | ------: | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
20
- | new | +55.726 KiB | 0.0% → 0.2% | 0 B → 55.7 KiB | 0 → 1 | `stringsToBytes(String[])` | `org.jetbrains.kotlin.metadata.jvm.deserialization.UtfEncodingKt` |
21
- | new | +48.21 KiB | 0.0% → 0.2% | 0 B → 48.2 KiB | 0 → 1 | `<init>(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
22
- | +234.1% | +37.343 KiB | 0.1% → 0.2% | 16 KiB → 53.3 KiB | 3 → 6 | `<init>(byte[], int, boolean)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
23
- | new | +1.015 KiB | 0.0% → <0.1% | 0 B → 1.02 KiB | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.codegen.optimization.NegatedJumpsMethodTransformer` |
24
- | new | +712 B | 0.0% → <0.1% | 0 B → 712 B | 0 → 1 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
25
- | +66.7% | +512 B | <0.1% | 768 B → 1.25 KiB | 24 → 40 | `iterator()` | `java.util.ArrayList` |
26
- | new | +288 B | 0.0% → <0.1% | 0 B → 288 B | 0 → 2 | `createCandidate(CallInfo, FirBasedSymbol, ExplicitReceiverKind, FirScope, FirExpression, FirExpression, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.CandidateFactory` |
27
- | +200.0% | +224 B | <0.1% | 112 B → 336 B | 1 → 3 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Function$1` |
28
- | +192.3% | +200 B | <0.1% | 104 B → 304 B | 1 → 4 | `toString()` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ByteArrayCharSequence` |
29
- | +271.4% | +152 B | <0.1% | 56 B → 208 B | 1 | `toArray()` | `org.jetbrains.org.objectweb.asm.tree.InsnList` |
30
- | new | +152 B | 0.0% → <0.1% | 0 B → 152 B | 0 → 1 | `<init>(int, float)` | `it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap` |
31
- | new | +120 B | 0.0% → <0.1% | 0 B → 120 B | 0 → 1 | `doInline(MethodNode)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
32
- | new | +96 B | 0.0% → <0.1% | 0 B → 96 B | 0 → 1 | `convertFunctionDeclaration(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
33
- | +300.0% | +96 B | <0.1% | 32 B → 128 B | 1 → 4 | `iterator()` | `java.util.LinkedHashMap$LinkedEntrySet` |
34
- | +171.4% | +96 B | <0.1% | 56 B → 152 B | 1 → 2 | `setLocal(int, int)` | `org.jetbrains.org.objectweb.asm.Frame` |
35
- | +300.0% | +96 B | <0.1% | 32 B → 128 B | 1 → 4 | `analyzeMethodNodeWithInterpreter$lambda$0(int, int)` | `org.jetbrains.kotlin.codegen.inline.MethodInlinerUtilKt` |
36
- | new | +96 B | 0.0% → <0.1% | 0 B → 96 B | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.util.ArrayMapImpl` |
37
- | new | +96 B | 0.0% → <0.1% | 0 B → 96 B | 0 → 1 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirNamedFunctionBuilder` |
38
- | new | +88 B | 0.0% → <0.1% | 0 B → 88 B | 0 → 1 | `addInitialEqualityConstraint(ConstraintInjector$Context, KotlinTypeMarker, KotlinTypeMarker, ConstraintPosition)` | `org.jetbrains.kotlin.resolve.calls.inference.components.ConstraintInjector` |
39
- | new | +88 B | 0.0% → <0.1% | 0 B → 88 B | 0 → 1 | `check(CheckerSink, ResolutionContext, Candidate, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.CheckIncompatibleTypeVariableUpperBounds` |
40
-
41
- #### Improvements
42
-
43
- Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
44
-
45
- | Change | Delta | % | Size | Samples | Function | Location |
46
- | ------: | -----------: | ------------: | ------------------: | --------: | ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
47
- | -15.6% | -1.543 MiB | 38.1% → 37.4% | 9.89 MiB → 8.34 MiB | 360 → 291 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
48
- | -91.4% | -109.617 KiB | 0.5% → <0.1% | 120 KiB → 10.3 KiB | 6 → 2 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
49
- | -8.5% | -66.625 KiB | 3.0% → 3.2% | 786 KiB → 720 KiB | 5 → 4 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
50
- | removed | -57.679 KiB | 0.2% → 0.0% | 57.7 KiB → 0 B | 1 → 0 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
51
- | -91.6% | -15.71 KiB | 0.1% → <0.1% | 17.1 KiB → 1.44 KiB | 6 → 9 | `copyOf(Object[], int)` | `java.util.Arrays` |
52
- | removed | -4.015 KiB | <0.1% → 0.0% | 4.02 KiB → 0 B | 1 → 0 | `enlarge(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
53
- | -94.1% | -2.117 KiB | <0.1% | 2.25 KiB → 136 B | 5 → 1 | `<init>(String, MethodNode, Interpreter, boolean, boolean, boolean, Function2)` | `org.jetbrains.kotlin.codegen.optimization.common.FastAnalyzer` |
54
- | -47.7% | -920 B | <0.1% | 1.88 KiB → 1008 B | 17 → 10 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
55
- | -9.3% | -480 B | <0.1% | 5.06 KiB → 4.59 KiB | 41 → 36 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
56
- | removed | -304 B | <0.1% → 0.0% | 304 B → 0 B | 1 → 0 | `<init>(MethodNode, boolean)` | `org.jetbrains.kotlin.codegen.optimization.common.InstructionLivenessAnalyzer` |
57
- | -77.8% | -168 B | <0.1% | 216 B → 48 B | 9 → 2 | `to(Object, Object)` | `kotlin.TuplesKt` |
58
- | removed | -168 B | <0.1% → 0.0% | 168 B → 0 B | 3 → 0 | `processLevel(TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
59
- | -62.5% | -160 B | <0.1% | 256 B → 96 B | 6 → 2 | `newTypeCheckerState(TypeSystemContext, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.types.ConeInferenceContext` |
60
- | -12.5% | -96 B | <0.1% | 768 B → 672 B | 8 → 7 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
61
- | removed | -96 B | <0.1% → 0.0% | 96 B → 0 B | 2 → 0 | `convertTypeParameter(LighterASTNode, List, FirBasedSymbol)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
62
- | removed | -96 B | <0.1% → 0.0% | 96 B → 0 B | 1 → 0 | `loadFunction(ProtoBuf$Function, ProtoBuf$Class, FirClassSymbol, FirDeclarationOrigin)` | `org.jetbrains.kotlin.fir.deserialization.FirMemberDeserializer` |
63
- | -60.0% | -96 B | <0.1% | 160 B → 64 B | 10 → 4 | `box-impl(List)` | `org.jetbrains.kotlin.fir.MutableOrEmptyList` |
64
- | removed | -96 B | <0.1% → 0.0% | 96 B → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.backend.jvm.mapping.GenericSignatureMapper` |
65
- | removed | -96 B | <0.1% → 0.0% | 96 B → 0 B | 2 → 0 | `visitLineNumber(int, Label)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
66
- | removed | -88 B | <0.1% → 0.0% | 88 B → 0 B | 2 → 0 | `<init>(ConstraintInjector, TypeSystemInferenceExtensionContext, LanguageVersionSettings, Function2)` | `org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl` |
67
-
68
- ### Total size
69
-
70
- #### Regressions
71
-
72
- Functions with the largest increase in total bytes allocated in the function and all its callees.
73
-
74
- | Change | Delta | % | Size | Samples | Function | Location |
75
- | ----------: | -----------: | -----------: | -----------------: | --------: | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
76
- | +3073500.0% | +720.351 KiB | <0.1% → 3.2% | 24 B → 720 KiB | 1 → 5 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x0000007001394428` |
77
- | +33.3% | +512.117 KiB | 5.8% → 9.0% | 1.5 MiB → 2 MiB | 13 → 15 | `getNextEntry()` | `java.util.zip.ZipInputStream` |
78
- | +1974.9% | +176.195 KiB | <0.1% → 0.8% | 8.92 KiB → 185 KiB | 23 | `toSymbol(ConeClassLikeLookupTag, FirSession)` | `org.jetbrains.kotlin.fir.resolve.ToSymbolUtilsKt` |
79
- | +16.2% | +146.156 KiB | 3.4% → 4.6% | 901 KiB → 1.02 MiB | 170 → 162 | `getValue(Object, Object)` | `org.jetbrains.kotlin.fir.caches.FirThreadUnsafeCache` |
80
- | +255.6% | +139.804 KiB | 0.2% → 0.9% | 54.7 KiB → 195 KiB | 34 → 29 | `getValue(Object, Object)` | `org.jetbrains.kotlin.fir.caches.FirThreadUnsafeCacheWithPostCompute` |
81
- | +255.6% | +139.804 KiB | 0.2% → 0.9% | 54.7 KiB → 195 KiB | 34 → 29 | `computeClass(ClassId)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider` |
82
- | +255.6% | +139.804 KiB | 0.2% → 0.9% | 54.7 KiB → 195 KiB | 34 → 29 | `access$computeClass(FirCachingCompositeSymbolProvider, ClassId)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider` |
83
- | +255.6% | +139.804 KiB | 0.2% → 0.9% | 54.7 KiB → 195 KiB | 34 → 29 | `invoke(Object, Void)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider$special$$inlined$createCache$1` |
84
- | +255.6% | +139.804 KiB | 0.2% → 0.9% | 54.7 KiB → 195 KiB | 34 → 29 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider$special$$inlined$createCache$1` |
85
- | +256.6% | +139.796 KiB | 0.2% → 0.9% | 54.5 KiB → 194 KiB | 28 → 19 | `findAndDeserializeClass(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
86
- | +256.6% | +139.796 KiB | 0.2% → 0.9% | 54.5 KiB → 194 KiB | 28 → 19 | `classCache$lambda$0(AbstractFirDeserializedSymbolProvider, ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
87
- | +256.6% | +139.796 KiB | 0.2% → 0.9% | 54.5 KiB → 194 KiB | 28 → 19 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$$Lambda.0x0000007001472078` |
88
- | +256.4% | +139.773 KiB | 0.2% → 0.9% | 54.5 KiB → 194 KiB | 29 → 19 | `getClass(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
89
- | +256.4% | +139.773 KiB | 0.2% → 0.9% | 54.5 KiB → 194 KiB | 29 → 19 | `getClass$default(AbstractFirDeserializedSymbolProvider, ClassId, FirDeserializationContext, int, Object)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
90
- | +256.4% | +139.773 KiB | 0.2% → 0.9% | 54.5 KiB → 194 KiB | 29 → 19 | `getClassLikeSymbolByClassId(ClassId)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
91
- | +13.6% | +139.71 KiB | 3.9% → 5.1% | 1 MiB → 1.14 MiB | 395 → 392 | `executePhase(ConfigurationPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
92
- | +13.6% | +139.71 KiB | 3.9% → 5.1% | 1 MiB → 1.14 MiB | 395 → 392 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
93
- | +250.5% | +135.468 KiB | 0.2% → 0.8% | 54.1 KiB → 190 KiB | 15 → 13 | `extractClassMetadata(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
94
- | +24043.9% | +123.976 KiB | <0.1% → 0.5% | 528 B → 124 KiB | 7 → 9 | `enhanceMethod(FirFunction, CallableId, Name, boolean, List)` | `org.jetbrains.kotlin.fir.java.enhancement.FirSignatureEnhancement` |
95
- | +24043.9% | +123.976 KiB | <0.1% → 0.5% | 528 B → 124 KiB | 7 → 9 | `enhance$org_jetbrains_kotlin_fir_jvm(FirFunctionSymbol, Name, List)` | `org.jetbrains.kotlin.fir.java.enhancement.FirSignatureEnhancement` |
96
-
97
- #### Improvements
98
-
99
- Functions with the largest decrease in total bytes allocated in the function and all its callees.
100
-
101
- | Change | Delta | % | Size | Samples | Function | Location |
102
- | ------: | -----------: | ------------: | ------------------: | ------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
103
- | -14.1% | -3.661 MiB | 100.0% | 26 MiB → 22.3 MiB | 1,344 → 1,235 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
104
- | -14.1% | -3.661 MiB | 100.0% | 26 MiB → 22.3 MiB | 1,344 → 1,235 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
105
- | -17.1% | -3.659 MiB | 82.7% → 79.8% | 21.5 MiB → 17.8 MiB | 742 → 633 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
106
- | -17.0% | -3.651 MiB | 82.7% → 79.8% | 21.5 MiB → 17.8 MiB | 741 → 633 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
107
- | -24.0% | -2.358 MiB | 37.8% → 33.4% | 9.82 MiB → 7.46 MiB | 359 → 320 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
108
- | -15.6% | -1.543 MiB | 38.1% → 37.4% | 9.89 MiB → 8.34 MiB | 360 → 291 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
109
- | removed | -786.304 KiB | 3.0% → 0.0% | 786 KiB → 0 B | 5 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x000000b001396000` |
110
- | -99.1% | -255.609 KiB | 1.0% → <0.1% | 258 KiB → 2.38 KiB | 35 → 26 | `put(Object, Object)` | `java.util.HashMap` |
111
- | -72.6% | -158.859 KiB | 0.8% → 0.3% | 219 KiB → 60 KiB | 130 → 153 | `executePhase(JvmFir2IrPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
112
- | -72.6% | -158.859 KiB | 0.8% → 0.3% | 219 KiB → 60 KiB | 130 → 153 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
113
- | -80.5% | -117.515 KiB | 0.5% → 0.1% | 146 KiB → 28.5 KiB | 54 → 49 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
114
- | -80.5% | -117.515 KiB | 0.5% → 0.1% | 146 KiB → 28.5 KiB | 54 → 49 | `accept(ClassVisitor, int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
115
- | -69.1% | -117.148 KiB | 0.6% → 0.2% | 170 KiB → 52.4 KiB | 97 → 103 | `generateFile(JvmBackendContext, IrFile, List, boolean)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
116
- | -69.1% | -117.148 KiB | 0.6% → 0.2% | 170 KiB → 52.4 KiB | 97 → 103 | `invokeCodegen(JvmIrCodegenFactory$CodegenInput)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
117
- | -69.1% | -117.148 KiB | 0.6% → 0.2% | 170 KiB → 52.4 KiB | 97 → 103 | `runCodegen$org_jetbrains_kotlin_cli_jvm(JvmIrCodegenFactory$CodegenInput, GenerationState, JvmIrCodegenFactory, BaseDiagnosticsCollector, CompilerConfiguration, boolean)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler` |
118
- | -69.1% | -117.07 KiB | 0.6% → 0.2% | 169 KiB → 52.4 KiB | 96 → 103 | `generate()` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
119
- | -68.7% | -113.531 KiB | 0.6% → 0.2% | 165 KiB → 51.7 KiB | 90 → 97 | `generateMethod(IrFunction, SourceMapper)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
120
- | -70.0% | -112.312 KiB | 0.6% → 0.2% | 160 KiB → 48 KiB | 42 → 49 | `generateMethodNode(IrFunction)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
121
- | -70.3% | -112.304 KiB | 0.6% → 0.2% | 160 KiB → 47.5 KiB | 30 → 33 | `genInlineCall(IrCallableMethod, ExpressionCodegen, IrFunctionAccessExpression, boolean)` | `org.jetbrains.kotlin.backend.jvm.codegen.IrInlineCodegen` |
122
- | -70.6% | -112.304 KiB | 0.6% → 0.2% | 159 KiB → 46.8 KiB | 15 → 19 | `compileInlineFunction(JvmMethodSignature)` | `org.jetbrains.kotlin.backend.jvm.codegen.IrSourceCompilerForInline` |
123
-
124
- # Retained heap profile diff
125
-
126
- Retained 9.91 MiB → 7.58 MiB (-2.327 MiB, -23.5%) over 384 samples → 336 samples (26.4 KiB → 23.1 KiB per sample).
127
-
128
- | Category | Change | Delta | % | Size | Samples |
129
- | -------- | -----: | ----------: | ------------: | ------------------: | --------: |
130
- | stdlib | -24.8% | -2.249 MiB | 91.6% → 90.0% | 9.08 MiB → 6.83 MiB | 296 → 260 |
131
- | ours | -9.4% | -80.312 KiB | 8.4% → 10.0% | 853 KiB → 773 KiB | 88 → 76 |
132
-
133
- ## Hottest functions
134
-
135
- ### Self size
136
-
137
- #### Regressions
138
-
139
- Functions with the largest increase in bytes retained directly in the function body, excluding callees.
140
-
141
- | Change | Delta | % | Size | Samples | Function | Location |
142
- | ------: | ---------: | -----------: | -------------: | ------: | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
143
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `<init>(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
144
- | new | +1.015 KiB | 0.0% → <0.1% | 0 B → 1.02 KiB | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.codegen.optimization.NegatedJumpsMethodTransformer` |
145
- | new | +208 B | 0.0% → <0.1% | 0 B → 208 B | 0 → 1 | `toArray()` | `org.jetbrains.org.objectweb.asm.tree.InsnList` |
146
- | new | +152 B | 0.0% → <0.1% | 0 B → 152 B | 0 → 2 | `setLocal(int, int)` | `org.jetbrains.org.objectweb.asm.Frame` |
147
- | new | +120 B | 0.0% → <0.1% | 0 B → 120 B | 0 → 1 | `doInline(MethodNode)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
148
- | +100.0% | +112 B | <0.1% | 112 B → 224 B | 1 → 2 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Function$1` |
149
- | new | +96 B | 0.0% → <0.1% | 0 B → 96 B | 0 → 1 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirNamedFunctionBuilder` |
150
- | new | +80 B | 0.0% → <0.1% | 0 B → 80 B | 0 → 1 | `<init>(int)` | `java.util.ArrayList` |
151
- | new | +80 B | 0.0% → <0.1% | 0 B → 80 B | 0 → 1 | `loadPropertyGetter(ProtoBuf$Property, FirClassSymbol, int, FirTypeRef, FirPropertySymbol, FirDeserializationContext, Modality)` | `org.jetbrains.kotlin.fir.deserialization.FirMemberDeserializer` |
152
- | new | +72 B | 0.0% → <0.1% | 0 B → 72 B | 0 → 1 | `createTypeParameter(int, int, IrDeclarationOrigin, Name, IrTypeParameterSymbol, Variance, int, boolean)` | `org.jetbrains.kotlin.ir.declarations.IrFactory` |
153
- | +200.0% | +64 B | <0.1% | 32 B → 96 B | 1 → 3 | `iterator()` | `java.util.ArrayList` |
154
- | new | +64 B | 0.0% → <0.1% | 0 B → 64 B | 0 → 1 | `IrVariableImpl(int, int, IrDeclarationOrigin, IrVariableSymbol, Name, IrType, boolean, boolean, boolean)` | `org.jetbrains.kotlin.ir.declarations.impl.BuildersKt` |
155
- | new | +64 B | 0.0% → <0.1% | 0 B → 64 B | 0 → 1 | `topLevelPropertyNameIndex_delegate$lambda$0(PackagePartsCacheData)` | `org.jetbrains.kotlin.fir.deserialization.PackagePartsCacheData` |
156
- | new | +56 B | 0.0% → <0.1% | 0 B → 56 B | 0 → 1 | `merge(SymbolTable, Frame, int)` | `org.jetbrains.org.objectweb.asm.Frame` |
157
- | new | +48 B | 0.0% → <0.1% | 0 B → 48 B | 0 → 2 | `toLookupTag(ClassId)` | `org.jetbrains.kotlin.fir.types.TypeConstructionUtilsKt` |
158
- | new | +48 B | 0.0% → <0.1% | 0 B → 48 B | 0 → 1 | `toBuilder(IrSimpleType)` | `org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImplKt` |
159
- | new | +40 B | 0.0% → <0.1% | 0 B → 40 B | 0 → 1 | `visitLocalVariable(String, String, String, Label, Label, int)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
160
- | new | +40 B | 0.0% → <0.1% | 0 B → 40 B | 0 → 1 | `IrGetValueImpl(int, int, IrType, IrValueSymbol, IrStatementOrigin)` | `org.jetbrains.kotlin.ir.expressions.impl.BuildersKt` |
161
- | new | +40 B | 0.0% → <0.1% | 0 B → 40 B | 0 → 1 | `<init>(IrDeclaration)` | `org.jetbrains.kotlin.ir.descriptors.IrBasedDeclarationDescriptor` |
162
- | new | +40 B | 0.0% → <0.1% | 0 B → 40 B | 0 → 1 | `buildPartial()` | `org.jetbrains.kotlin.metadata.jvm.JvmProtoBuf$JvmMethodSignature$Builder` |
163
-
164
- #### Improvements
165
-
166
- Functions with the largest decrease in bytes retained directly in the function body, excluding callees.
167
-
168
- | Change | Delta | % | Size | Samples | Function | Location |
169
- | ------: | ----------: | -----------: | ----------------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
170
- | -8.5% | -66.687 KiB | 7.7% → 9.3% | 786 KiB → 720 KiB | 5 → 3 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
171
- | removed | -57.679 KiB | 0.6% → 0.0% | 57.7 KiB → 0 B | 1 → 0 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
172
- | removed | -4.015 KiB | <0.1% → 0.0% | 4.02 KiB → 0 B | 1 → 0 | `enlarge(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
173
- | removed | -648 B | <0.1% → 0.0% | 648 B → 0 B | 1 → 0 | `<init>(String, MethodNode, Interpreter, boolean, boolean, boolean, Function2)` | `org.jetbrains.kotlin.codegen.optimization.common.FastAnalyzer` |
174
- | -50.0% | -592 B | <0.1% | 1.16 KiB → 592 B | 10 → 5 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
175
- | removed | -304 B | <0.1% → 0.0% | 304 B → 0 B | 1 → 0 | `<init>(MethodNode, boolean)` | `org.jetbrains.kotlin.codegen.optimization.common.InstructionLivenessAnalyzer` |
176
- | -12.5% | -96 B | <0.1% | 768 B → 672 B | 8 → 7 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
177
- | removed | -80 B | <0.1% → 0.0% | 80 B → 0 B | 2 → 0 | `create(String, int, String, String, JavaClass, ClassifierResolutionContext, BinaryClassSignatureParser)` | `org.jetbrains.kotlin.load.java.structure.impl.classFiles.BinaryJavaMethodBase$Companion` |
178
- | -33.3% | -80 B | <0.1% | 240 B → 160 B | 6 → 4 | `newFieldMap(int)` | `org.jetbrains.kotlin.protobuf.SmallSortedMap` |
179
- | removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `MAP_delegate$lambda$0(KtDiagnosticFactoryToRendererMap)` | `org.jetbrains.kotlin.fir.analysis.diagnostics.FirErrorsDefaultMessages` |
180
- | removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirTypeParameterBuilder` |
181
- | removed | -56 B | <0.1% → 0.0% | 56 B → 0 B | 1 → 0 | `scopeForClassImpl(FirClass, ConeSubstitutor, FirSession, ScopeSession, boolean, FirClass, boolean, ConeClassLikeLookupTag, FirClassSymbol, FirResolvePhase)` | `org.jetbrains.kotlin.fir.scopes.FirKotlinScopeProviderKt` |
182
- | removed | -56 B | <0.1% → 0.0% | 56 B → 0 B | 1 → 0 | `<init>(TypeSystemCommonBackendContext, Map, boolean, Function2)` | `org.jetbrains.kotlin.codegen.inline.TypeParameterMappings` |
183
- | removed | -56 B | <0.1% → 0.0% | 56 B → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.fir.analysis.diagnostics.jvm.FirJvmErrors` |
184
- | -66.7% | -48 B | <0.1% | 72 B → 24 B | 3 → 1 | `toString()` | `java.lang.StringBuilder` |
185
- | -66.7% | -48 B | <0.1% | 72 B → 24 B | 3 → 1 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
186
- | removed | -48 B | <0.1% → 0.0% | 48 B → 0 B | 2 → 0 | `identifier(String)` | `org.jetbrains.kotlin.name.Name` |
187
- | removed | -48 B | <0.1% → 0.0% | 48 B → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.config.LanguageFeature` |
188
- | removed | -48 B | <0.1% → 0.0% | 48 B → 0 B | 1 → 0 | `visitLabel(Label)` | `org.jetbrains.org.objectweb.asm.MethodWriter` |
189
- | removed | -48 B | <0.1% → 0.0% | 48 B → 0 B | 1 → 0 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$Argument$1` |
190
-
191
- ### Total size
192
-
193
- #### Regressions
194
-
195
- Functions with the largest increase in total bytes retained in the function and all its callees.
196
-
197
- | Change | Delta | % | Size | Samples | Function | Location |
198
- | ----------: | -----------: | -----------: | -------------: | ------: | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
199
- | +3070266.7% | +719.593 KiB | <0.1% → 9.3% | 24 B → 720 KiB | 1 → 3 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x0000007001394428` |
200
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `<init>(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
201
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `toByteArray()` | `org.jetbrains.org.objectweb.asm.ClassWriter` |
202
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `asBytes(ClassBuilder)` | `org.jetbrains.kotlin.codegen.ClassBuilderFactories$1` |
203
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `asBytes(ClassBuilder)` | `org.jetbrains.kotlin.codegen.DelegatingClassBuilderFactory` |
204
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `asBytes(ClassBuilderFactory)` | `org.jetbrains.kotlin.codegen.ClassFileFactory$ClassBuilderAndSourceFileList` |
205
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `asByteArray()` | `org.jetbrains.kotlin.codegen.ClassFileFactory$OutputClassFile` |
206
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `writeAll(OutputFileCollection, File, Function2)` | `org.jetbrains.kotlin.cli.common.output.OutputUtilsKt` |
207
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `writeAllTo(OutputFileCollection, File)` | `org.jetbrains.kotlin.cli.common.output.OutputUtilsKt` |
208
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `writeAll(OutputFileCollection, File, CompilerConfiguration, boolean, ICFileMappingTracker)` | `org.jetbrains.kotlin.cli.common.output.OutputUtilsKt` |
209
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `writeOutput(CompilerConfiguration, OutputFileCollection, FqName)` | `org.jetbrains.kotlin.cli.jvm.compiler.CliCompilerUtilsKt` |
210
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `writeOutputsIfNeeded(Project, CompilerConfiguration, MessageCollector, boolean, Collection, FqName)` | `org.jetbrains.kotlin.cli.jvm.compiler.CliCompilerUtilsKt` |
211
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `executePhase(JvmBackendPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmWriteOutputsPhase` |
212
- | new | +48.21 KiB | 0.0% → 0.6% | 0 B → 48.2 KiB | 0 → 1 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmWriteOutputsPhase` |
213
- | new | +1.015 KiB | 0.0% → <0.1% | 0 B → 1.02 KiB | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.codegen.optimization.NegatedJumpsMethodTransformer` |
214
- | new | +1.015 KiB | 0.0% → <0.1% | 0 B → 1.02 KiB | 0 → 1 | `<init>(MethodVisitor, boolean, GenerationState, int, String, String, String, String[])` | `org.jetbrains.kotlin.codegen.optimization.OptimizationMethodVisitor` |
215
- | new | +1.015 KiB | 0.0% → <0.1% | 0 B → 1.02 KiB | 0 → 1 | `newMethod(JvmDeclarationOrigin, int, String, String, String, String[])` | `org.jetbrains.kotlin.codegen.optimization.OptimizationClassBuilder` |
216
- | new | +1.015 KiB | 0.0% → <0.1% | 0 B → 1.02 KiB | 0 → 1 | `newMethod(JvmDeclarationOrigin, int, String, String, String, String[])` | `org.jetbrains.kotlin.codegen.DelegatingClassBuilder` |
217
- | new | +1.015 KiB | 0.0% → <0.1% | 0 B → 1.02 KiB | 0 → 1 | `<clinit>()` | `org.jetbrains.kotlin.fir.analysis.diagnostics.FirDiagnosticRenderers` |
218
- | +3933.3% | +944 B | <0.1% | 24 B → 968 B | 1 → 25 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016566d0` |
219
-
220
- #### Improvements
221
-
222
- Functions with the largest decrease in total bytes retained in the function and all its callees.
223
-
224
- | Change | Delta | % | Size | Samples | Function | Location |
225
- | ------: | -----------: | ------------: | ------------------: | --------: | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
226
- | -23.5% | -2.327 MiB | 100.0% | 9.91 MiB → 7.58 MiB | 384 → 336 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
227
- | -23.5% | -2.327 MiB | 100.0% | 9.91 MiB → 7.58 MiB | 384 → 336 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
228
- | -37.7% | -2.183 MiB | 58.4% → 47.5% | 5.78 MiB → 3.6 MiB | 229 → 201 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
229
- | -37.7% | -2.183 MiB | 58.4% → 47.5% | 5.78 MiB → 3.6 MiB | 229 → 201 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
230
- | -34.9% | -1.932 MiB | 55.8% → 47.5% | 5.53 MiB → 3.6 MiB | 221 → 197 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
231
- | removed | -786.304 KiB | 7.7% → 0.0% | 786 KiB → 0 B | 5 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x000000b001396000` |
232
- | -99.8% | -255.914 KiB | 2.5% → <0.1% | 256 KiB → 520 B | 10 → 8 | `put(Object, Object)` | `java.util.HashMap` |
233
- | -3.5% | -148.148 KiB | 41.6% → 52.5% | 4.13 MiB → 3.98 MiB | 155 → 135 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
234
- | -3.5% | -148.148 KiB | 41.6% → 52.5% | 4.13 MiB → 3.98 MiB | 155 → 135 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
235
- | -3.5% | -148.148 KiB | 41.6% → 52.5% | 4.13 MiB → 3.98 MiB | 155 → 135 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
236
- | -11.9% | -99.929 KiB | 8.3% → 9.5% | 839 KiB → 739 KiB | 82 → 69 | `executePhase(ConfigurationPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
237
- | -11.9% | -99.929 KiB | 8.3% → 9.5% | 839 KiB → 739 KiB | 82 → 69 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
238
- | -10.3% | -90.921 KiB | 8.7% → 10.2% | 883 KiB → 792 KiB | 138 → 128 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
239
- | -10.3% | -90.921 KiB | 8.7% → 10.2% | 883 KiB → 792 KiB | 138 → 128 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
240
- | -10.3% | -90.921 KiB | 8.7% → 10.2% | 883 KiB → 792 KiB | 138 → 128 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
241
- | -10.3% | -90.921 KiB | 8.7% → 10.2% | 883 KiB → 792 KiB | 138 → 128 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
242
- | -10.3% | -90.921 KiB | 8.7% → 10.2% | 883 KiB → 792 KiB | 138 → 128 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
243
- | -10.3% | -90.64 KiB | 8.7% → 10.2% | 884 KiB → 793 KiB | 150 → 132 | `exec(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
244
- | -10.3% | -90.609 KiB | 8.7% → 10.2% | 884 KiB → 793 KiB | 153 → 134 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
245
- | -10.3% | -90.609 KiB | 8.7% → 10.2% | 884 KiB → 793 KiB | 153 → 134 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
@@ -1 +0,0 @@
1
- No profiling data found.
@@ -1 +0,0 @@
1
- No profiling data found.
@@ -1 +0,0 @@
1
- No profiling data found.