profiler-md 0.4.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 +5512 -2297
- package/dist/index.d.mts +974 -62
- package/dist/index.js +2 -2
- package/docs/formats/jfr.md +16 -0
- package/docs/formats/jsc-heap-snapshot.md +3 -3
- 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 +66 -9
- package/docs/languages/csharp.md +4 -3
- package/docs/languages/elixir.md +10 -7
- package/docs/languages/go.md +17 -12
- package/docs/languages/java.md +110 -60
- package/docs/languages/javascript.md +41 -19
- package/docs/languages/julia.md +103 -12
- package/docs/languages/php.md +63 -20
- package/docs/languages/python.md +35 -81
- package/docs/languages/ruby.md +20 -32
- package/docs/languages/rust.md +37 -8
- package/examples/output/c.gperftools.cpu.base.pprof.md +324 -0
- package/examples/output/c.gperftools.cpu.current.pprof.md +271 -0
- package/examples/output/c.gperftools.cpu.diff.pprof.md +98 -0
- package/examples/output/c.gperftools.heap.base.pprof.md +362 -0
- package/examples/output/c.gperftools.heap.current.pprof.md +362 -0
- package/examples/output/c.gperftools.heap.diff.pprof.md +28 -0
- 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.cpu.base.pprof.md +557 -0
- package/examples/output/cpp.gperftools.cpu.current.pprof.md +573 -0
- package/examples/output/cpp.gperftools.cpu.diff.pprof.md +122 -0
- package/examples/output/cpp.gperftools.heap.base.pprof.md +67 -0
- package/examples/output/cpp.gperftools.heap.current.pprof.md +67 -0
- package/examples/output/cpp.gperftools.heap.diff.pprof.md +19 -0
- package/examples/output/csharp.dotnet-trace.base.speedscope.json.md +411 -0
- package/examples/output/csharp.dotnet-trace.current.speedscope.json.md +412 -0
- package/examples/output/csharp.dotnet-trace.diff.speedscope.json.md +122 -0
- package/examples/output/elixir.eflambe.cpu.base.collapsed.md +399 -0
- package/examples/output/elixir.eflambe.cpu.current.collapsed.md +398 -0
- package/examples/output/elixir.eflambe.cpu.diff.collapsed.md +92 -0
- package/examples/output/erlang.eflambe.cpu.base.collapsed.md +147 -0
- package/examples/output/erlang.eflambe.cpu.current.collapsed.md +147 -0
- package/examples/output/erlang.eflambe.cpu.diff.collapsed.md +18 -0
- package/examples/output/fsharp.dotnet-trace.base.speedscope.json.md +324 -0
- package/examples/output/fsharp.dotnet-trace.current.speedscope.json.md +314 -0
- package/examples/output/fsharp.dotnet-trace.diff.speedscope.json.md +119 -0
- package/examples/output/go.pprof.block.base.pprof.md +86 -0
- package/examples/output/go.pprof.block.current.pprof.md +83 -0
- package/examples/output/go.pprof.block.diff.pprof.md +42 -0
- package/examples/output/go.pprof.cpu.base.pprof.md +81 -0
- package/examples/output/go.pprof.cpu.current.pprof.md +70 -0
- package/examples/output/go.pprof.cpu.diff.pprof.md +52 -0
- package/examples/output/go.pprof.goroutine.base.pprof.md +43 -0
- package/examples/output/go.pprof.goroutine.current.pprof.md +43 -0
- package/examples/output/go.pprof.goroutine.diff.pprof.md +13 -0
- package/examples/output/go.pprof.heap-alloc.base.pprof.md +154 -0
- package/examples/output/go.pprof.heap-alloc.current.pprof.md +146 -0
- package/examples/output/go.pprof.heap-alloc.diff.pprof.md +67 -0
- package/examples/output/go.pprof.heap.base.pprof.md +154 -0
- package/examples/output/go.pprof.heap.current.pprof.md +146 -0
- package/examples/output/go.pprof.heap.diff.pprof.md +67 -0
- package/examples/output/go.pprof.mutex.base.pprof.md +55 -0
- package/examples/output/go.pprof.mutex.current.pprof.md +41 -0
- package/examples/output/go.pprof.mutex.diff.pprof.md +31 -0
- package/examples/output/go.pprof.threadcreate.base.pprof.md +55 -0
- package/examples/output/go.pprof.threadcreate.current.pprof.md +55 -0
- package/examples/output/go.pprof.threadcreate.diff.pprof.md +19 -0
- package/examples/output/java.async-profiler.all.base.jfr.md +1071 -0
- package/examples/output/java.async-profiler.all.current.jfr.md +1007 -0
- package/examples/output/java.async-profiler.all.diff.jfr.md +268 -0
- package/examples/output/java.async-profiler.alloc.base.jfr.md +425 -0
- package/examples/output/java.async-profiler.alloc.current.jfr.md +413 -0
- package/examples/output/java.async-profiler.alloc.diff.jfr.md +99 -0
- package/examples/output/java.async-profiler.cpu.base.collapsed.md +367 -0
- package/examples/output/java.async-profiler.cpu.base.jfr.md +485 -0
- package/examples/output/java.async-profiler.cpu.current.collapsed.md +355 -0
- package/examples/output/java.async-profiler.cpu.current.jfr.md +488 -0
- package/examples/output/java.async-profiler.cpu.diff.collapsed.md +117 -0
- package/examples/output/java.async-profiler.cpu.diff.jfr.md +118 -0
- package/examples/output/java.async-profiler.live.base.jfr.md +697 -0
- package/examples/output/java.async-profiler.live.current.jfr.md +684 -0
- package/examples/output/java.async-profiler.live.diff.jfr.md +191 -0
- package/examples/output/java.async-profiler.lock.base.jfr.md +140 -0
- package/examples/output/java.async-profiler.lock.current.jfr.md +108 -0
- package/examples/output/java.async-profiler.lock.diff.jfr.md +44 -0
- package/examples/output/java.async-profiler.nativemem.base.jfr.md +222 -0
- package/examples/output/java.async-profiler.nativemem.current.jfr.md +222 -0
- package/examples/output/java.async-profiler.nativemem.diff.jfr.md +65 -0
- package/examples/output/java.async-profiler.wall.base.jfr.md +400 -0
- package/examples/output/java.async-profiler.wall.current.jfr.md +420 -0
- package/examples/output/java.async-profiler.wall.diff.jfr.md +94 -0
- package/examples/output/java.jdk.all.base.jfr.md +1024 -0
- package/examples/output/java.jdk.all.current.jfr.md +1010 -0
- package/examples/output/java.jdk.all.diff.jfr.md +311 -0
- package/examples/output/java.jdk.alloc.base.jfr.md +1024 -0
- package/examples/output/java.jdk.alloc.current.jfr.md +1046 -0
- package/examples/output/java.jdk.alloc.diff.jfr.md +312 -0
- package/examples/output/java.jdk.cpu.base.jfr.md +1023 -0
- package/examples/output/java.jdk.cpu.current.jfr.md +1039 -0
- package/examples/output/java.jdk.cpu.diff.jfr.md +285 -0
- package/examples/output/java.jdk.live.base.jfr.md +1029 -0
- package/examples/output/java.jdk.live.current.jfr.md +1035 -0
- package/examples/output/java.jdk.live.diff.jfr.md +289 -0
- package/examples/output/java.jdk.lock.base.jfr.md +1040 -0
- package/examples/output/java.jdk.lock.current.jfr.md +1051 -0
- package/examples/output/java.jdk.lock.diff.jfr.md +339 -0
- package/examples/output/javascript.bun.base.cpuprofile.md +73 -0
- package/examples/output/javascript.bun.base.heapsnapshot.md +608 -0
- package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +480 -0
- package/examples/output/javascript.bun.current.cpuprofile.md +73 -0
- package/examples/output/javascript.bun.current.heapsnapshot.md +608 -0
- package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +480 -0
- package/examples/output/javascript.bun.diff.cpuprofile.md +54 -0
- package/examples/output/javascript.bun.diff.heapsnapshot.md +48 -0
- package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +62 -0
- package/examples/output/javascript.chrome.base.cpuprofile.md +163 -0
- package/examples/output/javascript.chrome.base.heapprofile.md +32 -0
- package/examples/output/javascript.chrome.base.heapsnapshot.md +649 -0
- package/examples/output/javascript.chrome.current.cpuprofile.md +149 -0
- package/examples/output/javascript.chrome.current.heapprofile.md +32 -0
- package/examples/output/javascript.chrome.current.heapsnapshot.md +647 -0
- package/examples/output/javascript.chrome.diff.cpuprofile.md +65 -0
- package/examples/output/javascript.chrome.diff.heapprofile.md +50 -0
- package/examples/output/javascript.chrome.diff.heapsnapshot.md +73 -0
- package/examples/output/javascript.deno.base.cpuprofile.md +122 -0
- package/examples/output/javascript.deno.current.cpuprofile.md +114 -0
- package/examples/output/javascript.deno.diff.cpuprofile.md +66 -0
- package/examples/output/javascript.node.base.cpuprofile.md +136 -0
- package/examples/output/javascript.node.base.heapprofile.md +56 -0
- package/examples/output/javascript.node.base.heapsnapshot.md +660 -0
- package/examples/output/javascript.node.current.cpuprofile.md +119 -0
- package/examples/output/javascript.node.current.heapprofile.md +52 -0
- package/examples/output/javascript.node.current.heapsnapshot.md +660 -0
- package/examples/output/javascript.node.diff.cpuprofile.md +70 -0
- package/examples/output/javascript.node.diff.heapprofile.md +34 -0
- package/examples/output/javascript.node.diff.heapsnapshot.md +39 -0
- package/examples/output/javascript.pprof.cpu.base.pprof.md +104 -0
- package/examples/output/javascript.pprof.cpu.current.pprof.md +120 -0
- package/examples/output/javascript.pprof.cpu.diff.pprof.md +63 -0
- package/examples/output/javascript.pprof.heap.base.pprof.md +86 -0
- package/examples/output/javascript.pprof.heap.current.pprof.md +57 -0
- package/examples/output/javascript.pprof.heap.diff.pprof.md +42 -0
- package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +388 -0
- package/examples/output/javascript.safari.current.webkit-timeline-recording.json.md +378 -0
- package/examples/output/javascript.safari.diff.webkit-timeline-recording.json.md +122 -0
- package/examples/output/julia.pprof-jl.alloc.base.pprof.md +124 -0
- package/examples/output/julia.pprof-jl.alloc.current.pprof.md +126 -0
- package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +30 -0
- package/examples/output/julia.pprof-jl.cpu.base.pprof.md +177 -0
- package/examples/output/julia.pprof-jl.cpu.current.pprof.md +179 -0
- package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +64 -0
- 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 +920 -0
- package/examples/output/kotlin.async-profiler.all.current.jfr.md +925 -0
- package/examples/output/kotlin.async-profiler.all.diff.jfr.md +247 -0
- package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +467 -0
- package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +473 -0
- package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +122 -0
- package/examples/output/kotlin.async-profiler.cpu.base.collapsed.md +371 -0
- package/examples/output/kotlin.async-profiler.cpu.base.jfr.md +472 -0
- package/examples/output/kotlin.async-profiler.cpu.current.collapsed.md +370 -0
- package/examples/output/kotlin.async-profiler.cpu.current.jfr.md +445 -0
- package/examples/output/kotlin.async-profiler.cpu.diff.collapsed.md +124 -0
- package/examples/output/kotlin.async-profiler.cpu.diff.jfr.md +125 -0
- package/examples/output/kotlin.async-profiler.live.base.jfr.md +934 -0
- package/examples/output/kotlin.async-profiler.live.current.jfr.md +917 -0
- package/examples/output/kotlin.async-profiler.live.diff.jfr.md +245 -0
- package/examples/output/kotlin.async-profiler.lock.base.jfr.md +1 -0
- package/examples/output/kotlin.async-profiler.lock.current.jfr.md +1 -0
- package/examples/output/kotlin.async-profiler.lock.diff.jfr.md +1 -0
- package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +234 -0
- package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +234 -0
- package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +65 -0
- package/examples/output/kotlin.async-profiler.wall.base.jfr.md +452 -0
- package/examples/output/kotlin.async-profiler.wall.current.jfr.md +457 -0
- package/examples/output/kotlin.async-profiler.wall.diff.jfr.md +125 -0
- package/examples/output/kotlin.jdk.all.base.jfr.md +1442 -0
- package/examples/output/kotlin.jdk.all.current.jfr.md +1343 -0
- package/examples/output/kotlin.jdk.all.diff.jfr.md +392 -0
- package/examples/output/kotlin.jdk.alloc.base.jfr.md +1418 -0
- package/examples/output/kotlin.jdk.alloc.current.jfr.md +1389 -0
- package/examples/output/kotlin.jdk.alloc.diff.jfr.md +383 -0
- package/examples/output/kotlin.jdk.cpu.base.jfr.md +1406 -0
- package/examples/output/kotlin.jdk.cpu.current.jfr.md +1374 -0
- package/examples/output/kotlin.jdk.cpu.diff.jfr.md +380 -0
- package/examples/output/kotlin.jdk.live.base.jfr.md +1378 -0
- package/examples/output/kotlin.jdk.live.current.jfr.md +1311 -0
- package/examples/output/kotlin.jdk.live.diff.jfr.md +381 -0
- package/examples/output/kotlin.jdk.lock.base.jfr.md +1427 -0
- package/examples/output/kotlin.jdk.lock.current.jfr.md +1374 -0
- package/examples/output/kotlin.jdk.lock.diff.jfr.md +386 -0
- package/examples/output/php.excimer.wall.base.speedscope.json.md +25 -0
- package/examples/output/php.excimer.wall.current.speedscope.json.md +25 -0
- package/examples/output/php.excimer.wall.diff.speedscope.json.md +29 -0
- package/examples/output/python.py-spy.cpu.base.collapsed.md +526 -0
- package/examples/output/python.py-spy.cpu.base.speedscope.json.md +37 -0
- package/examples/output/python.py-spy.cpu.current.collapsed.md +514 -0
- package/examples/output/python.py-spy.cpu.current.speedscope.json.md +37 -0
- package/examples/output/python.py-spy.cpu.diff.collapsed.md +122 -0
- package/examples/output/python.py-spy.cpu.diff.speedscope.json.md +31 -0
- package/examples/output/python.py-spy.wall.base.collapsed.md +527 -0
- package/examples/output/python.py-spy.wall.current.collapsed.md +518 -0
- package/examples/output/python.py-spy.wall.diff.collapsed.md +122 -0
- package/examples/output/ruby.rbspy.cpu.base.collapsed.md +90 -0
- package/examples/output/ruby.rbspy.cpu.base.pprof.md +105 -0
- package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +105 -0
- package/examples/output/ruby.rbspy.cpu.current.collapsed.md +90 -0
- package/examples/output/ruby.rbspy.cpu.current.pprof.md +115 -0
- package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +115 -0
- package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +32 -0
- package/examples/output/ruby.rbspy.cpu.diff.pprof.md +44 -0
- package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +44 -0
- package/examples/output/rust.pprof-rs.cpu.base.pprof.md +60 -0
- package/examples/output/rust.pprof-rs.cpu.current.pprof.md +60 -0
- package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +24 -0
- package/package.json +17 -12
- package/readme.md +158 -48
- package/skills/profile-optimize/SKILL.md +160 -0
- package/docs/languages/cpp.md +0 -136
- package/docs/languages/erlang.md +0 -42
- package/docs/languages/fsharp.md +0 -49
- package/docs/languages/kotlin.md +0 -120
- package/docs/languages/typescript.md +0 -254
- package/examples/bun.cpuprofile.md +0 -475
- package/examples/deno.cpuprofile.md +0 -481
- package/examples/jsc-heap-snapshot.base.json.md +0 -507
- package/examples/jsc-heap-snapshot.current.json.md +0 -504
- package/examples/jsc-heap-snapshot.diff.json.md +0 -119
- package/examples/node.base.cpuprofile.md +0 -451
- package/examples/node.current.cpuprofile.md +0 -449
- package/examples/node.diff.cpuprofile.md +0 -82
- package/examples/node.heapprofile.md +0 -281
- package/examples/node.heapsnapshot.md +0 -694
- package/examples/node.pprof.md +0 -441
- package/examples/python.base.collapsed.md +0 -116
- package/examples/python.current.collapsed.md +0 -125
- package/examples/python.diff.collapsed.md +0 -51
- package/examples/rust.base.pprof.md +0 -477
- package/examples/rust.current.pprof.md +0 -480
- package/examples/rust.diff.pprof.md +0 -117
- package/examples/webkit-timeline-recording.json.md +0 -434
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
# Sampling profile diff
|
|
2
|
+
|
|
3
|
+
110 samples → 108 samples (-2 samples, -1.8%).
|
|
4
|
+
|
|
5
|
+
| Category | Change | Delta | % | Samples |
|
|
6
|
+
| -------- | -----: | ----: | ------------: | ------: |
|
|
7
|
+
| ours | 0.0% | 0 | 54.5% → 55.6% | 60 |
|
|
8
|
+
| stdlib | -4.0% | -2 | 45.5% → 44.4% | 50 → 48 |
|
|
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 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
21
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `processFunctionsByName(Name, List, Function1)` | `org.jetbrains.kotlin.fir.scopes.impl.FirAbstractImportingScope` |
|
|
22
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `enhancedFunctionImpl(FirFunctionSymbol, Name, List)` | `org.jetbrains.kotlin.fir.java.enhancement.FirSignatureEnhancement` |
|
|
23
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirResolvedTypeRef)` | `org.jetbrains.kotlin.fir.analysis.checkers.type.FirUpperBoundViolatedTypeChecker` |
|
|
24
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `visitReceiverParameter(FirReceiverParameter, Object)` | `org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor` |
|
|
25
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `check(CheckerContext, DiagnosticReporter, FirQualifiedAccessExpression)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirReifiedChecker` |
|
|
26
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `visitWhileLoop(FirWhileLoop, Object)` | `org.jetbrains.kotlin.fir.backend.Fir2IrVisitor` |
|
|
27
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `analyzeMainLoop()` | `org.jetbrains.kotlin.codegen.optimization.common.FastAnalyzer` |
|
|
28
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `analyze(String, MethodNode)` | `org.jetbrains.kotlin.codegen.optimization.temporaryVals.TemporaryValsAnalyzer` |
|
|
29
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `nextPowerOfTwo(long)` | `it.unimi.dsi.fastutil.HashCommon` |
|
|
30
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `isInitialized()` | `org.jetbrains.kotlin.metadata.ProtoBuf$Class` |
|
|
31
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `addDone(PsiBuilderImpl$StartMarker, PsiBuilderImpl$ProductionMarker)` | `com.intellij.lang.impl.MarkerProduction` |
|
|
32
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `advance()` | `org.jetbrains.kotlin.lexer._JetLexer` |
|
|
33
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `balanceWhiteSpaces()` | `com.intellij.lang.impl.PsiBuilderImpl` |
|
|
34
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `fromString(String, boolean)` | `org.jetbrains.kotlin.name.ClassId$Companion` |
|
|
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 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.jvm.JvmProtoBuf$StringTableTypes` |
|
|
37
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `loadTypeAnnotations(ProtoBuf$Type, NameResolver)` | `org.jetbrains.kotlin.fir.deserialization.FirBuiltinAnnotationDeserializer` |
|
|
38
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `freshTypeConstructor(TypeVariableMarker)` | `org.jetbrains.kotlin.fir.types.ConeInferenceContext` |
|
|
39
|
+
| new | +1 | 0.0% → 0.9% | 0 → 1 | `transformAnnotationCall(FirAnnotationCall, ExpectedArgumentType)` | `org.jetbrains.kotlin.fir.resolve.transformers.FirCallCompletionResultsWriterTransformer` |
|
|
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.8% → 0.0% | 2 → 0 | `buildParameters()` | `org.jetbrains.kotlin.codegen.inline.ParametersBuilder` |
|
|
48
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `read(VirtualFile, KotlinCliJavaFileManager, GlobalSearchScope)` | `org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion` |
|
|
49
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `convertType(LighterASTNode)` | `org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirDeclarationBuilder` |
|
|
50
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `<init>(FirValueParameterSymbol, boolean, boolean, ModifierList, List, FirTypeRef, KtSourceElement, FirModuleData, boolean, boolean, List, Name, FirExpression, FirBasedSymbol, DestructuringDeclaration)` | `org.jetbrains.kotlin.fir.lightTree.fir.ValueParameter` |
|
|
51
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `addCapturedTypeParameters(boolean, KtSourceElement, List)` | `org.jetbrains.kotlin.fir.builder.AbstractRawFirBuilder` |
|
|
52
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `getTokenType()` | `org.jetbrains.kotlin.parsing.SemanticWhitespaceAwarePsiBuilderImpl` |
|
|
53
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `<init>(NameResolver, TypeTable, VersionRequirementTable, FirModuleData, FqName, FqName, FirTypeDeserializer, AnnotationDeserializer, FirConstDeserializer, FirKDocDeserializer, DeserializedContainerSource, FirRegularClassSymbol, List)` | `org.jetbrains.kotlin.fir.deserialization.FirDeserializationContext` |
|
|
54
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `visitNamedFunction(FirNamedFunction, Object)` | `org.jetbrains.kotlin.fir.visitors.FirVisitor` |
|
|
55
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `extractDeprecationAnnotationInfoPerUseSite(List, boolean, FirSession, List)` | `org.jetbrains.kotlin.fir.declarations.DeprecationUtilsKt` |
|
|
56
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `deserializeClassToSymbol(ClassId, ProtoBuf$Class, FirRegularClassSymbol, NameResolver, FirSession, FirModuleData, AnnotationDeserializer, FirKDocDeserializer, FirTypeDeserializer$FlexibleTypeFactory, FirScopeProvider, SerializerExtensionProtocol, FirDeserializationContext, DeserializedContainerSource, FirDeclarationOrigin, Function2, Function2)` | `org.jetbrains.kotlin.fir.deserialization.ClassDeserializationKt` |
|
|
57
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `extractClassMetadata(ClassId, FirDeserializationContext)` | `org.jetbrains.kotlin.fir.java.deserialization.JvmClassFileBasedSymbolProvider` |
|
|
58
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `isSubtypeForSameConstructor(TypeCheckerState, TypeSystemContext, TypeArgumentListMarker, RigidTypeMarker)` | `org.jetbrains.kotlin.types.AbstractTypeChecker` |
|
|
59
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `invokeSuspend(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.ResolutionStageRunner$processCandidate$1` |
|
|
60
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `completeCall(FirExpression, ResolutionMode, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
|
|
61
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `getOrderedAllTypeVariables$collectAllTypeVariables$lambda$2(LinkedHashSet, ConstraintSystemCompletionContext, Candidate)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
|
|
62
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `transformAnnotations(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirPropertyAccessExpressionImpl` |
|
|
63
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `transformThisReceiverExpression(FirThisReceiverExpression, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformer` |
|
|
64
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `hasRecursiveTypeParametersWithGivenSelfType(TypeSystemInferenceExtensionContext, TypeConstructorMarker)` | `org.jetbrains.kotlin.resolve.calls.inference.InferenceUtilsKt` |
|
|
65
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `addEdge(CFGNode, CFGNode, boolean, boolean, EdgeKind, EdgeLabel)` | `org.jetbrains.kotlin.fir.resolve.dfa.cfg.ControlFlowGraphBuilder` |
|
|
66
|
+
| removed | -1 | 0.9% → 0.0% | 1 → 0 | `loadFunction(ProtoBuf$Function, ProtoBuf$Class, FirClassSymbol, FirDeclarationOrigin)` | `org.jetbrains.kotlin.fir.deserialization.FirMemberDeserializer` |
|
|
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
|
+
| +62.5% | +5 | 7.3% → 12.0% | 8 → 13 | `getValue(Object, Object)` | `org.jetbrains.kotlin.fir.caches.FirThreadUnsafeCache` |
|
|
77
|
+
| +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualize()` | `org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline` |
|
|
78
|
+
| +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualize-MT2kVtw(List, Fir2IrExtensions, Fir2IrConfiguration, Collection, KotlinMangler$IrMangler, Fir2IrVisibilityConverter, KotlinBuiltIns, Function1, IrSpecialAnnotationsProvider, Function1, Fir2IrCommonMemberStorage, Function1)` | `org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt` |
|
|
79
|
+
| +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualize-MT2kVtw$default(List, Fir2IrExtensions, Fir2IrConfiguration, Collection, KotlinMangler$IrMangler, Fir2IrVisibilityConverter, KotlinBuiltIns, Function1, IrSpecialAnnotationsProvider, Function1, Fir2IrCommonMemberStorage, Function1, int, Object)` | `org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt` |
|
|
80
|
+
| +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `convertToIrAndActualizeForJvm-_I1IR-w(List, Fir2IrExtensions, CompilerConfiguration, BaseDiagnosticsCollector, Collection)` | `org.jetbrains.kotlin.cli.jvm.compiler.legacy.pipeline.JvmCompilerPipelineKt` |
|
|
81
|
+
| +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `executePhase(JvmFrontendPipelineArtifact, List)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFir2IrPipelinePhase` |
|
|
82
|
+
| +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `executePhase(JvmFrontendPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFir2IrPipelinePhase` |
|
|
83
|
+
| +166.7% | +5 | 2.7% → 7.4% | 3 → 8 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmFir2IrPipelinePhase` |
|
|
84
|
+
| +133.3% | +4 | 2.7% → 6.5% | 3 → 7 | `doTransformFile(FirFile, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
|
|
85
|
+
| +200.0% | +4 | 1.8% → 5.6% | 2 → 6 | `transformFile(FirFile, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
|
|
86
|
+
| +133.3% | +4 | 2.7% → 6.5% | 3 → 7 | `runFir2IrConversion()` | `org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline` |
|
|
87
|
+
| +8.3% | +3 | 32.7% → 36.1% | 36 → 39 | `execImpl(MessageCollector, Services, CommonCompilerArguments)` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
88
|
+
| +20.0% | +3 | 13.6% → 16.7% | 15 → 18 | `transformInplace(List, FirTransformer, Object)` | `org.jetbrains.kotlin.fir.visitors.FirTransformerUtilKt` |
|
|
89
|
+
| +60.0% | +3 | 4.5% → 7.4% | 5 → 8 | `transform(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.declarations.FirFile` |
|
|
90
|
+
| +60.0% | +3 | 4.5% → 7.4% | 5 → 8 | `processFunctionsAndConstructorsByName(FirScope, CallInfo, BodyResolveComponents, ConstructorFilter, Function1)` | `org.jetbrains.kotlin.fir.resolve.calls.ConstructorProcessingKt` |
|
|
91
|
+
| +60.0% | +3 | 4.5% → 7.4% | 5 → 8 | `invokeSuspend(Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirBaseTowerResolveTask$processLevel$6` |
|
|
92
|
+
| +37.5% | +3 | 7.3% → 10.2% | 8 → 11 | `transform(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.declarations.FirNamedFunction` |
|
|
93
|
+
| +42.9% | +3 | 6.4% → 9.3% | 7 → 10 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016d22e8` |
|
|
94
|
+
| +100.0% | +3 | 2.7% → 5.6% | 3 → 6 | `transformFile(FirFile, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
|
|
95
|
+
| +100.0% | +3 | 2.7% → 5.6% | 3 → 6 | `transformFile(FirFile, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
|
|
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
|
+
| removed | -8 | 7.3% → 0.0% | 8 → 0 | `runCompletion(ConstraintSystemCompletionContext, ConstraintSystemCompletionMode, List, ConeKotlinType, ResolutionContext, ConstraintSystemCompleter$PostponedAtomAnalyzer)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
|
|
104
|
+
| removed | -8 | 7.3% → 0.0% | 8 → 0 | `complete(ConstraintSystemCompletionContext, ConstraintSystemCompletionMode, List, ConeKotlinType, ResolutionContext, ConstraintSystemCompleter$PostponedAtomAnalyzer)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
|
|
105
|
+
| removed | -8 | 7.3% → 0.0% | 8 → 0 | `runCompletionForCall(Candidate, ConstraintSystemCompletionMode, FirExpression, ConeKotlinType, PostponedArgumentsAnalyzer)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
|
|
106
|
+
| -41.2% | -7 | 15.5% → 9.3% | 17 → 10 | `generate()` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
|
|
107
|
+
| -41.2% | -7 | 15.5% → 9.3% | 17 → 10 | `generateFile(JvmBackendContext, IrFile, List, boolean)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
|
|
108
|
+
| -41.2% | -7 | 15.5% → 9.3% | 17 → 10 | `invokeCodegen(JvmIrCodegenFactory$CodegenInput)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
|
|
109
|
+
| -9.2% | -6 | 59.1% → 54.6% | 65 → 59 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
110
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeLambda(PostponedArgumentsAnalyzerContext, ConeResolvedLambdaAtom, Candidate, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.PostponedArgumentsAnalyzer` |
|
|
111
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeLambda$default(PostponedArgumentsAnalyzer, PostponedArgumentsAnalyzerContext, ConeResolvedLambdaAtom, Candidate, boolean, boolean, boolean, int, Object)` | `org.jetbrains.kotlin.fir.resolve.inference.PostponedArgumentsAnalyzer` |
|
|
112
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyze(PostponedArgumentsAnalyzerContext, ConePostponedResolvedAtom, Candidate, boolean, CollectionLiteralBounds)` | `org.jetbrains.kotlin.fir.resolve.inference.PostponedArgumentsAnalyzer` |
|
|
113
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `runCompletionForCall$lambda$0(PostponedArgumentsAnalyzer, Candidate, ConePostponedResolvedAtom, boolean, CollectionLiteralBounds)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
|
|
114
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeInternal(ConePostponedResolvedAtom, boolean, CollectionLiteralBounds)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter$$Lambda.0x00000003016a1578` |
|
|
115
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyze(ConstraintSystemCompleter$PostponedAtomAnalyzer, ConePostponedResolvedAtom, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
|
|
116
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyze$default(ConstraintSystemCompleter, ConstraintSystemCompleter$PostponedAtomAnalyzer, ConePostponedResolvedAtom, boolean, int, Object)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
|
|
117
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `runCompletion$lambda$0(ConstraintSystemCompleter, ConstraintSystemCompleter$PostponedAtomAnalyzer, ConePostponedResolvedAtom)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter` |
|
|
118
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `invoke(Object)` | `org.jetbrains.kotlin.fir.resolve.inference.ConstraintSystemCompleter$$Lambda.0x00000003016a29d0` |
|
|
119
|
+
| removed | -6 | 5.5% → 0.0% | 6 → 0 | `analyzeArgumentWithFixedParameterTypes(List, Function1)` | `org.jetbrains.kotlin.resolve.calls.inference.components.ConstraintSystemCompletionContext` |
|
|
120
|
+
| -42.9% | -6 | 12.7% → 7.4% | 14 → 8 | `generateMethod(IrFunction, SourceMapper)` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
|
|
121
|
+
| -37.5% | -6 | 14.5% → 9.3% | 16 → 10 | `runCodegen$org_jetbrains_kotlin_cli_jvm(JvmIrCodegenFactory$CodegenInput, GenerationState, JvmIrCodegenFactory, BaseDiagnosticsCollector, CompilerConfiguration, boolean)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler` |
|
|
122
|
+
| -10.9% | -5 | 41.8% → 38.0% | 46 → 41 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
123
|
+
|
|
124
|
+
# Allocated heap profile diff
|
|
125
|
+
|
|
126
|
+
Allocated 683 MiB (-261.554 KiB, ~0%) over 861 samples → 863 samples (812 KiB → 810 KiB per sample).
|
|
127
|
+
|
|
128
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
129
|
+
| -------- | -----: | ----------: | ------------: | ----------------: | --------: |
|
|
130
|
+
| stdlib | +14.7% | +67.622 MiB | 67.3% → 77.2% | 460 MiB → 527 MiB | 531 → 547 |
|
|
131
|
+
| ours | -30.4% | -67.887 MiB | 32.7% → 22.7% | 223 MiB → 155 MiB | 325 → 308 |
|
|
132
|
+
| native | +48.7% | +9.812 KiB | <0.1% | 20.2 KiB → 30 KiB | 5 → 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
|
+
| +333.6% | +1.664 MiB | 0.1% → 0.3% | 511 KiB → 2.16 MiB | 1 → 4 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
145
|
+
| +64.9% | +1.616 MiB | 0.4% → 0.6% | 2.49 MiB → 4.11 MiB | 5 → 8 | `copyOf(Object[], int)` | `java.util.Arrays` |
|
|
146
|
+
| +150.0% | +1.497 MiB | 0.1% → 0.4% | 1022 KiB → 2.5 MiB | 2 → 5 | `getTypeInternal(String, int, int)` | `org.jetbrains.org.objectweb.asm.Type` |
|
|
147
|
+
| +300.0% | +1.497 MiB | 0.1% → 0.3% | 511 KiB → 2 MiB | 1 → 4 | `to(Object, Object)` | `kotlin.TuplesKt` |
|
|
148
|
+
| +300.0% | +1.497 MiB | 0.1% → 0.3% | 511 KiB → 2 MiB | 1 → 4 | `unmodifiableList(List)` | `java.util.Collections` |
|
|
149
|
+
| new | +1.497 MiB | 0.0% → 0.2% | 0 B → 1.5 MiB | 0 → 3 | `toIrType(ConeKotlinType, ConversionTypeOrigin, List, boolean, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.backend.Fir2IrTypeConverter` |
|
|
150
|
+
| +300.0% | +1.497 MiB | 0.1% → 0.3% | 511 KiB → 2 MiB | 1 → 3 | `extractDeprecationAnnotationInfoPerUseSite(List, boolean, FirSession, List)` | `org.jetbrains.kotlin.fir.declarations.DeprecationUtilsKt` |
|
|
151
|
+
| +144.4% | +1.179 MiB | 0.1% → 0.3% | 836 KiB → 2 MiB | 2 → 4 | `newTypeCheckerState(TypeSystemContext, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.types.ConeInferenceContext` |
|
|
152
|
+
| new | +1.117 MiB | 0.0% → 0.2% | 0 B → 1.12 MiB | 0 → 2 | `readBootstrapMethodsAttribute(int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
153
|
+
| new | +1.113 MiB | 0.0% → 0.2% | 0 B → 1.11 MiB | 0 → 3 | `freeze()` | `org.jetbrains.kotlin.fir.resolve.dfa.MutableFlow` |
|
|
154
|
+
| new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `topLevel(Name)` | `org.jetbrains.kotlin.name.FqName$Companion` |
|
|
155
|
+
| new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `getDependentTypeParameters$lambda$0(NewConstraintSystemImpl, TypeConstructorMarker, Map$Entry)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.CollectTypeVariableUsagesInfo` |
|
|
156
|
+
| +100.0% | +1,021.992 KiB | 0.1% → 0.3% | 1022 KiB → 2 MiB | 2 → 3 | `visitLineNumber(int, Label)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
|
|
157
|
+
| new | +1,021.992 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `<init>()` | `org.jetbrains.kotlin.fir.expressions.builder.FirAnnotationBuilder` |
|
|
158
|
+
| +200.0% | +1,021.984 KiB | 0.1% → 0.2% | 511 KiB → 1.5 MiB | 1 → 3 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
|
|
159
|
+
| +200.0% | +1,021.984 KiB | 0.1% → 0.2% | 511 KiB → 1.5 MiB | 1 → 3 | `<init>()` | `java.util.HashSet` |
|
|
160
|
+
| new | +1,021.984 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 1 | `next()` | `kotlin.collections.IndexingIterator` |
|
|
161
|
+
| new | +1,021.976 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `plus(Collection, Iterable)` | `kotlin.collections.CollectionsKt___CollectionsKt` |
|
|
162
|
+
| new | +1,021.976 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `enqueueResolveTasksForNoReceiver(CallInfo)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
|
|
163
|
+
| new | +1,021.968 KiB | 0.0% → 0.1% | 0 B → 1022 KiB | 0 → 2 | `<init>(ConstraintInjector, TypeSystemInferenceExtensionContext, LanguageVersionSettings, Function2)` | `org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl` |
|
|
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
|
+
| removed | -62.659 MiB | 9.2% → 0.0% | 62.7 MiB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.config.LanguageFeature` |
|
|
172
|
+
| -5.3% | -6.465 MiB | 17.9% → 17.0% | 123 MiB → 116 MiB | 124 → 115 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
|
|
173
|
+
| -50.0% | -3.991 MiB | 1.2% → 0.6% | 7.98 MiB → 3.99 MiB | 16 → 8 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
|
|
174
|
+
| -9.6% | -1.532 MiB | 2.3% → 2.1% | 15.9 MiB → 14.4 MiB | 32 → 29 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
|
|
175
|
+
| -60.0% | -1.497 MiB | 0.4% → 0.1% | 2.5 MiB → 1022 KiB | 5 → 2 | `iterator()` | `org.jetbrains.kotlin.utils.SmartList` |
|
|
176
|
+
| -75.0% | -1.497 MiB | 0.3% → 0.1% | 2 MiB → 511 KiB | 3 → 1 | `lazy(LazyThreadSafetyMode, Function0)` | `kotlin.LazyKt__LazyJVMKt` |
|
|
177
|
+
| -75.0% | -1.497 MiB | 0.3% → 0.1% | 2 MiB → 511 KiB | 4 → 1 | `enqueueResolveTasksForExpressionReceiver(CallInfo, FirExpression)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
|
|
178
|
+
| -75.0% | -1.497 MiB | 0.3% → 0.1% | 2 MiB → 511 KiB | 4 → 1 | `<init>(String)` | `org.jetbrains.kotlin.name.FqName` |
|
|
179
|
+
| removed | -1.497 MiB | 0.2% → 0.0% | 1.5 MiB → 0 B | 3 → 0 | `build()` | `org.jetbrains.kotlin.fir.types.builder.FirResolvedTypeRefBuilder` |
|
|
180
|
+
| -47.2% | -1.337 MiB | 0.4% → 0.2% | 2.83 MiB → 1.5 MiB | 6 → 3 | `iterator()` | `java.util.LinkedHashMap$LinkedEntrySet` |
|
|
181
|
+
| removed | -1.327 MiB | 0.2% → 0.0% | 1.33 MiB → 0 B | 3 → 0 | `visitInsn(int)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
|
|
182
|
+
| -54.0% | -1.169 MiB | 0.3% → 0.1% | 2.17 MiB → 1021 KiB | 5 → 2 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
|
|
183
|
+
| -20.3% | -1.115 MiB | 0.8% → 0.6% | 5.49 MiB → 4.37 MiB | 11 → 9 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
|
|
184
|
+
| -66.7% | -1,022.007 KiB | 0.2% → 0.1% | 1.5 MiB → 511 KiB | 2 → 1 | `topLevel(Name)` | `org.jetbrains.kotlin.name.FqNameUnsafe$Companion` |
|
|
185
|
+
| -50.0% | -1,022.007 KiB | 0.3% → 0.1% | 2 MiB → 1022 KiB | 4 → 2 | `<init>(Object, Object)` | `org.jetbrains.kotlin.util.WeakPair` |
|
|
186
|
+
| removed | -1,021.992 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `check(CheckerContext, DiagnosticReporter, FirQualifiedAccessExpression)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirMissingDependencyClassChecker` |
|
|
187
|
+
| -40.0% | -1,021.984 KiB | 0.4% → 0.2% | 2.5 MiB → 1.5 MiB | 5 → 3 | `toString()` | `java.lang.StringBuilder` |
|
|
188
|
+
| removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `parent()` | `org.jetbrains.kotlin.name.FqName` |
|
|
189
|
+
| removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `getTypeParameterSymbols()` | `org.jetbrains.kotlin.fir.symbols.impl.FirCallableSymbol` |
|
|
190
|
+
| removed | -1,021.984 KiB | 0.1% → 0.0% | 1022 KiB → 0 B | 2 → 0 | `getValueParameterSymbols()` | `org.jetbrains.kotlin.fir.symbols.impl.FirFunctionSymbol` |
|
|
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
|
+
| new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `parseVersion(String)` | `org.jetbrains.kotlin.config.MavenComparableVersion` |
|
|
201
|
+
| new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `<init>(String)` | `org.jetbrains.kotlin.config.MavenComparableVersion` |
|
|
202
|
+
| new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `parse(String)` | `org.jetbrains.kotlin.config.ApiVersion$Companion` |
|
|
203
|
+
| new | +60.389 MiB | 0.0% → 8.8% | 0 B → 60.4 MiB | 0 → 2 | `append(Object)` | `java.lang.StringBuilder` |
|
|
204
|
+
| new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `toString()` | `java.math.BigInteger` |
|
|
205
|
+
| new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `toString()` | `org.jetbrains.kotlin.config.MavenComparableVersion$IntegerItem` |
|
|
206
|
+
| new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `toString()` | `org.jetbrains.kotlin.config.MavenComparableVersion$ListItem` |
|
|
207
|
+
| new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `createByLanguageVersion(LanguageVersion)` | `org.jetbrains.kotlin.config.ApiVersion$Companion` |
|
|
208
|
+
| new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `<clinit>()` | `org.jetbrains.kotlin.config.ApiVersion` |
|
|
209
|
+
| new | +59.89 MiB | 0.0% → 8.8% | 0 B → 59.9 MiB | 0 → 1 | `<init>(String, int, LanguageVersion, String)` | `org.jetbrains.kotlin.config.LanguageFeature` |
|
|
210
|
+
| +23.0% | +9.152 MiB | 5.8% → 7.2% | 39.7 MiB → 48.9 MiB | 80 → 96 | `resumeTask(TowerResolveManager$SuspendedResolverTask)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
|
|
211
|
+
| +21.8% | +9.098 MiB | 6.1% → 7.4% | 41.7 MiB → 50.8 MiB | 84 → 99 | `collectCandidates(FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
|
|
212
|
+
| +5.4% | +9.058 MiB | 24.4% → 25.8% | 167 MiB → 176 MiB | 104 → 114 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
|
|
213
|
+
| +28.1% | +9.05 MiB | 4.7% → 6.0% | 32.2 MiB → 41.2 MiB | 64 → 82 | `transformQualifiedAccessExpression(FirQualifiedAccessExpression, ResolutionMode, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirExpressionsResolveTransformer` |
|
|
214
|
+
| +20.6% | +8.6 MiB | 6.1% → 7.4% | 41.7 MiB → 50.3 MiB | 84 → 98 | `runResolver$default(FirTowerResolver, CallInfo, ResolutionContext, CandidateCollector, CandidateFactory, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
215
|
+
| +18.4% | +7.602 MiB | 6.0% → 7.2% | 41.2 MiB → 48.8 MiB | 83 → 96 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
216
|
+
| +18.2% | +7.602 MiB | 6.1% → 7.2% | 41.7 MiB → 49.3 MiB | 84 → 97 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, TowerResolveManager, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
217
|
+
| +19.1% | +7.602 MiB | 5.8% → 6.9% | 39.7 MiB → 47.3 MiB | 80 → 93 | `runTasks()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
|
|
218
|
+
| +18.1% | +7.554 MiB | 6.1% → 7.2% | 41.7 MiB → 49.3 MiB | 84 → 96 | `collectCandidates$default(FirCallResolver, FirQualifiedAccessExpression, Name, CallKind, boolean, FirFunctionCallOrigin, List, ResolutionContext, CandidateCollector, FirElement, ResolutionMode, CollectionLiteralOuterCandidateContext, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.FirCallResolver` |
|
|
219
|
+
| +44.6% | +7.44 MiB | 2.4% → 3.5% | 16.7 MiB → 24.1 MiB | 34 → 48 | `transformElement(FirElement, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
|
|
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
|
+
| -4.5% | -8.478 MiB | 27.7% → 26.5% | 189 MiB → 181 MiB | 256 → 247 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
228
|
+
| -4.4% | -8.478 MiB | 28.0% → 26.8% | 191 MiB → 183 MiB | 260 → 251 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
229
|
+
| -27.3% | -8.338 MiB | 4.5% → 3.3% | 30.6 MiB → 22.2 MiB | 61 → 45 | `transformNamedFunction(FirNamedFunction, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
|
|
230
|
+
| -4.3% | -7.979 MiB | 27.4% → 26.3% | 187 MiB → 179 MiB | 252 → 244 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
|
|
231
|
+
| -25.2% | -7.839 MiB | 4.5% → 3.4% | 31.1 MiB → 23.2 MiB | 62 → 47 | `transformNamedFunction(FirNamedFunction, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
|
|
232
|
+
| -3.9% | -7.484 MiB | 28.4% → 27.3% | 194 MiB → 186 MiB | 265 → 257 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
233
|
+
| -31.1% | -7.148 MiB | 3.4% → 2.3% | 23 MiB → 15.8 MiB | 45 → 32 | `completeCall(FirExpression, ResolutionMode, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
|
|
234
|
+
| -28.3% | -7.03 MiB | 3.6% → 2.6% | 24.9 MiB → 17.8 MiB | 50 → 36 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
|
|
235
|
+
| -23.4% | -6.934 MiB | 4.3% → 3.3% | 29.7 MiB → 22.7 MiB | 59 → 47 | `transformChildren(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.declarations.impl.FirFileImpl` |
|
|
236
|
+
| -33.9% | -6.912 MiB | 3.0% → 2.0% | 20.4 MiB → 13.5 MiB | 41 → 27 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type` |
|
|
237
|
+
| -33.9% | -6.912 MiB | 3.0% → 2.0% | 20.4 MiB → 13.5 MiB | 41 → 27 | `<init>(CodedInputStream, ExtensionRegistryLite, ProtoBuf$1)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type` |
|
|
238
|
+
| -21.7% | -6.841 MiB | 4.6% → 3.6% | 31.6 MiB → 24.7 MiB | 63 → 50 | `withParameters(FirCallableDeclaration, SessionAndScopeSessionHolder, Function0)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.BodyResolveContext` |
|
|
239
|
+
| -22.4% | -6.841 MiB | 4.5% → 3.5% | 30.6 MiB → 23.7 MiB | 61 → 48 | `forFunctionBody(FirFunction, SessionAndScopeSessionHolder, Function0)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.BodyResolveContext` |
|
|
240
|
+
| -25.3% | -6.841 MiB | 4.0% → 3.0% | 27.1 MiB → 20.2 MiB | 54 → 41 | `transformNamedFunction$lambda$0$0$0(FirDeclarationsResolveTransformer, FirNamedFunction, boolean)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
|
|
241
|
+
| -5.3% | -6.465 MiB | 17.9% → 17.0% | 123 MiB → 116 MiB | 124 → 115 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
|
|
242
|
+
| -3.9% | -6.345 MiB | 24.1% → 23.2% | 165 MiB → 158 MiB | 207 → 201 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
243
|
+
| -25.8% | -6.342 MiB | 3.6% → 2.7% | 24.6 MiB → 18.2 MiB | 49 → 37 | `transformNamedFunction(FirNamedFunction, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
|
|
244
|
+
| -3.1% | -5.986 MiB | 28.7% → 27.9% | 196 MiB → 190 MiB | 270 → 263 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
245
|
+
| -3.0% | -5.986 MiB | 29.0% → 28.1% | 198 MiB → 192 MiB | 273 → 266 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
246
|
+
| -22.8% | -5.843 MiB | 3.7% → 2.9% | 25.6 MiB → 19.7 MiB | 51 → 40 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016d22e8` |
|
|
247
|
+
|
|
248
|
+
# Retained heap profile diff
|
|
249
|
+
|
|
250
|
+
Retained 19.5 MiB → 19.6 MiB (+154.945 KiB, +0.8%) over 207 samples → 203 samples (96.4 KiB → 99.1 KiB per sample).
|
|
251
|
+
|
|
252
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
253
|
+
| -------- | -----: | -----------: | ------------: | ------------------: | --------: |
|
|
254
|
+
| stdlib | +2.1% | +390.945 KiB | 92.9% → 94.1% | 18.1 MiB → 18.5 MiB | 182 → 193 |
|
|
255
|
+
| ours | -16.6% | -236 KiB | 7.1% → 5.9% | 1.39 MiB → 1.16 MiB | 25 → 10 |
|
|
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.343 KiB | 0.0% → <0.1% | 0 B → 4.34 KiB | 0 → 1 | `lambda$static$0(int)` | `com.intellij.psi.tree.IElementType` |
|
|
268
|
+
| new | +424 B | 0.0% → <0.1% | 0 B → 424 B | 0 → 2 | `copyOf(Object[], int)` | `java.util.Arrays` |
|
|
269
|
+
| new | +144 B | 0.0% → <0.1% | 0 B → 144 B | 0 → 1 | `createCandidate(CallInfo, FirBasedSymbol, ExplicitReceiverKind, FirScope, FirExpression, FirExpression, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.calls.candidate.CandidateFactory` |
|
|
270
|
+
| new | +96 B | 0.0% → <0.1% | 0 B → 96 B | 0 → 1 | `build()` | `org.jetbrains.kotlin.fir.declarations.builder.FirNamedFunctionBuilder` |
|
|
271
|
+
| new | +80 B | 0.0% → <0.1% | 0 B → 80 B | 0 → 1 | `<init>(int)` | `java.util.ArrayList` |
|
|
272
|
+
| new | +24 B | 0.0% → <0.1% | 0 B → 24 B | 0 → 1 | `toString()` | `java.lang.StringBuilder` |
|
|
273
|
+
|
|
274
|
+
#### Improvements
|
|
275
|
+
|
|
276
|
+
Functions with the largest decrease in bytes retained directly in the function body, excluding callees.
|
|
277
|
+
|
|
278
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
279
|
+
| ------: | -----------: | -----------: | ------------------: | ------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
|
280
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
281
|
+
| removed | -57.679 KiB | 0.3% → 0.0% | 57.7 KiB → 0 B | 1 → 0 | `forceCapacity(int[], int, int)` | `it.unimi.dsi.fastutil.ints.IntArrays` |
|
|
282
|
+
| removed | -344 B | <0.1% → 0.0% | 344 B → 0 B | 1 → 0 | `<init>()` | `org.jetbrains.kotlin.fir.analysis.CheckersComponent` |
|
|
283
|
+
| -66.7% | -192 B | <0.1% | 288 B → 96 B | 3 → 1 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
|
|
284
|
+
| removed | -120 B | <0.1% → 0.0% | 120 B → 0 B | 1 → 0 | `doGenerate(ReifiedTypeParametersUsages)` | `org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen` |
|
|
285
|
+
| removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 1 → 0 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Function$1` |
|
|
286
|
+
| removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 1 → 0 | `$values()` | `org.jetbrains.kotlin.ir.overrides.IrExternalOverridabilityCondition$Contract` |
|
|
287
|
+
| removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 2 → 0 | `visitMethodInsn(int, String, String, String, boolean)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
|
|
288
|
+
| removed | -104 B | <0.1% → 0.0% | 104 B → 0 B | 1 → 0 | `createSimpleFunction(int, int, IrDeclarationOrigin, Name, DescriptorVisibility, boolean, boolean, IrType, Modality, IrSimpleFunctionSymbol, boolean, boolean, boolean, boolean, boolean, DeserializedContainerSource, boolean)` | `org.jetbrains.kotlin.ir.declarations.IrFactory` |
|
|
289
|
+
| removed | -96 B | <0.1% → 0.0% | 96 B → 0 B | 1 → 0 | `getInstance(String)` | `java.security.MessageDigest` |
|
|
290
|
+
| removed | -80 B | <0.1% → 0.0% | 80 B → 0 B | 1 → 0 | `<init>()` | `org.jetbrains.org.objectweb.asm.ByteVector` |
|
|
291
|
+
| removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `transformArguments(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.expressions.impl.FirResolvedArgumentListImpl` |
|
|
292
|
+
| removed | -56 B | <0.1% → 0.0% | 56 B → 0 B | 1 → 0 | `getLabel()` | `org.jetbrains.org.objectweb.asm.tree.LabelNode` |
|
|
293
|
+
| removed | -40 B | <0.1% → 0.0% | 40 B → 0 B | 1 → 0 | `buildPartial()` | `org.jetbrains.kotlin.metadata.ProtoBuf$Annotation$Builder` |
|
|
294
|
+
| removed | -32 B | <0.1% → 0.0% | 32 B → 0 B | 1 → 0 | `<init>(Object, Object)` | `org.jetbrains.kotlin.util.WeakPair` |
|
|
295
|
+
| removed | -32 B | <0.1% → 0.0% | 32 B → 0 B | 1 → 0 | `build()` | `org.jetbrains.kotlin.fir.types.builder.FirResolvedTypeRefBuilder` |
|
|
296
|
+
|
|
297
|
+
### Total size
|
|
298
|
+
|
|
299
|
+
#### Regressions
|
|
300
|
+
|
|
301
|
+
Functions with the largest increase in total bytes retained in the function and all its callees.
|
|
302
|
+
|
|
303
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
304
|
+
| -----: | -----------: | ------------: | ------------------: | --------: | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
305
|
+
| +2.0% | +360.906 KiB | 90.9% → 92.0% | 17.7 MiB → 18.1 MiB | 182 → 179 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
306
|
+
| +2.0% | +360.765 KiB | 90.9% → 92.0% | 17.7 MiB → 18.1 MiB | 184 → 179 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
307
|
+
| +2.6% | +355.984 KiB | 69.5% → 70.7% | 13.5 MiB → 13.9 MiB | 164 → 168 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
|
|
308
|
+
| +2.5% | +355.984 KiB | 70.8% → 72.0% | 13.8 MiB → 14.1 MiB | 165 → 169 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
309
|
+
| +2.5% | +355.984 KiB | 70.8% → 72.0% | 13.8 MiB → 14.1 MiB | 165 → 169 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
310
|
+
| +23.8% | +32.031 KiB | 0.7% → 0.8% | 134 KiB → 166 KiB | 4 | `readElementValue(AnnotationVisitor, int, String, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
311
|
+
| +23.8% | +32.031 KiB | 0.7% → 0.8% | 134 KiB → 166 KiB | 4 | `readElementValues(AnnotationVisitor, int, boolean, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
312
|
+
| +23.8% | +32.031 KiB | 0.7% → 0.8% | 134 KiB → 166 KiB | 4 | `create(byte[], MetadataVersion, Function4)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass` |
|
|
313
|
+
| +23.7% | +31.882 KiB | 0.7% → 0.8% | 135 KiB → 166 KiB | 5 → 4 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
314
|
+
| +23.7% | +31.882 KiB | 0.7% → 0.8% | 135 KiB → 166 KiB | 5 → 4 | `accept(ClassVisitor, int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
315
|
+
| +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `<init>(char[], int, int)` | `java.lang.String` |
|
|
316
|
+
| +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUtfNonAscii(int, int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
317
|
+
| +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
318
|
+
| +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUtf(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
319
|
+
| +20.5% | +27.507 KiB | 0.7% → 0.8% | 134 KiB → 162 KiB | 4 → 3 | `readUTF8(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
320
|
+
| new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `loadClass(String)` | `java.lang.ClassLoader` |
|
|
321
|
+
| new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `registerProjectComponents(MockProject, CompilerConfiguration)` | `org.jetbrains.kotlin.scripting.compiler.plugin.ScriptingCompilerConfigurationComponentRegistrar` |
|
|
322
|
+
| new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `registerExtensionsFromPlugins$org_jetbrains_kotlin_cli_base(MockProject, CompilerConfiguration)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion` |
|
|
323
|
+
| new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `registerExtensionsFromPlugins(CompilerConfiguration)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$ProjectEnvironment` |
|
|
324
|
+
| new | +7.21 KiB | 0.0% → <0.1% | 0 B → 7.21 KiB | 0 → 1 | `configureProjectEnvironment(KotlinCoreEnvironment$ProjectEnvironment, CompilerConfiguration, EnvironmentConfigFiles)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion` |
|
|
325
|
+
|
|
326
|
+
#### Improvements
|
|
327
|
+
|
|
328
|
+
Functions with the largest decrease in total bytes retained in the function and all its callees.
|
|
329
|
+
|
|
330
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
331
|
+
| ------: | -----------: | -----------: | ------------------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
332
|
+
| -93.8% | -186.226 KiB | 1.0% → 0.1% | 199 KiB → 12.3 KiB | 20 → 8 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
|
|
333
|
+
| -93.8% | -186.226 KiB | 1.0% → 0.1% | 199 KiB → 12.3 KiB | 20 → 8 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
334
|
+
| -93.8% | -186.226 KiB | 1.0% → 0.1% | 199 KiB → 12.3 KiB | 20 → 8 | `executeAndReturnPipeLineArtifact(CommonCompilerArguments, Services, MessageCollector, Disposable)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
335
|
+
| -93.6% | -185.898 KiB | 1.0% → 0.1% | 199 KiB → 12.6 KiB | 20 → 9 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
|
|
336
|
+
| -93.6% | -185.875 KiB | 1.0% → 0.1% | 199 KiB → 12.7 KiB | 20 → 10 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
|
|
337
|
+
| -93.6% | -185.781 KiB | 1.0% → 0.1% | 199 KiB → 12.8 KiB | 20 → 10 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
338
|
+
| -93.6% | -185.781 KiB | 1.0% → 0.1% | 199 KiB → 12.8 KiB | 20 → 10 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
339
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
340
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x00000070013f7650` |
|
|
341
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `withMappedRange(long, long, Function1)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer` |
|
|
342
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `withMappedRangeFrom(long, Function1)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer` |
|
|
343
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray(LargeDynamicMappedBuffer, ZipEntryDescription)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
344
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray(ZipEntryDescription)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarHandler` |
|
|
345
|
+
| -13.3% | -181.531 KiB | 6.8% → 5.9% | 1.33 MiB → 1.15 MiB | 8 → 6 | `contentsToByteArray()` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarVirtualFile` |
|
|
346
|
+
| removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `generate()` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
|
|
347
|
+
| removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `generateFile(JvmBackendContext, IrFile, List, boolean)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
|
|
348
|
+
| removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `invokeCodegen(JvmIrCodegenFactory$CodegenInput)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
|
|
349
|
+
| removed | -139.593 KiB | 0.7% → 0.0% | 140 KiB → 0 B | 7 → 0 | `runCodegen$org_jetbrains_kotlin_cli_jvm(JvmIrCodegenFactory$CodegenInput, GenerationState, JvmIrCodegenFactory, BaseDiagnosticsCollector, CompilerConfiguration, boolean)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler` |
|
|
350
|
+
| -99.7% | -139.265 KiB | 0.7% → <0.1% | 140 KiB → 432 B | 8 → 2 | `executePhase(JvmFir2IrPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
|
|
351
|
+
| -99.7% | -139.265 KiB | 0.7% → <0.1% | 140 KiB → 432 B | 8 → 2 | `executePhase(PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
|
|
352
|
+
|
|
353
|
+
# Lock contention profile diff
|
|
354
|
+
|
|
355
|
+
Blocked 486.7ms → 538.7ms (+52.05ms, +10.7%) over 2 samples → 3 samples (243.3ms → 179.6ms per sample).
|
|
356
|
+
|
|
357
|
+
| Category | Change | Delta | % | Time | Samples |
|
|
358
|
+
| -------- | -----: | -------: | -----: | ----------------: | ------: |
|
|
359
|
+
| stdlib | +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 |
|
|
360
|
+
|
|
361
|
+
The entry filter hides every sampled function, so all functions are shown.
|
|
362
|
+
|
|
363
|
+
## Hottest functions
|
|
364
|
+
|
|
365
|
+
### Self time
|
|
366
|
+
|
|
367
|
+
#### Regressions
|
|
368
|
+
|
|
369
|
+
Functions with the largest increase in time blocked directly in the function body, excluding callees.
|
|
370
|
+
|
|
371
|
+
| Change | Delta | % | Time | Samples | Function | Location |
|
|
372
|
+
| -----: | -------: | -----: | ----------------: | ------: | --------------------- | -------------------------- |
|
|
373
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
|
|
374
|
+
|
|
375
|
+
### Total time
|
|
376
|
+
|
|
377
|
+
#### Regressions
|
|
378
|
+
|
|
379
|
+
Functions with the largest increase in total time blocked in the function and all its callees.
|
|
380
|
+
|
|
381
|
+
| Change | Delta | % | Time | Samples | Function | Location |
|
|
382
|
+
| -----: | -------: | -----: | ----------------: | ------: | --------------------------- | ----------------------------------------------------------------------- |
|
|
383
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `park(boolean, long)` | `jdk.internal.misc.Unsafe` |
|
|
384
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `parkNanos(Object, long)` | `java.util.concurrent.locks.LockSupport` |
|
|
385
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `await(long, TimeUnit)` | `java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject` |
|
|
386
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `await(long)` | `java.lang.ref.ReferenceQueue` |
|
|
387
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `remove0(long)` | `java.lang.ref.ReferenceQueue` |
|
|
388
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `remove(long)` | `java.lang.ref.ReferenceQueue` |
|
|
389
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `run()` | `jdk.internal.ref.CleanerImpl` |
|
|
390
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `runWith(Object, Runnable)` | `java.lang.Thread` |
|
|
391
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `run()` | `java.lang.Thread` |
|
|
392
|
+
| +10.7% | +52.05ms | 100.0% | 486.7ms → 538.7ms | 2 → 3 | `run()` | `jdk.internal.misc.InnocuousThread` |
|