profiler-md 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/dist/cli/index.mjs +14155 -5081
  2. package/dist/index.d.mts +1312 -263
  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 +3 -3
  11. package/docs/formats/jsc-heap-snapshot.md +11 -5
  12. package/docs/formats/memray.md +30 -0
  13. package/docs/formats/perf.md +74 -0
  14. package/docs/formats/pprof.md +10 -6
  15. package/docs/formats/speedscope.md +7 -5
  16. package/docs/formats/systing.md +27 -0
  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 +10 -5
  20. package/docs/formats/webkit-timeline-recording.md +6 -0
  21. package/docs/languages/c.md +138 -18
  22. package/docs/languages/csharp.md +7 -7
  23. package/docs/languages/elixir.md +22 -15
  24. package/docs/languages/fortran.md +141 -0
  25. package/docs/languages/go.md +36 -13
  26. package/docs/languages/haskell.md +134 -0
  27. package/docs/languages/java.md +89 -34
  28. package/docs/languages/javascript.md +37 -31
  29. package/docs/languages/julia.md +96 -14
  30. package/docs/languages/php.md +10 -4
  31. package/docs/languages/python.md +121 -15
  32. package/docs/languages/ruby.md +19 -22
  33. package/docs/languages/rust.md +40 -10
  34. package/docs/languages/swift.md +135 -0
  35. package/docs/languages/zig.md +155 -0
  36. package/package.json +47 -46
  37. package/readme.md +306 -242
  38. package/skills/profile-optimize/SKILL.md +162 -0
  39. package/docs/languages/cpp.md +0 -160
  40. package/docs/languages/erlang.md +0 -46
  41. package/docs/languages/fsharp.md +0 -52
  42. package/docs/languages/kotlin.md +0 -170
  43. package/docs/languages/typescript.md +0 -276
  44. package/examples/output/c.gperftools.cpu.base.pprof.md +0 -324
  45. package/examples/output/c.gperftools.cpu.current.pprof.md +0 -271
  46. package/examples/output/c.gperftools.cpu.diff.pprof.md +0 -98
  47. package/examples/output/c.gperftools.heap.base.pprof.md +0 -362
  48. package/examples/output/c.gperftools.heap.current.pprof.md +0 -362
  49. package/examples/output/c.gperftools.heap.diff.pprof.md +0 -28
  50. package/examples/output/cpp.gperftools.cpu.base.pprof.md +0 -557
  51. package/examples/output/cpp.gperftools.cpu.current.pprof.md +0 -573
  52. package/examples/output/cpp.gperftools.cpu.diff.pprof.md +0 -122
  53. package/examples/output/cpp.gperftools.heap.base.pprof.md +0 -67
  54. package/examples/output/cpp.gperftools.heap.current.pprof.md +0 -67
  55. package/examples/output/cpp.gperftools.heap.diff.pprof.md +0 -19
  56. package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +0 -411
  57. package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +0 -412
  58. package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +0 -122
  59. package/examples/output/elixir.eflambe.cpu.base.collapsed.md +0 -399
  60. package/examples/output/elixir.eflambe.cpu.current.collapsed.md +0 -398
  61. package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +0 -92
  62. package/examples/output/erlang.eflambe.cpu.base.collapsed.md +0 -147
  63. package/examples/output/erlang.eflambe.cpu.current.collapsed.md +0 -147
  64. package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +0 -18
  65. package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +0 -324
  66. package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +0 -314
  67. package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +0 -119
  68. package/examples/output/go.pprof.block.base.pprof.md +0 -86
  69. package/examples/output/go.pprof.block.current.pprof.md +0 -83
  70. package/examples/output/go.pprof.block.diff.pprof.md +0 -42
  71. package/examples/output/go.pprof.cpu.base.pprof.md +0 -81
  72. package/examples/output/go.pprof.cpu.current.pprof.md +0 -70
  73. package/examples/output/go.pprof.cpu.diff.pprof.md +0 -52
  74. package/examples/output/go.pprof.goroutine.base.pprof.md +0 -43
  75. package/examples/output/go.pprof.goroutine.current.pprof.md +0 -43
  76. package/examples/output/go.pprof.goroutine.diff.pprof.md +0 -13
  77. package/examples/output/go.pprof.heap-alloc.base.pprof.md +0 -154
  78. package/examples/output/go.pprof.heap-alloc.current.pprof.md +0 -146
  79. package/examples/output/go.pprof.heap-alloc.diff.pprof.md +0 -67
  80. package/examples/output/go.pprof.heap.base.pprof.md +0 -154
  81. package/examples/output/go.pprof.heap.current.pprof.md +0 -146
  82. package/examples/output/go.pprof.heap.diff.pprof.md +0 -67
  83. package/examples/output/go.pprof.mutex.base.pprof.md +0 -55
  84. package/examples/output/go.pprof.mutex.current.pprof.md +0 -41
  85. package/examples/output/go.pprof.mutex.diff.pprof.md +0 -31
  86. package/examples/output/go.pprof.threadcreate.base.pprof.md +0 -55
  87. package/examples/output/go.pprof.threadcreate.current.pprof.md +0 -55
  88. package/examples/output/go.pprof.threadcreate.diff.pprof.md +0 -19
  89. package/examples/output/java.async-profiler.all.base.jfr.md +0 -1071
  90. package/examples/output/java.async-profiler.all.current.jfr.md +0 -1007
  91. package/examples/output/java.async-profiler.all.diff.jfr.md +0 -268
  92. package/examples/output/java.async-profiler.alloc.base.jfr.md +0 -425
  93. package/examples/output/java.async-profiler.alloc.current.jfr.md +0 -413
  94. package/examples/output/java.async-profiler.alloc.diff.jfr.md +0 -99
  95. package/examples/output/java.async-profiler.cpu.base.collapsed.md +0 -367
  96. package/examples/output/java.async-profiler.cpu.base.jfr.md +0 -485
  97. package/examples/output/java.async-profiler.cpu.current.collapsed.md +0 -355
  98. package/examples/output/java.async-profiler.cpu.current.jfr.md +0 -488
  99. package/examples/output/java.async-profiler.cpu.diff.collapsed.md +0 -117
  100. package/examples/output/java.async-profiler.cpu.diff.jfr.md +0 -118
  101. package/examples/output/java.async-profiler.live.base.jfr.md +0 -697
  102. package/examples/output/java.async-profiler.live.current.jfr.md +0 -684
  103. package/examples/output/java.async-profiler.live.diff.jfr.md +0 -191
  104. package/examples/output/java.async-profiler.lock.base.jfr.md +0 -140
  105. package/examples/output/java.async-profiler.lock.current.jfr.md +0 -108
  106. package/examples/output/java.async-profiler.lock.diff.jfr.md +0 -44
  107. package/examples/output/java.async-profiler.nativemem.base.jfr.md +0 -222
  108. package/examples/output/java.async-profiler.nativemem.current.jfr.md +0 -222
  109. package/examples/output/java.async-profiler.nativemem.diff.jfr.md +0 -65
  110. package/examples/output/java.async-profiler.wall.base.jfr.md +0 -400
  111. package/examples/output/java.async-profiler.wall.current.jfr.md +0 -420
  112. package/examples/output/java.async-profiler.wall.diff.jfr.md +0 -94
  113. package/examples/output/java.jdk.all.base.jfr.md +0 -1024
  114. package/examples/output/java.jdk.all.current.jfr.md +0 -1010
  115. package/examples/output/java.jdk.all.diff.jfr.md +0 -311
  116. package/examples/output/java.jdk.alloc.base.jfr.md +0 -1024
  117. package/examples/output/java.jdk.alloc.current.jfr.md +0 -1046
  118. package/examples/output/java.jdk.alloc.diff.jfr.md +0 -312
  119. package/examples/output/java.jdk.cpu.base.jfr.md +0 -1023
  120. package/examples/output/java.jdk.cpu.current.jfr.md +0 -1039
  121. package/examples/output/java.jdk.cpu.diff.jfr.md +0 -285
  122. package/examples/output/java.jdk.live.base.jfr.md +0 -1029
  123. package/examples/output/java.jdk.live.current.jfr.md +0 -1035
  124. package/examples/output/java.jdk.live.diff.jfr.md +0 -289
  125. package/examples/output/java.jdk.lock.base.jfr.md +0 -1040
  126. package/examples/output/java.jdk.lock.current.jfr.md +0 -1051
  127. package/examples/output/java.jdk.lock.diff.jfr.md +0 -339
  128. package/examples/output/javascript.bun.base.cpuprofile.md +0 -73
  129. package/examples/output/javascript.bun.base.heapsnapshot.md +0 -608
  130. package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +0 -480
  131. package/examples/output/javascript.bun.current.cpuprofile.md +0 -73
  132. package/examples/output/javascript.bun.current.heapsnapshot.md +0 -608
  133. package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +0 -480
  134. package/examples/output/javascript.bun.diff.cpuprofile.md +0 -54
  135. package/examples/output/javascript.bun.diff.heapsnapshot.md +0 -48
  136. package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +0 -62
  137. package/examples/output/javascript.chrome.base.cpuprofile.md +0 -163
  138. package/examples/output/javascript.chrome.base.heapprofile.md +0 -32
  139. package/examples/output/javascript.chrome.base.heapsnapshot.md +0 -649
  140. package/examples/output/javascript.chrome.current.cpuprofile.md +0 -149
  141. package/examples/output/javascript.chrome.current.heapprofile.md +0 -32
  142. package/examples/output/javascript.chrome.current.heapsnapshot.md +0 -647
  143. package/examples/output/javascript.chrome.diff.cpuprofile.md +0 -65
  144. package/examples/output/javascript.chrome.diff.heapprofile.md +0 -50
  145. package/examples/output/javascript.chrome.diff.heapsnapshot.md +0 -73
  146. package/examples/output/javascript.deno.base.cpuprofile.md +0 -122
  147. package/examples/output/javascript.deno.current.cpuprofile.md +0 -114
  148. package/examples/output/javascript.deno.diff.cpuprofile.md +0 -66
  149. package/examples/output/javascript.node.base.cpuprofile.md +0 -136
  150. package/examples/output/javascript.node.base.heapprofile.md +0 -56
  151. package/examples/output/javascript.node.base.heapsnapshot.md +0 -660
  152. package/examples/output/javascript.node.current.cpuprofile.md +0 -119
  153. package/examples/output/javascript.node.current.heapprofile.md +0 -52
  154. package/examples/output/javascript.node.current.heapsnapshot.md +0 -660
  155. package/examples/output/javascript.node.diff.cpuprofile.md +0 -70
  156. package/examples/output/javascript.node.diff.heapprofile.md +0 -34
  157. package/examples/output/javascript.node.diff.heapsnapshot.md +0 -39
  158. package/examples/output/javascript.pprof.cpu.base.pprof.md +0 -104
  159. package/examples/output/javascript.pprof.cpu.current.pprof.md +0 -120
  160. package/examples/output/javascript.pprof.cpu.diff.pprof.md +0 -63
  161. package/examples/output/javascript.pprof.heap.base.pprof.md +0 -86
  162. package/examples/output/javascript.pprof.heap.current.pprof.md +0 -57
  163. package/examples/output/javascript.pprof.heap.diff.pprof.md +0 -42
  164. package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +0 -388
  165. package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +0 -378
  166. package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +0 -122
  167. package/examples/output/julia.pprof-jl.alloc.base.pprof.md +0 -124
  168. package/examples/output/julia.pprof-jl.alloc.current.pprof.md +0 -126
  169. package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +0 -30
  170. package/examples/output/julia.pprof-jl.cpu.base.pprof.md +0 -177
  171. package/examples/output/julia.pprof-jl.cpu.current.pprof.md +0 -179
  172. package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +0 -64
  173. package/examples/output/kotlin.async-profiler.all.base.jfr.md +0 -920
  174. package/examples/output/kotlin.async-profiler.all.current.jfr.md +0 -925
  175. package/examples/output/kotlin.async-profiler.all.diff.jfr.md +0 -247
  176. package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +0 -467
  177. package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +0 -473
  178. package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +0 -122
  179. package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +0 -371
  180. package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +0 -472
  181. package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +0 -370
  182. package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +0 -445
  183. package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +0 -124
  184. package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +0 -125
  185. package/examples/output/kotlin.async-profiler.live.base.jfr.md +0 -934
  186. package/examples/output/kotlin.async-profiler.live.current.jfr.md +0 -917
  187. package/examples/output/kotlin.async-profiler.live.diff.jfr.md +0 -245
  188. package/examples/output/kotlin.async-profiler.lock.base.jfr.md +0 -1
  189. package/examples/output/kotlin.async-profiler.lock.current.jfr.md +0 -1
  190. package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +0 -1
  191. package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +0 -234
  192. package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +0 -234
  193. package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +0 -65
  194. package/examples/output/kotlin.async-profiler.wall.base.jfr.md +0 -452
  195. package/examples/output/kotlin.async-profiler.wall.current.jfr.md +0 -457
  196. package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +0 -125
  197. package/examples/output/kotlin.jdk.all.base.jfr.md +0 -1442
  198. package/examples/output/kotlin.jdk.all.current.jfr.md +0 -1343
  199. package/examples/output/kotlin.jdk.all.diff.jfr.md +0 -392
  200. package/examples/output/kotlin.jdk.alloc.base.jfr.md +0 -1418
  201. package/examples/output/kotlin.jdk.alloc.current.jfr.md +0 -1389
  202. package/examples/output/kotlin.jdk.alloc.diff.jfr.md +0 -383
  203. package/examples/output/kotlin.jdk.cpu.base.jfr.md +0 -1406
  204. package/examples/output/kotlin.jdk.cpu.current.jfr.md +0 -1374
  205. package/examples/output/kotlin.jdk.cpu.diff.jfr.md +0 -380
  206. package/examples/output/kotlin.jdk.live.base.jfr.md +0 -1378
  207. package/examples/output/kotlin.jdk.live.current.jfr.md +0 -1311
  208. package/examples/output/kotlin.jdk.live.diff.jfr.md +0 -381
  209. package/examples/output/kotlin.jdk.lock.base.jfr.md +0 -1427
  210. package/examples/output/kotlin.jdk.lock.current.jfr.md +0 -1374
  211. package/examples/output/kotlin.jdk.lock.diff.jfr.md +0 -386
  212. package/examples/output/php.excimer.wall.base.speedscope.json.md +0 -25
  213. package/examples/output/php.excimer.wall.current.speedscope.json.md +0 -25
  214. package/examples/output/php.excimer.wall.diff.speedscope.json.md +0 -29
  215. package/examples/output/python.py-spy.cpu.base.collapsed.md +0 -526
  216. package/examples/output/python.py-spy.cpu.base.speedscope.json.md +0 -37
  217. package/examples/output/python.py-spy.cpu.current.collapsed.md +0 -514
  218. package/examples/output/python.py-spy.cpu.current.speedscope.json.md +0 -37
  219. package/examples/output/python.py-spy.cpu.diff.collapsed.md +0 -122
  220. package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +0 -31
  221. package/examples/output/python.py-spy.wall.base.collapsed.md +0 -527
  222. package/examples/output/python.py-spy.wall.current.collapsed.md +0 -518
  223. package/examples/output/python.py-spy.wall.diff.collapsed.md +0 -122
  224. package/examples/output/ruby.rbspy.cpu.base.collapsed.md +0 -90
  225. package/examples/output/ruby.rbspy.cpu.base.pprof.md +0 -105
  226. package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +0 -105
  227. package/examples/output/ruby.rbspy.cpu.current.collapsed.md +0 -90
  228. package/examples/output/ruby.rbspy.cpu.current.pprof.md +0 -115
  229. package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +0 -115
  230. package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +0 -32
  231. package/examples/output/ruby.rbspy.cpu.diff.pprof.md +0 -44
  232. package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +0 -44
  233. package/examples/output/rust.pprof-rs.cpu.base.pprof.md +0 -60
  234. package/examples/output/rust.pprof-rs.cpu.current.pprof.md +0 -60
  235. package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +0 -24
