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.
Files changed (166) hide show
  1. package/dist/cli/index.mjs +5789 -5181
  2. package/dist/index.d.mts +478 -137
  3. package/dist/index.js +2 -2
  4. package/docs/formats/jfr.md +1 -1
  5. package/docs/formats/jsc-heap-snapshot.md +1 -1
  6. package/docs/formats/pprof.md +8 -6
  7. package/docs/formats/speedscope.md +5 -4
  8. package/docs/formats/systing.md +25 -0
  9. package/docs/formats/v8-heap-snapshot.md +2 -2
  10. package/docs/languages/c.md +35 -2
  11. package/docs/languages/csharp.md +2 -4
  12. package/docs/languages/elixir.md +4 -5
  13. package/docs/languages/go.md +6 -6
  14. package/docs/languages/java.md +13 -13
  15. package/docs/languages/javascript.md +7 -7
  16. package/docs/languages/julia.md +92 -13
  17. package/docs/languages/php.md +3 -4
  18. package/docs/languages/python.md +28 -13
  19. package/docs/languages/ruby.md +4 -6
  20. package/docs/languages/rust.md +37 -8
  21. package/examples/output/c.gperftools.heap.base.pprof.md +151 -151
  22. package/examples/output/c.gperftools.heap.current.pprof.md +151 -151
  23. package/examples/output/c.gperftools.heap.diff.pprof.md +3 -3
  24. package/examples/output/c.systing.cpu.base.systing.md +824 -0
  25. package/examples/output/c.systing.cpu.current.systing.md +825 -0
  26. package/examples/output/c.systing.cpu.diff.systing.md +238 -0
  27. package/examples/output/cpp.gperftools.heap.base.pprof.md +24 -24
  28. package/examples/output/cpp.gperftools.heap.current.pprof.md +24 -24
  29. package/examples/output/cpp.gperftools.heap.diff.pprof.md +2 -2
  30. package/examples/output/go.pprof.block.base.pprof.md +40 -40
  31. package/examples/output/go.pprof.block.current.pprof.md +37 -37
  32. package/examples/output/go.pprof.block.diff.pprof.md +14 -14
  33. package/examples/output/go.pprof.goroutine.base.pprof.md +16 -16
  34. package/examples/output/go.pprof.goroutine.current.pprof.md +16 -16
  35. package/examples/output/go.pprof.heap-alloc.base.pprof.md +79 -79
  36. package/examples/output/go.pprof.heap-alloc.current.pprof.md +72 -72
  37. package/examples/output/go.pprof.heap-alloc.diff.pprof.md +25 -25
  38. package/examples/output/go.pprof.heap.base.pprof.md +79 -79
  39. package/examples/output/go.pprof.heap.current.pprof.md +72 -72
  40. package/examples/output/go.pprof.heap.diff.pprof.md +25 -25
  41. package/examples/output/go.pprof.mutex.base.pprof.md +26 -26
  42. package/examples/output/go.pprof.mutex.current.pprof.md +15 -15
  43. package/examples/output/go.pprof.mutex.diff.pprof.md +10 -10
  44. package/examples/output/java.async-profiler.all.base.jfr.md +192 -192
  45. package/examples/output/java.async-profiler.all.current.jfr.md +181 -181
  46. package/examples/output/java.async-profiler.all.diff.jfr.md +72 -72
  47. package/examples/output/java.async-profiler.alloc.base.jfr.md +189 -189
  48. package/examples/output/java.async-profiler.alloc.current.jfr.md +183 -183
  49. package/examples/output/java.async-profiler.alloc.diff.jfr.md +70 -70
  50. package/examples/output/java.async-profiler.live.base.jfr.md +303 -303
  51. package/examples/output/java.async-profiler.live.current.jfr.md +313 -313
  52. package/examples/output/java.async-profiler.live.diff.jfr.md +132 -132
  53. package/examples/output/java.async-profiler.nativemem.base.jfr.md +141 -141
  54. package/examples/output/java.async-profiler.nativemem.current.jfr.md +141 -141
  55. package/examples/output/java.async-profiler.nativemem.diff.jfr.md +48 -48
  56. package/examples/output/java.jdk.all.base.jfr.md +281 -281
  57. package/examples/output/java.jdk.all.current.jfr.md +267 -267
  58. package/examples/output/java.jdk.all.diff.jfr.md +103 -103
  59. package/examples/output/java.jdk.alloc.base.jfr.md +254 -254
  60. package/examples/output/java.jdk.alloc.current.jfr.md +293 -293
  61. package/examples/output/java.jdk.alloc.diff.jfr.md +102 -102
  62. package/examples/output/java.jdk.cpu.base.jfr.md +256 -256
  63. package/examples/output/java.jdk.cpu.current.jfr.md +276 -276
  64. package/examples/output/java.jdk.cpu.diff.jfr.md +93 -93
  65. package/examples/output/java.jdk.live.base.jfr.md +256 -256
  66. package/examples/output/java.jdk.live.current.jfr.md +250 -250
  67. package/examples/output/java.jdk.live.diff.jfr.md +78 -78
  68. package/examples/output/java.jdk.lock.base.jfr.md +285 -285
  69. package/examples/output/java.jdk.lock.current.jfr.md +285 -285
  70. package/examples/output/java.jdk.lock.diff.jfr.md +121 -121
  71. package/examples/output/javascript.bun.base.cpuprofile.md +36 -36
  72. package/examples/output/javascript.bun.base.heapsnapshot.md +215 -215
  73. package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +218 -218
  74. package/examples/output/javascript.bun.current.cpuprofile.md +34 -34
  75. package/examples/output/javascript.bun.current.heapsnapshot.md +215 -215
  76. package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +220 -220
  77. package/examples/output/javascript.bun.diff.cpuprofile.md +19 -19
  78. package/examples/output/javascript.bun.diff.heapsnapshot.md +23 -23
  79. package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +35 -35
  80. package/examples/output/javascript.chrome.base.heapprofile.md +17 -17
  81. package/examples/output/javascript.chrome.base.heapsnapshot.md +202 -202
  82. package/examples/output/javascript.chrome.current.heapprofile.md +17 -17
  83. package/examples/output/javascript.chrome.current.heapsnapshot.md +200 -200
  84. package/examples/output/javascript.chrome.diff.heapprofile.md +21 -21
  85. package/examples/output/javascript.chrome.diff.heapsnapshot.md +27 -27
  86. package/examples/output/javascript.deno.base.cpuprofile.md +63 -63
  87. package/examples/output/javascript.deno.current.cpuprofile.md +56 -56
  88. package/examples/output/javascript.deno.diff.cpuprofile.md +28 -28
  89. package/examples/output/javascript.node.base.cpuprofile.md +73 -73
  90. package/examples/output/javascript.node.base.heapprofile.md +32 -32
  91. package/examples/output/javascript.node.base.heapsnapshot.md +269 -269
  92. package/examples/output/javascript.node.current.cpuprofile.md +61 -61
  93. package/examples/output/javascript.node.current.heapprofile.md +28 -28
  94. package/examples/output/javascript.node.current.heapsnapshot.md +269 -269
  95. package/examples/output/javascript.node.diff.cpuprofile.md +32 -32
  96. package/examples/output/javascript.node.diff.heapprofile.md +17 -17
  97. package/examples/output/javascript.node.diff.heapsnapshot.md +19 -19
  98. package/examples/output/javascript.pprof.cpu.base.pprof.md +50 -50
  99. package/examples/output/javascript.pprof.cpu.current.pprof.md +66 -66
  100. package/examples/output/javascript.pprof.cpu.diff.pprof.md +28 -28
  101. package/examples/output/javascript.pprof.heap.base.pprof.md +46 -46
  102. package/examples/output/javascript.pprof.heap.current.pprof.md +34 -34
  103. package/examples/output/javascript.pprof.heap.diff.pprof.md +18 -18
  104. package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +1 -1
  105. package/examples/output/julia.pprof-jl.alloc.base.pprof.md +83 -83
  106. package/examples/output/julia.pprof-jl.alloc.current.pprof.md +85 -85
  107. package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +18 -18
  108. package/examples/output/julia.pprof-jl.cpu.base.pprof.md +107 -107
  109. package/examples/output/julia.pprof-jl.cpu.current.pprof.md +109 -109
  110. package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +29 -29
  111. package/examples/output/julia.pprof-jl.wall.base.pprof.md +181 -0
  112. package/examples/output/julia.pprof-jl.wall.current.pprof.md +193 -0
  113. package/examples/output/julia.pprof-jl.wall.diff.pprof.md +64 -0
  114. package/examples/output/julia.profile.base.heapsnapshot.md +590 -0
  115. package/examples/output/julia.profile.current.heapsnapshot.md +590 -0
  116. package/examples/output/julia.profile.diff.heapsnapshot.md +288 -0
  117. package/examples/output/kotlin.async-profiler.all.base.jfr.md +193 -193
  118. package/examples/output/kotlin.async-profiler.all.current.jfr.md +218 -218
  119. package/examples/output/kotlin.async-profiler.all.diff.jfr.md +93 -93
  120. package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +212 -212
  121. package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +183 -183
  122. package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +93 -93
  123. package/examples/output/kotlin.async-profiler.live.base.jfr.md +343 -343
  124. package/examples/output/kotlin.async-profiler.live.current.jfr.md +336 -336
  125. package/examples/output/kotlin.async-profiler.live.diff.jfr.md +186 -186
  126. package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +150 -150
  127. package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +150 -150
  128. package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +48 -48
  129. package/examples/output/kotlin.jdk.all.base.jfr.md +402 -402
  130. package/examples/output/kotlin.jdk.all.current.jfr.md +413 -413
  131. package/examples/output/kotlin.jdk.all.diff.jfr.md +169 -169
  132. package/examples/output/kotlin.jdk.alloc.base.jfr.md +418 -418
  133. package/examples/output/kotlin.jdk.alloc.current.jfr.md +405 -405
  134. package/examples/output/kotlin.jdk.alloc.diff.jfr.md +160 -160
  135. package/examples/output/kotlin.jdk.cpu.base.jfr.md +418 -418
  136. package/examples/output/kotlin.jdk.cpu.current.jfr.md +413 -413
  137. package/examples/output/kotlin.jdk.cpu.diff.jfr.md +148 -148
  138. package/examples/output/kotlin.jdk.live.base.jfr.md +420 -420
  139. package/examples/output/kotlin.jdk.live.current.jfr.md +411 -411
  140. package/examples/output/kotlin.jdk.live.diff.jfr.md +148 -148
  141. package/examples/output/kotlin.jdk.lock.base.jfr.md +417 -417
  142. package/examples/output/kotlin.jdk.lock.current.jfr.md +398 -398
  143. package/examples/output/kotlin.jdk.lock.diff.jfr.md +156 -156
  144. package/examples/output/php.excimer.wall.base.speedscope.json.md +6 -6
  145. package/examples/output/php.excimer.wall.current.speedscope.json.md +6 -6
  146. package/examples/output/php.excimer.wall.diff.speedscope.json.md +6 -6
  147. package/examples/output/ruby.rbspy.cpu.base.collapsed.md +14 -14
  148. package/examples/output/ruby.rbspy.cpu.base.pprof.md +14 -14
  149. package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +14 -14
  150. package/examples/output/ruby.rbspy.cpu.current.collapsed.md +12 -12
  151. package/examples/output/ruby.rbspy.cpu.current.pprof.md +21 -21
  152. package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +21 -21
  153. package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +5 -5
  154. package/examples/output/ruby.rbspy.cpu.diff.pprof.md +12 -12
  155. package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +12 -12
  156. package/examples/output/rust.pprof-rs.cpu.base.pprof.md +32 -32
  157. package/examples/output/rust.pprof-rs.cpu.current.pprof.md +32 -32
  158. package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +7 -7
  159. package/package.json +11 -10
  160. package/readme.md +53 -31
  161. package/skills/profile-optimize/SKILL.md +160 -0
  162. package/docs/languages/cpp.md +0 -160
  163. package/docs/languages/erlang.md +0 -46
  164. package/docs/languages/fsharp.md +0 -52
  165. package/docs/languages/kotlin.md +0 -170
  166. 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 40.3 GB (-54.656 MB, -0.1%) over 1,984 samples → 2,040 samples (20.3 MB → 19.7 MB per sample).
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 | Delta | % | Size | Samples |
109
- | -------- | -----: | ----------: | ------------: | ----------------: | ------------: |
110
- | stdlib | +0.4% | +171.132 MB | 94.6% → 95.1% | 38.1 GB → 38.3 GB | 1,865 → 1,922 |
111
- | ours | -10.3% | -225.788 MB | 5.4% → 4.9% | 2.19 GB → 1.97 GB | 117 |
112
- | native | -12.2% | -280 B | <0.1% | 2.3 kB → 2.02 kB | 2 → 1 |
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 | Delta | % | Size | Samples | Function | Location |
123
- | ------: | ----------: | -----------: | ----------------: | ------: | ------------------------------------ | ---------------------------------------------------------- |
124
- | +11.3% | +121.237 MB | 2.7% → 3.0% | 1.07 GB → 1.19 GB | 65 → 62 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
125
- | +184.9% | +115.222 MB | 0.2% → 0.4% | 62.3 MB → 178 MB | 4 → 10 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
126
- | new | +106.216 MB | 0.0% → 0.3% | 0 B → 106 MB | 0 → 1 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
127
- | +198.5% | +48.397 MB | 0.1% → 0.2% | 24.4 MB → 72.8 MB | 6 → 4 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
128
- | +15.8% | +10.584 MB | 0.2% | 67.1 MB → 77.7 MB | 5 → 2 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
129
- | +11.7% | +10.465 MB | 0.2% | 89.2 MB → 99.7 MB | 4 → 7 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
130
- | +14.5% | +1.468 MB | <0.1% | 10.1 MB → 11.6 MB | 26 → 29 | `valueOf(double)` | `java.lang.Double` |
131
- | new | +769.888 kB | 0.0% → <0.1% | 0 B → 770 kB | 0 → 1 | `lambda$boxed$0(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
132
- | +8.4% | +302.264 kB | <0.1% | 3.58 MB → 3.88 MB | 10 → 12 | `lambda$generateData$4(int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
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 | Delta | % | Size | Samples | Function | Location |
139
- | ------: | ----------: | -----------: | ---------------: | ------: | ------------------------- | ---------------------------------------------------------- |
140
- | -85.7% | -350.548 MB | 1.0% → 0.1% | 409 MB → 58.4 MB | 8 → 4 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
141
- | -99.0% | -101.786 MB | 0.3% → <0.1% | 103 MB → 1.07 MB | 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
142
- | -35.2% | -96.374 MB | 0.7% → 0.4% | 274 MB → 178 MB | 8 → 12 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
143
- | removed | -90.274 MB | 0.2% → 0.0% | 90.3 MB → 0 B | 5 → 0 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
144
- | removed | -817.768 kB | <0.1% → 0.0% | 818 kB → 0 B | 3 → 0 | `range(int, int)` | `java.util.stream.IntStream` |
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 | Delta | % | Size | Samples | Function | Location |
153
- | ------: | ----------: | ------------: | ----------------: | ------------: | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
154
- | +3.3% | +888.649 MB | 66.1% → 68.4% | 26.7 GB → 27.6 GB | 1,259 → 1,309 | `join()` | `java.util.concurrent.ForkJoinTask` |
155
- | +7.5% | +475.204 MB | 15.8% → 17.0% | 6.37 GB → 6.84 GB | 308 → 337 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
156
- | +7.9% | +375.936 MB | 11.8% → 12.7% | 4.75 GB → 5.13 GB | 226 → 258 | `add(Object)` | `java.util.ArrayList` |
157
- | +6.7% | +353.966 MB | 13.1% → 14.0% | 5.29 GB → 5.65 GB | 243 → 275 | `collectClusters(int[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
158
- | +253.2% | +328.579 MB | 0.3% → 1.1% | 130 MB → 458 MB | 9 → 13 | `computeIfAbsent(Object, Function)` | `java.util.HashMap` |
159
- | +1.1% | +277.166 MB | 60.0% → 60.7% | 24.2 GB → 24.5 GB | 1,129 → 1,156 | `addAll(Collection)` | `java.util.ArrayList` |
160
- | +11.3% | +121.237 MB | 2.7% → 3.0% | 1.07 GB → 1.19 GB | 65 → 62 | `findNearestCentroid()` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
161
- | +184.9% | +115.222 MB | 0.2% → 0.4% | 62.3 MB → 178 MB | 4 → 10 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
162
- | +50.5% | +31.607 MB | 0.2% | 62.6 MB → 94.2 MB | 8 → 6 | `<init>(Map)` | `java.util.HashMap` |
163
- | +21.8% | +29.835 MB | 0.3% → 0.4% | 137 MB → 167 MB | 9 → 8 | `computeClusterAverages()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
164
- | +21.8% | +29.835 MB | 0.3% → 0.4% | 137 MB → 167 MB | 9 → 8 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
165
- | +159.9% | +16.212 MB | <0.1% → 0.1% | 10.1 MB → 26.3 MB | 26 → 69 | `apply(int)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011a18d8` |
166
- | +15.8% | +10.584 MB | 0.2% | 67.1 MB → 77.7 MB | 5 → 2 | `lambda$collectClusters$0(Double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
167
- | +15.8% | +10.584 MB | 0.2% | 67.1 MB → 77.7 MB | 5 → 2 | `apply(Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask$$Lambda.0x0000007001204b38` |
168
- | +12.2% | +1.816 MB | <0.1% | 14.8 MB → 16.7 MB | 39 → 43 | `toArray(IntFunction)` | `java.util.stream.ReferencePipeline` |
169
- | +0.9% | +1.606 MB | 0.5% | 186 MB → 188 MB | 37 → 39 | `loadClass(String)` | `java.lang.ClassLoader` |
170
- | +14.5% | +1.468 MB | <0.1% | 10.1 MB → 11.6 MB | 26 → 29 | `valueOf(double)` | `java.lang.Double` |
171
- | +14.5% | +1.468 MB | <0.1% | 10.1 MB → 11.6 MB | 26 → 29 | `lambda$generateData$3(int, int, Random[], int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
172
- | new | +1.313 MB | 0.0% → <0.1% | 0 B → 1.31 MB | 0 → 1 | `map(Function1)` | `scala.collection.immutable.Range` |
173
- | +0.5% | +852.04 kB | 0.4% | 172 MB → 173 MB | 4 | `run(BenchmarkContext)` | `org.renaissance.jdk.concurrent.FjKmeans` |
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 | Delta | % | Size | Samples | Function | Location |
180
- | ------: | ----------: | ------------: | ----------------: | ------------: | ------------------------------------ | ---------------------------------------------------------------------- |
181
- | -13.1% | -1.149 GB | 21.8% → 19.0% | 8.8 GB → 7.65 GB | 215 → 230 | `invoke()` | `java.util.concurrent.ForkJoinTask` |
182
- | -10.4% | -855.406 MB | 20.4% → 18.3% | 8.23 GB → 7.37 GB | 195 → 222 | `lambda$run$0(int, List, int)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
183
- | -10.4% | -855.406 MB | 20.4% → 18.3% | 8.23 GB → 7.37 GB | 195 → 222 | `call()` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x00000070011ffbc0` |
184
- | -9.4% | -832.518 MB | 21.9% → 19.9% | 8.83 GB → 8 GB | 385 → 379 | `<init>(Collection)` | `java.util.ArrayList` |
185
- | -1.6% | -544.887 MB | 82.1% → 80.9% | 33.1 GB → 32.6 GB | 1,518 → 1,542 | `lambda$merge$6(List, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
186
- | -1.6% | -544.887 MB | 82.1% → 80.9% | 33.1 GB → 32.6 GB | 1,518 → 1,542 | `apply(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204fd0` |
187
- | -1.6% | -544.887 MB | 82.1% → 80.9% | 33.1 GB → 32.6 GB | 1,518 → 1,542 | `merge(Object, Object, BiFunction)` | `java.util.HashMap` |
188
- | -1.6% | -544.887 MB | 82.1% → 80.9% | 33.1 GB → 32.6 GB | 1,518 → 1,542 | `lambda$merge$7(Map, Object, List)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
189
- | -1.6% | -544.887 MB | 82.1% → 80.9% | 33.1 GB → 32.6 GB | 1,518 → 1,542 | `accept(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$$Lambda.0x0000007001204d88` |
190
- | -1.6% | -544.887 MB | 82.1% → 80.9% | 33.1 GB → 32.6 GB | 1,518 → 1,542 | `forEach(BiConsumer)` | `java.util.HashMap` |
191
- | -1.4% | -464.882 MB | 82.3% → 81.3% | 33.2 GB → 32.7 GB | 1,532 → 1,552 | `merge(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans` |
192
- | -1.4% | -464.882 MB | 82.3% → 81.3% | 33.2 GB → 32.7 GB | 1,532 → 1,552 | `combineResults(Map, Map)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
193
- | -1.4% | -464.882 MB | 82.3% → 81.3% | 33.2 GB → 32.7 GB | 1,532 → 1,552 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$AssignmentTask` |
194
- | -99.0% | -101.786 MB | 0.3% → <0.1% | 103 MB → 1.07 MB | 2 | `vectorSum()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
195
- | -99.0% | -101.786 MB | 0.3% → <0.1% | 103 MB → 1.07 MB | 2 | `computeDirectly()` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
196
- | -35.2% | -96.374 MB | 0.7% → 0.4% | 274 MB → 178 MB | 8 → 12 | `createSubtask(int, int)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
197
- | removed | -90.274 MB | 0.2% → 0.0% | 90.3 MB → 0 B | 5 → 0 | `add(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
198
- | removed | -90.274 MB | 0.2% → 0.0% | 90.3 MB → 0 B | 5 → 0 | `combineResults(double[], double[])` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
199
- | removed | -90.274 MB | 0.2% → 0.0% | 90.3 MB → 0 B | 5 → 0 | `combineResults(Object, Object)` | `org.renaissance.jdk.concurrent.JavaKMeans$VectorSumTask` |
200
- | -57.0% | -77.947 MB | 0.3% → 0.1% | 137 MB → 58.7 MB | 9 → 5 | `average(List)` | `org.renaissance.jdk.concurrent.JavaKMeans$UpdateTask` |
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.68 MB (-160 B, ~0%) over 9 samples → 8 samples (298 kB → 336 kB per sample).
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 | % | Size | Samples |
207
- | -------- | -----: | -----: | -----: | ------: | ------: |
208
- | stdlib | ~0% | -160 B | 100.0% | 2.68 MB | 9 → 8 |
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% | 2.42 MB | 8 → 7 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite` |
235
- | ~0% | -160 B | 90.2% | 2.42 MB | 8 → 7 | `invoke(Object, Object[])` | `java.lang.reflect.Method` |
236
- | ~0% | -160 B | 90.2% | 2.42 MB | 8 → 7 | `loadAndInvokeHarnessClass(ModuleLoader, String, String[])` | `org.renaissance.core.Launcher` |
237
- | ~0% | -160 B | 90.2% | 2.42 MB | 8 → 7 | `launchHarnessClass(String, String[])` | `org.renaissance.core.Launcher` |
238
- | ~0% | -160 B | 90.2% | 2.42 MB | 8 → 7 | `main(String[])` | `org.renaissance.core.Launcher` |
239
- | ~0% | -160 B | 80.5% | 2.16 MB | 7 → 6 | `main(String[])` | `org.renaissance.harness.RenaissanceSuite$` |
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` |