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.8 GiB → 37.4 GiB (-424.074 MiB, -1.1%) over 1,988 samples → 1,980 samples (19.5 MiB → 19.4 MiB per sample).
|
|
103
103
|
|
|
104
|
-
| Category | Change |
|
|
105
|
-
| -------- | -----: |
|
|
106
|
-
| stdlib | -1.2% | -
|
|
107
|
-
| ours | +0.9% | +
|
|
108
|
-
| native | +6.3% |
|
|
104
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
105
|
+
| -------- | -----: | -----------: | ------------: | ------------------: | ------------: |
|
|
106
|
+
| stdlib | -1.2% | -440.446 MiB | 95.5% → 95.4% | 36.1 GiB → 35.7 GiB | 1,893 → 1,868 |
|
|
107
|
+
| ours | +0.9% | +16.372 MiB | 4.5% → 4.6% | 1.72 GiB → 1.74 GiB | 94 → 110 |
|
|
108
|
+
| native | +6.3% | +120 B | <0.1% | 1.86 KiB → 1.98 KiB | 1 → 2 |
|
|
109
109
|
|
|
110
110
|
## Hottest functions
|
|
111
111
|
|
|
@@ -115,29 +115,29 @@ Allocated 40.6 GB → 40.2 GB (-444.674 MB, -1.1%) over 1,988 samples → 1,9
|
|
|
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
|
-
| +473.8% | +
|
|
121
|
-
| +71.3% | +
|
|
122
|
-
| +28.5% | +
|
|
123
|
-
| +429.9% | +3.
|
|
124
|
-
| +481.8% | +2.
|
|
125
|
-
| +22.9% | +
|
|
126
|
-
| +1.0% | +
|
|
127
|
-
| new | +
|
|
128
|
-
| new | +
|
|
118
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
119
|
+
| ------: | -----------: | -----------: | ------------------: | ------: | ------------------------------------ | ---------------------------------------------------------- |
|
|
120
|
+
| +473.8% | +203.524 MiB | 0.1% → 0.6% | 43 MiB → 246 MiB | 5 → 6 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
121
|
+
| +71.3% | +135.434 MiB | 0.5% → 0.8% | 190 MiB → 325 MiB | 8 → 12 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
122
|
+
| +28.5% | +23.342 MiB | 0.2% → 0.3% | 81.8 MiB → 105 MiB | 3 → 4 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
123
|
+
| +429.9% | +3.254 MiB | <0.1% | 775 KiB → 4.01 MiB | 2 → 12 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
124
|
+
| +481.8% | +2.588 MiB | <0.1% | 550 KiB → 3.13 MiB | 1 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
125
|
+
| +22.9% | +1.959 MiB | <0.1% | 8.54 MiB → 10.5 MiB | 22 → 27 | `valueOf(double)` | `java.lang.Double` |
|
|
126
|
+
| +1.0% | +736.195 KiB | 0.2% | 70.5 MiB → 71.2 MiB | 4 → 1 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
127
|
+
| new | +456.453 KiB | 0.0% → <0.1% | 0 B → 456 KiB | 0 → 2 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
128
|
+
| new | +387.601 KiB | 0.0% → <0.1% | 0 B → 388 KiB | 0 → 1 | `range(int, int)` | `java.util.stream.IntStream` |
|
|
129
129
|
|
|
130
130
|
#### Improvements
|
|
131
131
|
|
|
132
132
|
Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
|
|
133
133
|
|
|
134
|
-
| Change |
|
|
135
|
-
| ------: |
|
|
136
|
-
| -12.6% | -
|
|
137
|
-
| -94.5% | -
|
|
138
|
-
| -87.0% | -
|
|
139
|
-
| -85.1% | -
|
|
140
|
-
| removed | -1.
|
|
134
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
135
|
+
| ------: | -----------: | -----------: | ------------------: | ------: | ---------------------------- | ---------------------------------------------------------- |
|
|
136
|
+
| -12.6% | -143.913 MiB | 2.9% → 2.6% | 1.11 GiB → 998 MiB | 60 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
137
|
+
| -94.5% | -84.065 MiB | 0.2% → <0.1% | 88.9 MiB → 4.87 MiB | 2 → 5 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
138
|
+
| -87.0% | -70.401 MiB | 0.2% → <0.1% | 80.9 MiB → 10.5 MiB | 4 → 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
139
|
+
| -85.1% | -52.672 MiB | 0.2% → <0.1% | 61.9 MiB → 9.23 MiB | 4 → 5 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
140
|
+
| removed | -1.884 MiB | <0.1% → 0.0% | 1.88 MiB → 0 B | 1 → 0 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
141
141
|
|
|
142
142
|
### Total size
|
|
143
143
|
|
|
@@ -145,63 +145,63 @@ Functions with the largest decrease in bytes allocated directly in the function
|
|
|
145
145
|
|
|
146
146
|
Functions with the largest increase in total bytes allocated in the function and all its callees.
|
|
147
147
|
|
|
148
|
-
| Change |
|
|
149
|
-
| ------: |
|
|
150
|
-
| +7.6% | +1.
|
|
151
|
-
| +31.5% | +1.
|
|
152
|
-
| +21.2% | +1.
|
|
153
|
-
| +25.3% | +
|
|
154
|
-
| +71.3% | +
|
|
155
|
-
| +72.3% | +
|
|
156
|
-
| +29.9% | +
|
|
157
|
-
| +29.9% | +
|
|
158
|
-
| +29.3% | +
|
|
159
|
-
| +28.5% | +
|
|
160
|
-
| +28.5% | +
|
|
161
|
-
| +429.9% | +3.
|
|
162
|
-
| +429.9% | +3.
|
|
163
|
-
| +481.8% | +2.
|
|
164
|
-
| +481.8% | +2.
|
|
165
|
-
| +481.8% | +2.
|
|
166
|
-
| +22.9% | +
|
|
167
|
-
| +22.9% | +
|
|
168
|
-
| +22.9% | +
|
|
169
|
-
| new |
|
|
148
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
149
|
+
| ------: | -----------: | ------------: | ------------------: | ------------: | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
150
|
+
| +7.6% | +1.691 GiB | 58.9% → 64.0% | 22.3 GiB → 24 GiB | 1,155 → 1,135 | `addAll(Collection)` | `java.util.ArrayList` |
|
|
151
|
+
| +31.5% | +1.156 GiB | 9.7% → 12.9% | 3.67 GiB → 4.83 GiB | 224 → 244 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
152
|
+
| +21.2% | +1.016 GiB | 12.7% → 15.5% | 4.79 GiB → 5.81 GiB | 284 → 304 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
153
|
+
| +25.3% | +918.848 MiB | 9.4% → 11.9% | 3.55 GiB → 4.45 GiB | 215 → 226 | `add(Object)` | `java.util.ArrayList` |
|
|
154
|
+
| +71.3% | +135.434 MiB | 0.5% → 0.8% | 190 MiB → 325 MiB | 8 → 12 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
155
|
+
| +72.3% | +62.184 MiB | 0.2% → 0.4% | 86.1 MiB → 148 MiB | 4 → 12 | `computeIfAbsent(Object, Function)` | `java.util.HashMap` |
|
|
156
|
+
| +29.9% | +24.617 MiB | 0.2% → 0.3% | 82.5 MiB → 107 MiB | 7 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
157
|
+
| +29.9% | +24.617 MiB | 0.2% → 0.3% | 82.5 MiB → 107 MiB | 7 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
158
|
+
| +29.3% | +24.171 MiB | 0.2% → 0.3% | 82.5 MiB → 107 MiB | 7 → 5 | `average(List)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
159
|
+
| +28.5% | +23.342 MiB | 0.2% → 0.3% | 81.8 MiB → 105 MiB | 3 → 4 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
160
|
+
| +28.5% | +23.342 MiB | 0.2% → 0.3% | 81.8 MiB → 105 MiB | 3 → 4 | `apply(Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask$$Lambda.0x0000007001204b38` |
|
|
161
|
+
| +429.9% | +3.254 MiB | <0.1% | 775 KiB → 4.01 MiB | 2 → 12 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011a1d48` |
|
|
162
|
+
| +429.9% | +3.254 MiB | <0.1% | 775 KiB → 4.01 MiB | 2 → 12 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
163
|
+
| +481.8% | +2.588 MiB | <0.1% | 550 KiB → 3.13 MiB | 1 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
164
|
+
| +481.8% | +2.588 MiB | <0.1% | 550 KiB → 3.13 MiB | 1 | `combineResults(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
165
|
+
| +481.8% | +2.588 MiB | <0.1% | 550 KiB → 3.13 MiB | 1 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
166
|
+
| +22.9% | +1.959 MiB | <0.1% | 8.54 MiB → 10.5 MiB | 22 → 27 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011a1b10` |
|
|
167
|
+
| +22.9% | +1.959 MiB | <0.1% | 8.54 MiB → 10.5 MiB | 22 → 27 | `valueOf(double)` | `java.lang.Double` |
|
|
168
|
+
| +22.9% | +1.959 MiB | <0.1% | 8.54 MiB → 10.5 MiB | 22 → 27 | `lambda$generateData$3(int, int, Random[], int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
169
|
+
| new | +1.21 MiB | 0.0% → <0.1% | 0 B → 1.21 MiB | 0 → 1 | `linkToTargetMethod(Object, Object)` | `java.lang.invoke.Invokers$Holder` |
|
|
170
170
|
|
|
171
171
|
#### Improvements
|
|
172
172
|
|
|
173
173
|
Functions with the largest decrease in total bytes allocated in the function and all its callees.
|
|
174
174
|
|
|
175
|
-
| Change |
|
|
176
|
-
| -----: |
|
|
177
|
-
| -30.3% | -
|
|
178
|
-
| -4.6% | -1.
|
|
179
|
-
| -4.6% | -1.
|
|
180
|
-
| -4.6% | -1.
|
|
181
|
-
| -4.1% | -1.
|
|
182
|
-
| -4.1% | -1.
|
|
183
|
-
| -4.1% | -1.
|
|
184
|
-
| -4.1% | -1.
|
|
185
|
-
| -4.1% | -1.
|
|
186
|
-
| -4.1% | -1.
|
|
187
|
-
| -3.6% | -
|
|
188
|
-
| -7.3% |
|
|
189
|
-
| -7.4% |
|
|
190
|
-
| -7.4% |
|
|
191
|
-
| -1.1% | -
|
|
192
|
-
| -94.8% | -
|
|
193
|
-
| -12.6% | -
|
|
194
|
-
| -30.9% | -
|
|
195
|
-
| -87.0% | -
|
|
196
|
-
| -87.0% | -
|
|
175
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
176
|
+
| -----: | -----------: | ------------: | ------------------: | ------------: | ----------------------------------- | ---------------------------------------------------------------------- |
|
|
177
|
+
| -30.3% | -2.953 GiB | 25.7% → 18.1% | 9.74 GiB → 6.79 GiB | 390 → 373 | `<init>(Collection)` | `java.util.ArrayList` |
|
|
178
|
+
| -4.6% | -1.496 GiB | 85.9% → 82.8% | 32.5 GiB → 31 GiB | 1,561 → 1,531 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
179
|
+
| -4.6% | -1.496 GiB | 85.9% → 82.8% | 32.5 GiB → 31 GiB | 1,561 → 1,531 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
180
|
+
| -4.6% | -1.494 GiB | 85.9% → 82.8% | 32.5 GiB → 31 GiB | 1,561 → 1,532 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
181
|
+
| -4.1% | -1.313 GiB | 84.8% → 82.2% | 32.1 GiB → 30.8 GiB | 1,549 → 1,513 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
182
|
+
| -4.1% | -1.313 GiB | 84.8% → 82.2% | 32.1 GiB → 30.8 GiB | 1,549 → 1,513 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204fd0` |
|
|
183
|
+
| -4.1% | -1.313 GiB | 84.8% → 82.2% | 32.1 GiB → 30.8 GiB | 1,549 → 1,513 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
|
|
184
|
+
| -4.1% | -1.313 GiB | 84.8% → 82.2% | 32.1 GiB → 30.8 GiB | 1,549 → 1,513 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
185
|
+
| -4.1% | -1.313 GiB | 84.8% → 82.2% | 32.1 GiB → 30.8 GiB | 1,549 → 1,513 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204d88` |
|
|
186
|
+
| -4.1% | -1.313 GiB | 84.8% → 82.2% | 32.1 GiB → 30.8 GiB | 1,549 → 1,513 | `forEach(BiConsumer)` | `java.util.HashMap` |
|
|
187
|
+
| -3.6% | -923.069 MiB | 66.9% → 65.2% | 25.3 GiB → 24.4 GiB | 1,246 → 1,229 | `join()` | `java.util.concurrent.ForkJoinTask` |
|
|
188
|
+
| -7.3% | -604.982 MiB | 21.4% → 20.1% | 8.1 GiB → 7.51 GiB | 232 → 221 | `invoke()` | `java.util.concurrent.ForkJoinTask` |
|
|
189
|
+
| -7.4% | -600.3 MiB | 21.1% → 19.7% | 7.97 GiB → 7.39 GiB | 218 → 211 | `lambda$run$0(int, List, int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
190
|
+
| -7.4% | -600.3 MiB | 21.1% → 19.7% | 7.97 GiB → 7.39 GiB | 218 → 211 | `call()` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011ffbc0` |
|
|
191
|
+
| -1.1% | -423.153 MiB | 99.4% | 37.6 GiB → 37.2 GiB | 1,863 → 1,854 | `compute()` | `org.renaissance.jdk.concurrent.JavaKMeans$RangedTask` |
|
|
192
|
+
| -94.8% | -159.396 MiB | 0.4% → <0.1% | 168 MiB → 8.82 MiB | 14 → 15 | `<clinit>()` | `scala.Predef$` |
|
|
193
|
+
| -12.6% | -143.913 MiB | 2.9% → 2.6% | 1.11 GiB → 998 MiB | 60 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
194
|
+
| -30.9% | -103.311 MiB | 0.9% → 0.6% | 335 MiB → 232 MiB | 10 → 13 | `<init>(Map)` | `java.util.HashMap` |
|
|
195
|
+
| -87.0% | -70.401 MiB | 0.2% → <0.1% | 80.9 MiB → 10.5 MiB | 4 → 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
196
|
+
| -87.0% | -70.401 MiB | 0.2% → <0.1% | 80.9 MiB → 10.5 MiB | 4 → 2 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
197
197
|
|
|
198
198
|
# Retained heap profile diff
|
|
199
199
|
|
|
200
|
-
Retained 2.
|
|
200
|
+
Retained 2.56 MiB → 2.85 MiB (+292.835 KiB, +11.2%) over 9 samples → 11 samples (291 KiB → 265 KiB per sample).
|
|
201
201
|
|
|
202
|
-
| Category | Change |
|
|
203
|
-
| -------- | -----: |
|
|
204
|
-
| stdlib | +11.2% | +
|
|
202
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
203
|
+
| -------- | -----: | -----------: | -----: | ------------------: | ------: |
|
|
204
|
+
| stdlib | +11.2% | +292.835 KiB | 100.0% | 2.56 MiB → 2.85 MiB | 9 → 11 |
|
|
205
205
|
|
|
206
206
|
## Hottest functions
|
|
207
207
|
|
|
@@ -215,27 +215,27 @@ No function differed in bytes retained directly in the function body, excluding
|
|
|
215
215
|
|
|
216
216
|
Functions with the largest increase in total bytes retained in the function and all its callees.
|
|
217
217
|
|
|
218
|
-
| Change |
|
|
219
|
-
| ------: |
|
|
220
|
-
| new | +
|
|
221
|
-
| new | +
|
|
222
|
-
| new | +
|
|
223
|
-
| new | +
|
|
224
|
-
| new | +
|
|
225
|
-
| new | +
|
|
226
|
-
| new | +
|
|
227
|
-
| new | +
|
|
228
|
-
| new | +
|
|
229
|
-
| new | +
|
|
230
|
-
| new | +
|
|
231
|
-
| ~0% |
|
|
232
|
-
| ~0% |
|
|
233
|
-
| ~0% |
|
|
234
|
-
| ~0% |
|
|
235
|
-
| ~0% |
|
|
236
|
-
| ~0% |
|
|
237
|
-
| +180.0% |
|
|
238
|
-
| ~0% |
|
|
218
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
219
|
+
| ------: | -----------: | ------------: | ------------: | ------: | ----------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
220
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `addAll(Collection)` | `java.util.ArrayList` |
|
|
221
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
222
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204fd0` |
|
|
223
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
|
|
224
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
225
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204d88` |
|
|
226
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `forEach(BiConsumer)` | `java.util.HashMap` |
|
|
227
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
228
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
229
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
230
|
+
| new | +292.765 KiB | 0.0% → 10.0% | 0 B → 293 KiB | 0 → 2 | `compute()` | `org.renaissance.jdk.concurrent.JavaKMeans$RangedTask` |
|
|
231
|
+
| ~0% | +112 B | 9.7% → 8.8% | 255 KiB | 1 → 2 | `loadClass(String)` | `java.lang.ClassLoader` |
|
|
232
|
+
| ~0% | +72 B | 90.2% → 81.2% | 2.31 MiB | 8 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite` |
|
|
233
|
+
| ~0% | +72 B | 90.2% → 81.2% | 2.31 MiB | 8 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
234
|
+
| ~0% | +72 B | 90.2% → 81.2% | 2.31 MiB | 8 | `loadAndInvokeHarnessClass(ModuleLoader, String, String[])` | `org.renaissance.core.Launcher` |
|
|
235
|
+
| ~0% | +72 B | 90.2% → 81.2% | 2.31 MiB | 8 | `launchHarnessClass(String, String[])` | `org.renaissance.core.Launcher` |
|
|
236
|
+
| ~0% | +72 B | 90.2% → 81.2% | 2.31 MiB | 8 | `main(String[])` | `org.renaissance.core.Launcher` |
|
|
237
|
+
| +180.0% | +72 B | <0.1% | 40 B → 112 B | 1 | `<clinit>()` | `scala.Predef$` |
|
|
238
|
+
| ~0% | +72 B | 80.5% → 72.4% | 2.06 MiB | 7 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite$` |
|
|
239
239
|
|
|
240
240
|
# Lock contention profile diff
|
|
241
241
|
|