profiler-md 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.mjs +5789 -5181
- package/dist/index.d.mts +478 -137
- package/dist/index.js +2 -2
- package/docs/formats/jfr.md +1 -1
- package/docs/formats/jsc-heap-snapshot.md +1 -1
- package/docs/formats/pprof.md +8 -6
- package/docs/formats/speedscope.md +5 -4
- package/docs/formats/systing.md +25 -0
- package/docs/formats/v8-heap-snapshot.md +2 -2
- package/docs/languages/c.md +35 -2
- package/docs/languages/csharp.md +2 -4
- package/docs/languages/elixir.md +4 -5
- package/docs/languages/go.md +6 -6
- package/docs/languages/java.md +13 -13
- package/docs/languages/javascript.md +7 -7
- package/docs/languages/julia.md +92 -13
- package/docs/languages/php.md +3 -4
- package/docs/languages/python.md +28 -13
- package/docs/languages/ruby.md +4 -6
- package/docs/languages/rust.md +37 -8
- package/examples/output/c.gperftools.heap.base.pprof.md +151 -151
- package/examples/output/c.gperftools.heap.current.pprof.md +151 -151
- package/examples/output/c.gperftools.heap.diff.pprof.md +3 -3
- package/examples/output/c.systing.cpu.base.systing.md +824 -0
- package/examples/output/c.systing.cpu.current.systing.md +825 -0
- package/examples/output/c.systing.cpu.diff.systing.md +238 -0
- package/examples/output/cpp.gperftools.heap.base.pprof.md +24 -24
- package/examples/output/cpp.gperftools.heap.current.pprof.md +24 -24
- package/examples/output/cpp.gperftools.heap.diff.pprof.md +2 -2
- package/examples/output/go.pprof.block.base.pprof.md +40 -40
- package/examples/output/go.pprof.block.current.pprof.md +37 -37
- package/examples/output/go.pprof.block.diff.pprof.md +14 -14
- package/examples/output/go.pprof.goroutine.base.pprof.md +16 -16
- package/examples/output/go.pprof.goroutine.current.pprof.md +16 -16
- package/examples/output/go.pprof.heap-alloc.base.pprof.md +79 -79
- package/examples/output/go.pprof.heap-alloc.current.pprof.md +72 -72
- package/examples/output/go.pprof.heap-alloc.diff.pprof.md +25 -25
- package/examples/output/go.pprof.heap.base.pprof.md +79 -79
- package/examples/output/go.pprof.heap.current.pprof.md +72 -72
- package/examples/output/go.pprof.heap.diff.pprof.md +25 -25
- package/examples/output/go.pprof.mutex.base.pprof.md +26 -26
- package/examples/output/go.pprof.mutex.current.pprof.md +15 -15
- package/examples/output/go.pprof.mutex.diff.pprof.md +10 -10
- package/examples/output/java.async-profiler.all.base.jfr.md +192 -192
- package/examples/output/java.async-profiler.all.current.jfr.md +181 -181
- package/examples/output/java.async-profiler.all.diff.jfr.md +72 -72
- package/examples/output/java.async-profiler.alloc.base.jfr.md +189 -189
- package/examples/output/java.async-profiler.alloc.current.jfr.md +183 -183
- package/examples/output/java.async-profiler.alloc.diff.jfr.md +70 -70
- package/examples/output/java.async-profiler.live.base.jfr.md +303 -303
- package/examples/output/java.async-profiler.live.current.jfr.md +313 -313
- package/examples/output/java.async-profiler.live.diff.jfr.md +132 -132
- package/examples/output/java.async-profiler.nativemem.base.jfr.md +141 -141
- package/examples/output/java.async-profiler.nativemem.current.jfr.md +141 -141
- package/examples/output/java.async-profiler.nativemem.diff.jfr.md +48 -48
- package/examples/output/java.jdk.all.base.jfr.md +281 -281
- package/examples/output/java.jdk.all.current.jfr.md +267 -267
- package/examples/output/java.jdk.all.diff.jfr.md +103 -103
- package/examples/output/java.jdk.alloc.base.jfr.md +254 -254
- package/examples/output/java.jdk.alloc.current.jfr.md +293 -293
- package/examples/output/java.jdk.alloc.diff.jfr.md +102 -102
- package/examples/output/java.jdk.cpu.base.jfr.md +256 -256
- package/examples/output/java.jdk.cpu.current.jfr.md +276 -276
- package/examples/output/java.jdk.cpu.diff.jfr.md +93 -93
- package/examples/output/java.jdk.live.base.jfr.md +256 -256
- package/examples/output/java.jdk.live.current.jfr.md +250 -250
- package/examples/output/java.jdk.live.diff.jfr.md +78 -78
- package/examples/output/java.jdk.lock.base.jfr.md +285 -285
- package/examples/output/java.jdk.lock.current.jfr.md +285 -285
- package/examples/output/java.jdk.lock.diff.jfr.md +121 -121
- package/examples/output/javascript.bun.base.cpuprofile.md +36 -36
- package/examples/output/javascript.bun.base.heapsnapshot.md +215 -215
- package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +218 -218
- package/examples/output/javascript.bun.current.cpuprofile.md +34 -34
- package/examples/output/javascript.bun.current.heapsnapshot.md +215 -215
- package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +220 -220
- package/examples/output/javascript.bun.diff.cpuprofile.md +19 -19
- package/examples/output/javascript.bun.diff.heapsnapshot.md +23 -23
- package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +35 -35
- package/examples/output/javascript.chrome.base.heapprofile.md +17 -17
- package/examples/output/javascript.chrome.base.heapsnapshot.md +202 -202
- package/examples/output/javascript.chrome.current.heapprofile.md +17 -17
- package/examples/output/javascript.chrome.current.heapsnapshot.md +200 -200
- package/examples/output/javascript.chrome.diff.heapprofile.md +21 -21
- package/examples/output/javascript.chrome.diff.heapsnapshot.md +27 -27
- package/examples/output/javascript.deno.base.cpuprofile.md +63 -63
- package/examples/output/javascript.deno.current.cpuprofile.md +56 -56
- package/examples/output/javascript.deno.diff.cpuprofile.md +28 -28
- package/examples/output/javascript.node.base.cpuprofile.md +73 -73
- package/examples/output/javascript.node.base.heapprofile.md +32 -32
- package/examples/output/javascript.node.base.heapsnapshot.md +269 -269
- package/examples/output/javascript.node.current.cpuprofile.md +61 -61
- package/examples/output/javascript.node.current.heapprofile.md +28 -28
- package/examples/output/javascript.node.current.heapsnapshot.md +269 -269
- package/examples/output/javascript.node.diff.cpuprofile.md +32 -32
- package/examples/output/javascript.node.diff.heapprofile.md +17 -17
- package/examples/output/javascript.node.diff.heapsnapshot.md +19 -19
- package/examples/output/javascript.pprof.cpu.base.pprof.md +50 -50
- package/examples/output/javascript.pprof.cpu.current.pprof.md +66 -66
- package/examples/output/javascript.pprof.cpu.diff.pprof.md +28 -28
- package/examples/output/javascript.pprof.heap.base.pprof.md +46 -46
- package/examples/output/javascript.pprof.heap.current.pprof.md +34 -34
- package/examples/output/javascript.pprof.heap.diff.pprof.md +18 -18
- package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +1 -1
- package/examples/output/julia.pprof-jl.alloc.base.pprof.md +83 -83
- package/examples/output/julia.pprof-jl.alloc.current.pprof.md +85 -85
- package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +18 -18
- package/examples/output/julia.pprof-jl.cpu.base.pprof.md +107 -107
- package/examples/output/julia.pprof-jl.cpu.current.pprof.md +109 -109
- package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +29 -29
- package/examples/output/julia.pprof-jl.wall.base.pprof.md +181 -0
- package/examples/output/julia.pprof-jl.wall.current.pprof.md +193 -0
- package/examples/output/julia.pprof-jl.wall.diff.pprof.md +64 -0
- package/examples/output/julia.profile.base.heapsnapshot.md +590 -0
- package/examples/output/julia.profile.current.heapsnapshot.md +590 -0
- package/examples/output/julia.profile.diff.heapsnapshot.md +288 -0
- package/examples/output/kotlin.async-profiler.all.base.jfr.md +193 -193
- package/examples/output/kotlin.async-profiler.all.current.jfr.md +218 -218
- package/examples/output/kotlin.async-profiler.all.diff.jfr.md +93 -93
- package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +212 -212
- package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +183 -183
- package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +93 -93
- package/examples/output/kotlin.async-profiler.live.base.jfr.md +343 -343
- package/examples/output/kotlin.async-profiler.live.current.jfr.md +336 -336
- package/examples/output/kotlin.async-profiler.live.diff.jfr.md +186 -186
- package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +150 -150
- package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +150 -150
- package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +48 -48
- package/examples/output/kotlin.jdk.all.base.jfr.md +402 -402
- package/examples/output/kotlin.jdk.all.current.jfr.md +413 -413
- package/examples/output/kotlin.jdk.all.diff.jfr.md +169 -169
- package/examples/output/kotlin.jdk.alloc.base.jfr.md +418 -418
- package/examples/output/kotlin.jdk.alloc.current.jfr.md +405 -405
- package/examples/output/kotlin.jdk.alloc.diff.jfr.md +160 -160
- package/examples/output/kotlin.jdk.cpu.base.jfr.md +418 -418
- package/examples/output/kotlin.jdk.cpu.current.jfr.md +413 -413
- package/examples/output/kotlin.jdk.cpu.diff.jfr.md +148 -148
- package/examples/output/kotlin.jdk.live.base.jfr.md +420 -420
- package/examples/output/kotlin.jdk.live.current.jfr.md +411 -411
- package/examples/output/kotlin.jdk.live.diff.jfr.md +148 -148
- package/examples/output/kotlin.jdk.lock.base.jfr.md +417 -417
- package/examples/output/kotlin.jdk.lock.current.jfr.md +398 -398
- package/examples/output/kotlin.jdk.lock.diff.jfr.md +156 -156
- package/examples/output/php.excimer.wall.base.speedscope.json.md +6 -6
- package/examples/output/php.excimer.wall.current.speedscope.json.md +6 -6
- package/examples/output/php.excimer.wall.diff.speedscope.json.md +6 -6
- package/examples/output/ruby.rbspy.cpu.base.collapsed.md +14 -14
- package/examples/output/ruby.rbspy.cpu.base.pprof.md +14 -14
- package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +14 -14
- package/examples/output/ruby.rbspy.cpu.current.collapsed.md +12 -12
- package/examples/output/ruby.rbspy.cpu.current.pprof.md +21 -21
- package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +21 -21
- package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +5 -5
- package/examples/output/ruby.rbspy.cpu.diff.pprof.md +12 -12
- package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +12 -12
- package/examples/output/rust.pprof-rs.cpu.base.pprof.md +32 -32
- package/examples/output/rust.pprof-rs.cpu.current.pprof.md +32 -32
- package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +7 -7
- package/package.json +11 -10
- package/readme.md +53 -31
- package/skills/profile-optimize/SKILL.md +160 -0
- package/docs/languages/cpp.md +0 -160
- package/docs/languages/erlang.md +0 -46
- package/docs/languages/fsharp.md +0 -52
- package/docs/languages/kotlin.md +0 -170
- package/docs/languages/typescript.md +0 -276
|
@@ -99,13 +99,13 @@ Functions with the largest decrease in total samples taken in the function and a
|
|
|
99
99
|
|
|
100
100
|
# Allocated heap profile diff
|
|
101
101
|
|
|
102
|
-
Allocated
|
|
102
|
+
Allocated 37.7 GiB → 37.8 GiB (+130.109 MiB, +0.3%) over 1,972 samples → 2,040 samples (19.6 MiB → 19 MiB per sample).
|
|
103
103
|
|
|
104
|
-
| Category | Change |
|
|
105
|
-
| -------- | -----: |
|
|
106
|
-
| stdlib | +0.7% | +
|
|
107
|
-
| ours | -5.9% | -
|
|
108
|
-
| native | -16.6% |
|
|
104
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
105
|
+
| -------- | -----: | -----------: | ------------: | ------------------: | ------------: |
|
|
106
|
+
| stdlib | +0.7% | +261.764 MiB | 94.2% → 94.5% | 35.5 GiB → 35.8 GiB | 1,864 → 1,920 |
|
|
107
|
+
| ours | -5.9% | -131.654 MiB | 5.8% → 5.5% | 2.19 GiB → 2.06 GiB | 106 → 118 |
|
|
108
|
+
| native | -16.6% | -440 B | <0.1% | 2.59 KiB → 2.16 KiB | 2 |
|
|
109
109
|
|
|
110
110
|
## Hottest functions
|
|
111
111
|
|
|
@@ -115,33 +115,33 @@ Allocated 40.5 GB → 40.6 GB (+136.429 MB, +0.3%) over 1,972 samples → 2,0
|
|
|
115
115
|
|
|
116
116
|
Functions with the largest increase in bytes allocated directly in the function body, excluding callees.
|
|
117
117
|
|
|
118
|
-
| Change |
|
|
119
|
-
| -------: |
|
|
120
|
-
| +5295.3% | +
|
|
121
|
-
| +1297.5% | +
|
|
122
|
-
| +656.5% | +
|
|
123
|
-
| +159.9% | +
|
|
124
|
-
| new | +
|
|
125
|
-
| +17.5% | +
|
|
126
|
-
| +560.3% | +6.
|
|
127
|
-
| new | +1.
|
|
128
|
-
| new | +
|
|
129
|
-
| new | +
|
|
130
|
-
| +2.7% |
|
|
118
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
119
|
+
| -------: | -----------: | -----------: | ------------------: | ------: | --------------------------------------- | ---------------------------------------------------------- |
|
|
120
|
+
| +5295.3% | +175.264 MiB | <0.1% → 0.5% | 3.31 MiB → 179 MiB | 2 → 6 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
121
|
+
| +1297.5% | +119.946 MiB | <0.1% → 0.3% | 9.24 MiB → 129 MiB | 3 → 10 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
122
|
+
| +656.5% | +81.038 MiB | <0.1% → 0.2% | 12.3 MiB → 93.4 MiB | 2 → 5 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
123
|
+
| +159.9% | +63.903 MiB | 0.1% → 0.3% | 40 MiB → 104 MiB | 2 → 8 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
124
|
+
| new | +33.881 MiB | 0.0% → 0.1% | 0 B → 33.9 MiB | 0 → 2 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
125
|
+
| +17.5% | +24.294 MiB | 0.4% | 139 MiB → 163 MiB | 12 → 3 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
126
|
+
| +560.3% | +6.295 MiB | <0.1% | 1.12 MiB → 7.42 MiB | 4 → 21 | `valueOf(double)` | `java.lang.Double` |
|
|
127
|
+
| new | +1.029 MiB | 0.0% → <0.1% | 0 B → 1.03 MiB | 0 → 1 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
128
|
+
| new | +777.281 KiB | 0.0% → <0.1% | 0 B → 777 KiB | 0 → 1 | `selectBenchmarks(BenchmarkSuite, Seq)` | `org.renaissance.harness.RenaissanceSuite$` |
|
|
129
|
+
| new | +318.812 KiB | 0.0% → <0.1% | 0 B → 319 KiB | 0 → 1 | `range(int, int)` | `java.util.stream.IntStream` |
|
|
130
|
+
| +2.7% | +40.32 KiB | <0.1% | 1.48 MiB → 1.52 MiB | 4 → 5 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
131
131
|
|
|
132
132
|
#### Improvements
|
|
133
133
|
|
|
134
134
|
Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
|
|
135
135
|
|
|
136
|
-
| Change |
|
|
137
|
-
| ------: |
|
|
138
|
-
| -95.9% | -
|
|
139
|
-
| -14.7% | -
|
|
140
|
-
| -96.1% | -
|
|
141
|
-
| removed | -
|
|
142
|
-
| removed | -
|
|
143
|
-
| removed | -
|
|
144
|
-
| removed | -
|
|
136
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
137
|
+
| ------: | -----------: | -----------: | ------------------: | ------: | -------------------------- | ---------------------------------------------------------- |
|
|
138
|
+
| -95.9% | -292.021 MiB | 0.8% → <0.1% | 305 MiB → 12.5 MiB | 5 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
139
|
+
| -14.7% | -239.033 MiB | 4.2% → 3.6% | 1.59 GiB → 1.36 GiB | 68 → 70 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
140
|
+
| -96.1% | -74.747 MiB | 0.2% → <0.1% | 77.8 MiB → 3 MiB | 4 → 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
141
|
+
| removed | -16.934 MiB | <0.1% → 0.0% | 16.9 MiB → 0 B | 1 → 0 | `lambda$boxed$0(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
142
|
+
| removed | -7.767 MiB | <0.1% → 0.0% | 7.77 MiB → 0 B | 1 → 0 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
143
|
+
| removed | -951.109 KiB | <0.1% → 0.0% | 951 KiB → 0 B | 1 → 0 | `collectGarbage(String)` | `org.renaissance.harness.ExecutionPlugins$ForceGcPlugin` |
|
|
144
|
+
| removed | -386.453 KiB | <0.1% → 0.0% | 386 KiB → 0 B | 1 → 0 | `opt(String, Read)` | `scopt.OptionParser` |
|
|
145
145
|
|
|
146
146
|
### Total size
|
|
147
147
|
|
|
@@ -149,64 +149,64 @@ Functions with the largest decrease in bytes allocated directly in the function
|
|
|
149
149
|
|
|
150
150
|
Functions with the largest increase in total bytes allocated in the function and all its callees.
|
|
151
151
|
|
|
152
|
-
| Change |
|
|
153
|
-
| -------: |
|
|
154
|
-
| +5.5% |
|
|
155
|
-
| +25.8% |
|
|
156
|
-
| +15.9% |
|
|
157
|
-
| +7.8% |
|
|
158
|
-
| +0.3% |
|
|
159
|
-
| +1297.5% |
|
|
160
|
-
| +656.5% |
|
|
161
|
-
| +656.5% |
|
|
162
|
-
| +656.5% |
|
|
163
|
-
| +623.2% |
|
|
164
|
-
| +159.9% |
|
|
165
|
-
| +159.9% |
|
|
166
|
-
| +146.4% |
|
|
167
|
-
| +146.4% |
|
|
168
|
-
| +17.5% |
|
|
169
|
-
| +560.3% |
|
|
170
|
-
| +560.3% |
|
|
171
|
-
| +560.3% |
|
|
172
|
-
| new |
|
|
173
|
-
| new |
|
|
152
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
153
|
+
| -------: | -------------: | ------------: | ------------------: | ------------: | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
154
|
+
| +5.5% | +1.406 GiB | 67.8% → 71.3% | 25.6 GiB → 27 GiB | 1,234 → 1,329 | `join()` | `java.util.concurrent.ForkJoinTask` |
|
|
155
|
+
| +25.8% | +1,013.912 MiB | 10.2% → 12.8% | 3.84 GiB → 4.83 GiB | 206 → 238 | `add(Object)` | `java.util.ArrayList` |
|
|
156
|
+
| +15.9% | +715.017 MiB | 11.7% → 13.5% | 4.4 GiB → 5.09 GiB | 222 → 258 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
157
|
+
| +7.8% | +475.984 MiB | 15.9% → 17.1% | 5.99 GiB → 6.45 GiB | 290 → 328 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
158
|
+
| +0.3% | +131.015 MiB | 99.4% | 37.5 GiB → 37.6 GiB | 1,844 → 1,914 | `compute()` | `org.renaissance.jdk.concurrent.JavaKMeans$RangedTask` |
|
|
159
|
+
| +1297.5% | +119.946 MiB | <0.1% → 0.3% | 9.24 MiB → 129 MiB | 3 → 10 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
160
|
+
| +656.5% | +81.038 MiB | <0.1% → 0.2% | 12.3 MiB → 93.4 MiB | 2 → 5 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
161
|
+
| +656.5% | +81.038 MiB | <0.1% → 0.2% | 12.3 MiB → 93.4 MiB | 2 → 5 | `combineResults(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
162
|
+
| +656.5% | +81.038 MiB | <0.1% → 0.2% | 12.3 MiB → 93.4 MiB | 2 → 5 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
163
|
+
| +623.2% | +79.576 MiB | <0.1% → 0.2% | 12.8 MiB → 92.3 MiB | 3 → 5 | `average(List)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
164
|
+
| +159.9% | +63.903 MiB | 0.1% → 0.3% | 40 MiB → 104 MiB | 2 → 8 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
165
|
+
| +159.9% | +63.903 MiB | 0.1% → 0.3% | 40 MiB → 104 MiB | 2 → 8 | `apply(Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask$$Lambda.0x0000007001204b38` |
|
|
166
|
+
| +146.4% | +54.874 MiB | 0.1% → 0.2% | 37.5 MiB → 92.3 MiB | 5 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
167
|
+
| +146.4% | +54.874 MiB | 0.1% → 0.2% | 37.5 MiB → 92.3 MiB | 5 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
168
|
+
| +17.5% | +24.294 MiB | 0.4% | 139 MiB → 163 MiB | 12 → 3 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
169
|
+
| +560.3% | +6.295 MiB | <0.1% | 1.12 MiB → 7.42 MiB | 4 → 21 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011a1b10` |
|
|
170
|
+
| +560.3% | +6.295 MiB | <0.1% | 1.12 MiB → 7.42 MiB | 4 → 21 | `valueOf(double)` | `java.lang.Double` |
|
|
171
|
+
| +560.3% | +6.295 MiB | <0.1% | 1.12 MiB → 7.42 MiB | 4 → 21 | `lambda$generateData$3(int, int, Random[], int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
172
|
+
| new | +5.54 MiB | 0.0% → <0.1% | 0 B → 5.54 MiB | 0 → 2 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
173
|
+
| new | +5.54 MiB | 0.0% → <0.1% | 0 B → 5.54 MiB | 0 → 2 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
174
174
|
|
|
175
175
|
#### Improvements
|
|
176
176
|
|
|
177
177
|
Functions with the largest decrease in total bytes allocated in the function and all its callees.
|
|
178
178
|
|
|
179
|
-
| Change |
|
|
180
|
-
| ------: |
|
|
181
|
-
| -11.1% |
|
|
182
|
-
| -11.1% |
|
|
183
|
-
| -1.5% | -
|
|
184
|
-
| -1.5% | -
|
|
185
|
-
| -1.5% | -
|
|
186
|
-
| -1.4% | -
|
|
187
|
-
| -1.4% | -
|
|
188
|
-
| -1.4% | -
|
|
189
|
-
| -1.4% | -
|
|
190
|
-
| -1.4% | -
|
|
191
|
-
| -1.4% | -
|
|
192
|
-
| -4.9% |
|
|
193
|
-
| -4.2% | -
|
|
194
|
-
| -14.7% | -
|
|
195
|
-
| -0.8% | -
|
|
196
|
-
| -96.1% | -
|
|
197
|
-
| -96.1% | -
|
|
198
|
-
| -46.4% | -
|
|
199
|
-
| removed | -
|
|
200
|
-
| removed | -
|
|
179
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
180
|
+
| ------: | -----------: | ------------: | ------------------: | ------------: | ----------------------------------- | --------------------------------------------------------------------------------- |
|
|
181
|
+
| -11.1% | -869.226 MiB | 20.3% → 18.0% | 7.65 GiB → 6.8 GiB | 208 → 197 | `lambda$run$0(int, List, int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
182
|
+
| -11.1% | -869.226 MiB | 20.3% → 18.0% | 7.65 GiB → 6.8 GiB | 208 → 197 | `call()` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011ffbc0` |
|
|
183
|
+
| -1.5% | -477.369 MiB | 82.8% → 81.3% | 31.2 GiB → 30.8 GiB | 1,531 → 1,563 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
184
|
+
| -1.5% | -477.369 MiB | 82.8% → 81.3% | 31.2 GiB → 30.8 GiB | 1,531 → 1,563 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
185
|
+
| -1.5% | -471.828 MiB | 82.8% → 81.3% | 31.2 GiB → 30.8 GiB | 1,531 → 1,565 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
186
|
+
| -1.4% | -455.354 MiB | 82.5% → 81.1% | 31.1 GiB → 30.7 GiB | 1,525 → 1,557 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
187
|
+
| -1.4% | -455.354 MiB | 82.5% → 81.1% | 31.1 GiB → 30.7 GiB | 1,525 → 1,557 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204fd0` |
|
|
188
|
+
| -1.4% | -452.761 MiB | 82.5% → 81.1% | 31.1 GiB → 30.7 GiB | 1,525 → 1,558 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
|
|
189
|
+
| -1.4% | -452.761 MiB | 82.5% → 81.1% | 31.1 GiB → 30.7 GiB | 1,525 → 1,558 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
190
|
+
| -1.4% | -452.761 MiB | 82.5% → 81.1% | 31.1 GiB → 30.7 GiB | 1,525 → 1,558 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204d88` |
|
|
191
|
+
| -1.4% | -452.761 MiB | 82.5% → 81.1% | 31.1 GiB → 30.7 GiB | 1,525 → 1,558 | `forEach(BiConsumer)` | `java.util.HashMap` |
|
|
192
|
+
| -4.9% | -437.279 MiB | 23.2% → 22.0% | 8.74 GiB → 8.31 GiB | 390 → 418 | `<init>(Collection)` | `java.util.ArrayList` |
|
|
193
|
+
| -4.2% | -331.408 MiB | 20.5% → 19.6% | 7.73 GiB → 7.41 GiB | 216 → 209 | `invoke()` | `java.util.concurrent.ForkJoinTask` |
|
|
194
|
+
| -14.7% | -239.033 MiB | 4.2% → 3.6% | 1.59 GiB → 1.36 GiB | 68 → 70 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
195
|
+
| -0.8% | -193.339 MiB | 59.4% → 58.7% | 22.4 GiB → 22.2 GiB | 1,133 | `addAll(Collection)` | `java.util.ArrayList` |
|
|
196
|
+
| -96.1% | -74.747 MiB | 0.2% → <0.1% | 77.8 MiB → 3 MiB | 4 → 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
197
|
+
| -96.1% | -74.747 MiB | 0.2% → <0.1% | 77.8 MiB → 3 MiB | 4 → 2 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
198
|
+
| -46.4% | -52.947 MiB | 0.3% → 0.2% | 114 MiB → 61.2 MiB | 6 → 5 | `<init>(Map)` | `java.util.HashMap` |
|
|
199
|
+
| removed | -16.934 MiB | <0.1% → 0.0% | 16.9 MiB → 0 B | 1 → 0 | `lambda$boxed$0(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
200
|
+
| removed | -16.934 MiB | <0.1% → 0.0% | 16.9 MiB → 0 B | 1 → 0 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask$$Lambda.0x0000007001205510` |
|
|
201
201
|
|
|
202
202
|
# Retained heap profile diff
|
|
203
203
|
|
|
204
|
-
Retained 2.
|
|
204
|
+
Retained 2.57 MiB → 2.75 MiB (+184.023 KiB, +7.0%) over 13 samples → 10 samples (202 KiB → 282 KiB per sample).
|
|
205
205
|
|
|
206
|
-
| Category | Change |
|
|
207
|
-
| -------- | -----: |
|
|
208
|
-
| stdlib | +7.0% | +
|
|
209
|
-
| ours | +66.7% |
|
|
206
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
207
|
+
| -------- | -----: | -----------: | -----: | ------------------: | ------: |
|
|
208
|
+
| stdlib | +7.0% | +184.007 KiB | 100.0% | 2.57 MiB → 2.75 MiB | 12 → 9 |
|
|
209
|
+
| ours | +66.7% | +16 B | <0.1% | 24 B → 40 B | 1 |
|
|
210
210
|
|
|
211
211
|
## Hottest functions
|
|
212
212
|
|
|
@@ -235,55 +235,55 @@ Functions with the largest decrease in bytes retained directly in the function b
|
|
|
235
235
|
|
|
236
236
|
Functions with the largest increase in total bytes retained in the function and all its callees.
|
|
237
237
|
|
|
238
|
-
| Change | Delta | % |
|
|
239
|
-
| -----: | ----------: | ------------: |
|
|
240
|
-
| new | +
|
|
241
|
-
| new | +
|
|
242
|
-
| new | +
|
|
243
|
-
| new | +
|
|
244
|
-
| new | +
|
|
245
|
-
| new | +
|
|
246
|
-
| new | +
|
|
247
|
-
| new | +
|
|
248
|
-
| new | +
|
|
249
|
-
| new | +
|
|
250
|
-
| new | +
|
|
251
|
-
| new | +112 B | 0.0% → <0.1% |
|
|
252
|
-
| new | +40 B | 0.0% → <0.1% |
|
|
253
|
-
| ~0% | +40 B | 80.2% → 74.9% | 2.
|
|
254
|
-
| new | +40 B | 0.0% → <0.1% |
|
|
255
|
-
| new | +24 B | 0.0% → <0.1% |
|
|
256
|
-
| new | +24 B | 0.0% → <0.1% |
|
|
257
|
-
| new | +24 B | 0.0% → <0.1% |
|
|
258
|
-
| new | +24 B | 0.0% → <0.1% |
|
|
259
|
-
| new | +24 B | 0.0% → <0.1% |
|
|
238
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
239
|
+
| -----: | ----------: | ------------: | ------------: | ------: | --------------------------------------- | ---------------------------------------------------------------------- |
|
|
240
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `addAll(Collection)` | `java.util.ArrayList` |
|
|
241
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
242
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204fd0` |
|
|
243
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
|
|
244
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
245
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204d88` |
|
|
246
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `forEach(BiConsumer)` | `java.util.HashMap` |
|
|
247
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
248
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
249
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
250
|
+
| new | +194.64 KiB | 0.0% → 6.9% | 0 B → 195 KiB | 0 → 1 | `compute()` | `org.renaissance.jdk.concurrent.JavaKMeans$RangedTask` |
|
|
251
|
+
| new | +112 B | 0.0% → <0.1% | 0 B → 112 B | 0 → 1 | `<clinit>()` | `scala.Predef$` |
|
|
252
|
+
| new | +40 B | 0.0% → <0.1% | 0 B → 40 B | 0 → 1 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011a1d48` |
|
|
253
|
+
| ~0% | +40 B | 80.2% → 74.9% | 2.06 MiB | 5 → 6 | `collect(Collector)` | `java.util.stream.ReferencePipeline` |
|
|
254
|
+
| new | +40 B | 0.0% → <0.1% | 0 B → 40 B | 0 → 1 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
255
|
+
| new | +24 B | 0.0% → <0.1% | 0 B → 24 B | 0 → 1 | `split(String)` | `java.lang.String` |
|
|
256
|
+
| new | +24 B | 0.0% → <0.1% | 0 B → 24 B | 0 → 1 | `pathsToSet(String)` | `org.renaissance.core.ModuleLoader` |
|
|
257
|
+
| new | +24 B | 0.0% → <0.1% | 0 B → 24 B | 0 → 1 | `lambda$collectModuleJars$1(Map$Entry)` | `org.renaissance.core.ModuleLoader` |
|
|
258
|
+
| new | +24 B | 0.0% → <0.1% | 0 B → 24 B | 0 → 1 | `apply(Object)` | `org.renaissance.core.ModuleLoader$$Lambda.0x000000700100ad50` |
|
|
259
|
+
| new | +24 B | 0.0% → <0.1% | 0 B → 24 B | 0 → 1 | `collectModuleJars(Map)` | `org.renaissance.core.ModuleLoader` |
|
|
260
260
|
|
|
261
261
|
#### Improvements
|
|
262
262
|
|
|
263
263
|
Functions with the largest decrease in total bytes retained in the function and all its callees.
|
|
264
264
|
|
|
265
|
-
| Change |
|
|
266
|
-
| ------: |
|
|
267
|
-
| removed | -10.
|
|
268
|
-
| removed | -10.
|
|
269
|
-
| -0.4% | -10.
|
|
270
|
-
| -0.4% | -10.
|
|
271
|
-
| -0.4% | -10.
|
|
272
|
-
| -0.4% | -10.
|
|
273
|
-
| -0.4% | -10.
|
|
274
|
-
| -0.5% | -10.
|
|
275
|
-
| removed | -8.
|
|
276
|
-
| removed | -8.
|
|
277
|
-
| removed | -2.
|
|
278
|
-
| -0.8% | -2.
|
|
279
|
-
| removed |
|
|
280
|
-
| removed |
|
|
281
|
-
| removed |
|
|
282
|
-
| removed |
|
|
283
|
-
| removed |
|
|
284
|
-
| -25.0% |
|
|
285
|
-
| -25.0% |
|
|
286
|
-
| -25.0% |
|
|
265
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
266
|
+
| ------: | ----------: | ------------: | ------------------: | ------: | ---------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
267
|
+
| removed | -10.179 KiB | 0.4% → 0.0% | 10.2 KiB → 0 B | 2 → 0 | `parse(Seq, Object)` | `scopt.OptionParser` |
|
|
268
|
+
| removed | -10.179 KiB | 0.4% → 0.0% | 10.2 KiB → 0 B | 2 → 0 | `parse(String[])` | `org.renaissance.harness.ConfigParser` |
|
|
269
|
+
| -0.4% | -10.085 KiB | 90.3% → 84.0% | 2.32 MiB → 2.31 MiB | 10 → 8 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite` |
|
|
270
|
+
| -0.4% | -10.085 KiB | 90.3% → 84.0% | 2.32 MiB → 2.31 MiB | 10 → 8 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
271
|
+
| -0.4% | -10.085 KiB | 90.3% → 84.0% | 2.32 MiB → 2.31 MiB | 10 → 8 | `loadAndInvokeHarnessClass(ModuleLoader, String, String[])` | `org.renaissance.core.Launcher` |
|
|
272
|
+
| -0.4% | -10.085 KiB | 90.3% → 84.0% | 2.32 MiB → 2.31 MiB | 10 → 8 | `launchHarnessClass(String, String[])` | `org.renaissance.core.Launcher` |
|
|
273
|
+
| -0.4% | -10.085 KiB | 90.3% → 84.0% | 2.32 MiB → 2.31 MiB | 10 → 8 | `main(String[])` | `org.renaissance.core.Launcher` |
|
|
274
|
+
| -0.5% | -10.054 KiB | 80.6% → 74.9% | 2.07 MiB → 2.06 MiB | 8 → 7 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite$` |
|
|
275
|
+
| removed | -8.015 KiB | 0.3% → 0.0% | 8.02 KiB → 0 B | 1 → 0 | `linkCallSite(Object, Object, Object, Object, Object, Object[])` | `java.lang.invoke.MethodHandleNatives` |
|
|
276
|
+
| removed | -8.015 KiB | 0.3% → 0.0% | 8.02 KiB → 0 B | 1 → 0 | `runParser(Seq, Object, List, OParserSetup)` | `scopt.ORunner$` |
|
|
277
|
+
| removed | -2.164 KiB | 0.1% → 0.0% | 2.16 KiB → 0 B | 1 → 0 | `optionsWithProgramName()` | `scopt.OptionParser` |
|
|
278
|
+
| -0.8% | -2.085 KiB | 9.8% → 9.1% | 257 KiB → 255 KiB | 3 → 2 | `loadClass(String)` | `java.lang.ClassLoader` |
|
|
279
|
+
| removed | -24 B | <0.1% → 0.0% | 24 B → 0 B | 1 → 0 | `opt(String, Read)` | `scopt.OptionParser` |
|
|
280
|
+
| removed | -24 B | <0.1% → 0.0% | 24 B → 0 B | 1 → 0 | `opt(char, String, Read)` | `scopt.OptionParser` |
|
|
281
|
+
| removed | -24 B | <0.1% → 0.0% | 24 B → 0 B | 1 → 0 | `<init>(Map)` | `org.renaissance.harness.ConfigParser$$anon$1` |
|
|
282
|
+
| removed | -24 B | <0.1% → 0.0% | 24 B → 0 B | 1 → 0 | `createParser(Map)` | `org.renaissance.harness.ConfigParser` |
|
|
283
|
+
| removed | -24 B | <0.1% → 0.0% | 24 B → 0 B | 1 → 0 | `<init>(Map)` | `org.renaissance.harness.ConfigParser` |
|
|
284
|
+
| -25.0% | -24 B | <0.1% | 96 B → 72 B | 4 → 3 | `valueOf(double)` | `java.lang.Double` |
|
|
285
|
+
| -25.0% | -24 B | <0.1% | 96 B → 72 B | 4 → 3 | `lambda$generateData$3(int, int, Random[], int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
286
|
+
| -25.0% | -24 B | <0.1% | 96 B → 72 B | 4 → 3 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011a1b10` |
|
|
287
287
|
|
|
288
288
|
# Lock contention profile diff
|
|
289
289
|
|
|
@@ -13,61 +13,61 @@ Took 5.58s over 4,237 samples (1.3ms per sample).
|
|
|
13
13
|
|
|
14
14
|
Functions ranked by time spent directly in the function body, excluding callees.
|
|
15
15
|
|
|
16
|
-
| % | Time | Samples | Function | Location
|
|
17
|
-
| ----: | ----: | ------: | ---------------------------------- |
|
|
18
|
-
| <0.1% | 1.2ms | 1 | `parseJsonConfigFileContentWorker` | `
|
|
16
|
+
| % | Time | Samples | Function | Location |
|
|
17
|
+
| ----: | ----: | ------: | ---------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
18
|
+
| <0.1% | 1.2ms | 1 | `parseJsonConfigFileContentWorker` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46` |
|
|
19
19
|
|
|
20
20
|
#### Callers
|
|
21
21
|
|
|
22
22
|
Callers ranked by contribution to each function's self time. Inlining can make caller attribution imprecise.
|
|
23
23
|
|
|
24
|
-
##### `parseJsonConfigFileContentWorker` (`
|
|
24
|
+
##### `parseJsonConfigFileContentWorker` (`node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46`)
|
|
25
25
|
|
|
26
|
-
| % | Time | Samples | Caller | Location
|
|
27
|
-
| -----: | ----: | ------: | ------------------ |
|
|
28
|
-
| 100.0% | 1.2ms | 1 | `typeCheckProject` | `
|
|
26
|
+
| % | Time | Samples | Caller | Location |
|
|
27
|
+
| -----: | ----: | ------: | ------------------ | ----------------------- |
|
|
28
|
+
| 100.0% | 1.2ms | 1 | `typeCheckProject` | `tsc-workload.mjs:3:33` |
|
|
29
29
|
|
|
30
30
|
### Total time
|
|
31
31
|
|
|
32
32
|
Functions ranked by total time spent in the function and all its callees.
|
|
33
33
|
|
|
34
|
-
| % | Time | Samples | Function | Location
|
|
35
|
-
| ----: | ------: | ------: | ---------------------------------- |
|
|
36
|
-
| 99.8% | 5.57s | 4,230 | `typeCheckProject` | `
|
|
37
|
-
| 84.4% | 4.71s | 3,609 | `getDiagnosticsHelper` | `
|
|
38
|
-
| 13.3% | 744.9ms | 529 | `createProgram` | `
|
|
39
|
-
| 1.4% | 76.5ms | 59 | `bound require` | `<unknown>`
|
|
40
|
-
| 0.9% | 47.7ms | 37 | `forEachAncestorDirectory` | `
|
|
41
|
-
| 0.7% | 37.9ms | 30 | `parseJsonConfigFileContentWorker` | `
|
|
42
|
-
| <0.1% | 1.4ms | 1 | `getParsedCommandLineOfConfigFile` | `
|
|
34
|
+
| % | Time | Samples | Function | Location |
|
|
35
|
+
| ----: | ------: | ------: | ---------------------------------- | ----------------------------------------------------------------------------------------- |
|
|
36
|
+
| 99.8% | 5.57s | 4,230 | `typeCheckProject` | `tsc-workload.mjs:3:33` |
|
|
37
|
+
| 84.4% | 4.71s | 3,609 | `getDiagnosticsHelper` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:114649:38` |
|
|
38
|
+
| 13.3% | 744.9ms | 529 | `createProgram` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:113744:27` |
|
|
39
|
+
| 1.4% | 76.5ms | 59 | `bound require` | `<unknown>` |
|
|
40
|
+
| 0.9% | 47.7ms | 37 | `forEachAncestorDirectory` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:6613:38` |
|
|
41
|
+
| 0.7% | 37.9ms | 30 | `parseJsonConfigFileContentWorker` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46` |
|
|
42
|
+
| <0.1% | 1.4ms | 1 | `getParsedCommandLineOfConfigFile` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:39863:46` |
|
|
43
43
|
|
|
44
44
|
#### Callees
|
|
45
45
|
|
|
46
46
|
Callees ranked by contribution to each function's total time. Inlining can make callee attribution imprecise, and percentages can sum past 100% when callees recurse.
|
|
47
47
|
|
|
48
|
-
##### `typeCheckProject` (`
|
|
48
|
+
##### `typeCheckProject` (`tsc-workload.mjs:3:33`)
|
|
49
49
|
|
|
50
|
-
| % | Time | Samples | Callee | Location
|
|
51
|
-
| ----: | ------: | ------: | ---------------------------------- |
|
|
52
|
-
| 84.5% | 4.71s | 3,609 | `getDiagnosticsHelper` | `
|
|
53
|
-
| 13.4% | 744.9ms | 529 | `createProgram` | `
|
|
54
|
-
| 1.4% | 76.5ms | 59 | `bound require` | `<unknown>`
|
|
55
|
-
| 0.7% | 37.9ms | 30 | `parseJsonConfigFileContentWorker` | `
|
|
56
|
-
| <0.1% | 2.5ms | 2 | `forEachAncestorDirectory` | `
|
|
50
|
+
| % | Time | Samples | Callee | Location |
|
|
51
|
+
| ----: | ------: | ------: | ---------------------------------- | ----------------------------------------------------------------------------------------- |
|
|
52
|
+
| 84.5% | 4.71s | 3,609 | `getDiagnosticsHelper` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:114649:38` |
|
|
53
|
+
| 13.4% | 744.9ms | 529 | `createProgram` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:113744:27` |
|
|
54
|
+
| 1.4% | 76.5ms | 59 | `bound require` | `<unknown>` |
|
|
55
|
+
| 0.7% | 37.9ms | 30 | `parseJsonConfigFileContentWorker` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46` |
|
|
56
|
+
| <0.1% | 2.5ms | 2 | `forEachAncestorDirectory` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:6613:38` |
|
|
57
57
|
|
|
58
58
|
## Hottest call stacks
|
|
59
59
|
|
|
60
60
|
Call stacks ranked by time spent in their leaf frame.
|
|
61
61
|
|
|
62
|
-
Common call stack: `typeCheckProject` (`
|
|
63
|
-
|
|
64
|
-
| % | Time | Samples | Call stack
|
|
65
|
-
| ----: | ------: | ------: |
|
|
66
|
-
| 84.4% | 4.71s | 3,609 | `getDiagnosticsHelper` (`
|
|
67
|
-
| 12.5% | 699.7ms | 494 | `createProgram` (`
|
|
68
|
-
| 1.3% | 73.7ms | 57 | `bound require`
|
|
69
|
-
| 0.8% | 45.1ms | 35 | `forEachAncestorDirectory` (`
|
|
70
|
-
| 0.7% | 37.9ms | 30 | `parseJsonConfigFileContentWorker` (`
|
|
71
|
-
| <0.1% | 2.8ms | 2 | `bound require` ← `bound require`
|
|
72
|
-
| <0.1% | 2.5ms | 2 | `forEachAncestorDirectory` (`
|
|
73
|
-
| <0.1% | 1.4ms | 1 | `getParsedCommandLineOfConfigFile` (`
|
|
62
|
+
Common call stack: `typeCheckProject` (`tsc-workload.mjs:3:33`)
|
|
63
|
+
|
|
64
|
+
| % | Time | Samples | Call stack |
|
|
65
|
+
| ----: | ------: | ------: | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
66
|
+
| 84.4% | 4.71s | 3,609 | `getDiagnosticsHelper` (`node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:114649:38`) |
|
|
67
|
+
| 12.5% | 699.7ms | 494 | `createProgram` (`node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:113744:27`) |
|
|
68
|
+
| 1.3% | 73.7ms | 57 | `bound require` |
|
|
69
|
+
| 0.8% | 45.1ms | 35 | `forEachAncestorDirectory` (`node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:6613:38`) ← `createProgram` (113744:27) |
|
|
70
|
+
| 0.7% | 37.9ms | 30 | `parseJsonConfigFileContentWorker` (`node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46`) |
|
|
71
|
+
| <0.1% | 2.8ms | 2 | `bound require` ← `bound require` |
|
|
72
|
+
| <0.1% | 2.5ms | 2 | `forEachAncestorDirectory` (`node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:6613:38`) |
|
|
73
|
+
| <0.1% | 1.4ms | 1 | `getParsedCommandLineOfConfigFile` (`node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:39863:46`) |
|