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.
- package/dist/cli/index.mjs +14155 -5081
- package/dist/index.d.mts +1312 -263
- package/dist/index.js +2 -2
- package/docs/api.md +138 -0
- package/docs/formats/callgrind.md +25 -0
- package/docs/formats/collapsed.md +5 -3
- package/docs/formats/ghc-eventlog.md +20 -0
- package/docs/formats/ghc-json-profile.md +23 -0
- package/docs/formats/hprof.md +21 -0
- package/docs/formats/jfr.md +3 -3
- package/docs/formats/jsc-heap-snapshot.md +11 -5
- package/docs/formats/memray.md +30 -0
- package/docs/formats/perf.md +74 -0
- package/docs/formats/pprof.md +10 -6
- package/docs/formats/speedscope.md +7 -5
- package/docs/formats/systing.md +27 -0
- package/docs/formats/v8-cpu-profile.md +4 -3
- package/docs/formats/v8-heap-profile.md +8 -5
- package/docs/formats/v8-heap-snapshot.md +10 -5
- package/docs/formats/webkit-timeline-recording.md +6 -0
- package/docs/languages/c.md +138 -18
- package/docs/languages/csharp.md +7 -7
- package/docs/languages/elixir.md +22 -15
- package/docs/languages/fortran.md +141 -0
- package/docs/languages/go.md +36 -13
- package/docs/languages/haskell.md +134 -0
- package/docs/languages/java.md +89 -34
- package/docs/languages/javascript.md +37 -31
- package/docs/languages/julia.md +96 -14
- package/docs/languages/php.md +10 -4
- package/docs/languages/python.md +121 -15
- package/docs/languages/ruby.md +19 -22
- package/docs/languages/rust.md +40 -10
- package/docs/languages/swift.md +135 -0
- package/docs/languages/zig.md +155 -0
- package/package.json +47 -46
- package/readme.md +306 -242
- package/skills/profile-optimize/SKILL.md +162 -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
- package/examples/output/c.gperftools.cpu.base.pprof.md +0 -324
- package/examples/output/c.gperftools.cpu.current.pprof.md +0 -271
- package/examples/output/c.gperftools.cpu.diff.pprof.md +0 -98
- package/examples/output/c.gperftools.heap.base.pprof.md +0 -362
- package/examples/output/c.gperftools.heap.current.pprof.md +0 -362
- package/examples/output/c.gperftools.heap.diff.pprof.md +0 -28
- package/examples/output/cpp.gperftools.cpu.base.pprof.md +0 -557
- package/examples/output/cpp.gperftools.cpu.current.pprof.md +0 -573
- package/examples/output/cpp.gperftools.cpu.diff.pprof.md +0 -122
- package/examples/output/cpp.gperftools.heap.base.pprof.md +0 -67
- package/examples/output/cpp.gperftools.heap.current.pprof.md +0 -67
- package/examples/output/cpp.gperftools.heap.diff.pprof.md +0 -19
- package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +0 -411
- package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +0 -412
- package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +0 -122
- package/examples/output/elixir.eflambe.cpu.base.collapsed.md +0 -399
- package/examples/output/elixir.eflambe.cpu.current.collapsed.md +0 -398
- package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +0 -92
- package/examples/output/erlang.eflambe.cpu.base.collapsed.md +0 -147
- package/examples/output/erlang.eflambe.cpu.current.collapsed.md +0 -147
- package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +0 -18
- package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +0 -324
- package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +0 -314
- package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +0 -119
- package/examples/output/go.pprof.block.base.pprof.md +0 -86
- package/examples/output/go.pprof.block.current.pprof.md +0 -83
- package/examples/output/go.pprof.block.diff.pprof.md +0 -42
- package/examples/output/go.pprof.cpu.base.pprof.md +0 -81
- package/examples/output/go.pprof.cpu.current.pprof.md +0 -70
- package/examples/output/go.pprof.cpu.diff.pprof.md +0 -52
- package/examples/output/go.pprof.goroutine.base.pprof.md +0 -43
- package/examples/output/go.pprof.goroutine.current.pprof.md +0 -43
- package/examples/output/go.pprof.goroutine.diff.pprof.md +0 -13
- package/examples/output/go.pprof.heap-alloc.base.pprof.md +0 -154
- package/examples/output/go.pprof.heap-alloc.current.pprof.md +0 -146
- package/examples/output/go.pprof.heap-alloc.diff.pprof.md +0 -67
- package/examples/output/go.pprof.heap.base.pprof.md +0 -154
- package/examples/output/go.pprof.heap.current.pprof.md +0 -146
- package/examples/output/go.pprof.heap.diff.pprof.md +0 -67
- package/examples/output/go.pprof.mutex.base.pprof.md +0 -55
- package/examples/output/go.pprof.mutex.current.pprof.md +0 -41
- package/examples/output/go.pprof.mutex.diff.pprof.md +0 -31
- package/examples/output/go.pprof.threadcreate.base.pprof.md +0 -55
- package/examples/output/go.pprof.threadcreate.current.pprof.md +0 -55
- package/examples/output/go.pprof.threadcreate.diff.pprof.md +0 -19
- package/examples/output/java.async-profiler.all.base.jfr.md +0 -1071
- package/examples/output/java.async-profiler.all.current.jfr.md +0 -1007
- package/examples/output/java.async-profiler.all.diff.jfr.md +0 -268
- package/examples/output/java.async-profiler.alloc.base.jfr.md +0 -425
- package/examples/output/java.async-profiler.alloc.current.jfr.md +0 -413
- package/examples/output/java.async-profiler.alloc.diff.jfr.md +0 -99
- package/examples/output/java.async-profiler.cpu.base.collapsed.md +0 -367
- package/examples/output/java.async-profiler.cpu.base.jfr.md +0 -485
- package/examples/output/java.async-profiler.cpu.current.collapsed.md +0 -355
- package/examples/output/java.async-profiler.cpu.current.jfr.md +0 -488
- package/examples/output/java.async-profiler.cpu.diff.collapsed.md +0 -117
- package/examples/output/java.async-profiler.cpu.diff.jfr.md +0 -118
- package/examples/output/java.async-profiler.live.base.jfr.md +0 -697
- package/examples/output/java.async-profiler.live.current.jfr.md +0 -684
- package/examples/output/java.async-profiler.live.diff.jfr.md +0 -191
- package/examples/output/java.async-profiler.lock.base.jfr.md +0 -140
- package/examples/output/java.async-profiler.lock.current.jfr.md +0 -108
- package/examples/output/java.async-profiler.lock.diff.jfr.md +0 -44
- package/examples/output/java.async-profiler.nativemem.base.jfr.md +0 -222
- package/examples/output/java.async-profiler.nativemem.current.jfr.md +0 -222
- package/examples/output/java.async-profiler.nativemem.diff.jfr.md +0 -65
- package/examples/output/java.async-profiler.wall.base.jfr.md +0 -400
- package/examples/output/java.async-profiler.wall.current.jfr.md +0 -420
- package/examples/output/java.async-profiler.wall.diff.jfr.md +0 -94
- package/examples/output/java.jdk.all.base.jfr.md +0 -1024
- package/examples/output/java.jdk.all.current.jfr.md +0 -1010
- package/examples/output/java.jdk.all.diff.jfr.md +0 -311
- package/examples/output/java.jdk.alloc.base.jfr.md +0 -1024
- package/examples/output/java.jdk.alloc.current.jfr.md +0 -1046
- package/examples/output/java.jdk.alloc.diff.jfr.md +0 -312
- package/examples/output/java.jdk.cpu.base.jfr.md +0 -1023
- package/examples/output/java.jdk.cpu.current.jfr.md +0 -1039
- package/examples/output/java.jdk.cpu.diff.jfr.md +0 -285
- package/examples/output/java.jdk.live.base.jfr.md +0 -1029
- package/examples/output/java.jdk.live.current.jfr.md +0 -1035
- package/examples/output/java.jdk.live.diff.jfr.md +0 -289
- package/examples/output/java.jdk.lock.base.jfr.md +0 -1040
- package/examples/output/java.jdk.lock.current.jfr.md +0 -1051
- package/examples/output/java.jdk.lock.diff.jfr.md +0 -339
- package/examples/output/javascript.bun.base.cpuprofile.md +0 -73
- package/examples/output/javascript.bun.base.heapsnapshot.md +0 -608
- package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +0 -480
- package/examples/output/javascript.bun.current.cpuprofile.md +0 -73
- package/examples/output/javascript.bun.current.heapsnapshot.md +0 -608
- package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +0 -480
- package/examples/output/javascript.bun.diff.cpuprofile.md +0 -54
- package/examples/output/javascript.bun.diff.heapsnapshot.md +0 -48
- package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +0 -62
- package/examples/output/javascript.chrome.base.cpuprofile.md +0 -163
- package/examples/output/javascript.chrome.base.heapprofile.md +0 -32
- package/examples/output/javascript.chrome.base.heapsnapshot.md +0 -649
- package/examples/output/javascript.chrome.current.cpuprofile.md +0 -149
- package/examples/output/javascript.chrome.current.heapprofile.md +0 -32
- package/examples/output/javascript.chrome.current.heapsnapshot.md +0 -647
- package/examples/output/javascript.chrome.diff.cpuprofile.md +0 -65
- package/examples/output/javascript.chrome.diff.heapprofile.md +0 -50
- package/examples/output/javascript.chrome.diff.heapsnapshot.md +0 -73
- package/examples/output/javascript.deno.base.cpuprofile.md +0 -122
- package/examples/output/javascript.deno.current.cpuprofile.md +0 -114
- package/examples/output/javascript.deno.diff.cpuprofile.md +0 -66
- package/examples/output/javascript.node.base.cpuprofile.md +0 -136
- package/examples/output/javascript.node.base.heapprofile.md +0 -56
- package/examples/output/javascript.node.base.heapsnapshot.md +0 -660
- package/examples/output/javascript.node.current.cpuprofile.md +0 -119
- package/examples/output/javascript.node.current.heapprofile.md +0 -52
- package/examples/output/javascript.node.current.heapsnapshot.md +0 -660
- package/examples/output/javascript.node.diff.cpuprofile.md +0 -70
- package/examples/output/javascript.node.diff.heapprofile.md +0 -34
- package/examples/output/javascript.node.diff.heapsnapshot.md +0 -39
- package/examples/output/javascript.pprof.cpu.base.pprof.md +0 -104
- package/examples/output/javascript.pprof.cpu.current.pprof.md +0 -120
- package/examples/output/javascript.pprof.cpu.diff.pprof.md +0 -63
- package/examples/output/javascript.pprof.heap.base.pprof.md +0 -86
- package/examples/output/javascript.pprof.heap.current.pprof.md +0 -57
- package/examples/output/javascript.pprof.heap.diff.pprof.md +0 -42
- package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +0 -388
- package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +0 -378
- package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +0 -122
- package/examples/output/julia.pprof-jl.alloc.base.pprof.md +0 -124
- package/examples/output/julia.pprof-jl.alloc.current.pprof.md +0 -126
- package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +0 -30
- package/examples/output/julia.pprof-jl.cpu.base.pprof.md +0 -177
- package/examples/output/julia.pprof-jl.cpu.current.pprof.md +0 -179
- package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +0 -64
- package/examples/output/kotlin.async-profiler.all.base.jfr.md +0 -920
- package/examples/output/kotlin.async-profiler.all.current.jfr.md +0 -925
- package/examples/output/kotlin.async-profiler.all.diff.jfr.md +0 -247
- package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +0 -467
- package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +0 -473
- package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +0 -122
- package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +0 -371
- package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +0 -472
- package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +0 -370
- package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +0 -445
- package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +0 -124
- package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +0 -125
- package/examples/output/kotlin.async-profiler.live.base.jfr.md +0 -934
- package/examples/output/kotlin.async-profiler.live.current.jfr.md +0 -917
- package/examples/output/kotlin.async-profiler.live.diff.jfr.md +0 -245
- package/examples/output/kotlin.async-profiler.lock.base.jfr.md +0 -1
- package/examples/output/kotlin.async-profiler.lock.current.jfr.md +0 -1
- package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +0 -1
- package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +0 -234
- package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +0 -234
- package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +0 -65
- package/examples/output/kotlin.async-profiler.wall.base.jfr.md +0 -452
- package/examples/output/kotlin.async-profiler.wall.current.jfr.md +0 -457
- package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +0 -125
- package/examples/output/kotlin.jdk.all.base.jfr.md +0 -1442
- package/examples/output/kotlin.jdk.all.current.jfr.md +0 -1343
- package/examples/output/kotlin.jdk.all.diff.jfr.md +0 -392
- package/examples/output/kotlin.jdk.alloc.base.jfr.md +0 -1418
- package/examples/output/kotlin.jdk.alloc.current.jfr.md +0 -1389
- package/examples/output/kotlin.jdk.alloc.diff.jfr.md +0 -383
- package/examples/output/kotlin.jdk.cpu.base.jfr.md +0 -1406
- package/examples/output/kotlin.jdk.cpu.current.jfr.md +0 -1374
- package/examples/output/kotlin.jdk.cpu.diff.jfr.md +0 -380
- package/examples/output/kotlin.jdk.live.base.jfr.md +0 -1378
- package/examples/output/kotlin.jdk.live.current.jfr.md +0 -1311
- package/examples/output/kotlin.jdk.live.diff.jfr.md +0 -381
- package/examples/output/kotlin.jdk.lock.base.jfr.md +0 -1427
- package/examples/output/kotlin.jdk.lock.current.jfr.md +0 -1374
- package/examples/output/kotlin.jdk.lock.diff.jfr.md +0 -386
- package/examples/output/php.excimer.wall.base.speedscope.json.md +0 -25
- package/examples/output/php.excimer.wall.current.speedscope.json.md +0 -25
- package/examples/output/php.excimer.wall.diff.speedscope.json.md +0 -29
- package/examples/output/python.py-spy.cpu.base.collapsed.md +0 -526
- package/examples/output/python.py-spy.cpu.base.speedscope.json.md +0 -37
- package/examples/output/python.py-spy.cpu.current.collapsed.md +0 -514
- package/examples/output/python.py-spy.cpu.current.speedscope.json.md +0 -37
- package/examples/output/python.py-spy.cpu.diff.collapsed.md +0 -122
- package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +0 -31
- package/examples/output/python.py-spy.wall.base.collapsed.md +0 -527
- package/examples/output/python.py-spy.wall.current.collapsed.md +0 -518
- package/examples/output/python.py-spy.wall.diff.collapsed.md +0 -122
- package/examples/output/ruby.rbspy.cpu.base.collapsed.md +0 -90
- package/examples/output/ruby.rbspy.cpu.base.pprof.md +0 -105
- package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +0 -105
- package/examples/output/ruby.rbspy.cpu.current.collapsed.md +0 -90
- package/examples/output/ruby.rbspy.cpu.current.pprof.md +0 -115
- package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +0 -115
- package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +0 -32
- package/examples/output/ruby.rbspy.cpu.diff.pprof.md +0 -44
- package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +0 -44
- package/examples/output/rust.pprof-rs.cpu.base.pprof.md +0 -60
- package/examples/output/rust.pprof-rs.cpu.current.pprof.md +0 -60
- package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +0 -24
|
@@ -1,380 +0,0 @@
|
|
|
1
|
-
# Sampling profile diff
|
|
2
|
-
|
|
3
|
-
122 samples → 113 samples (-9 samples, -7.4%).
|
|
4
|
-
|
|
5
|
-
| Category | Change | Delta | % | Samples |
|
|
6
|
-
| -------- | -----: | ----: | ------------: | ------: |
|
|
7
|
-
| stdlib | -12.1% | -8 | 54.1% → 51.3% | 66 → 58 |
|
|
8
|
-
| ours | -1.8% | -1 | 45.9% → 48.7% | 56 → 55 |
|
|
9
|
-
|
|
10
|
-
## Hottest functions
|
|
11
|
-
|
|
12
|
-
### Self samples
|
|
13
|
-
|
|
14
|
-
#### Regressions
|
|
15
|
-
|
|
16
|
-
Functions with the largest increase in samples taken directly in the function body, excluding callees.
|
|
17
|
-
|
|
18
|
-
| Change | Delta | % | Samples | Function | Location |
|
|
19
|
-
| -----: | ----: | ----------: | ------: | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
20
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `parsePostfixExpression()` | `org.jetbrains.kotlin.parsing.KotlinExpressionParsing` |
|
|
21
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `runTasks()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
|
|
22
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirStatement)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirOptInUsageAccessChecker` |
|
|
23
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `visitFunctionCall(FirFunctionCall, CheckerContext)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.ExpressionCheckersDiagnosticComponent` |
|
|
24
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `loadCallableSpecificExperimentalities(CheckerContext, FirCallableSymbol, Set, boolean, SmartSet)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirOptInUsageBaseChecker` |
|
|
25
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `visitBlock(FirBlock, CheckerContext)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.ExpressionCheckersDiagnosticComponent` |
|
|
26
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `convertFunctionContent(IrFunction, FirFunction, FirClass)` | `org.jetbrains.kotlin.fir.backend.generators.ClassMemberGenerator` |
|
|
27
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `applyArgumentsWithReorderingIfNeeded(IrMemberAccessExpression, CallAndReferenceGenerator$ReceiverInfo, FirCall)` | `org.jetbrains.kotlin.fir.backend.generators.CallAndReferenceGenerator` |
|
|
28
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `visitLocalVariable(FirProperty)` | `org.jetbrains.kotlin.fir.backend.Fir2IrVisitor` |
|
|
29
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `preprocessNodeBeforeInline(MethodNode, Map)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
|
|
30
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `markPlacesForInlineAndRemoveInlinable(MethodNode, Map, int)` | `org.jetbrains.kotlin.codegen.inline.MethodInliner` |
|
|
31
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `analyzeInstruction(AbstractInsnNode, int, Frame, Frame, Frame)` | `org.jetbrains.kotlin.codegen.optimization.common.FastAnalyzer` |
|
|
32
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `invoke(Object)` | `org.jetbrains.kotlin.fir.scopes.impl.FirScopeWithCallableCopyReturnTypeUpdater$$Lambda.0x000000a0016f2238` |
|
|
33
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `mark()` | `org.jetbrains.kotlin.parsing.AbstractKotlinParsing` |
|
|
34
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `firValueParameter_delegate$lambda$0(ValueParameter)` | `org.jetbrains.kotlin.fir.lightTree.fir.ValueParameter` |
|
|
35
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `stringsToBytes(String[])` | `org.jetbrains.kotlin.metadata.jvm.deserialization.UtfEncodingKt` |
|
|
36
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `requiredToSave(FirResolvedTypeRef)` | `org.jetbrains.kotlin.fir.resolve.transformers.plugin.AbstractFirSpecificAnnotationResolveTransformer` |
|
|
37
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `visitArray(String)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass$3` |
|
|
38
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `<init>()` | `org.jetbrains.kotlin.fir.resolve.calls.ConeResolutionAtom` |
|
|
39
|
-
| new | +1 | 0.0% → 0.9% | 0 → 1 | `transformPackageDirective(FirPackageDirective, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformer` |
|
|
40
|
-
|
|
41
|
-
#### Improvements
|
|
42
|
-
|
|
43
|
-
Functions with the largest decrease in samples taken directly in the function body, excluding callees.
|
|
44
|
-
|
|
45
|
-
| Change | Delta | % | Samples | Function | Location |
|
|
46
|
-
| ------: | ----: | ----------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
|
47
|
-
| removed | -2 | 1.6% → 0.0% | 2 → 0 | `extractArgumentsTypeRefAndSource(FirTypeRef)` | `org.jetbrains.kotlin.fir.analysis.checkers.FirHelpersKt` |
|
|
48
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(FastJarFileSystem, String)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarHandler` |
|
|
49
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `at(IElementType)` | `org.jetbrains.kotlin.parsing.AbstractKotlinParsing` |
|
|
50
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `access$2602(PsiBuilderImpl$StartMarker, PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.PsiBuilderImpl$StartMarker` |
|
|
51
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `indexOf(PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.MarkerProduction` |
|
|
52
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(FirDeserializationContext)` | `org.jetbrains.kotlin.fir.deserialization.FirContractDeserializer` |
|
|
53
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `get(int)` | `org.jetbrains.kotlin.protobuf.LazyStringArrayList` |
|
|
54
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(KtSourceElement, FirPropertyAccessExpression, ConeKotlinType, List, FqName, FqName, FirClassLikeSymbol, FirResolvedQualifier, boolean, ConeKotlinType, boolean, boolean, boolean, List, FirResolvedSymbolOrigin, List)` | `org.jetbrains.kotlin.fir.expressions.impl.FirResolvedQualifierImpl` |
|
|
55
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `resolveVariableAccessAndSelectCandidateImpl(FirQualifiedAccessExpression, boolean, ResolutionMode, boolean, FirElement, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
|
|
56
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `enqueueResolveTasksForNoReceiver(CallInfo)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
|
|
57
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `shouldBeFlexible(TypeVariableMarker)` | `org.jetbrains.kotlin.fir.resolve.inference.ConeConstraintSystemUtilContext` |
|
|
58
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Property` |
|
|
59
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.FirElementWithResolveState` |
|
|
60
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.symbols.impl.FirPropertySymbol` |
|
|
61
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `buildDefaultFlow(CFGNode, Function2)` | `org.jetbrains.kotlin.fir.resolve.dfa.FirDataFlowAnalyzer` |
|
|
62
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `transformReturnExpression(FirReturnExpression, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirControlFlowStatementsResolveTransformer` |
|
|
63
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `<init>(Continuation)` | `kotlin.coroutines.jvm.internal.ContinuationImpl` |
|
|
64
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `runResolverForExpressionReceiver(CallInfo, FirExpression, TowerGroup, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolveTask` |
|
|
65
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `toFirResolvedTypeRef(ConeKotlinType, KtSourceElement, FirTypeRef)` | `org.jetbrains.kotlin.fir.UtilsKt` |
|
|
66
|
-
| removed | -1 | 0.8% → 0.0% | 1 → 0 | `rollbackTransaction()` | `org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl$TransactionState` |
|
|
67
|
-
|
|
68
|
-
### Total samples
|
|
69
|
-
|
|
70
|
-
#### Regressions
|
|
71
|
-
|
|
72
|
-
Functions with the largest increase in total samples taken in the function and all its callees.
|
|
73
|
-
|
|
74
|
-
| Change | Delta | % | Samples | Function | Location |
|
|
75
|
-
| ------: | ----: | -----------: | ------: | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
|
76
|
-
| +75.0% | +6 | 6.6% → 12.4% | 8 → 14 | `visitElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
|
|
77
|
-
| +55.6% | +5 | 7.4% → 12.4% | 9 → 14 | `generateMethod(IrFunction, SourceMapper)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
|
|
78
|
-
| +40.0% | +4 | 8.2% → 12.4% | 10 → 14 | `visitElement(FirElement, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
|
|
79
|
-
| +44.4% | +4 | 7.4% → 11.5% | 9 → 13 | `visitBlock(FirBlock, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
|
|
80
|
-
| +44.4% | +4 | 7.4% → 11.5% | 9 → 13 | `visitBlock(FirBlock, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
|
|
81
|
-
| +400.0% | +4 | 0.8% → 4.4% | 1 → 5 | `accept(MethodVisitor)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
|
|
82
|
-
| new | +4 | 0.0% → 3.5% | 0 → 4 | `isSubtypeOfForSingleClassifierType(TypeCheckerState, TypeSystemContext, RigidTypeMarker, RigidTypeMarker)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
|
|
83
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `findKotlinClassOrContent(ClassId, MetadataVersion)` | `org.jetbrains.kotlin.load.kotlin.VirtualFileFinder` |
|
|
84
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `computePackagePartInfo(FqName, String)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
|
|
85
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `computePackagePartsInfos(FqName)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
|
|
86
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `tryComputePackagePartInfos(FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
|
|
87
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `access$tryComputePackagePartInfos(AbstractFirDeserializedSymbolProvider, FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
|
|
88
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `invoke(Object, Void)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$special$$inlined$createCache$2` |
|
|
89
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `invoke(Object, Object)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider$special$$inlined$createCache$2` |
|
|
90
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `getPackageParts(FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
|
|
91
|
-
| +150.0% | +3 | 1.6% → 4.4% | 2 → 5 | `access$getPackageParts(AbstractFirDeserializedSymbolProvider, FqName)` | `org.jetbrains.kotlin.fir.deserialization.AbstractFirDeserializedSymbolProvider` |
|
|
92
|
-
| +300.0% | +3 | 0.8% → 3.5% | 1 → 4 | `completeIsSubTypeOf(TypeCheckerState, TypeSystemContext, KotlinTypeMarker, KotlinTypeMarker, boolean)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
|
|
93
|
-
| +300.0% | +3 | 0.8% → 3.5% | 1 → 4 | `isSubtypeOf(TypeCheckerState, KotlinTypeMarker, KotlinTypeMarker, boolean)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
|
|
94
|
-
| +30.0% | +3 | 8.2% → 11.5% | 10 → 13 | `visitAnnotationContainer(FirAnnotationContainer, Void)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
|
|
95
|
-
| +30.0% | +3 | 8.2% → 11.5% | 10 → 13 | `visitAnnotationContainer(FirAnnotationContainer, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
|
|
96
|
-
|
|
97
|
-
#### Improvements
|
|
98
|
-
|
|
99
|
-
Functions with the largest decrease in total samples taken in the function and all its callees.
|
|
100
|
-
|
|
101
|
-
| Change | Delta | % | Samples | Function | Location |
|
|
102
|
-
| -----: | ----: | ------------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
103
|
-
| -19.6% | -9 | 37.7% → 32.7% | 46 → 37 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
|
|
104
|
-
| -20.0% | -9 | 36.9% → 31.9% | 45 → 36 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
105
|
-
| -19.0% | -8 | 34.4% → 30.1% | 42 → 34 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
106
|
-
| -17.8% | -8 | 36.9% → 32.7% | 45 → 37 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
107
|
-
| -18.2% | -8 | 36.1% → 31.9% | 44 → 36 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
|
|
108
|
-
| -19.5% | -8 | 33.6% → 29.2% | 41 → 33 | `execImpl(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
109
|
-
| -10.0% | -7 | 57.4% → 55.8% | 70 → 63 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
110
|
-
| -15.9% | -7 | 36.1% → 32.7% | 44 → 37 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
111
|
-
| -16.3% | -7 | 35.2% → 31.9% | 43 → 36 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
|
|
112
|
-
| -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
|
|
113
|
-
| -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
114
|
-
| -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `executeAndReturnPipeLineArtifact(CommonCompilerArguments, Services, MessageCollector, Disposable)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
115
|
-
| -16.7% | -7 | 34.4% → 31.0% | 42 → 35 | `executeAndReturnPipeLineArtifact$default(AbstractCliPipeline, CommonCompilerArguments, Services, MessageCollector, Disposable, int, Object)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
116
|
-
| -17.1% | -7 | 33.6% → 30.1% | 41 → 34 | `execute(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
117
|
-
| -17.1% | -7 | 33.6% → 30.1% | 41 → 34 | `doExecutePhased(K2JVMCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
118
|
-
| -17.1% | -7 | 33.6% → 30.1% | 41 → 34 | `doExecutePhased(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
119
|
-
| -17.5% | -7 | 32.8% → 29.2% | 40 → 33 | `exec(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
120
|
-
| -31.8% | -7 | 18.0% → 13.3% | 22 → 15 | `transformInplace(List, FirTransformer, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformerUtilKt` |
|
|
121
|
-
| -41.2% | -7 | 13.9% → 8.8% | 17 → 10 | `transformElement(FirElement, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer` |
|
|
122
|
-
| -41.2% | -7 | 13.9% → 8.8% | 17 → 10 | `transformElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer` |
|
|
123
|
-
|
|
124
|
-
# Allocated heap profile diff
|
|
125
|
-
|
|
126
|
-
Allocated 717 MB (-250.248 kB, ~0%) over 874 samples → 869 samples (820 kB → 825 kB per sample).
|
|
127
|
-
|
|
128
|
-
| Category | Change | Delta | % | Size | Samples |
|
|
129
|
-
| -------- | -----: | ---------: | ------------: | --------------: | --------: |
|
|
130
|
-
| stdlib | -2.0% | -11.303 MB | 78.7% → 77.1% | 564 MB → 553 MB | 571 → 551 |
|
|
131
|
-
| ours | +7.2% | +11.053 MB | 21.3% → 22.9% | 153 MB → 164 MB | 293 → 310 |
|
|
132
|
-
| native | -0.8% | -240 B | <0.1% | 30 kB → 29.8 kB | 10 → 8 |
|
|
133
|
-
|
|
134
|
-
## Hottest functions
|
|
135
|
-
|
|
136
|
-
### Self size
|
|
137
|
-
|
|
138
|
-
#### Regressions
|
|
139
|
-
|
|
140
|
-
Functions with the largest increase in bytes allocated directly in the function body, excluding callees.
|
|
141
|
-
|
|
142
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
143
|
-
| ------: | --------: | ----------: | ----------------: | ------: | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- |
|
|
144
|
-
| +135.4% | +4.816 MB | 0.5% → 1.2% | 3.56 MB → 8.37 MB | 7 → 15 | `box-impl(List)` | `org.jetbrains.kotlin.fir.MutableOrEmptyList` |
|
|
145
|
-
| +350.0% | +3.662 MB | 0.1% → 0.7% | 1.05 MB → 4.71 MB | 2 → 9 | `<init>()` | `org.jetbrains.kotlin.resolve.calls.inference.model.MutableConstraintStorage` |
|
|
146
|
-
| +22.3% | +3.139 MB | 2.0% → 2.4% | 14.1 MB → 17.2 MB | 27 → 33 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
|
|
147
|
-
| +166.7% | +2.616 MB | 0.2% → 0.6% | 1.57 MB → 4.19 MB | 3 → 7 | `to(Object, Object)` | `kotlin.TuplesKt` |
|
|
148
|
-
| +200.0% | +2.093 MB | 0.1% → 0.4% | 1.05 MB → 3.14 MB | 2 → 6 | `<init>()` | `org.jetbrains.kotlin.types.AbstractTypeApproximator$Cache` |
|
|
149
|
-
| +36.2% | +2.093 MB | 0.8% → 1.1% | 5.79 MB → 7.88 MB | 12 → 16 | `newInstance(OutputStream, int)` | `org.jetbrains.kotlin.protobuf.CodedOutputStream` |
|
|
150
|
-
| +400.0% | +2.093 MB | 0.1% → 0.4% | 523 kB → 2.62 MB | 1 → 5 | `iterator()` | `org.jetbrains.kotlin.utils.SmartList` |
|
|
151
|
-
| new | +1.569 MB | 0.0% → 0.2% | 0 B → 1.57 MB | 0 → 3 | `simplifyKnownSafeCallPatterns(TemporaryVariablesEliminationTransformer$ControlFlowGraph)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.TemporaryVariablesEliminationTransformer` |
|
|
152
|
-
| new | +1.569 MB | 0.0% → 0.2% | 0 B → 1.57 MB | 0 → 3 | `getLabel()` | `org.jetbrains.org.objectweb.asm.tree.LabelNode` |
|
|
153
|
-
| +60.0% | +1.569 MB | 0.4% → 0.6% | 2.62 MB → 4.19 MB | 5 → 8 | `newOutput()` | `org.jetbrains.kotlin.protobuf.ByteString` |
|
|
154
|
-
| +45.9% | +1.047 MB | 0.3% → 0.5% | 2.28 MB → 3.33 MB | 4 → 5 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
155
|
-
| +200.0% | +1.046 MB | 0.1% → 0.2% | 523 kB → 1.57 MB | 1 → 3 | `IrSimpleTypeImpl(IrClassifierSymbol, SimpleTypeNullability, List, List, KotlinType)` | `org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImplKt` |
|
|
156
|
-
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `getAnnotationsByClassId(List, ClassId, FirSession)` | `org.jetbrains.kotlin.fir.declarations.FirAnnotationUtilsKt` |
|
|
157
|
-
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `_init_$lambda$0(int, int)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.FastStoreLoadAnalyzer` |
|
|
158
|
-
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `valueOf(int)` | `java.lang.Integer` |
|
|
159
|
-
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `resolveNameByInternalName(String, FileBasedKotlinClass$InnerClassesInfo)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass` |
|
|
160
|
-
| +200.0% | +1.046 MB | 0.1% → 0.2% | 523 kB → 1.57 MB | 1 → 3 | `createScope(IrSymbolOwner)` | `org.jetbrains.kotlin.backend.common.IrElementTransformerVoidWithContext` |
|
|
161
|
-
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `processCandidatesAndPostponedAtoms(ConeResolutionAtom, Function1, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.CandidateTraversalKt` |
|
|
162
|
-
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `getSuperConeTypes(FirClass)` | `org.jetbrains.kotlin.fir.declarations.utils.FirDeclarationUtilKt` |
|
|
163
|
-
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 1 | `_get_boundsNullability_$lambda$0$2(List, AbstractSignatureParts)` | `org.jetbrains.kotlin.load.java.typeEnhancement.AbstractSignatureParts` |
|
|
164
|
-
|
|
165
|
-
#### Improvements
|
|
166
|
-
|
|
167
|
-
Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
|
|
168
|
-
|
|
169
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
170
|
-
| ------: | ----------: | -----------: | ----------------: | --------: | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
|
171
|
-
| -76.8% | -151.197 MB | 27.5% → 6.4% | 197 MB → 45.7 MB | 116 → 113 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
|
|
172
|
-
| removed | -2.616 MB | 0.4% → 0.0% | 2.62 MB → 0 B | 4 → 0 | `<init>(String)` | `org.jetbrains.kotlin.name.FqName` |
|
|
173
|
-
| removed | -2.615 MB | 0.4% → 0.0% | 2.62 MB → 0 B | 5 → 0 | `toArray()` | `org.jetbrains.org.objectweb.asm.tree.InsnList` |
|
|
174
|
-
| -29.6% | -2.422 MB | 1.1% → 0.8% | 8.18 MB → 5.76 MB | 16 → 11 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
|
|
175
|
-
| -50.0% | -2.093 MB | 0.6% → 0.3% | 4.19 MB → 2.09 MB | 8 → 4 | `toString()` | `java.lang.StringBuilder` |
|
|
176
|
-
| -74.3% | -1.682 MB | 0.3% → 0.1% | 2.26 MB → 582 kB | 5 → 1 | `create()` | `com.intellij.lang.impl.PsiBuilderImpl$MyTreeStructure$2` |
|
|
177
|
-
| -80.5% | -1.677 MB | 0.3% → 0.1% | 2.09 MB → 408 kB | 5 → 1 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
178
|
-
| removed | -1.569 MB | 0.2% → 0.0% | 1.57 MB → 0 B | 3 → 0 | `unmodifiableList(List)` | `java.util.Collections` |
|
|
179
|
-
| -60.0% | -1.569 MB | 0.4% → 0.1% | 2.62 MB → 1.05 MB | 5 → 2 | `identifier(String)` | `org.jetbrains.kotlin.name.Name` |
|
|
180
|
-
| removed | -1.569 MB | 0.2% → 0.0% | 1.57 MB → 0 B | 3 → 0 | `analyzer$lambda$0(FixStackAnalyzer, int, int)` | `org.jetbrains.kotlin.codegen.optimization.fixStack.FixStackAnalyzer` |
|
|
181
|
-
| -75.1% | -1.567 MB | 0.3% → 0.1% | 2.09 MB → 520 kB | 4 → 1 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
|
|
182
|
-
| removed | -1.455 MB | 0.2% → 0.0% | 1.46 MB → 0 B | 2 → 0 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
|
|
183
|
-
| -67.0% | -1.062 MB | 0.2% → 0.1% | 1.59 MB → 523 kB | 3 → 1 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
184
|
-
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `processCandidate(Candidate, ResolutionContext, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.ResolutionStageRunner` |
|
|
185
|
-
| -50.0% | -1.046 MB | 0.3% → 0.1% | 2.09 MB → 1.05 MB | 4 → 2 | `getTypeInternal(String, int, int)` | `org.jetbrains.org.objectweb.asm.Type` |
|
|
186
|
-
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 1 → 0 | `<init>(Function1, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.Context` |
|
|
187
|
-
| -66.7% | -1.046 MB | 0.2% → 0.1% | 1.57 MB → 523 kB | 3 → 1 | `executeInvokeInsn(AbstractInsnNode, String, Interpreter)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
|
|
188
|
-
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `extractDeprecationAnnotationInfoPerUseSite(List, boolean, FirSession, List)` | `org.jetbrains.kotlin.fir.declarations.DeprecationUtilsKt` |
|
|
189
|
-
| -66.7% | -1.046 MB | 0.2% → 0.1% | 1.57 MB → 523 kB | 3 → 1 | `iterator()` | `org.jetbrains.org.objectweb.asm.tree.analysis.SmallSet` |
|
|
190
|
-
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `getBasicBlockAt$lambda$0()` | `org.jetbrains.kotlin.codegen.inline.MaxStackFrameSizeAndLocalsCalculator` |
|
|
191
|
-
|
|
192
|
-
### Total size
|
|
193
|
-
|
|
194
|
-
#### Regressions
|
|
195
|
-
|
|
196
|
-
Functions with the largest increase in total bytes allocated in the function and all its callees.
|
|
197
|
-
|
|
198
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
199
|
-
| -------: | ----------: | ------------: | ----------------: | --------: | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
|
|
200
|
-
| +151.7% | +157.816 MB | 14.5% → 36.5% | 104 MB → 262 MB | 101 → 113 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
|
|
201
|
-
| +48.8% | +66.461 MB | 19.0% → 28.3% | 136 MB → 203 MB | 264 → 274 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
202
|
-
| +48.3% | +66.461 MB | 19.2% → 28.5% | 138 MB → 204 MB | 267 → 277 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
203
|
-
| +46.7% | +65.463 MB | 19.6% → 28.7% | 140 MB → 206 MB | 272 → 281 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
204
|
-
| +5873.1% | +61.4 MB | 0.1% → 8.7% | 1.05 MB → 62.4 MB | 2 → 3 | `getAnnotation(Class)` | `java.lang.reflect.Field` |
|
|
205
|
-
| +3494.8% | +61.192 MB | 0.2% → 8.8% | 1.75 MB → 62.9 MB | 4 | `parsePreprocessedCommandLineArguments(List, CommonToolArguments, Lazy, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
|
|
206
|
-
| +3494.8% | +61.192 MB | 0.2% → 8.8% | 1.75 MB → 62.9 MB | 4 | `parseCommandLineArguments(List, CommonToolArguments, boolean)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
|
|
207
|
-
| +3494.8% | +61.192 MB | 0.2% → 8.8% | 1.75 MB → 62.9 MB | 4 | `parseCommandLineArguments$default(List, CommonToolArguments, boolean, int, Object)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
|
|
208
|
-
| +3466.4% | +60.694 MB | 0.2% → 8.7% | 1.75 MB → 62.4 MB | 4 → 3 | `getArgumentsInfo(Class)` | `org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt` |
|
|
209
|
-
| +530.9% | +59.613 MB | 1.6% → 9.9% | 11.2 MB → 70.8 MB | 24 → 19 | `put(Object, Object)` | `java.util.HashMap` |
|
|
210
|
-
| +627.7% | +22.968 MB | 0.5% → 3.7% | 3.66 MB → 26.6 MB | 8 → 12 | `loadClass(String)` | `java.lang.ClassLoader` |
|
|
211
|
-
| +4111.1% | +21.837 MB | 0.1% → 3.1% | 531 kB → 22.4 MB | 2 → 3 | `forName(String, boolean, ClassLoader)` | `java.lang.Class` |
|
|
212
|
-
| +7.2% | +10.447 MB | 20.4% → 21.8% | 146 MB → 156 MB | 281 → 299 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
|
|
213
|
-
| +7.0% | +10.447 MB | 20.9% → 22.4% | 150 MB → 161 MB | 289 → 307 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
214
|
-
| +7.3% | +10.447 MB | 20.1% → 21.5% | 144 MB → 154 MB | 277 → 295 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
215
|
-
| +7.2% | +9.983 MB | 19.3% → 20.7% | 139 MB → 149 MB | 267 → 285 | `doExecutePhased(K2JVMCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
216
|
-
| +6.6% | +9.924 MB | 21.1% → 22.5% | 151 MB → 161 MB | 290 → 308 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
217
|
-
| +7.1% | +9.902 MB | 19.4% → 20.8% | 139 MB → 149 MB | 268 → 286 | `execute(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
218
|
-
| +6.5% | +9.764 MB | 21.1% → 22.4% | 151 MB → 161 MB | 291 → 307 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
|
|
219
|
-
| +6.5% | +9.658 MB | 20.6% → 22.0% | 148 MB → 158 MB | 285 → 301 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
|
|
220
|
-
|
|
221
|
-
#### Improvements
|
|
222
|
-
|
|
223
|
-
Functions with the largest decrease in total bytes allocated in the function and all its callees.
|
|
224
|
-
|
|
225
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
226
|
-
| ------: | ----------: | -----------: | ----------------: | --------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
|
|
227
|
-
| -76.8% | -151.197 MB | 27.5% → 6.4% | 197 MB → 45.7 MB | 116 → 113 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
|
|
228
|
-
| removed | -64.45 MB | 9.0% → 0.0% | 64.5 MB → 0 B | 1 → 0 | `listFiles(FilenameFilter)` | `java.io.File` |
|
|
229
|
-
| removed | -64.45 MB | 9.0% → 0.0% | 64.5 MB → 0 B | 1 → 0 | `cleanup()` | `org.fusesource.jansi.internal.JansiLoader` |
|
|
230
|
-
| removed | -64.45 MB | 9.0% → 0.0% | 64.5 MB → 0 B | 1 → 0 | `initialize()` | `org.fusesource.jansi.internal.JansiLoader` |
|
|
231
|
-
| removed | -64.45 MB | 9.0% → 0.0% | 64.5 MB → 0 B | 1 → 0 | `<clinit>()` | `org.fusesource.jansi.internal.CLibrary` |
|
|
232
|
-
| removed | -64.45 MB | 9.0% → 0.0% | 64.5 MB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.PlainTextMessageRenderer` |
|
|
233
|
-
| removed | -64.45 MB | 9.0% → 0.0% | 64.5 MB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.cli.common.messages.MessageRenderer` |
|
|
234
|
-
| removed | -64.45 MB | 9.0% → 0.0% | 64.5 MB → 0 B | 1 → 0 | `defaultMessageRenderer()` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
235
|
-
| -20.0% | -11.782 MB | 8.2% → 6.6% | 58.8 MB → 47.1 MB | 113 → 89 | `collectCandidates(FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
|
|
236
|
-
| -18.6% | -10.743 MB | 8.1% → 6.6% | 57.8 MB → 47.1 MB | 112 → 89 | `collectCandidates$default(FirCallResolver, FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
|
|
237
|
-
| -19.6% | -10.703 MB | 7.6% → 6.1% | 54.7 MB → 44 MB | 105 → 83 | `runTasks()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
|
|
238
|
-
| -18.5% | -10.702 MB | 8.1% → 6.6% | 57.8 MB → 47.1 MB | 111 → 89 | `runResolver$default(FirTowerResolver, CallInfo, ResolutionContext, CandidateCollector, CandidateFactory, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
239
|
-
| -17.2% | -9.656 MB | 7.8% → 6.5% | 56.2 MB → 46.6 MB | 108 → 88 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, TowerResolveManager, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
240
|
-
| -17.2% | -9.656 MB | 7.8% → 6.5% | 56.2 MB → 46.6 MB | 108 → 88 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
241
|
-
| -52.8% | -9.368 MB | 2.5% → 1.2% | 17.7 MB → 8.37 MB | 34 → 15 | `processMembers(CallInfo, TowerLevelProcessor, Function2)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.DispatchReceiverMemberScopeTowerLevel` |
|
|
242
|
-
| -16.6% | -9.197 MB | 7.7% → 6.4% | 55.2 MB → 46 MB | 106 → 86 | `resumeTask(TowerResolveManager$SuspendedResolverTask)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
|
|
243
|
-
| -16.7% | -8.394 MB | 7.0% → 5.8% | 50.2 MB → 41.8 MB | 97 → 79 | `resolveCallAndSelectCandidate(FirFunctionCall, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
|
|
244
|
-
| -16.9% | -8.394 MB | 6.9% → 5.8% | 49.7 MB → 41.3 MB | 96 → 78 | `resolveCallAndSelectCandidate$default(FirCallResolver, FirFunctionCall, ResolutionMode, CollectionLiteralOuterCandidateContext, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
|
|
245
|
-
| -14.4% | -7.627 MB | 7.4% → 6.4% | 53.1 MB → 45.5 MB | 102 → 84 | `processLevel(TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
|
|
246
|
-
| -14.4% | -7.627 MB | 7.4% → 6.4% | 53.1 MB → 45.5 MB | 102 → 84 | `access$processLevel(FirBaseTowerResolveTask, TowerLevel, CallInfo, TowerGroup, ExplicitReceiverKind, Continuation)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask` |
|
|
247
|
-
|
|
248
|
-
# Retained heap profile diff
|
|
249
|
-
|
|
250
|
-
Retained 20.2 MB → 19.6 MB (-561.376 kB, -2.8%) over 198 samples → 203 samples (102 kB → 96.5 kB per sample).
|
|
251
|
-
|
|
252
|
-
| Category | Change | Delta | % | Size | Samples |
|
|
253
|
-
| -------- | -----: | ----------: | ------------: | ----------------: | --------: |
|
|
254
|
-
| stdlib | -3.0% | -563.672 kB | 93.6% → 93.5% | 18.9 MB → 18.3 MB | 183 → 188 |
|
|
255
|
-
| ours | +0.2% | +2.296 kB | 6.4% → 6.5% | 1.28 MB | 15 |
|
|
256
|
-
|
|
257
|
-
## Hottest functions
|
|
258
|
-
|
|
259
|
-
### Self size
|
|
260
|
-
|
|
261
|
-
#### Regressions
|
|
262
|
-
|
|
263
|
-
Functions with the largest increase in bytes retained directly in the function body, excluding callees.
|
|
264
|
-
|
|
265
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
266
|
-
| -----: | --------: | -----------: | ------------: | ------: | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
|
267
|
-
| new | +4.448 kB | 0.0% → <0.1% | 0 B → 4.45 kB | 0 → 1 | `copyOf(int[], int)` | `java.util.Arrays` |
|
|
268
|
-
| +0.2% | +2.312 kB | 6.1% → 6.2% | 1.22 MB | 6 → 7 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
269
|
-
| new | +224 B | 0.0% → <0.1% | 0 B → 224 B | 0 → 2 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Function$1` |
|
|
270
|
-
| new | +224 B | 0.0% → <0.1% | 0 B → 224 B | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirBlock)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirConflictsExpressionChecker` |
|
|
271
|
-
| new | +48 B | 0.0% → <0.1% | 0 B → 48 B | 0 → 1 | `create(String, int, String, String, JavaClass, ClassifierResolutionContext, BinaryClassSignatureParser)` | `org.jetbrains.kotlin.load.java.structure.impl.classFiles.BinaryJavaMethodBase$Companion` |
|
|
272
|
-
|
|
273
|
-
#### Improvements
|
|
274
|
-
|
|
275
|
-
Functions with the largest decrease in bytes retained directly in the function body, excluding callees.
|
|
276
|
-
|
|
277
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
278
|
-
| ------: | -----: | -----------: | ----------: | ------: | ------------------------------------------- | ------------------------------------------------------------------------------ |
|
|
279
|
-
| removed | -256 B | <0.1% → 0.0% | 256 B → 0 B | 1 → 0 | `asRigidType(KotlinTypeMarker)` | `org.jetbrains.kotlin.fir.types.ConeTypeContext` |
|
|
280
|
-
| removed | -88 B | <0.1% → 0.0% | 88 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirRegularClassBuilder` |
|
|
281
|
-
| removed | -72 B | <0.1% → 0.0% | 72 B → 0 B | 1 → 0 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
|
|
282
|
-
| removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.java.declarations.FirJavaValueParameterBuilder` |
|
|
283
|
-
| removed | -32 B | <0.1% → 0.0% | 32 B → 0 B | 1 → 0 | `substituteArguments(ConeSimpleKotlinType)` | `org.jetbrains.kotlin.fir.resolve.substitution.AbstractConeSubstitutor` |
|
|
284
|
-
|
|
285
|
-
### Total size
|
|
286
|
-
|
|
287
|
-
#### Regressions
|
|
288
|
-
|
|
289
|
-
Functions with the largest increase in total bytes retained in the function and all its callees.
|
|
290
|
-
|
|
291
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
292
|
-
| ----------: | ---------: | -----------: | ---------------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
293
|
-
| +1698300.0% | +1.222 MB | <0.1% → 6.2% | 72 B → 1.22 MB | 1 → 7 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x000000a0013f5a40` |
|
|
294
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
|
|
295
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
296
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `executeAndReturnPipeLineArtifact(CommonCompilerArguments, Services, MessageCollector, Disposable)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
297
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `executeAndReturnPipeLineArtifact$default(AbstractCliPipeline, CommonCompilerArguments, Services, MessageCollector, Disposable, int, Object)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
298
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `execute(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
299
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `doExecutePhased(K2JVMCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
300
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `doExecutePhased(CommonCompilerArguments, Services, MessageCollector)` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
301
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `execImpl(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
302
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `exec(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
303
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
304
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
305
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
306
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
307
|
-
| +67.2% | +41.608 kB | 0.3% → 0.5% | 62 kB → 104 kB | 14 → 15 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
308
|
-
| +66.3% | +41.272 kB | 0.3% → 0.5% | 62.3 kB → 104 kB | 15 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
309
|
-
| +66.3% | +41.272 kB | 0.3% → 0.5% | 62.3 kB → 104 kB | 15 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
310
|
-
| +66.3% | +41.272 kB | 0.3% → 0.5% | 62.3 kB → 104 kB | 15 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
|
|
311
|
-
| +66.3% | +41.272 kB | 0.3% → 0.5% | 62.3 kB → 104 kB | 15 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
|
|
312
|
-
| new | +37.432 kB | 0.0% → 0.2% | 0 B → 37.4 kB | 0 → 1 | `forName(String, boolean, ClassLoader)` | `java.lang.Class` |
|
|
313
|
-
|
|
314
|
-
#### Improvements
|
|
315
|
-
|
|
316
|
-
Functions with the largest decrease in total bytes retained in the function and all its callees.
|
|
317
|
-
|
|
318
|
-
| Change | Delta | % | Size | Samples | Function | Location |
|
|
319
|
-
| ------: | ----------: | ------------: | ----------------: | --------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
320
|
-
| removed | -1.22 MB | 6.1% → 0.0% | 1.22 MB → 0 B | 6 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x00000070013f5a40` |
|
|
321
|
-
| -1.8% | -339.152 kB | 91.7% → 92.6% | 18.5 MB → 18.1 MB | 177 → 181 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
322
|
-
| -1.8% | -339.064 kB | 91.7% → 92.6% | 18.5 MB → 18.1 MB | 176 → 181 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
323
|
-
| -5.7% | -231.84 kB | 20.1% → 19.5% | 4.05 MB → 3.82 MB | 4 | `getResource(String)` | `java.lang.ClassLoader` |
|
|
324
|
-
| -5.7% | -231.84 kB | 20.1% → 19.5% | 4.05 MB → 3.82 MB | 4 | `getResource(String)` | `org.jetbrains.kotlin.preloading.MemoryBasedClassLoader` |
|
|
325
|
-
| -5.7% | -231.84 kB | 20.1% → 19.5% | 4.05 MB → 3.82 MB | 4 | `<init>()` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
326
|
-
| -5.7% | -231.84 kB | 20.1% → 19.5% | 4.05 MB → 3.82 MB | 4 | `<init>()` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
327
|
-
| -5.6% | -227.696 kB | 20.1% → 19.5% | 4.05 MB → 3.83 MB | 13 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
328
|
-
| -4.6% | -189.896 kB | 20.4% → 20.0% | 4.11 MB → 3.92 MB | 17 → 19 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
|
|
329
|
-
| -4.6% | -189.896 kB | 20.4% → 20.0% | 4.11 MB → 3.92 MB | 17 → 19 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler` |
|
|
330
|
-
| -0.8% | -111.456 kB | 70.3% → 71.7% | 14.2 MB → 14.1 MB | 163 → 167 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
|
|
331
|
-
| -0.8% | -111.456 kB | 71.6% → 73.0% | 14.4 MB → 14.3 MB | 164 → 168 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
332
|
-
| -0.8% | -111.456 kB | 71.6% → 73.0% | 14.4 MB → 14.3 MB | 164 → 168 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
333
|
-
| -0.2% | -528 B | 1.3% | 263 kB → 262 kB | 2 → 1 | `put(Object, Object)` | `java.util.HashMap` |
|
|
334
|
-
| removed | -528 B | <0.1% → 0.0% | 528 B → 0 B | 1 → 0 | `<init>(ProtoBuf$PackageFragment, NameResolver, BinaryVersion, Function1)` | `org.jetbrains.kotlin.serialization.deserialization.ProtoBasedClassDataFinder` |
|
|
335
|
-
| -61.2% | -504 B | <0.1% | 824 B → 320 B | 3 | `prepareSessions(List, CompilerConfiguration, Name, TargetPlatform, boolean, DependencyListForCliModule, List, Function1, Function1, Function2, Function0, Function0, Function1, FirSessionProducer, Function4)` | `org.jetbrains.kotlin.cli.common.SessionConstructionUtils` |
|
|
336
|
-
| -61.2% | -504 B | <0.1% | 824 B → 320 B | 3 | `prepareSessions$default(SessionConstructionUtils, List, CompilerConfiguration, Name, TargetPlatform, boolean, DependencyListForCliModule, List, Function1, Function1, Function2, Function0, Function0, Function1, FirSessionProducer, Function4, int, Object)` | `org.jetbrains.kotlin.cli.common.SessionConstructionUtils` |
|
|
337
|
-
| -61.2% | -504 B | <0.1% | 824 B → 320 B | 3 | `prepareJvmSessions(List, Name, CompilerConfiguration, VfsBasedProjectEnvironment, AbstractProjectFileSearchScope, DependencyListForCliModule, Function1, Function1, Function2, Function1)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFrontendPipelinePhase` |
|
|
338
|
-
| -59.2% | -488 B | <0.1% | 824 B → 336 B | 4 → 1 | `convertToIrAndActualize()` | `org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline` |
|
|
339
|
-
| -59.2% | -488 B | <0.1% | 824 B → 336 B | 4 → 1 | `convertToIrAndActualize-MT2kVtw(List, Fir2IrExtensions, Fir2IrConfiguration, Collection, KotlinMangler$IrMangler, Fir2IrVisibilityConverter, KotlinBuiltIns, Function1, IrSpecialAnnotationsProvider, Function1, Fir2IrCommonMemberStorage, Function1)` | `org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt` |
|
|
340
|
-
|
|
341
|
-
# Lock contention profile diff
|
|
342
|
-
|
|
343
|
-
Blocked 510.6ms → 492.7ms (-17.91ms, -3.5%) over 3 samples → 2 samples (170.2ms → 246.4ms per sample).
|
|
344
|
-
|
|
345
|
-
| Category | Change | Delta | % | Time | Samples |
|
|
346
|
-
| -------- | -----: | -------: | -----: | ----------------: | ------: |
|
|
347
|
-
| stdlib | -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 |
|
|
348
|
-
|
|
349
|
-
The entry filter hides every sampled function, so all functions are shown.
|
|
350
|
-
|
|
351
|
-
## Hottest functions
|
|
352
|
-
|
|
353
|
-
### Self time
|
|
354
|
-
|
|
355
|
-
#### Improvements
|
|
356
|
-
|
|
357
|
-
Functions with the largest decrease in time blocked directly in the function body, excluding callees.
|
|
358
|
-
|
|
359
|
-
| Change | Delta | % | Time | Samples | Function | Location |
|
|
360
|
-
| -----: | -------: | -----: | ----------------: | ------: | --------------------- | -------------------------- |
|
|
361
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
|
|
362
|
-
|
|
363
|
-
### Total time
|
|
364
|
-
|
|
365
|
-
#### Improvements
|
|
366
|
-
|
|
367
|
-
Functions with the largest decrease in total time blocked in the function and all its callees.
|
|
368
|
-
|
|
369
|
-
| Change | Delta | % | Time | Samples | Function | Location |
|
|
370
|
-
| -----: | -------: | -----: | ----------------: | ------: | --------------------------- | ----------------------------------------------------------------------- |
|
|
371
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
|
|
372
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `parkNanos(Object, long)` | `java.util.concurrent.locks.LockSupport` |
|
|
373
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `await(long, TimeUnit)` | `java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject` |
|
|
374
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `await(long)` | `java.lang.ref.ReferenceQueue` |
|
|
375
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `remove0(long)` | `java.lang.ref.ReferenceQueue` |
|
|
376
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `remove(long)` | `java.lang.ref.ReferenceQueue` |
|
|
377
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `run()` | `jdk.internal.ref.CleanerImpl` |
|
|
378
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `runWith(Object, Runnable)` | `java.lang.Thread` |
|
|
379
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `run()` | `java.lang.Thread` |
|
|
380
|
-
| -3.5% | -17.91ms | 100.0% | 510.6ms → 492.7ms | 3 → 2 | `run()` | `jdk.internal.misc.InnocuousThread` |
|