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
|
@@ -103,13 +103,13 @@ Functions with the largest decrease in total samples taken in the function and a
|
|
|
103
103
|
|
|
104
104
|
# Allocated heap profile diff
|
|
105
105
|
|
|
106
|
-
Allocated
|
|
106
|
+
Allocated 37.6 GiB → 37.5 GiB (-52.124 MiB, -0.1%) over 1,984 samples → 2,040 samples (19.4 MiB → 18.8 MiB per sample).
|
|
107
107
|
|
|
108
|
-
| Category | Change |
|
|
109
|
-
| -------- | -----: |
|
|
110
|
-
| stdlib | +0.4% | +
|
|
111
|
-
| ours | -10.3% | -
|
|
112
|
-
| native | -12.2% |
|
|
108
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
109
|
+
| -------- | -----: | -----------: | ------------: | ------------------: | ------------: |
|
|
110
|
+
| stdlib | +0.4% | +163.204 MiB | 94.6% → 95.1% | 35.5 GiB → 35.7 GiB | 1,865 → 1,922 |
|
|
111
|
+
| ours | -10.3% | -215.329 MiB | 5.4% → 4.9% | 2.04 GiB → 1.83 GiB | 117 |
|
|
112
|
+
| native | -12.2% | -280 B | <0.1% | 2.24 KiB → 1.97 KiB | 2 → 1 |
|
|
113
113
|
|
|
114
114
|
## Hottest functions
|
|
115
115
|
|
|
@@ -119,29 +119,29 @@ Allocated 40.3 GB (-54.656 MB, -0.1%) over 1,984 samples → 2,040 samples (20
|
|
|
119
119
|
|
|
120
120
|
Functions with the largest increase in bytes allocated directly in the function body, excluding callees.
|
|
121
121
|
|
|
122
|
-
| Change |
|
|
123
|
-
| ------: |
|
|
124
|
-
| +11.3% | +
|
|
125
|
-
| +184.9% | +
|
|
126
|
-
| new | +
|
|
127
|
-
| +198.5% | +
|
|
128
|
-
| +15.8% | +10.
|
|
129
|
-
| +11.7% |
|
|
130
|
-
| +14.5% |
|
|
131
|
-
| new | +
|
|
132
|
-
| +8.4% | +
|
|
122
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
123
|
+
| ------: | -----------: | -----------: | ------------------: | ------: | ------------------------------------ | ---------------------------------------------------------- |
|
|
124
|
+
| +11.3% | +115.621 MiB | 2.7% → 3.0% | 1023 MiB → 1.11 GiB | 65 → 62 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
125
|
+
| +184.9% | +109.884 MiB | 0.2% → 0.4% | 59.4 MiB → 169 MiB | 4 → 10 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
126
|
+
| new | +101.295 MiB | 0.0% → 0.3% | 0 B → 101 MiB | 0 → 1 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
127
|
+
| +198.5% | +46.155 MiB | 0.1% → 0.2% | 23.3 MiB → 69.4 MiB | 6 → 4 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
128
|
+
| +15.8% | +10.093 MiB | 0.2% | 64 MiB → 74.1 MiB | 5 → 2 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
129
|
+
| +11.7% | +9.98 MiB | 0.2% | 85.1 MiB → 95.1 MiB | 4 → 7 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
130
|
+
| +14.5% | +1.4 MiB | <0.1% | 9.67 MiB → 11.1 MiB | 26 → 29 | `valueOf(double)` | `java.lang.Double` |
|
|
131
|
+
| new | +751.843 KiB | 0.0% → <0.1% | 0 B → 752 KiB | 0 → 1 | `lambda$boxed$0(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
132
|
+
| +8.4% | +295.179 KiB | <0.1% | 3.42 MiB → 3.7 MiB | 10 → 12 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
133
133
|
|
|
134
134
|
#### Improvements
|
|
135
135
|
|
|
136
136
|
Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
|
|
137
137
|
|
|
138
|
-
| Change |
|
|
139
|
-
| ------: |
|
|
140
|
-
| -85.7% | -
|
|
141
|
-
| -99.0% |
|
|
142
|
-
| -35.2% |
|
|
143
|
-
| removed | -
|
|
144
|
-
| removed | -
|
|
138
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
139
|
+
| ------: | -----------: | -----------: | ------------------: | ------: | ------------------------- | ---------------------------------------------------------- |
|
|
140
|
+
| -85.7% | -334.309 MiB | 1.0% → 0.1% | 390 MiB → 55.7 MiB | 8 → 4 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
141
|
+
| -99.0% | -97.071 MiB | 0.3% → <0.1% | 98.1 MiB → 1.02 MiB | 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
142
|
+
| -35.2% | -91.91 MiB | 0.7% → 0.4% | 261 MiB → 169 MiB | 8 → 12 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
143
|
+
| removed | -86.092 MiB | 0.2% → 0.0% | 86.1 MiB → 0 B | 5 → 0 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
144
|
+
| removed | -798.601 KiB | <0.1% → 0.0% | 799 KiB → 0 B | 3 → 0 | `range(int, int)` | `java.util.stream.IntStream` |
|
|
145
145
|
|
|
146
146
|
### Total size
|
|
147
147
|
|
|
@@ -149,63 +149,63 @@ 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
|
-
| +3.3% | +
|
|
155
|
-
| +7.5% |
|
|
156
|
-
| +7.9% |
|
|
157
|
-
| +6.7% | +
|
|
158
|
-
| +253.2% | +
|
|
159
|
-
| +1.1% | +
|
|
160
|
-
| +11.3% | +
|
|
161
|
-
| +184.9% | +
|
|
162
|
-
| +50.5% | +
|
|
163
|
-
| +21.8% | +
|
|
164
|
-
| +21.8% | +
|
|
165
|
-
| +159.9% | +
|
|
166
|
-
| +15.8% | +10.
|
|
167
|
-
| +15.8% | +10.
|
|
168
|
-
| +12.2% | +1.
|
|
169
|
-
| +0.9% | +1.
|
|
170
|
-
| +14.5% |
|
|
171
|
-
| +14.5% |
|
|
172
|
-
| new | +1.
|
|
173
|
-
| +0.5% | +
|
|
152
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
153
|
+
| ------: | -----------: | ------------: | ------------------: | ------------: | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
154
|
+
| +3.3% | +847.482 MiB | 66.1% → 68.4% | 24.8 GiB → 25.7 GiB | 1,259 → 1,309 | `join()` | `java.util.concurrent.ForkJoinTask` |
|
|
155
|
+
| +7.5% | +453.19 MiB | 15.8% → 17.0% | 5.93 GiB → 6.37 GiB | 308 → 337 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
156
|
+
| +7.9% | +358.52 MiB | 11.8% → 12.7% | 4.43 GiB → 4.78 GiB | 226 → 258 | `add(Object)` | `java.util.ArrayList` |
|
|
157
|
+
| +6.7% | +337.568 MiB | 13.1% → 14.0% | 4.93 GiB → 5.26 GiB | 243 → 275 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
158
|
+
| +253.2% | +313.357 MiB | 0.3% → 1.1% | 124 MiB → 437 MiB | 9 → 13 | `computeIfAbsent(Object, Function)` | `java.util.HashMap` |
|
|
159
|
+
| +1.1% | +264.326 MiB | 60.0% → 60.7% | 22.5 GiB → 22.8 GiB | 1,129 → 1,156 | `addAll(Collection)` | `java.util.ArrayList` |
|
|
160
|
+
| +11.3% | +115.621 MiB | 2.7% → 3.0% | 1023 MiB → 1.11 GiB | 65 → 62 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
161
|
+
| +184.9% | +109.884 MiB | 0.2% → 0.4% | 59.4 MiB → 169 MiB | 4 → 10 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
162
|
+
| +50.5% | +30.143 MiB | 0.2% | 59.7 MiB → 89.8 MiB | 8 → 6 | `<init>(Map)` | `java.util.HashMap` |
|
|
163
|
+
| +21.8% | +28.452 MiB | 0.3% → 0.4% | 130 MiB → 159 MiB | 9 → 8 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
164
|
+
| +21.8% | +28.452 MiB | 0.3% → 0.4% | 130 MiB → 159 MiB | 9 → 8 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
165
|
+
| +159.9% | +15.461 MiB | <0.1% → 0.1% | 9.67 MiB → 25.1 MiB | 26 → 69 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011a18d8` |
|
|
166
|
+
| +15.8% | +10.093 MiB | 0.2% | 64 MiB → 74.1 MiB | 5 → 2 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
167
|
+
| +15.8% | +10.093 MiB | 0.2% | 64 MiB → 74.1 MiB | 5 → 2 | `apply(Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask$$Lambda.0x0000007001204b38` |
|
|
168
|
+
| +12.2% | +1.732 MiB | <0.1% | 14.2 MiB → 15.9 MiB | 39 → 43 | `toArray(IntFunction)` | `java.util.stream.ReferencePipeline` |
|
|
169
|
+
| +0.9% | +1.532 MiB | 0.5% | 178 MiB → 179 MiB | 37 → 39 | `loadClass(String)` | `java.lang.ClassLoader` |
|
|
170
|
+
| +14.5% | +1.4 MiB | <0.1% | 9.67 MiB → 11.1 MiB | 26 → 29 | `valueOf(double)` | `java.lang.Double` |
|
|
171
|
+
| +14.5% | +1.4 MiB | <0.1% | 9.67 MiB → 11.1 MiB | 26 → 29 | `lambda$generateData$3(int, int, Random[], int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
172
|
+
| new | +1.252 MiB | 0.0% → <0.1% | 0 B → 1.25 MiB | 0 → 1 | `map(Function1)` | `scala.collection.immutable.Range` |
|
|
173
|
+
| +0.5% | +832.07 KiB | 0.4% | 164 MiB → 165 MiB | 4 | `run(BenchmarkContext)` | `org.renaissance.jdk.concurrent.FjKmeans` |
|
|
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
|
-
| -13.1% |
|
|
182
|
-
| -10.4% | -
|
|
183
|
-
| -10.4% | -
|
|
184
|
-
| -9.4% | -
|
|
185
|
-
| -1.6% | -
|
|
186
|
-
| -1.6% | -
|
|
187
|
-
| -1.6% | -
|
|
188
|
-
| -1.6% | -
|
|
189
|
-
| -1.6% | -
|
|
190
|
-
| -1.6% | -
|
|
191
|
-
| -1.4% | -
|
|
192
|
-
| -1.4% | -
|
|
193
|
-
| -1.4% | -
|
|
194
|
-
| -99.0% |
|
|
195
|
-
| -99.0% |
|
|
196
|
-
| -35.2% |
|
|
197
|
-
| removed | -
|
|
198
|
-
| removed | -
|
|
199
|
-
| removed | -
|
|
200
|
-
| -57.0% | -
|
|
179
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
180
|
+
| ------: | -----------: | ------------: | ------------------: | ------------: | ------------------------------------ | ---------------------------------------------------------------------- |
|
|
181
|
+
| -13.1% | -1.07 GiB | 21.8% → 19.0% | 8.19 GiB → 7.12 GiB | 215 → 230 | `invoke()` | `java.util.concurrent.ForkJoinTask` |
|
|
182
|
+
| -10.4% | -815.779 MiB | 20.4% → 18.3% | 7.66 GiB → 6.87 GiB | 195 → 222 | `lambda$run$0(int, List, int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
183
|
+
| -10.4% | -815.779 MiB | 20.4% → 18.3% | 7.66 GiB → 6.87 GiB | 195 → 222 | `call()` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011ffbc0` |
|
|
184
|
+
| -9.4% | -793.951 MiB | 21.9% → 19.9% | 8.23 GiB → 7.45 GiB | 385 → 379 | `<init>(Collection)` | `java.util.ArrayList` |
|
|
185
|
+
| -1.6% | -519.644 MiB | 82.1% → 80.9% | 30.8 GiB → 30.3 GiB | 1,518 → 1,542 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
186
|
+
| -1.6% | -519.644 MiB | 82.1% → 80.9% | 30.8 GiB → 30.3 GiB | 1,518 → 1,542 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204fd0` |
|
|
187
|
+
| -1.6% | -519.644 MiB | 82.1% → 80.9% | 30.8 GiB → 30.3 GiB | 1,518 → 1,542 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
|
|
188
|
+
| -1.6% | -519.644 MiB | 82.1% → 80.9% | 30.8 GiB → 30.3 GiB | 1,518 → 1,542 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
189
|
+
| -1.6% | -519.644 MiB | 82.1% → 80.9% | 30.8 GiB → 30.3 GiB | 1,518 → 1,542 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204d88` |
|
|
190
|
+
| -1.6% | -519.644 MiB | 82.1% → 80.9% | 30.8 GiB → 30.3 GiB | 1,518 → 1,542 | `forEach(BiConsumer)` | `java.util.HashMap` |
|
|
191
|
+
| -1.4% | -443.346 MiB | 82.3% → 81.3% | 30.9 GiB → 30.5 GiB | 1,532 → 1,552 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
192
|
+
| -1.4% | -443.346 MiB | 82.3% → 81.3% | 30.9 GiB → 30.5 GiB | 1,532 → 1,552 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
193
|
+
| -1.4% | -443.346 MiB | 82.3% → 81.3% | 30.9 GiB → 30.5 GiB | 1,532 → 1,552 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
194
|
+
| -99.0% | -97.071 MiB | 0.3% → <0.1% | 98.1 MiB → 1.02 MiB | 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
195
|
+
| -99.0% | -97.071 MiB | 0.3% → <0.1% | 98.1 MiB → 1.02 MiB | 2 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
196
|
+
| -35.2% | -91.91 MiB | 0.7% → 0.4% | 261 MiB → 169 MiB | 8 → 12 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
197
|
+
| removed | -86.092 MiB | 0.2% → 0.0% | 86.1 MiB → 0 B | 5 → 0 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
198
|
+
| removed | -86.092 MiB | 0.2% → 0.0% | 86.1 MiB → 0 B | 5 → 0 | `combineResults(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
199
|
+
| removed | -86.092 MiB | 0.2% → 0.0% | 86.1 MiB → 0 B | 5 → 0 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
200
|
+
| -57.0% | -74.336 MiB | 0.3% → 0.1% | 130 MiB → 56 MiB | 9 → 5 | `average(List)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
201
201
|
|
|
202
202
|
# Retained heap profile diff
|
|
203
203
|
|
|
204
|
-
Retained 2.
|
|
204
|
+
Retained 2.56 MiB (-160 B, ~0%) over 9 samples → 8 samples (291 KiB → 328 KiB per sample).
|
|
205
205
|
|
|
206
|
-
| Category | Change | Delta | % |
|
|
207
|
-
| -------- | -----: | -----: | -----: |
|
|
208
|
-
| stdlib | ~0% | -160 B | 100.0% | 2.
|
|
206
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
207
|
+
| -------- | -----: | -----: | -----: | -------: | ------: |
|
|
208
|
+
| stdlib | ~0% | -160 B | 100.0% | 2.56 MiB | 9 → 8 |
|
|
209
209
|
|
|
210
210
|
## Hottest functions
|
|
211
211
|
|
|
@@ -231,12 +231,12 @@ Functions with the largest decrease in total bytes retained in the function and
|
|
|
231
231
|
|
|
232
232
|
| Change | Delta | % | Size | Samples | Function | Location |
|
|
233
233
|
| ------: | -----: | -----------: | -----------: | ------: | ---------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
234
|
-
| ~0% | -160 B | 90.2% |
|
|
235
|
-
| ~0% | -160 B | 90.2% |
|
|
236
|
-
| ~0% | -160 B | 90.2% |
|
|
237
|
-
| ~0% | -160 B | 90.2% |
|
|
238
|
-
| ~0% | -160 B | 90.2% |
|
|
239
|
-
| ~0% | -160 B | 80.5% |
|
|
234
|
+
| ~0% | -160 B | 90.2% | 2.31 MiB | 8 → 7 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite` |
|
|
235
|
+
| ~0% | -160 B | 90.2% | 2.31 MiB | 8 → 7 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
236
|
+
| ~0% | -160 B | 90.2% | 2.31 MiB | 8 → 7 | `loadAndInvokeHarnessClass(ModuleLoader, String, String[])` | `org.renaissance.core.Launcher` |
|
|
237
|
+
| ~0% | -160 B | 90.2% | 2.31 MiB | 8 → 7 | `launchHarnessClass(String, String[])` | `org.renaissance.core.Launcher` |
|
|
238
|
+
| ~0% | -160 B | 90.2% | 2.31 MiB | 8 → 7 | `main(String[])` | `org.renaissance.core.Launcher` |
|
|
239
|
+
| ~0% | -160 B | 80.5% | 2.06 MiB | 7 → 6 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite$` |
|
|
240
240
|
| removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 1 → 0 | `<clinit>()` | `scala.runtime.LazyVals$` |
|
|
241
241
|
| removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 1 → 0 | `<clinit>()` | `scopt.OptionParser` |
|
|
242
242
|
| removed | -112 B | <0.1% → 0.0% | 112 B → 0 B | 1 → 0 | `createParser(Map)` | `org.renaissance.harness.ConfigParser` |
|