profiler-md 0.4.0 → 0.5.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 +3327 -720
- package/dist/index.d.mts +596 -25
- package/dist/index.js +2 -2
- package/docs/formats/jfr.md +16 -0
- package/docs/formats/jsc-heap-snapshot.md +2 -2
- package/docs/languages/c.md +31 -7
- package/docs/languages/cpp.md +31 -7
- package/docs/languages/csharp.md +3 -0
- package/docs/languages/elixir.md +8 -4
- package/docs/languages/erlang.md +8 -4
- package/docs/languages/fsharp.md +3 -0
- package/docs/languages/go.md +11 -6
- package/docs/languages/java.md +109 -59
- package/docs/languages/javascript.md +34 -12
- package/docs/languages/julia.md +14 -2
- package/docs/languages/kotlin.md +109 -59
- package/docs/languages/php.md +64 -20
- package/docs/languages/python.md +11 -72
- package/docs/languages/ruby.md +17 -27
- package/docs/languages/typescript.md +34 -12
- 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/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/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 +7 -3
- package/readme.md +115 -27
- 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 716 MB (-267.832 kB, ~0%) over 861 samples → 863 samples (832 kB → 830 kB per sample).
|
|
127
|
+
|
|
128
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
129
|
+
| -------- | -----: | ---------: | ------------: | ----------------: | --------: |
|
|
130
|
+
| stdlib | +14.7% | +70.906 MB | 67.3% → 77.2% | 482 MB → 553 MB | 531 → 547 |
|
|
131
|
+
| ours | -30.4% | -71.184 MB | 32.7% → 22.7% | 234 MB → 163 MB | 325 → 308 |
|
|
132
|
+
| native | +48.7% | +10.048 kB | <0.1% | 20.6 kB → 30.7 kB | 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.745 MB | 0.1% → 0.3% | 523 kB → 2.27 MB | 1 → 4 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
145
|
+
| +64.9% | +1.695 MB | 0.4% → 0.6% | 2.61 MB → 4.31 MB | 5 → 8 | `copyOf(Object[], int)` | `java.util.Arrays` |
|
|
146
|
+
| +150.0% | +1.569 MB | 0.1% → 0.4% | 1.05 MB → 2.62 MB | 2 → 5 | `getTypeInternal(String, int, int)` | `org.jetbrains.org.objectweb.asm.Type` |
|
|
147
|
+
| +300.0% | +1.569 MB | 0.1% → 0.3% | 523 kB → 2.09 MB | 1 → 4 | `to(Object, Object)` | `kotlin.TuplesKt` |
|
|
148
|
+
| +300.0% | +1.569 MB | 0.1% → 0.3% | 523 kB → 2.09 MB | 1 → 4 | `unmodifiableList(List)` | `java.util.Collections` |
|
|
149
|
+
| new | +1.569 MB | 0.0% → 0.2% | 0 B → 1.57 MB | 0 → 3 | `toIrType(ConeKotlinType, ConversionTypeOrigin, List, boolean, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.backend.Fir2IrTypeConverter` |
|
|
150
|
+
| +300.0% | +1.569 MB | 0.1% → 0.3% | 523 kB → 2.09 MB | 1 → 3 | `extractDeprecationAnnotationInfoPerUseSite(List, boolean, FirSession, List)` | `org.jetbrains.kotlin.fir.declarations.DeprecationUtilsKt` |
|
|
151
|
+
| +144.4% | +1.236 MB | 0.1% → 0.3% | 856 kB → 2.09 MB | 2 → 4 | `newTypeCheckerState(TypeSystemContext, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.types.ConeInferenceContext` |
|
|
152
|
+
| new | +1.172 MB | 0.0% → 0.2% | 0 B → 1.17 MB | 0 → 2 | `readBootstrapMethodsAttribute(int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
153
|
+
| new | +1.167 MB | 0.0% → 0.2% | 0 B → 1.17 MB | 0 → 3 | `freeze()` | `org.jetbrains.kotlin.fir.resolve.dfa.MutableFlow` |
|
|
154
|
+
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `topLevel(Name)` | `org.jetbrains.kotlin.name.FqName$Companion` |
|
|
155
|
+
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `getDependentTypeParameters$lambda$0(NewConstraintSystemImpl, TypeConstructorMarker, Map$Entry)` | `org.jetbrains.kotlin.fir.resolve.calls.stages.CollectTypeVariableUsagesInfo` |
|
|
156
|
+
| +100.0% | +1.046 MB | 0.1% → 0.3% | 1.05 MB → 2.09 MB | 2 → 3 | `visitLineNumber(int, Label)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
|
|
157
|
+
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `<init>()` | `org.jetbrains.kotlin.fir.expressions.builder.FirAnnotationBuilder` |
|
|
158
|
+
| +200.0% | +1.046 MB | 0.1% → 0.2% | 523 kB → 1.57 MB | 1 → 3 | `newFieldSet()` | `org.jetbrains.kotlin.protobuf.FieldSet` |
|
|
159
|
+
| +200.0% | +1.046 MB | 0.1% → 0.2% | 523 kB → 1.57 MB | 1 → 3 | `<init>()` | `java.util.HashSet` |
|
|
160
|
+
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 1 | `next()` | `kotlin.collections.IndexingIterator` |
|
|
161
|
+
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `plus(Collection, Iterable)` | `kotlin.collections.CollectionsKt___CollectionsKt` |
|
|
162
|
+
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 0 → 2 | `enqueueResolveTasksForNoReceiver(CallInfo)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
|
|
163
|
+
| new | +1.046 MB | 0.0% → 0.1% | 0 B → 1.05 MB | 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 | -65.703 MB | 9.2% → 0.0% | 65.7 MB → 0 B | 1 → 0 | `<clinit>()` | `org.jetbrains.kotlin.config.LanguageFeature` |
|
|
172
|
+
| -5.3% | -6.779 MB | 17.9% → 17.0% | 128 MB → 122 MB | 124 → 115 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
|
|
173
|
+
| -50.0% | -4.185 MB | 1.2% → 0.6% | 8.37 MB → 4.19 MB | 16 → 8 | `<init>(int, int)` | `org.jetbrains.org.objectweb.asm.tree.analysis.Frame` |
|
|
174
|
+
| -9.6% | -1.607 MB | 2.3% → 2.1% | 16.7 MB → 15.1 MB | 32 → 29 | `<init>(int)` | `org.jetbrains.kotlin.protobuf.ByteString$Output` |
|
|
175
|
+
| -60.0% | -1.569 MB | 0.4% → 0.1% | 2.62 MB → 1.05 MB | 5 → 2 | `iterator()` | `org.jetbrains.kotlin.utils.SmartList` |
|
|
176
|
+
| -75.0% | -1.569 MB | 0.3% → 0.1% | 2.09 MB → 523 kB | 3 → 1 | `lazy(LazyThreadSafetyMode, Function0)` | `kotlin.LazyKt__LazyJVMKt` |
|
|
177
|
+
| -75.0% | -1.569 MB | 0.3% → 0.1% | 2.09 MB → 523 kB | 4 → 1 | `enqueueResolveTasksForExpressionReceiver(CallInfo, FirExpression)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirInvokeResolveTowerExtension` |
|
|
178
|
+
| -75.0% | -1.569 MB | 0.3% → 0.1% | 2.09 MB → 523 kB | 4 → 1 | `<init>(String)` | `org.jetbrains.kotlin.name.FqName` |
|
|
179
|
+
| removed | -1.569 MB | 0.2% → 0.0% | 1.57 MB → 0 B | 3 → 0 | `build()` | `org.jetbrains.kotlin.fir.types.builder.FirResolvedTypeRefBuilder` |
|
|
180
|
+
| -47.2% | -1.402 MB | 0.4% → 0.2% | 2.97 MB → 1.57 MB | 6 → 3 | `iterator()` | `java.util.LinkedHashMap$LinkedEntrySet` |
|
|
181
|
+
| removed | -1.392 MB | 0.2% → 0.0% | 1.39 MB → 0 B | 3 → 0 | `visitInsn(int)` | `org.jetbrains.org.objectweb.asm.tree.MethodNode` |
|
|
182
|
+
| -54.0% | -1.226 MB | 0.3% → 0.1% | 2.27 MB → 1.05 MB | 5 → 2 | `getBytes(int, int)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer$Mapping` |
|
|
183
|
+
| -20.3% | -1.169 MB | 0.8% → 0.6% | 5.76 MB → 4.59 MB | 11 → 9 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
|
|
184
|
+
| -66.7% | -1.046 MB | 0.2% → 0.1% | 1.57 MB → 523 kB | 2 → 1 | `topLevel(Name)` | `org.jetbrains.kotlin.name.FqNameUnsafe$Companion` |
|
|
185
|
+
| -50.0% | -1.046 MB | 0.3% → 0.1% | 2.09 MB → 1.05 MB | 4 → 2 | `<init>(Object, Object)` | `org.jetbrains.kotlin.util.WeakPair` |
|
|
186
|
+
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `check(CheckerContext, DiagnosticReporter, FirQualifiedAccessExpression)` | `org.jetbrains.kotlin.fir.analysis.checkers.expression.FirMissingDependencyClassChecker` |
|
|
187
|
+
| -40.0% | -1.046 MB | 0.4% → 0.2% | 2.62 MB → 1.57 MB | 5 → 3 | `toString()` | `java.lang.StringBuilder` |
|
|
188
|
+
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `parent()` | `org.jetbrains.kotlin.name.FqName` |
|
|
189
|
+
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 0 B | 2 → 0 | `getTypeParameterSymbols()` | `org.jetbrains.kotlin.fir.symbols.impl.FirCallableSymbol` |
|
|
190
|
+
| removed | -1.046 MB | 0.1% → 0.0% | 1.05 MB → 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 | +63.323 MB | 0.0% → 8.8% | 0 B → 63.3 MB | 0 → 2 | `parseVersion(String)` | `org.jetbrains.kotlin.config.MavenComparableVersion` |
|
|
201
|
+
| new | +63.323 MB | 0.0% → 8.8% | 0 B → 63.3 MB | 0 → 2 | `<init>(String)` | `org.jetbrains.kotlin.config.MavenComparableVersion` |
|
|
202
|
+
| new | +63.323 MB | 0.0% → 8.8% | 0 B → 63.3 MB | 0 → 2 | `parse(String)` | `org.jetbrains.kotlin.config.ApiVersion$Companion` |
|
|
203
|
+
| new | +63.323 MB | 0.0% → 8.8% | 0 B → 63.3 MB | 0 → 2 | `append(Object)` | `java.lang.StringBuilder` |
|
|
204
|
+
| new | +62.799 MB | 0.0% → 8.8% | 0 B → 62.8 MB | 0 → 1 | `toString()` | `java.math.BigInteger` |
|
|
205
|
+
| new | +62.799 MB | 0.0% → 8.8% | 0 B → 62.8 MB | 0 → 1 | `toString()` | `org.jetbrains.kotlin.config.MavenComparableVersion$IntegerItem` |
|
|
206
|
+
| new | +62.799 MB | 0.0% → 8.8% | 0 B → 62.8 MB | 0 → 1 | `toString()` | `org.jetbrains.kotlin.config.MavenComparableVersion$ListItem` |
|
|
207
|
+
| new | +62.799 MB | 0.0% → 8.8% | 0 B → 62.8 MB | 0 → 1 | `createByLanguageVersion(LanguageVersion)` | `org.jetbrains.kotlin.config.ApiVersion$Companion` |
|
|
208
|
+
| new | +62.799 MB | 0.0% → 8.8% | 0 B → 62.8 MB | 0 → 1 | `<clinit>()` | `org.jetbrains.kotlin.config.ApiVersion` |
|
|
209
|
+
| new | +62.799 MB | 0.0% → 8.8% | 0 B → 62.8 MB | 0 → 1 | `<init>(String, int, LanguageVersion, String)` | `org.jetbrains.kotlin.config.LanguageFeature` |
|
|
210
|
+
| +23.0% | +9.597 MB | 5.8% → 7.2% | 41.7 MB → 51.3 MB | 80 → 96 | `resumeTask(TowerResolveManager$SuspendedResolverTask)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
|
|
211
|
+
| +21.8% | +9.54 MB | 6.1% → 7.4% | 43.8 MB → 53.3 MB | 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.498 MB | 24.4% → 25.8% | 175 MB → 185 MB | 104 → 114 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
|
|
213
|
+
| +28.1% | +9.49 MB | 4.7% → 6.0% | 33.7 MB → 43.2 MB | 64 → 82 | `transformQualifiedAccessExpression(FirQualifiedAccessExpression, ResolutionMode, boolean, boolean, boolean)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirExpressionsResolveTransformer` |
|
|
214
|
+
| +20.6% | +9.018 MB | 6.1% → 7.4% | 43.8 MB → 52.8 MB | 84 → 98 | `runResolver$default(FirTowerResolver, CallInfo, ResolutionContext, CandidateCollector, CandidateFactory, int, Object)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
215
|
+
| +18.4% | +7.971 MB | 6.0% → 7.2% | 43.2 MB → 51.2 MB | 83 → 96 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
216
|
+
| +18.2% | +7.971 MB | 6.1% → 7.2% | 43.8 MB → 51.7 MB | 84 → 97 | `runResolver(CallInfo, ResolutionContext, CandidateCollector, TowerResolveManager, CandidateFactory)` | `org.jetbrains.kotlin.fir.resolve.calls.tower.FirTowerResolver` |
|
|
217
|
+
| +19.1% | +7.971 MB | 5.8% → 6.9% | 41.7 MB → 49.6 MB | 80 → 93 | `runTasks()` | `org.jetbrains.kotlin.fir.resolve.calls.tower.TowerResolveManager` |
|
|
218
|
+
| +18.1% | +7.921 MB | 6.1% → 7.2% | 43.8 MB → 51.7 MB | 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.801 MB | 2.4% → 3.5% | 17.5 MB → 25.3 MB | 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.889 MB | 27.7% → 26.5% | 198 MB → 190 MB | 256 → 247 | `doMain(CLICompiler, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
228
|
+
| -4.4% | -8.889 MB | 28.0% → 26.8% | 201 MB → 192 MB | 260 → 251 | `doMainNoExit$default(CLICompiler$Companion, CLICompiler, String[], MessageRenderer, int, Object)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
229
|
+
| -27.3% | -8.743 MB | 4.5% → 3.3% | 32.1 MB → 23.3 MB | 61 → 45 | `transformNamedFunction(FirNamedFunction, Object)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
|
|
230
|
+
| -4.3% | -8.366 MB | 27.4% → 26.3% | 196 MB → 188 MB | 252 → 244 | `main(String[])` | `org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion` |
|
|
231
|
+
| -25.2% | -8.22 MB | 4.5% → 3.4% | 32.6 MB → 24.4 MB | 62 → 47 | `transformNamedFunction(FirNamedFunction, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher` |
|
|
232
|
+
| -3.9% | -7.847 MB | 28.4% → 27.3% | 203 MB → 195 MB | 265 → 257 | `doMainNoExit(CLICompiler, String[], MessageRenderer)` | `org.jetbrains.kotlin.cli.common.CLICompiler$Companion` |
|
|
233
|
+
| -31.1% | -7.495 MB | 3.4% → 2.3% | 24.1 MB → 16.6 MB | 45 → 32 | `completeCall(FirExpression, ResolutionMode, boolean)` | `org.jetbrains.kotlin.fir.resolve.inference.FirCallCompleter` |
|
|
234
|
+
| -28.3% | -7.372 MB | 3.6% → 2.6% | 26.1 MB → 18.7 MB | 50 → 36 | `parsePartialFrom(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type$1` |
|
|
235
|
+
| -23.4% | -7.27 MB | 4.3% → 3.3% | 31.1 MB → 23.8 MB | 59 → 47 | `transformChildren(FirTransformer, Object)` | `org.jetbrains.kotlin.fir.declarations.impl.FirFileImpl` |
|
|
236
|
+
| -33.9% | -7.248 MB | 3.0% → 2.0% | 21.4 MB → 14.1 MB | 41 → 27 | `<init>(CodedInputStream, ExtensionRegistryLite)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type` |
|
|
237
|
+
| -33.9% | -7.248 MB | 3.0% → 2.0% | 21.4 MB → 14.1 MB | 41 → 27 | `<init>(CodedInputStream, ExtensionRegistryLite, ProtoBuf$1)` | `org.jetbrains.kotlin.metadata.ProtoBuf$Type` |
|
|
238
|
+
| -21.7% | -7.173 MB | 4.6% → 3.6% | 33.1 MB → 25.9 MB | 63 → 50 | `withParameters(FirCallableDeclaration, SessionAndScopeSessionHolder, Function0)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.BodyResolveContext` |
|
|
239
|
+
| -22.4% | -7.173 MB | 4.5% → 3.5% | 32.1 MB → 24.9 MB | 61 → 48 | `forFunctionBody(FirFunction, SessionAndScopeSessionHolder, Function0)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.BodyResolveContext` |
|
|
240
|
+
| -25.3% | -7.173 MB | 4.0% → 3.0% | 28.4 MB → 21.2 MB | 54 → 41 | `transformNamedFunction$lambda$0$0$0(FirDeclarationsResolveTransformer, FirNamedFunction, boolean)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
|
|
241
|
+
| -5.3% | -6.779 MB | 17.9% → 17.0% | 128 MB → 122 MB | 124 → 115 | `<init>(int)` | `java.io.ByteArrayOutputStream` |
|
|
242
|
+
| -3.9% | -6.654 MB | 24.1% → 23.2% | 173 MB → 166 MB | 207 → 201 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
243
|
+
| -25.8% | -6.65 MB | 3.6% → 2.7% | 25.8 MB → 19.1 MB | 49 → 37 | `transformNamedFunction(FirNamedFunction, ResolutionMode)` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer` |
|
|
244
|
+
| -3.1% | -6.277 MB | 28.7% → 27.9% | 206 MB → 200 MB | 270 → 263 | `exec(PrintStream, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
245
|
+
| -3.0% | -6.277 MB | 29.0% → 28.1% | 207 MB → 201 MB | 273 → 266 | `exec(PrintStream, Services, MessageRenderer, String[])` | `org.jetbrains.kotlin.cli.common.CLICompiler` |
|
|
246
|
+
| -22.8% | -6.127 MB | 3.7% → 2.9% | 26.8 MB → 20.7 MB | 51 → 40 | `invoke()` | `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer$$Lambda.0x00000070016d22e8` |
|
|
247
|
+
|
|
248
|
+
# Retained heap profile diff
|
|
249
|
+
|
|
250
|
+
Retained 20.4 MB → 20.6 MB (+158.664 kB, +0.8%) over 207 samples → 203 samples (98.7 kB → 101 kB per sample).
|
|
251
|
+
|
|
252
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
253
|
+
| -------- | -----: | ----------: | ------------: | ----------------: | --------: |
|
|
254
|
+
| stdlib | +2.1% | +400.328 kB | 92.9% → 94.1% | 19 MB → 19.4 MB | 182 → 193 |
|
|
255
|
+
| ours | -16.6% | -241.664 kB | 7.1% → 5.9% | 1.46 MB → 1.22 MB | 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.448 kB | 0.0% → <0.1% | 0 B → 4.45 kB | 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% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
281
|
+
| removed | -59.064 kB | 0.3% → 0.0% | 59.1 kB → 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% | +369.568 kB | 90.9% → 92.0% | 18.6 MB → 19 MB | 182 → 179 | `main(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
306
|
+
| +2.0% | +369.424 kB | 90.9% → 92.0% | 18.6 MB → 19 MB | 184 → 179 | `run(String[])` | `org.jetbrains.kotlin.preloading.Preloader` |
|
|
307
|
+
| +2.6% | +364.528 kB | 69.5% → 70.7% | 14.2 MB → 14.6 MB | 164 → 168 | `toByteArray()` | `java.io.ByteArrayOutputStream` |
|
|
308
|
+
| +2.5% | +364.528 kB | 70.8% → 72.0% | 14.5 MB → 14.8 MB | 165 → 169 | `loadAllClassesFromJars(Collection, int, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
309
|
+
| +2.5% | +364.528 kB | 70.8% → 72.0% | 14.5 MB → 14.8 MB | 165 → 169 | `preloadClasses(Collection, int, ClassLoader, ClassCondition, ClassHandler)` | `org.jetbrains.kotlin.preloading.ClassPreloadingUtils` |
|
|
310
|
+
| +23.8% | +32.8 kB | 0.7% → 0.8% | 138 kB → 170 kB | 4 | `readElementValue(AnnotationVisitor, int, String, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
311
|
+
| +23.8% | +32.8 kB | 0.7% → 0.8% | 138 kB → 170 kB | 4 | `readElementValues(AnnotationVisitor, int, boolean, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
312
|
+
| +23.8% | +32.8 kB | 0.7% → 0.8% | 138 kB → 170 kB | 4 | `create(byte[], MetadataVersion, Function4)` | `org.jetbrains.kotlin.load.kotlin.FileBasedKotlinClass` |
|
|
313
|
+
| +23.7% | +32.648 kB | 0.7% → 0.8% | 138 kB → 170 kB | 5 → 4 | `accept(ClassVisitor, Attribute[], int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
314
|
+
| +23.7% | +32.648 kB | 0.7% → 0.8% | 138 kB → 170 kB | 5 → 4 | `accept(ClassVisitor, int)` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
315
|
+
| +20.5% | +28.168 kB | 0.7% → 0.8% | 138 kB → 166 kB | 4 → 3 | `<init>(char[], int, int)` | `java.lang.String` |
|
|
316
|
+
| +20.5% | +28.168 kB | 0.7% → 0.8% | 138 kB → 166 kB | 4 → 3 | `readUtfNonAscii(int, int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
317
|
+
| +20.5% | +28.168 kB | 0.7% → 0.8% | 138 kB → 166 kB | 4 → 3 | `readUtf(int, int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
318
|
+
| +20.5% | +28.168 kB | 0.7% → 0.8% | 138 kB → 166 kB | 4 → 3 | `readUtf(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
319
|
+
| +20.5% | +28.168 kB | 0.7% → 0.8% | 138 kB → 166 kB | 4 → 3 | `readUTF8(int, char[])` | `org.jetbrains.org.objectweb.asm.ClassReader` |
|
|
320
|
+
| new | +7.384 kB | 0.0% → <0.1% | 0 B → 7.38 kB | 0 → 1 | `loadClass(String)` | `java.lang.ClassLoader` |
|
|
321
|
+
| new | +7.384 kB | 0.0% → <0.1% | 0 B → 7.38 kB | 0 → 1 | `registerProjectComponents(MockProject, CompilerConfiguration)` | `org.jetbrains.kotlin.scripting.compiler.plugin.ScriptingCompilerConfigurationComponentRegistrar` |
|
|
322
|
+
| new | +7.384 kB | 0.0% → <0.1% | 0 B → 7.38 kB | 0 → 1 | `registerExtensionsFromPlugins$org_jetbrains_kotlin_cli_base(MockProject, CompilerConfiguration)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion` |
|
|
323
|
+
| new | +7.384 kB | 0.0% → <0.1% | 0 B → 7.38 kB | 0 → 1 | `registerExtensionsFromPlugins(CompilerConfiguration)` | `org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$ProjectEnvironment` |
|
|
324
|
+
| new | +7.384 kB | 0.0% → <0.1% | 0 B → 7.38 kB | 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% | -190.696 kB | 1.0% → 0.1% | 203 kB → 12.6 kB | 20 → 8 | `invokeToplevel(CompilerPhase, PhaseConfig, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.CompilerPhaseKt` |
|
|
333
|
+
| -93.8% | -190.696 kB | 1.0% → 0.1% | 203 kB → 12.6 kB | 20 → 8 | `runPhasedPipeline(ArgumentsPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
334
|
+
| -93.8% | -190.696 kB | 1.0% → 0.1% | 203 kB → 12.6 kB | 20 → 8 | `executeAndReturnPipeLineArtifact(CommonCompilerArguments, Services, MessageCollector, Disposable)` | `org.jetbrains.kotlin.cli.pipeline.AbstractCliPipeline` |
|
|
335
|
+
| -93.6% | -190.36 kB | 1.0% → 0.1% | 203 kB → 12.9 kB | 20 → 9 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.backend.common.phaser.CompositePhase` |
|
|
336
|
+
| -93.6% | -190.336 kB | 1.0% → 0.1% | 203 kB → 13 kB | 20 → 10 | `invoke(PhaseConfig, PhaserState, LoggingContext, Object)` | `org.jetbrains.kotlin.config.phaser.NamedCompilerPhase` |
|
|
337
|
+
| -93.6% | -190.24 kB | 1.0% → 0.1% | 203 kB → 13.1 kB | 20 → 10 | `phaseBody(PipelineContext, PipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
338
|
+
| -93.6% | -190.24 kB | 1.0% → 0.1% | 203 kB → 13.1 kB | 20 → 10 | `phaseBody(LoggingContext, Object)` | `org.jetbrains.kotlin.cli.pipeline.PipelinePhase` |
|
|
339
|
+
| -13.3% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `contentsToByteArray$lambda$0(ZipEntryDescription, LargeDynamicMappedBuffer$Mapping)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
340
|
+
| -13.3% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `invoke(Object)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt$$Lambda.0x00000070013f7650` |
|
|
341
|
+
| -13.3% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `withMappedRange(long, long, Function1)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer` |
|
|
342
|
+
| -13.3% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `withMappedRangeFrom(long, Function1)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.LargeDynamicMappedBuffer` |
|
|
343
|
+
| -13.3% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `contentsToByteArray(LargeDynamicMappedBuffer, ZipEntryDescription)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.ZipImplementationKt` |
|
|
344
|
+
| -13.3% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `contentsToByteArray(ZipEntryDescription)` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarHandler` |
|
|
345
|
+
| -13.3% | -185.888 kB | 6.8% → 5.9% | 1.4 MB → 1.21 MB | 8 → 6 | `contentsToByteArray()` | `org.jetbrains.kotlin.cli.jvm.compiler.jarfs.FastJarVirtualFile` |
|
|
346
|
+
| removed | -142.944 kB | 0.7% → 0.0% | 143 kB → 0 B | 7 → 0 | `generate()` | `org.jetbrains.kotlin.backend.jvm.codegen.ClassCodegen` |
|
|
347
|
+
| removed | -142.944 kB | 0.7% → 0.0% | 143 kB → 0 B | 7 → 0 | `generateFile(JvmBackendContext, IrFile, List, boolean)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
|
|
348
|
+
| removed | -142.944 kB | 0.7% → 0.0% | 143 kB → 0 B | 7 → 0 | `invokeCodegen(JvmIrCodegenFactory$CodegenInput)` | `org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory` |
|
|
349
|
+
| removed | -142.944 kB | 0.7% → 0.0% | 143 kB → 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% | -142.608 kB | 0.7% → <0.1% | 143 kB → 432 B | 8 → 2 | `executePhase(JvmFir2IrPipelineArtifact)` | `org.jetbrains.kotlin.cli.pipeline.jvm.JvmBackendPipelinePhase` |
|
|
351
|
+
| -99.7% | -142.608 kB | 0.7% → <0.1% | 143 kB → 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` |
|