profiler-md 0.5.0 → 0.6.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.
- package/dist/cli/index.mjs +5789 -5181
- package/dist/index.d.mts +478 -137
- package/dist/index.js +2 -2
- package/docs/formats/jfr.md +1 -1
- package/docs/formats/jsc-heap-snapshot.md +1 -1
- package/docs/formats/pprof.md +8 -6
- package/docs/formats/speedscope.md +5 -4
- package/docs/formats/systing.md +25 -0
- package/docs/formats/v8-heap-snapshot.md +2 -2
- package/docs/languages/c.md +35 -2
- package/docs/languages/csharp.md +2 -4
- package/docs/languages/elixir.md +4 -5
- package/docs/languages/go.md +6 -6
- package/docs/languages/java.md +13 -13
- package/docs/languages/javascript.md +7 -7
- package/docs/languages/julia.md +92 -13
- package/docs/languages/php.md +3 -4
- package/docs/languages/python.md +28 -13
- package/docs/languages/ruby.md +4 -6
- package/docs/languages/rust.md +37 -8
- package/examples/output/c.gperftools.heap.base.pprof.md +151 -151
- package/examples/output/c.gperftools.heap.current.pprof.md +151 -151
- package/examples/output/c.gperftools.heap.diff.pprof.md +3 -3
- package/examples/output/c.systing.cpu.base.systing.md +824 -0
- package/examples/output/c.systing.cpu.current.systing.md +825 -0
- package/examples/output/c.systing.cpu.diff.systing.md +238 -0
- package/examples/output/cpp.gperftools.heap.base.pprof.md +24 -24
- package/examples/output/cpp.gperftools.heap.current.pprof.md +24 -24
- package/examples/output/cpp.gperftools.heap.diff.pprof.md +2 -2
- package/examples/output/go.pprof.block.base.pprof.md +40 -40
- package/examples/output/go.pprof.block.current.pprof.md +37 -37
- package/examples/output/go.pprof.block.diff.pprof.md +14 -14
- package/examples/output/go.pprof.goroutine.base.pprof.md +16 -16
- package/examples/output/go.pprof.goroutine.current.pprof.md +16 -16
- package/examples/output/go.pprof.heap-alloc.base.pprof.md +79 -79
- package/examples/output/go.pprof.heap-alloc.current.pprof.md +72 -72
- package/examples/output/go.pprof.heap-alloc.diff.pprof.md +25 -25
- package/examples/output/go.pprof.heap.base.pprof.md +79 -79
- package/examples/output/go.pprof.heap.current.pprof.md +72 -72
- package/examples/output/go.pprof.heap.diff.pprof.md +25 -25
- package/examples/output/go.pprof.mutex.base.pprof.md +26 -26
- package/examples/output/go.pprof.mutex.current.pprof.md +15 -15
- package/examples/output/go.pprof.mutex.diff.pprof.md +10 -10
- package/examples/output/java.async-profiler.all.base.jfr.md +192 -192
- package/examples/output/java.async-profiler.all.current.jfr.md +181 -181
- package/examples/output/java.async-profiler.all.diff.jfr.md +72 -72
- package/examples/output/java.async-profiler.alloc.base.jfr.md +189 -189
- package/examples/output/java.async-profiler.alloc.current.jfr.md +183 -183
- package/examples/output/java.async-profiler.alloc.diff.jfr.md +70 -70
- package/examples/output/java.async-profiler.live.base.jfr.md +303 -303
- package/examples/output/java.async-profiler.live.current.jfr.md +313 -313
- package/examples/output/java.async-profiler.live.diff.jfr.md +132 -132
- package/examples/output/java.async-profiler.nativemem.base.jfr.md +141 -141
- package/examples/output/java.async-profiler.nativemem.current.jfr.md +141 -141
- package/examples/output/java.async-profiler.nativemem.diff.jfr.md +48 -48
- package/examples/output/java.jdk.all.base.jfr.md +281 -281
- package/examples/output/java.jdk.all.current.jfr.md +267 -267
- package/examples/output/java.jdk.all.diff.jfr.md +103 -103
- package/examples/output/java.jdk.alloc.base.jfr.md +254 -254
- package/examples/output/java.jdk.alloc.current.jfr.md +293 -293
- package/examples/output/java.jdk.alloc.diff.jfr.md +102 -102
- package/examples/output/java.jdk.cpu.base.jfr.md +256 -256
- package/examples/output/java.jdk.cpu.current.jfr.md +276 -276
- package/examples/output/java.jdk.cpu.diff.jfr.md +93 -93
- package/examples/output/java.jdk.live.base.jfr.md +256 -256
- package/examples/output/java.jdk.live.current.jfr.md +250 -250
- package/examples/output/java.jdk.live.diff.jfr.md +78 -78
- package/examples/output/java.jdk.lock.base.jfr.md +285 -285
- package/examples/output/java.jdk.lock.current.jfr.md +285 -285
- package/examples/output/java.jdk.lock.diff.jfr.md +121 -121
- package/examples/output/javascript.bun.base.cpuprofile.md +36 -36
- package/examples/output/javascript.bun.base.heapsnapshot.md +215 -215
- package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +218 -218
- package/examples/output/javascript.bun.current.cpuprofile.md +34 -34
- package/examples/output/javascript.bun.current.heapsnapshot.md +215 -215
- package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +220 -220
- package/examples/output/javascript.bun.diff.cpuprofile.md +19 -19
- package/examples/output/javascript.bun.diff.heapsnapshot.md +23 -23
- package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +35 -35
- package/examples/output/javascript.chrome.base.heapprofile.md +17 -17
- package/examples/output/javascript.chrome.base.heapsnapshot.md +202 -202
- package/examples/output/javascript.chrome.current.heapprofile.md +17 -17
- package/examples/output/javascript.chrome.current.heapsnapshot.md +200 -200
- package/examples/output/javascript.chrome.diff.heapprofile.md +21 -21
- package/examples/output/javascript.chrome.diff.heapsnapshot.md +27 -27
- package/examples/output/javascript.deno.base.cpuprofile.md +63 -63
- package/examples/output/javascript.deno.current.cpuprofile.md +56 -56
- package/examples/output/javascript.deno.diff.cpuprofile.md +28 -28
- package/examples/output/javascript.node.base.cpuprofile.md +73 -73
- package/examples/output/javascript.node.base.heapprofile.md +32 -32
- package/examples/output/javascript.node.base.heapsnapshot.md +269 -269
- package/examples/output/javascript.node.current.cpuprofile.md +61 -61
- package/examples/output/javascript.node.current.heapprofile.md +28 -28
- package/examples/output/javascript.node.current.heapsnapshot.md +269 -269
- package/examples/output/javascript.node.diff.cpuprofile.md +32 -32
- package/examples/output/javascript.node.diff.heapprofile.md +17 -17
- package/examples/output/javascript.node.diff.heapsnapshot.md +19 -19
- package/examples/output/javascript.pprof.cpu.base.pprof.md +50 -50
- package/examples/output/javascript.pprof.cpu.current.pprof.md +66 -66
- package/examples/output/javascript.pprof.cpu.diff.pprof.md +28 -28
- package/examples/output/javascript.pprof.heap.base.pprof.md +46 -46
- package/examples/output/javascript.pprof.heap.current.pprof.md +34 -34
- package/examples/output/javascript.pprof.heap.diff.pprof.md +18 -18
- package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +1 -1
- package/examples/output/julia.pprof-jl.alloc.base.pprof.md +83 -83
- package/examples/output/julia.pprof-jl.alloc.current.pprof.md +85 -85
- package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +18 -18
- package/examples/output/julia.pprof-jl.cpu.base.pprof.md +107 -107
- package/examples/output/julia.pprof-jl.cpu.current.pprof.md +109 -109
- package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +29 -29
- package/examples/output/julia.pprof-jl.wall.base.pprof.md +181 -0
- package/examples/output/julia.pprof-jl.wall.current.pprof.md +193 -0
- package/examples/output/julia.pprof-jl.wall.diff.pprof.md +64 -0
- package/examples/output/julia.profile.base.heapsnapshot.md +590 -0
- package/examples/output/julia.profile.current.heapsnapshot.md +590 -0
- package/examples/output/julia.profile.diff.heapsnapshot.md +288 -0
- package/examples/output/kotlin.async-profiler.all.base.jfr.md +193 -193
- package/examples/output/kotlin.async-profiler.all.current.jfr.md +218 -218
- package/examples/output/kotlin.async-profiler.all.diff.jfr.md +93 -93
- package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +212 -212
- package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +183 -183
- package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +93 -93
- package/examples/output/kotlin.async-profiler.live.base.jfr.md +343 -343
- package/examples/output/kotlin.async-profiler.live.current.jfr.md +336 -336
- package/examples/output/kotlin.async-profiler.live.diff.jfr.md +186 -186
- package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +150 -150
- package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +150 -150
- package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +48 -48
- package/examples/output/kotlin.jdk.all.base.jfr.md +402 -402
- package/examples/output/kotlin.jdk.all.current.jfr.md +413 -413
- package/examples/output/kotlin.jdk.all.diff.jfr.md +169 -169
- package/examples/output/kotlin.jdk.alloc.base.jfr.md +418 -418
- package/examples/output/kotlin.jdk.alloc.current.jfr.md +405 -405
- package/examples/output/kotlin.jdk.alloc.diff.jfr.md +160 -160
- package/examples/output/kotlin.jdk.cpu.base.jfr.md +418 -418
- package/examples/output/kotlin.jdk.cpu.current.jfr.md +413 -413
- package/examples/output/kotlin.jdk.cpu.diff.jfr.md +148 -148
- package/examples/output/kotlin.jdk.live.base.jfr.md +420 -420
- package/examples/output/kotlin.jdk.live.current.jfr.md +411 -411
- package/examples/output/kotlin.jdk.live.diff.jfr.md +148 -148
- package/examples/output/kotlin.jdk.lock.base.jfr.md +417 -417
- package/examples/output/kotlin.jdk.lock.current.jfr.md +398 -398
- package/examples/output/kotlin.jdk.lock.diff.jfr.md +156 -156
- package/examples/output/php.excimer.wall.base.speedscope.json.md +6 -6
- package/examples/output/php.excimer.wall.current.speedscope.json.md +6 -6
- package/examples/output/php.excimer.wall.diff.speedscope.json.md +6 -6
- package/examples/output/ruby.rbspy.cpu.base.collapsed.md +14 -14
- package/examples/output/ruby.rbspy.cpu.base.pprof.md +14 -14
- package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +14 -14
- package/examples/output/ruby.rbspy.cpu.current.collapsed.md +12 -12
- package/examples/output/ruby.rbspy.cpu.current.pprof.md +21 -21
- package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +21 -21
- package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +5 -5
- package/examples/output/ruby.rbspy.cpu.diff.pprof.md +12 -12
- package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +12 -12
- package/examples/output/rust.pprof-rs.cpu.base.pprof.md +32 -32
- package/examples/output/rust.pprof-rs.cpu.current.pprof.md +32 -32
- package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +7 -7
- package/package.json +11 -10
- package/readme.md +53 -31
- package/skills/profile-optimize/SKILL.md +160 -0
- package/docs/languages/cpp.md +0 -160
- package/docs/languages/erlang.md +0 -46
- package/docs/languages/fsharp.md +0 -52
- package/docs/languages/kotlin.md +0 -170
- package/docs/languages/typescript.md +0 -276
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Allocated heap profile diff
|
|
2
2
|
|
|
3
|
-
Allocated
|
|
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
4
|
|
|
5
|
-
| Category | Change | Delta | % |
|
|
6
|
-
| -------- | -----: | ----------: | ------------: |
|
|
7
|
-
| stdlib | -14.3% |
|
|
8
|
-
| ours | -9.3% | -
|
|
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
9
|
|
|
10
10
|
## Hottest functions
|
|
11
11
|
|
|
@@ -15,55 +15,55 @@ Allocated 27.2 MB → 23.4 MB (-3.838 MB, -14.1%) over 1,345 samples → 1,23
|
|
|
15
15
|
|
|
16
16
|
Functions with the largest increase in bytes allocated directly in the function body, excluding callees.
|
|
17
17
|
|
|
18
|
-
| Change |
|
|
19
|
-
| ------: |
|
|
20
|
-
| new | +
|
|
21
|
-
| new |
|
|
22
|
-
| +234.1% |
|
|
23
|
-
| new |
|
|
24
|
-
| new |
|
|
25
|
-
| +66.7% |
|
|
26
|
-
| new |
|
|
27
|
-
| +200.0% |
|
|
28
|
-
| +192.3% |
|
|
29
|
-
| +271.4% |
|
|
30
|
-
| new |
|
|
31
|
-
| new |
|
|
32
|
-
| new |
|
|
33
|
-
| +300.0% |
|
|
34
|
-
| +171.4% |
|
|
35
|
-
| +300.0% |
|
|
36
|
-
| new |
|
|
37
|
-
| new |
|
|
38
|
-
| new |
|
|
39
|
-
| new |
|
|
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
40
|
|
|
41
41
|
#### Improvements
|
|
42
42
|
|
|
43
43
|
Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
|
|
44
44
|
|
|
45
|
-
| Change |
|
|
46
|
-
| ------: |
|
|
47
|
-
| -15.6% | -1.
|
|
48
|
-
| -91.4% | -
|
|
49
|
-
| -8.5% | -
|
|
50
|
-
| removed | -
|
|
51
|
-
| -91.6% |
|
|
52
|
-
| removed | -4.
|
|
53
|
-
| -94.1% | -2.
|
|
54
|
-
| -47.7% |
|
|
55
|
-
| -9.3% |
|
|
56
|
-
| removed |
|
|
57
|
-
| -77.8% |
|
|
58
|
-
| removed |
|
|
59
|
-
| -62.5% |
|
|
60
|
-
| -12.5% |
|
|
61
|
-
| removed |
|
|
62
|
-
| removed |
|
|
63
|
-
| -60.0% |
|
|
64
|
-
| removed |
|
|
65
|
-
| removed |
|
|
66
|
-
| removed |
|
|
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
67
|
|
|
68
68
|
### Total size
|
|
69
69
|
|
|
@@ -71,64 +71,64 @@ Functions with the largest decrease in bytes allocated directly in the function
|
|
|
71
71
|
|
|
72
72
|
Functions with the largest increase in total bytes allocated in the function and all its callees.
|
|
73
73
|
|
|
74
|
-
| Change |
|
|
75
|
-
| ----------: |
|
|
76
|
-
| +3073500.0% |
|
|
77
|
-
| +33.3% | +
|
|
78
|
-
| +1974.9% | +
|
|
79
|
-
| +16.2% | +
|
|
80
|
-
| +255.6% |
|
|
81
|
-
| +255.6% |
|
|
82
|
-
| +255.6% |
|
|
83
|
-
| +255.6% |
|
|
84
|
-
| +255.6% |
|
|
85
|
-
| +256.6% | +
|
|
86
|
-
| +256.6% | +
|
|
87
|
-
| +256.6% | +
|
|
88
|
-
| +256.4% | +
|
|
89
|
-
| +256.4% | +
|
|
90
|
-
| +256.4% | +
|
|
91
|
-
| +13.6% |
|
|
92
|
-
| +13.6% |
|
|
93
|
-
| +250.5% |
|
|
94
|
-
| +24043.9% | +
|
|
95
|
-
| +24043.9% | +
|
|
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
96
|
|
|
97
97
|
#### Improvements
|
|
98
98
|
|
|
99
99
|
Functions with the largest decrease in total bytes allocated in the function and all its callees.
|
|
100
100
|
|
|
101
|
-
| Change |
|
|
102
|
-
| ------: |
|
|
103
|
-
| -14.1% | -3.
|
|
104
|
-
| -14.1% | -3.
|
|
105
|
-
| -17.1% | -3.
|
|
106
|
-
| -17.0% | -3.
|
|
107
|
-
| -24.0% | -2.
|
|
108
|
-
| -15.6% | -1.
|
|
109
|
-
| removed | -
|
|
110
|
-
| -99.1% | -
|
|
111
|
-
| -72.6% | -
|
|
112
|
-
| -72.6% | -
|
|
113
|
-
| -80.5% | -
|
|
114
|
-
| -80.5% | -
|
|
115
|
-
| -69.1% |
|
|
116
|
-
| -69.1% |
|
|
117
|
-
| -69.1% |
|
|
118
|
-
| -69.1% | -
|
|
119
|
-
| -68.7% | -
|
|
120
|
-
| -70.0% | -
|
|
121
|
-
| -70.3% |
|
|
122
|
-
| -70.6% |
|
|
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
123
|
|
|
124
124
|
# Retained heap profile diff
|
|
125
125
|
|
|
126
|
-
Retained
|
|
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
127
|
|
|
128
|
-
| Category | Change |
|
|
129
|
-
| -------- | -----: |
|
|
130
|
-
| stdlib | -24.8% |
|
|
131
|
-
| ours | -9.4% | -
|
|
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
132
|
|
|
133
133
|
## Hottest functions
|
|
134
134
|
|
|
@@ -138,55 +138,55 @@ Retained 10.4 MB → 7.95 MB (-2.44 MB, -23.5%) over 384 samples → 336 samp
|
|
|
138
138
|
|
|
139
139
|
Functions with the largest increase in bytes retained directly in the function body, excluding callees.
|
|
140
140
|
|
|
141
|
-
| Change | Delta | % |
|
|
142
|
-
| ------: | ---------: | -----------: |
|
|
143
|
-
| new | +
|
|
144
|
-
| new |
|
|
145
|
-
| new | +208 B | 0.0% → <0.1% |
|
|
146
|
-
| new | +152 B | 0.0% → <0.1% |
|
|
147
|
-
| new | +120 B | 0.0% → <0.1% |
|
|
148
|
-
| +100.0% | +112 B | <0.1% |
|
|
149
|
-
| new | +96 B | 0.0% → <0.1% |
|
|
150
|
-
| new | +80 B | 0.0% → <0.1% |
|
|
151
|
-
| new | +80 B | 0.0% → <0.1% |
|
|
152
|
-
| new | +72 B | 0.0% → <0.1% |
|
|
153
|
-
| +200.0% | +64 B | <0.1% |
|
|
154
|
-
| new | +64 B | 0.0% → <0.1% |
|
|
155
|
-
| new | +64 B | 0.0% → <0.1% |
|
|
156
|
-
| new | +56 B | 0.0% → <0.1% |
|
|
157
|
-
| new | +48 B | 0.0% → <0.1% |
|
|
158
|
-
| new | +48 B | 0.0% → <0.1% |
|
|
159
|
-
| new | +40 B | 0.0% → <0.1% |
|
|
160
|
-
| new | +40 B | 0.0% → <0.1% |
|
|
161
|
-
| new | +40 B | 0.0% → <0.1% |
|
|
162
|
-
| new | +40 B | 0.0% → <0.1% |
|
|
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
163
|
|
|
164
164
|
#### Improvements
|
|
165
165
|
|
|
166
166
|
Functions with the largest decrease in bytes retained directly in the function body, excluding callees.
|
|
167
167
|
|
|
168
|
-
| Change |
|
|
169
|
-
| ------: |
|
|
170
|
-
| -8.5% | -
|
|
171
|
-
| removed | -
|
|
172
|
-
| removed | -4.
|
|
173
|
-
| removed |
|
|
174
|
-
| -50.0% |
|
|
175
|
-
| removed |
|
|
176
|
-
| -12.5% |
|
|
177
|
-
| removed |
|
|
178
|
-
| -33.3% |
|
|
179
|
-
| removed |
|
|
180
|
-
| removed |
|
|
181
|
-
| removed |
|
|
182
|
-
| removed |
|
|
183
|
-
| removed |
|
|
184
|
-
| -66.7% |
|
|
185
|
-
| -66.7% |
|
|
186
|
-
| removed |
|
|
187
|
-
| removed |
|
|
188
|
-
| removed |
|
|
189
|
-
| removed |
|
|
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
190
|
|
|
191
191
|
### Total size
|
|
192
192
|
|
|
@@ -194,52 +194,52 @@ Functions with the largest decrease in bytes retained directly in the function b
|
|
|
194
194
|
|
|
195
195
|
Functions with the largest increase in total bytes retained in the function and all its callees.
|
|
196
196
|
|
|
197
|
-
| Change |
|
|
198
|
-
| ----------: |
|
|
199
|
-
| +3070266.7% | +
|
|
200
|
-
| new |
|
|
201
|
-
| new |
|
|
202
|
-
| new |
|
|
203
|
-
| new |
|
|
204
|
-
| new |
|
|
205
|
-
| new |
|
|
206
|
-
| new |
|
|
207
|
-
| new |
|
|
208
|
-
| new |
|
|
209
|
-
| new |
|
|
210
|
-
| new |
|
|
211
|
-
| new |
|
|
212
|
-
| new |
|
|
213
|
-
| new |
|
|
214
|
-
| new |
|
|
215
|
-
| new |
|
|
216
|
-
| new |
|
|
217
|
-
| new |
|
|
218
|
-
| +3933.3% |
|
|
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
219
|
|
|
220
220
|
#### Improvements
|
|
221
221
|
|
|
222
222
|
Functions with the largest decrease in total bytes retained in the function and all its callees.
|
|
223
223
|
|
|
224
|
-
| Change |
|
|
225
|
-
| ------: |
|
|
226
|
-
| -23.5% |
|
|
227
|
-
| -23.5% |
|
|
228
|
-
| -37.7% | -2.
|
|
229
|
-
| -37.7% | -2.
|
|
230
|
-
| -34.9% | -
|
|
231
|
-
| removed | -
|
|
232
|
-
| -99.8% | -
|
|
233
|
-
| -3.5% | -
|
|
234
|
-
| -3.5% | -
|
|
235
|
-
| -3.5% | -
|
|
236
|
-
| -11.9% |
|
|
237
|
-
| -11.9% |
|
|
238
|
-
| -10.3% | -
|
|
239
|
-
| -10.3% | -
|
|
240
|
-
| -10.3% | -
|
|
241
|
-
| -10.3% | -
|
|
242
|
-
| -10.3% | -
|
|
243
|
-
| -10.3% |
|
|
244
|
-
| -10.3% | -
|
|
245
|
-
| -10.3% | -
|
|
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` |
|