@@ -1,245 +0,0 @@
1
- # Allocated heap profile diff
2
-
3
- Allocated 27.2 MB → 23.4 MB (-3.838 MB, -14.1%) over 1,345 samples → 1,235 samples (20.2 kB → 18.9 kB per sample).
4
-
5
- | Category | Change | Delta | % | Size | Samples |
6
- | -------- | -----: | ----------: | ------------: | ----------------: | ----------: |
7
- | stdlib | -14.3% | -3.738 MB | 96.0% → 95.8% | 26.1 MB → 22.4 MB | 1,028 → 936 |
8
- | ours | -9.3% | -100.328 kB | 4.0% → 4.2% | 1.08 MB → 983 kB | 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 | +57.064 kB | 0.0% → 0.2% | 0 B → 57.1 kB | 0 → 1 | `stringsToBytes(String[])` | `org.jetbrains.kotlin.metadata.jvm.deserialization.UtfEncodingKt` |
21
- | new | +49.368 kB | 0.0% → 0.2% | 0 B → 49.4 kB | 0 → 1 | `<init>(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
22
- | +234.1% | +38.24 kB | 0.1% → 0.2% | 16.3 kB → 54.6 kB | 3 → 6 | `<init>(byte[], int, boolean)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
23
- | new | +1.04 kB | 0.0% → <0.1% | 0 B → 1.04 kB | 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.28 kB | 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.618 MB | 38.1% → 37.4% | 10.4 MB → 8.75 MB | 360 → 291 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
48
- | -91.4% | -112.248 kB | 0.5% → <0.1% | 123 kB → 10.5 kB | 6 → 2 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
49
- | -8.5% | -68.224 kB | 3.0% → 3.2% | 805 kB → 737 kB | 5 → 4 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
50
- | removed | -59.064 kB | 0.2% → 0.0% | 59.1 kB → 0 B | 1 → 0 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
51
- | -91.6% | -16.088 kB | 0.1% → <0.1% | 17.6 kB → 1.47 kB | 6 → 9 | `copyOf(Object[], int)` | `java.util.Arrays` |
52
- | removed | -4.112 kB | <0.1% → 0.0% | 4.11 kB → 0 B | 1 → 0 | `enlarge(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
53
- | -94.1% | -2.168 kB | <0.1% | 2.3 kB → 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.93 kB → 1.01 kB | 17 → 10 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
55
- | -9.3% | -480 B | <0.1% | 5.18 kB → 4.7 kB | 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% | +737.64 kB | <0.1% → 3.2% | 24 B → 738 kB | 1 → 5 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x0000007001394428` |
77
- | +33.3% | +524.408 kB | 5.8% → 9.0% | 1.57 MB → 2.1 MB | 13 → 15 | `getNextEntry()` | `java.util.zip.ZipInputStream` |
78
- | +1974.9% | +180.424 kB | <0.1% → 0.8% | 9.14 kB → 190 kB | 23 | `toSymbol(ConeClassLikeLookupTag, FirSession)` | `org.jetbrains.kotlin.fir.resolve.ToSymbolUtilsKt` |
79
- | +16.2% | +149.664 kB | 3.4% → 4.6% | 923 kB → 1.07 MB | 170 → 162 | `getValue(Object, Object)` | `org.jetbrains.kotlin.fir.caches.FirThreadUnsafeCache` |
80
- | +255.6% | +143.16 kB | 0.2% → 0.9% | 56 kB → 199 kB | 34 → 29 | `getValue(Object, Object)` | `org.jetbrains.kotlin.fir.caches.FirThreadUnsafeCacheWithPostCompute` |
81
- | +255.6% | +143.16 kB | 0.2% → 0.9% | 56 kB → 199 kB | 34 → 29 | `computeClass(ClassId)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider` |
82
- | +255.6% | +143.16 kB | 0.2% → 0.9% | 56 kB → 199 kB | 34 → 29 | `access$computeClass(FirCachingCompositeSymbolProvider, ClassId)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider` |
83
- | +255.6% | +143.16 kB | 0.2% → 0.9% | 56 kB → 199 kB | 34 → 29 | `invoke(Object, Void)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider$special$$inlined$createCache$1` |
84
- | +255.6% | +143.16 kB | 0.2% → 0.9% | 56 kB → 199 kB | 34 → 29 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.resolve.providers.impl.FirCachingCompositeSymbolProvider$special$$inlined$createCache$1` |
85
- | +256.6% | +143.152 kB | 0.2% → 0.9% | 55.8 kB → 199 kB | 28 → 19 | `findAndDeserializeClass(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
86
- | +256.6% | +143.152 kB | 0.2% → 0.9% | 55.8 kB → 199 kB | 28 → 19 | `classCache$lambda$0(AbstractFirDeserializedSymbolProvider, ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
87
- | +256.6% | +143.152 kB | 0.2% → 0.9% | 55.8 kB → 199 kB | 28 → 19 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$$Lambda.0x0000007001472078` |
88
- | +256.4% | +143.128 kB | 0.2% → 0.9% | 55.8 kB → 199 kB | 29 → 19 | `getClass(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
89
- | +256.4% | +143.128 kB | 0.2% → 0.9% | 55.8 kB → 199 kB | 29 → 19 | `getClass$default(AbstractFirDeserializedSymbolProvider, ClassId, FirDeserializationContext, int, Object)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
90
- | +256.4% | +143.128 kB | 0.2% → 0.9% | 55.8 kB → 199 kB | 29 → 19 | `getClassLikeSymbolByClassId(ClassId)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
91
- | +13.6% | +143.064 kB | 3.9% → 5.1% | 1.05 MB → 1.19 MB | 395 → 392 | `executePhase(ConfigurationPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
92
- | +13.6% | +143.064 kB | 3.9% → 5.1% | 1.05 MB → 1.19 MB | 395 → 392 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
93
- | +250.5% | +138.72 kB | 0.2% → 0.8% | 55.4 kB → 194 kB | 15 → 13 | `extractClassMetadata(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
94
- | +24043.9% | +126.952 kB | <0.1% → 0.5% | 528 B → 127 kB | 7 → 9 | `enhanceMethod(FirFunction, CallableId, Name, boolean, List)` | `org.jetbrains.kotlin.fir.java.enhancement.FirSignatureEnhancement` |
95
- | +24043.9% | +126.952 kB | <0.1% → 0.5% | 528 B → 127 kB | 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.838 MB | 100.0% | 27.2 MB → 23.4 MB | 1,344 → 1,235 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
104
- | -14.1% | -3.838 MB | 100.0% | 27.2 MB → 23.4 MB | 1,344 → 1,235 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
105
- | -17.1% | -3.836 MB | 82.7% → 79.8% | 22.5 MB → 18.7 MB | 742 → 633 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
106
- | -17.0% | -3.828 MB | 82.7% → 79.8% | 22.5 MB → 18.7 MB | 741 → 633 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
107
- | -24.0% | -2.472 MB | 37.8% → 33.4% | 10.3 MB → 7.82 MB | 359 → 320 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
108
- | -15.6% | -1.618 MB | 38.1% → 37.4% | 10.4 MB → 8.75 MB | 360 → 291 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
109
- | removed | -805.176 kB | 3.0% → 0.0% | 805 kB → 0 B | 5 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x000000b001396000` |
110
- | -99.1% | -261.744 kB | 1.0% → <0.1% | 264 kB → 2.44 kB | 35 → 26 | `put(Object, Object)` | `java.util.HashMap` |
111
- | -72.6% | -162.672 kB | 0.8% → 0.3% | 224 kB → 61.4 kB | 130 → 153 | `executePhase(JvmFir2IrPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
112
- | -72.6% | -162.672 kB | 0.8% → 0.3% | 224 kB → 61.4 kB | 130 → 153 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
113
- | -80.5% | -120.336 kB | 0.5% → 0.1% | 149 kB → 29.1 kB | 54 → 49 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
114
- | -80.5% | -120.336 kB | 0.5% → 0.1% | 149 kB → 29.1 kB | 54 → 49 | `accept(ClassVisitor, int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
115
- | -69.1% | -119.96 kB | 0.6% → 0.2% | 174 kB → 53.6 kB | 97 → 103 | `generateFile(JvmBackendContext, IrFile, List, boolean)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
116
- | -69.1% | -119.96 kB | 0.6% → 0.2% | 174 kB → 53.6 kB | 97 → 103 | `invokeCodegen(JvmIrCodegenFactory$CodegenInput)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
117
- | -69.1% | -119.96 kB | 0.6% → 0.2% | 174 kB → 53.6 kB | 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% | -119.88 kB | 0.6% → 0.2% | 173 kB → 53.6 kB | 96 → 103 | `generate()` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
119
- | -68.7% | -116.256 kB | 0.6% → 0.2% | 169 kB → 52.9 kB | 90 → 97 | `generateMethod(IrFunction, SourceMapper)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
120
- | -70.0% | -115.008 kB | 0.6% → 0.2% | 164 kB → 49.2 kB | 42 → 49 | `generateMethodNode(IrFunction)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
121
- | -70.3% | -115 kB | 0.6% → 0.2% | 164 kB → 48.6 kB | 30 → 33 | `genInlineCall(IrCallableMethod, ExpressionCodegen, IrFunctionAccessExpression, boolean)` | `org.jetbrains.kotlin.backend.jvm.codegen.IrInlineCodegen` |
122
- | -70.6% | -115 kB | 0.6% → 0.2% | 163 kB → 47.9 kB | 15 → 19 | `compileInlineFunction(JvmMethodSignature)` | `org.jetbrains.kotlin.backend.jvm.codegen.IrSourceCompilerForInline` |
123
-
124
- # Retained heap profile diff
125
-
126
- Retained 10.4 MB → 7.95 MB (-2.44 MB, -23.5%) over 384 samples → 336 samples (27.1 kB → 23.7 kB per sample).
127
-
128
- | Category | Change | Delta | % | Size | Samples |
129
- | -------- | -----: | --------: | ------------: | ----------------: | --------: |
130
- | stdlib | -24.8% | -2.358 MB | 91.6% → 90.0% | 9.52 MB → 7.16 MB | 296 → 260 |
131
- | ours | -9.4% | -82.24 kB | 8.4% → 10.0% | 873 kB → 791 kB | 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 | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `<init>(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
144
- | new | +1.04 kB | 0.0% → <0.1% | 0 B → 1.04 kB | 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% | -68.288 kB | 7.7% → 9.3% | 805 kB → 737 kB | 5 → 3 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
171
- | removed | -59.064 kB | 0.6% → 0.0% | 59.1 kB → 0 B | 1 → 0 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
172
- | removed | -4.112 kB | <0.1% → 0.0% | 4.11 kB → 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.18 kB → 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% | +736.864 kB | <0.1% → 9.3% | 24 B → 737 kB | 1 → 3 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x0000007001394428` |
200
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `<init>(int)` | `org.jetbrains.org.objectweb.asm.ByteVector` |
201
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `toByteArray()` | `org.jetbrains.org.objectweb.asm.ClassWriter` |
202
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `asBytes(ClassBuilder)` | `org.jetbrains.kotlin.codegen.ClassBuilderFactories$1` |
203
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `asBytes(ClassBuilder)` | `org.jetbrains.kotlin.codegen.DelegatingClassBuilderFactory` |
204
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `asBytes(ClassBuilderFactory)` | `org.jetbrains.kotlin.codegen.ClassFileFactory$ClassBuilderAndSourceFileList` |
205
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `asByteArray()` | `org.jetbrains.kotlin.codegen.ClassFileFactory$OutputClassFile` |
206
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `writeAll(OutputFileCollection, File, Function2)` | `org.jetbrains.kotlin.cli.common.output.OutputUtilsKt` |
207
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `writeAllTo(OutputFileCollection, File)` | `org.jetbrains.kotlin.cli.common.output.OutputUtilsKt` |
208
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `writeAll(OutputFileCollection, File, CompilerConfiguration, boolean, ICFileMappingTracker)` | `org.jetbrains.kotlin.cli.common.output.OutputUtilsKt` |
209
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `writeOutput(CompilerConfiguration, OutputFileCollection, FqName)` | `org.jetbrains.kotlin.cli.jvm.compiler.CliCompilerUtilsKt` |
210
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `writeOutputsIfNeeded(Project, CompilerConfiguration, MessageCollector, boolean, Collection, FqName)` | `org.jetbrains.kotlin.cli.jvm.compiler.CliCompilerUtilsKt` |
211
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `executePhase(JvmBackendPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmWriteOutputsPhase` |
212
- | new | +49.368 kB | 0.0% → 0.6% | 0 B → 49.4 kB | 0 → 1 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmWriteOutputsPhase` |
213
- | new | +1.04 kB | 0.0% → <0.1% | 0 B → 1.04 kB | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.codegen.optimization.NegatedJumpsMethodTransformer` |
214
- | new | +1.04 kB | 0.0% → <0.1% | 0 B → 1.04 kB | 0 → 1 | `<init>(MethodVisitor, boolean, GenerationState, int, String, String, String, String[])` | `org.jetbrains.kotlin.codegen.optimization.OptimizationMethodVisitor` |
215
- | new | +1.04 kB | 0.0% → <0.1% | 0 B → 1.04 kB | 0 → 1 | `newMethod(JvmDeclarationOrigin, int, String, String, String, String[])` | `org.jetbrains.kotlin.codegen.optimization.OptimizationClassBuilder` |
216
- | new | +1.04 kB | 0.0% → <0.1% | 0 B → 1.04 kB | 0 → 1 | `newMethod(JvmDeclarationOrigin, int, String, String, String, String[])` | `org.jetbrains.kotlin.codegen.DelegatingClassBuilder` |
217
- | new | +1.04 kB | 0.0% → <0.1% | 0 B → 1.04 kB | 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.44 MB | 100.0% | 10.4 MB → 7.95 MB | 384 → 336 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
227
- | -23.5% | -2.44 MB | 100.0% | 10.4 MB → 7.95 MB | 384 → 336 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
228
- | -37.7% | -2.289 MB | 58.4% → 47.5% | 6.07 MB → 3.78 MB | 229 → 201 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
229
- | -37.7% | -2.289 MB | 58.4% → 47.5% | 6.07 MB → 3.78 MB | 229 → 201 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
230
- | -34.9% | -2.026 MB | 55.8% → 47.5% | 5.8 MB → 3.78 MB | 221 → 197 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
231
- | removed | -805.176 kB | 7.7% → 0.0% | 805 kB → 0 B | 5 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x000000b001396000` |
232
- | -99.8% | -262.056 kB | 2.5% → <0.1% | 263 kB → 520 B | 10 → 8 | `put(Object, Object)` | `java.util.HashMap` |
233
- | -3.5% | -151.704 kB | 41.6% → 52.5% | 4.33 MB → 4.17 MB | 155 → 135 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
234
- | -3.5% | -151.704 kB | 41.6% → 52.5% | 4.33 MB → 4.17 MB | 155 → 135 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
235
- | -3.5% | -151.704 kB | 41.6% → 52.5% | 4.33 MB → 4.17 MB | 155 → 135 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
236
- | -11.9% | -102.328 kB | 8.3% → 9.5% | 860 kB → 757 kB | 82 → 69 | `executePhase(ConfigurationPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
237
- | -11.9% | -102.328 kB | 8.3% → 9.5% | 860 kB → 757 kB | 82 → 69 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
238
- | -10.3% | -93.104 kB | 8.7% → 10.2% | 904 kB → 811 kB | 138 → 128 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
239
- | -10.3% | -93.104 kB | 8.7% → 10.2% | 904 kB → 811 kB | 138 → 128 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
240
- | -10.3% | -93.104 kB | 8.7% → 10.2% | 904 kB → 811 kB | 138 → 128 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
241
- | -10.3% | -93.104 kB | 8.7% → 10.2% | 904 kB → 811 kB | 138 → 128 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
242
- | -10.3% | -93.104 kB | 8.7% → 10.2% | 904 kB → 811 kB | 138 → 128 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
243
- | -10.3% | -92.816 kB | 8.7% → 10.2% | 905 kB → 812 kB | 150 → 132 | `exec(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
244
- | -10.3% | -92.784 kB | 8.7% → 10.2% | 905 kB → 812 kB | 153 → 134 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
245
- | -10.3% | -92.784 kB | 8.7% → 10.2% | 905 kB → 812 kB | 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.