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
|
@@ -96,13 +96,13 @@ Functions with the largest decrease in total samples taken in the function and a
|
|
|
96
96
|
|
|
97
97
|
# Allocated heap profile diff
|
|
98
98
|
|
|
99
|
-
Allocated
|
|
99
|
+
Allocated 37.2 GiB → 37.3 GiB (+115.335 MiB, +0.3%) over 1,980 samples → 1,998 samples (19.2 MiB → 19.1 MiB per sample).
|
|
100
100
|
|
|
101
|
-
| Category | Change |
|
|
102
|
-
| -------- | -----: |
|
|
103
|
-
| stdlib | +1.6% | +
|
|
104
|
-
| ours | -21.5% |
|
|
105
|
-
| native | +20.9% |
|
|
101
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
102
|
+
| -------- | -----: | -----------: | ------------: | ------------------: | ------------: |
|
|
103
|
+
| stdlib | +1.6% | +559.442 MiB | 94.6% → 95.8% | 35.2 GiB → 35.7 GiB | 1,868 → 1,887 |
|
|
104
|
+
| ours | -21.5% | -444.107 MiB | 5.4% → 4.2% | 2.01 GiB → 1.58 GiB | 111 → 109 |
|
|
105
|
+
| native | +20.9% | +432 B | <0.1% | 2.02 KiB → 2.44 KiB | 1 → 2 |
|
|
106
106
|
|
|
107
107
|
## Hottest functions
|
|
108
108
|
|
|
@@ -112,29 +112,29 @@ Allocated 39.9 GB → 40 GB (+120.937 MB, +0.3%) over 1,980 samples → 1,998
|
|
|
112
112
|
|
|
113
113
|
Functions with the largest increase in bytes allocated directly in the function body, excluding callees.
|
|
114
114
|
|
|
115
|
-
| Change |
|
|
116
|
-
| -------: |
|
|
117
|
-
| new | +
|
|
118
|
-
| +63.9% | +
|
|
119
|
-
| +1120.0% | +
|
|
120
|
-
| +2.9% | +2.
|
|
121
|
-
| +11.9% | +1.
|
|
122
|
-
| new | +
|
|
115
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
116
|
+
| -------: | -----------: | -----------: | ------------------: | ------: | -------------------------- | --------------------------------------------------------- |
|
|
117
|
+
| new | +68.804 MiB | 0.0% → 0.2% | 0 B → 68.8 MiB | 0 → 2 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
118
|
+
| +63.9% | +43.864 MiB | 0.2% → 0.3% | 68.6 MiB → 112 MiB | 3 → 9 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
119
|
+
| +1120.0% | +28.611 MiB | <0.1% → 0.1% | 2.55 MiB → 31.2 MiB | 3 → 5 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
120
|
+
| +2.9% | +2.619 MiB | 0.2% | 89.4 MiB → 92 MiB | 5 → 6 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
121
|
+
| +11.9% | +1.107 MiB | <0.1% | 9.33 MiB → 10.4 MiB | 26 → 29 | `valueOf(double)` | `java.lang.Double` |
|
|
122
|
+
| new | +782.796 KiB | 0.0% → <0.1% | 0 B → 783 KiB | 0 → 1 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
123
123
|
|
|
124
124
|
#### Improvements
|
|
125
125
|
|
|
126
126
|
Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
|
|
127
127
|
|
|
128
|
-
| Change |
|
|
129
|
-
| -----: |
|
|
130
|
-
| -95.0% |
|
|
131
|
-
| -91.0% | -
|
|
132
|
-
| -32.0% | -
|
|
133
|
-
| -8.9% |
|
|
134
|
-
| -93.0% | -
|
|
135
|
-
| -38.3% | -
|
|
136
|
-
| -75.0% |
|
|
137
|
-
| -2.8% | -
|
|
128
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
129
|
+
| -----: | -----------: | -----------: | ------------------: | ------: | ------------------------------------ | ---------------------------------------------------------- |
|
|
130
|
+
| -95.0% | -158.32 MiB | 0.4% → <0.1% | 167 MiB → 8.35 MiB | 9 → 4 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
131
|
+
| -91.0% | -110.496 MiB | 0.3% → <0.1% | 121 MiB → 10.9 MiB | 6 → 3 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
132
|
+
| -32.0% | -104.777 MiB | 0.9% → 0.6% | 327 MiB → 223 MiB | 7 → 8 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
133
|
+
| -8.9% | -99.569 MiB | 2.9% → 2.7% | 1.09 GiB → 1016 MiB | 56 → 58 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
134
|
+
| -93.0% | -87.894 MiB | 0.2% → <0.1% | 94.5 MiB → 6.57 MiB | 4 → 1 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
135
|
+
| -38.3% | -27.603 MiB | 0.2% → 0.1% | 72.1 MiB → 44.5 MiB | 7 → 2 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
136
|
+
| -75.0% | -1.135 MiB | <0.1% | 1.51 MiB → 388 KiB | 4 → 1 | `range(int, int)` | `java.util.stream.IntStream` |
|
|
137
|
+
| -2.8% | -113.148 KiB | <0.1% | 3.9 MiB → 3.79 MiB | 11 → 10 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
138
138
|
|
|
139
139
|
### Total size
|
|
140
140
|
|
|
@@ -142,64 +142,64 @@ Functions with the largest decrease in bytes allocated directly in the function
|
|
|
142
142
|
|
|
143
143
|
Functions with the largest increase in total bytes allocated in the function and all its callees.
|
|
144
144
|
|
|
145
|
-
| Change |
|
|
146
|
-
| -------: |
|
|
147
|
-
| +4.2% |
|
|
148
|
-
| +7.0% |
|
|
149
|
-
| +0.8% | +
|
|
150
|
-
| +0.8% | +
|
|
151
|
-
| +0.8% | +
|
|
152
|
-
| +0.8% | +
|
|
153
|
-
| +0.8% | +
|
|
154
|
-
| +0.8% | +
|
|
155
|
-
| +0.6% | +
|
|
156
|
-
| +0.6% | +
|
|
157
|
-
| +0.6% | +
|
|
158
|
-
| +0.3% | +
|
|
159
|
-
| +1.6% | +
|
|
160
|
-
| +63.9% | +
|
|
161
|
-
| +46.6% | +
|
|
162
|
-
| +46.6% | +
|
|
163
|
-
| +1120.0% | +
|
|
164
|
-
| +1120.0% | +
|
|
165
|
-
| +11.9% | +1.
|
|
166
|
-
| +11.9% | +1.
|
|
145
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
146
|
+
| -------: | -----------: | ------------: | ------------------: | ------------: | ------------------------------------------------ | ---------------------------------------------------------------------- |
|
|
147
|
+
| +4.2% | +984.99 MiB | 62.3% → 64.7% | 23.2 GiB → 24.1 GiB | 1,101 → 1,137 | `addAll(Collection)` | `java.util.ArrayList` |
|
|
148
|
+
| +7.0% | +253.916 MiB | 9.6% → 10.2% | 3.55 GiB → 3.8 GiB | 220 → 208 | `add(Object)` | `java.util.ArrayList` |
|
|
149
|
+
| +0.8% | +242.387 MiB | 84.1% → 84.4% | 31.3 GiB → 31.5 GiB | 1,526 → 1,557 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
150
|
+
| +0.8% | +242.387 MiB | 84.1% → 84.4% | 31.3 GiB → 31.5 GiB | 1,526 → 1,557 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b801205218` |
|
|
151
|
+
| +0.8% | +242.387 MiB | 84.1% → 84.4% | 31.3 GiB → 31.5 GiB | 1,526 → 1,557 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
|
|
152
|
+
| +0.8% | +242.387 MiB | 84.1% → 84.4% | 31.3 GiB → 31.5 GiB | 1,526 → 1,557 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
153
|
+
| +0.8% | +242.387 MiB | 84.1% → 84.4% | 31.3 GiB → 31.5 GiB | 1,526 → 1,557 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b801204d88` |
|
|
154
|
+
| +0.8% | +242.387 MiB | 84.1% → 84.4% | 31.3 GiB → 31.5 GiB | 1,526 → 1,557 | `forEach(BiConsumer)` | `java.util.HashMap` |
|
|
155
|
+
| +0.6% | +201.943 MiB | 84.6% → 84.9% | 31.5 GiB → 31.7 GiB | 1,541 → 1,570 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
156
|
+
| +0.6% | +201.943 MiB | 84.6% → 84.9% | 31.5 GiB → 31.7 GiB | 1,541 → 1,570 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
157
|
+
| +0.6% | +201.943 MiB | 84.6% → 84.9% | 31.5 GiB → 31.7 GiB | 1,541 → 1,570 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
158
|
+
| +0.3% | +115.351 MiB | 99.4% | 37 GiB → 37.1 GiB | 1,856 → 1,872 | `compute()` | `org.renaissance.jdk.concurrent.JavaKMeans$RangedTask` |
|
|
159
|
+
| +1.6% | +63.604 MiB | 10.5% → 10.7% | 3.92 GiB → 3.98 GiB | 242 → 218 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
160
|
+
| +63.9% | +43.864 MiB | 0.2% → 0.3% | 68.6 MiB → 112 MiB | 3 → 9 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
161
|
+
| +46.6% | +29.257 MiB | 0.2% | 62.7 MiB → 92 MiB | 4 → 9 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
162
|
+
| +46.6% | +29.257 MiB | 0.2% | 62.7 MiB → 92 MiB | 4 → 9 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
163
|
+
| +1120.0% | +28.611 MiB | <0.1% → 0.1% | 2.55 MiB → 31.2 MiB | 3 → 5 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
164
|
+
| +1120.0% | +28.611 MiB | <0.1% → 0.1% | 2.55 MiB → 31.2 MiB | 3 → 5 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
165
|
+
| +11.9% | +1.107 MiB | <0.1% | 9.33 MiB → 10.4 MiB | 26 → 29 | `valueOf(double)` | `java.lang.Double` |
|
|
166
|
+
| +11.9% | +1.107 MiB | <0.1% | 9.33 MiB → 10.4 MiB | 26 → 29 | `lambda$generateData$3(int, int, Random[], int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
167
167
|
|
|
168
168
|
#### Improvements
|
|
169
169
|
|
|
170
170
|
Functions with the largest decrease in total bytes allocated in the function and all its callees.
|
|
171
171
|
|
|
172
|
-
| Change |
|
|
173
|
-
| ------: |
|
|
174
|
-
| -4.4% | -1.
|
|
175
|
-
| -7.2% | -
|
|
176
|
-
| -5.7% | -
|
|
177
|
-
| -94.8% | -
|
|
178
|
-
| -1.8% | -
|
|
179
|
-
| -1.8% | -
|
|
180
|
-
| -32.0% | -
|
|
181
|
-
| -8.9% |
|
|
182
|
-
| -93.0% | -
|
|
183
|
-
| -93.0% | -
|
|
184
|
-
| -93.0% | -
|
|
185
|
-
| -31.8% | -
|
|
186
|
-
| -33.0% | -
|
|
187
|
-
| -63.0% | -
|
|
188
|
-
| -0.7% | -
|
|
189
|
-
| -38.3% | -
|
|
190
|
-
| -38.3% | -
|
|
191
|
-
| removed | -
|
|
192
|
-
| -8.8% | -
|
|
193
|
-
| -1.6% | -
|
|
172
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
173
|
+
| ------: | -----------: | ------------: | ------------------: | ------------: | ---------------------------------------------- | ------------------------------------------------------------------------------------- |
|
|
174
|
+
| -4.4% | -1.072 GiB | 65.4% → 62.3% | 24.3 GiB → 23.2 GiB | 1,260 → 1,239 | `join()` | `java.util.concurrent.ForkJoinTask` |
|
|
175
|
+
| -7.2% | -584.282 MiB | 21.3% → 19.7% | 7.93 GiB → 7.36 GiB | 416 | `<init>(Collection)` | `java.util.ArrayList` |
|
|
176
|
+
| -5.7% | -469.296 MiB | 21.6% → 20.3% | 8.02 GiB → 7.57 GiB | 195 → 231 | `invoke()` | `java.util.concurrent.ForkJoinTask` |
|
|
177
|
+
| -94.8% | -159.131 MiB | 0.4% → <0.1% | 168 MiB → 8.71 MiB | 14 | `<clinit>()` | `scala.Predef$` |
|
|
178
|
+
| -1.8% | -143.271 MiB | 20.6% → 20.2% | 7.66 GiB → 7.52 GiB | 186 → 222 | `lambda$run$0(int, List, int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
179
|
+
| -1.8% | -143.271 MiB | 20.6% → 20.2% | 7.66 GiB → 7.52 GiB | 186 → 222 | `call()` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b8011ffbc0` |
|
|
180
|
+
| -32.0% | -104.777 MiB | 0.9% → 0.6% | 327 MiB → 223 MiB | 7 → 8 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
181
|
+
| -8.9% | -99.569 MiB | 2.9% → 2.7% | 1.09 GiB → 1016 MiB | 56 → 58 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
182
|
+
| -93.0% | -87.894 MiB | 0.2% → <0.1% | 94.5 MiB → 6.57 MiB | 4 → 1 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
183
|
+
| -93.0% | -87.894 MiB | 0.2% → <0.1% | 94.5 MiB → 6.57 MiB | 4 → 1 | `combineResults(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
184
|
+
| -93.0% | -87.894 MiB | 0.2% → <0.1% | 94.5 MiB → 6.57 MiB | 4 → 1 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
|
|
185
|
+
| -31.8% | -79.815 MiB | 0.7% → 0.4% | 251 MiB → 171 MiB | 16 → 7 | `computeIfAbsent(Object, Function)` | `java.util.HashMap` |
|
|
186
|
+
| -33.0% | -43.596 MiB | 0.3% → 0.2% | 132 MiB → 88.7 MiB | 10 → 6 | `<init>(Map)` | `java.util.HashMap` |
|
|
187
|
+
| -63.0% | -39.547 MiB | 0.2% → 0.1% | 62.7 MiB → 23.2 MiB | 4 → 7 | `average(List)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
|
|
188
|
+
| -0.7% | -35.965 MiB | 13.5% → 13.3% | 5.01 GiB → 4.97 GiB | 298 → 276 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
189
|
+
| -38.3% | -27.603 MiB | 0.2% → 0.1% | 72.1 MiB → 44.5 MiB | 7 → 2 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
190
|
+
| -38.3% | -27.603 MiB | 0.2% → 0.1% | 72.1 MiB → 44.5 MiB | 7 → 2 | `apply(Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask$$Lambda.0x000000b801204b38` |
|
|
191
|
+
| removed | -775.242 KiB | <0.1% → 0.0% | 775 KiB → 0 B | 2 → 0 | `linkToTargetMethod(int, int, Object, Object)` | `java.lang.invoke.LambdaForm$MH.0x000000c0011a2c00` |
|
|
192
|
+
| -8.8% | -572.828 KiB | <0.1% | 6.33 MiB → 5.77 MiB | 16 → 15 | `range(int, int)` | `java.util.stream.IntStream` |
|
|
193
|
+
| -1.6% | -405.148 KiB | 0.1% | 25.5 MiB → 25.1 MiB | 70 → 69 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b8011a18d8` |
|
|
194
194
|
|
|
195
195
|
# Retained heap profile diff
|
|
196
196
|
|
|
197
|
-
Retained 2.
|
|
197
|
+
Retained 2.56 MiB → 3.99 MiB (+1.431 MiB, +55.9%) over 10 samples → 17 samples (262 KiB → 240 KiB per sample).
|
|
198
198
|
|
|
199
|
-
| Category | Change |
|
|
200
|
-
| -------- | ------: |
|
|
201
|
-
| stdlib | +55.9% | +1.
|
|
202
|
-
| ours | +200.0% |
|
|
199
|
+
| Category | Change | Delta | % | Size | Samples |
|
|
200
|
+
| -------- | ------: | ---------: | -----: | ------------------: | ------: |
|
|
201
|
+
| stdlib | +55.9% | +1.431 MiB | 100.0% | 2.56 MiB → 3.99 MiB | 9 → 14 |
|
|
202
|
+
| ours | +200.0% | +80 B | <0.1% | 40 B → 120 B | 1 → 3 |
|
|
203
203
|
|
|
204
204
|
## Hottest functions
|
|
205
205
|
|
|
@@ -227,28 +227,28 @@ Functions with the largest decrease in bytes retained directly in the function b
|
|
|
227
227
|
|
|
228
228
|
Functions with the largest increase in total bytes retained in the function and all its callees.
|
|
229
229
|
|
|
230
|
-
| Change | Delta | % |
|
|
231
|
-
| ------: | ----------: | -----------: |
|
|
232
|
-
| new |
|
|
233
|
-
| new |
|
|
234
|
-
| new |
|
|
235
|
-
| new |
|
|
236
|
-
| new |
|
|
237
|
-
| new |
|
|
238
|
-
| new |
|
|
239
|
-
| new |
|
|
240
|
-
| new |
|
|
241
|
-
| new |
|
|
242
|
-
| new |
|
|
243
|
-
| new | +
|
|
244
|
-
| new | +
|
|
245
|
-
| new | +
|
|
246
|
-
| new | +
|
|
247
|
-
| new | +
|
|
248
|
-
| new | +112 B | 0.0% → <0.1% |
|
|
249
|
-
| new | +112 B | 0.0% → <0.1% |
|
|
250
|
-
| +200.0% | +80 B | <0.1% |
|
|
251
|
-
| +200.0% | +80 B | <0.1% |
|
|
230
|
+
| Change | Delta | % | Size | Samples | Function | Location |
|
|
231
|
+
| ------: | ----------: | -----------: | -------------: | ------: | ----------------------------------- | ---------------------------------------------------------------------- |
|
|
232
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
233
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b801205218` |
|
|
234
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
|
|
235
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
236
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b801204d88` |
|
|
237
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `forEach(BiConsumer)` | `java.util.HashMap` |
|
|
238
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
239
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
240
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
|
|
241
|
+
| new | +1.431 MiB | 0.0% → 35.9% | 0 B → 1.43 MiB | 0 → 8 | `compute()` | `org.renaissance.jdk.concurrent.JavaKMeans$RangedTask` |
|
|
242
|
+
| new | +1.336 MiB | 0.0% → 33.5% | 0 B → 1.34 MiB | 0 → 7 | `addAll(Collection)` | `java.util.ArrayList` |
|
|
243
|
+
| new | +293.82 KiB | 0.0% → 7.2% | 0 B → 294 KiB | 0 → 2 | `join()` | `java.util.concurrent.ForkJoinTask` |
|
|
244
|
+
| new | +293.82 KiB | 0.0% → 7.2% | 0 B → 294 KiB | 0 → 2 | `invoke()` | `java.util.concurrent.ForkJoinTask` |
|
|
245
|
+
| new | +293.82 KiB | 0.0% → 7.2% | 0 B → 294 KiB | 0 → 2 | `lambda$run$0(int, List, int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
246
|
+
| new | +293.82 KiB | 0.0% → 7.2% | 0 B → 294 KiB | 0 → 2 | `call()` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b8011ffbc0` |
|
|
247
|
+
| new | +98.062 KiB | 0.0% → 2.4% | 0 B → 98.1 KiB | 0 → 1 | `<init>(Collection)` | `java.util.ArrayList` |
|
|
248
|
+
| new | +112 B | 0.0% → <0.1% | 0 B → 112 B | 0 → 1 | `<clinit>()` | `scala.runtime.LazyVals$` |
|
|
249
|
+
| new | +112 B | 0.0% → <0.1% | 0 B → 112 B | 0 → 1 | `<clinit>()` | `scopt.OptionParser` |
|
|
250
|
+
| +200.0% | +80 B | <0.1% | 40 B → 120 B | 1 → 3 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b8011a1d48` |
|
|
251
|
+
| +200.0% | +80 B | <0.1% | 40 B → 120 B | 1 → 3 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
252
252
|
|
|
253
253
|
#### Improvements
|
|
254
254
|
|
|
@@ -257,16 +257,16 @@ Functions with the largest decrease in total bytes retained in the function and
|
|
|
257
257
|
| Change | Delta | % | Size | Samples | Function | Location |
|
|
258
258
|
| ------: | -----: | ------------: | ----------: | ------: | ----------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
259
259
|
| removed | -296 B | <0.1% → 0.0% | 296 B → 0 B | 1 → 0 | `<clinit>()` | `scala.Predef$` |
|
|
260
|
-
| ~0% | -192 B | 90.2% → 57.9% |
|
|
261
|
-
| ~0% | -192 B | 90.2% → 57.9% |
|
|
262
|
-
| ~0% | -192 B | 90.2% → 57.9% |
|
|
263
|
-
| ~0% | -192 B | 90.2% → 57.9% |
|
|
264
|
-
| ~0% | -192 B | 90.2% → 57.9% |
|
|
265
|
-
| ~0% | -192 B | 80.5% → 51.6% |
|
|
260
|
+
| ~0% | -192 B | 90.2% → 57.9% | 2.31 MiB | 9 → 8 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite` |
|
|
261
|
+
| ~0% | -192 B | 90.2% → 57.9% | 2.31 MiB | 9 → 8 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
|
|
262
|
+
| ~0% | -192 B | 90.2% → 57.9% | 2.31 MiB | 9 → 8 | `loadAndInvokeHarnessClass(ModuleLoader, String, String[])` | `org.renaissance.core.Launcher` |
|
|
263
|
+
| ~0% | -192 B | 90.2% → 57.9% | 2.31 MiB | 9 → 8 | `launchHarnessClass(String, String[])` | `org.renaissance.core.Launcher` |
|
|
264
|
+
| ~0% | -192 B | 90.2% → 57.9% | 2.31 MiB | 9 → 8 | `main(String[])` | `org.renaissance.core.Launcher` |
|
|
265
|
+
| ~0% | -192 B | 80.5% → 51.6% | 2.06 MiB | 8 → 7 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite$` |
|
|
266
266
|
| -75.0% | -72 B | <0.1% | 96 B → 24 B | 4 → 1 | `valueOf(double)` | `java.lang.Double` |
|
|
267
267
|
| -75.0% | -72 B | <0.1% | 96 B → 24 B | 4 → 1 | `lambda$generateData$3(int, int, Random[], int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
|
|
268
268
|
| -75.0% | -72 B | <0.1% | 96 B → 24 B | 4 → 1 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x000000b8011a1b10` |
|
|
269
|
-
| ~0% | -64 B | 9.7% → 6.2% |
|
|
269
|
+
| ~0% | -64 B | 9.7% → 6.2% | 255 KiB | 2 → 1 | `loadClass(String)` | `java.lang.ClassLoader` |
|
|
270
270
|
| removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `indexWhere(Function1)` | `scala.collection.AbstractSeq` |
|
|
271
271
|
| removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `updateOption(OptionDef, Read)` | `scopt.OptionParser` |
|
|
272
272
|
| removed | -64 B | <0.1% → 0.0% | 64 B → 0 B | 1 → 0 | `makeDef(OptionDefKind, String, Read)` | `scopt.OptionParser` |
|