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
@@ -16,18 +16,18 @@ Took 5.58s (-1.76ms, ~0%) over 4,237 samples → 4,226 samples (1.3ms per sample
16
16
 
17
17
  Functions with the largest increase in time spent directly in the function body, excluding callees.
18
18
 
19
- | Change | Delta | % | Time | Samples | Function | Location |
20
- | -----: | ------: | -----------: | ----------: | ------: | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
21
- | new | +1.16ms | 0.0% → <0.1% | 0ms → 1.2ms | 0 → 1 | `(unknown)` | `<unknown>` |
22
- | new | +1.06ms | 0.0% → <0.1% | 0ms → 1.1ms | 0 → 1 | `createProgram` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:113744:27` |
19
+ | Change | Delta | % | Time | Samples | Function | Location |
20
+ | -----: | ------: | -----------: | ----------: | ------: | --------------- | ----------------------------------------------------------------------------------------- |
21
+ | new | +1.16ms | 0.0% → <0.1% | 0ms → 1.2ms | 0 → 1 | `(unknown)` | `<unknown>` |
22
+ | new | +1.06ms | 0.0% → <0.1% | 0ms → 1.1ms | 0 → 1 | `createProgram` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:113744:27` |
23
23
 
24
24
  #### Improvements
25
25
 
26
26
  Functions with the largest decrease in time spent directly in the function body, excluding callees.
27
27
 
28
- | Change | Delta | % | Time | Samples | Function | Location |
29
- | ------: | ------: | -----------: | ----------: | ------: | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
30
- | removed | -1.24ms | <0.1% → 0.0% | 1.2ms → 0ms | 1 → 0 | `parseJsonConfigFileContentWorker` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46` |
28
+ | Change | Delta | % | Time | Samples | Function | Location |
29
+ | ------: | ------: | -----------: | ----------: | ------: | ---------------------------------- | ---------------------------------------------------------------------------------------- |
30
+ | removed | -1.24ms | <0.1% → 0.0% | 1.2ms → 0ms | 1 → 0 | `parseJsonConfigFileContentWorker` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46` |
31
31
 
32
32
  ### Total time
33
33
 
@@ -35,20 +35,20 @@ Functions with the largest decrease in time spent directly in the function body,
35
35
 
36
36
  Functions with the largest increase in total time spent in the function and all its callees.
37
37
 
38
- | Change | Delta | % | Time | Samples | Function | Location |
39
- | ------: | ------: | ------------: | ----------------: | --------: | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
40
- | +1.1% | +8.32ms | 13.3% → 13.5% | 744.9ms → 753.2ms | 529 → 535 | `createProgram` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:113744:27` |
41
- | +11.3% | +5.38ms | 0.9% | 47.7ms → 53.0ms | 37 → 40 | `forEachAncestorDirectory` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:6613:38` |
42
- | new | +2.50ms | 0.0% → <0.1% | 0ms → 2.5ms | 0 → 2 | `(unknown)` | `<unknown>` |
43
- | +146.7% | +2.12ms | <0.1% → 0.1% | 1.4ms → 3.6ms | 1 → 3 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:39863:46` |
44
- | +1.0% | +0.74ms | 1.4% | 76.5ms → 77.3ms | 59 | `bound require` | `<unknown>` |
45
- | +1.9% | +0.71ms | 0.7% | 37.9ms → 38.6ms | 30 → 31 | `parseJsonConfigFileContentWorker` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46` |
38
+ | Change | Delta | % | Time | Samples | Function | Location |
39
+ | ------: | ------: | ------------: | ----------------: | --------: | ---------------------------------- | ----------------------------------------------------------------------------------------- |
40
+ | +1.1% | +8.32ms | 13.3% → 13.5% | 744.9ms → 753.2ms | 529 → 535 | `createProgram` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:113744:27` |
41
+ | +11.3% | +5.38ms | 0.9% | 47.7ms → 53.0ms | 37 → 40 | `forEachAncestorDirectory` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:6613:38` |
42
+ | new | +2.50ms | 0.0% → <0.1% | 0ms → 2.5ms | 0 → 2 | `(unknown)` | `<unknown>` |
43
+ | +146.7% | +2.12ms | <0.1% → 0.1% | 1.4ms → 3.6ms | 1 → 3 | `getParsedCommandLineOfConfigFile` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:39863:46` |
44
+ | +1.0% | +0.74ms | 1.4% | 76.5ms → 77.3ms | 59 | `bound require` | `<unknown>` |
45
+ | +1.9% | +0.71ms | 0.7% | 37.9ms → 38.6ms | 30 → 31 | `parseJsonConfigFileContentWorker` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:40560:46` |
46
46
 
47
47
  #### Improvements
48
48
 
49
49
  Functions with the largest decrease in total time spent in the function and all its callees.
50
50
 
51
- | Change | Delta | % | Time | Samples | Function | Location |
52
- | -----: | -------: | ------------: | ------------: | ------------: | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
53
- | -0.3% | -16.03ms | 84.4% → 84.1% | 4.71s → 4.69s | 3,609 → 3,587 | `getDiagnosticsHelper` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:114649:38` |
54
- | -0.1% | -6.66ms | 99.8% → 99.7% | 5.57s | 4,230 → 4,215 | `typeCheckProject` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/tsc-workload.mjs:3:33` |
51
+ | Change | Delta | % | Time | Samples | Function | Location |
52
+ | -----: | -------: | ------------: | ------------: | ------------: | ---------------------- | ----------------------------------------------------------------------------------------- |
53
+ | -0.3% | -16.03ms | 84.4% → 84.1% | 4.71s → 4.69s | 3,609 → 3,587 | `getDiagnosticsHelper` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js:114649:38` |
54
+ | -0.1% | -6.66ms | 99.8% → 99.7% | 5.57s | 4,230 → 4,215 | `typeCheckProject` | `tsc-workload.mjs:3:33` |
@@ -1,21 +1,21 @@
1
1
  # Heap snapshot diff
2
2
 
3
- Allocated 1.55 MB (-3.008 kB, -0.2%) across 16,629 → 16,601 nodes and 44,433 → 44,305 edges.
4
-
5
- | Category | Change | Delta | % | Size | Nodes |
6
- | ------------ | -----: | --------: | ------------: | ----------------: | ------------: |
7
- | code | 0.0% | 0 B | 43.9% → 44.0% | 681 kB | 3,188 |
8
- | string | 0.0% | 0 B | 23.5% → 23.6% | 365 kB | 6,272 |
9
- | object shape | -1.5% | -2.912 kB | 12.7% → 12.6% | 198 kB → 195 kB | 1,764 → 1,738 |
10
- | object | 0.0% | 0 B | 9.3% → 9.4% | 145 kB | 1,484 |
11
- | hidden | -0.1% | -96 B | 5.0% | 77.3 kB → 77.2 kB | 962 → 960 |
12
- | closure | 0.0% | 0 B | 4.3% | 66.4 kB | 1,805 |
13
- | array | 0.0% | 0 B | 1.1% | 17.2 kB | 1,072 |
14
- | symbol | 0.0% | 0 B | 0.1% | 1.23 kB | 77 |
15
- | native | 0.0% | 0 B | <0.1% | 328 B | 1 |
16
- | regexp | 0.0% | 0 B | <0.1% | 64 B | 2 |
17
- | bigint | 0.0% | 0 B | <0.1% | 32 B | 1 |
18
- | synthetic | — | 0 B | 0.0% | 0 B | 1 |
3
+ Allocated 1.48 MiB (-2.937 KiB, -0.2%) across 16,629 → 16,601 nodes and 44,433 → 44,305 edges.
4
+
5
+ | Category | Change | Delta | % | Size | Nodes |
6
+ | ------------ | -----: | ---------: | ------------: | ------------------: | ------------: |
7
+ | code | 0.0% | 0 B | 43.9% → 44.0% | 665 KiB | 3,188 |
8
+ | string | 0.0% | 0 B | 23.5% → 23.6% | 356 KiB | 6,272 |
9
+ | object shape | -1.5% | -2.843 KiB | 12.7% → 12.6% | 193 KiB → 190 KiB | 1,764 → 1,738 |
10
+ | object | 0.0% | 0 B | 9.3% → 9.4% | 141 KiB | 1,484 |
11
+ | hidden | -0.1% | -96 B | 5.0% | 75.5 KiB → 75.4 KiB | 962 → 960 |
12
+ | closure | 0.0% | 0 B | 4.3% | 64.8 KiB | 1,805 |
13
+ | array | 0.0% | 0 B | 1.1% | 16.8 KiB | 1,072 |
14
+ | symbol | 0.0% | 0 B | 0.1% | 1.2 KiB | 77 |
15
+ | native | 0.0% | 0 B | <0.1% | 328 B | 1 |
16
+ | regexp | 0.0% | 0 B | <0.1% | 64 B | 2 |
17
+ | bigint | 0.0% | 0 B | <0.1% | 32 B | 1 |
18
+ | synthetic | — | 0 B | 0.0% | 0 B | 1 |
19
19
 
20
20
  ## Largest constructors
21
21
 
@@ -31,13 +31,13 @@ Constructors ranked by bytes allocated for their instances and all nodes that wo
31
31
 
32
32
  Constructors with the largest decrease in retained size.
33
33
 
34
- | Change | Delta | % | Size | Instances | Constructor |
35
- | -----: | --------: | -----------: | --------------: | --------: | --------------------- |
36
- | -0.2% | -3.008 kB | 83.7% | 1.3 MB | 1 | `GlobalObject` |
37
- | -8.3% | -1.264 kB | 1.0% → 0.9% | 15.3 kB → 14 kB | 1 | `ReadStream` |
38
- | -2.0% | -1.04 kB | 3.4% | 53.1 kB → 52 kB | 1 | `url ` |
39
- | -93.2% | -880 B | 0.1% → <0.1% | 944 B → 64 B | 1 | `FixedCircularBuffer` |
40
- | -42.6% | -416 B | 0.1% → <0.1% | 976 B → 560 B | 1 | `FixedQueue` |
34
+ | Change | Delta | % | Size | Instances | Constructor |
35
+ | -----: | ---------: | -----------: | ------------------: | --------: | --------------------- |
36
+ | -0.2% | -2.937 KiB | 83.7% | 1.24 MiB | 1 | `GlobalObject` |
37
+ | -8.3% | -1.234 KiB | 1.0% → 0.9% | 14.9 KiB → 13.7 KiB | 1 | `ReadStream` |
38
+ | -2.0% | -1.015 KiB | 3.4% | 51.8 KiB → 50.8 KiB | 1 | `url ` |
39
+ | -93.2% | -880 B | 0.1% → <0.1% | 944 B → 64 B | 1 | `FixedCircularBuffer` |
40
+ | -42.6% | -416 B | 0.1% → <0.1% | 976 B → 560 B | 1 | `FixedQueue` |
41
41
 
42
42
  ## Largest closures
43
43
 
@@ -1,22 +1,22 @@
1
1
  # Heap snapshot diff
2
2
 
3
- Allocated 1.53 MB (+1.505 kB, +0.1%) across 16,635 → 16,649 nodes and 45,015 → 45,184 edges.
4
-
5
- | Category | Change | Delta | % | Size | Nodes |
6
- | -------- | -----: | --------: | ------------: | --------------: | ------------: |
7
- | code | 0.0% | 0 B | 42.6% → 42.5% | 649 kB | 2,762 |
8
- | string | ~0% | +1 B | 23.9% | 364 kB | 6,250 |
9
- | internal | +0.5% | +1.504 kB | 20.1% → 20.2% | 307 kB → 309 kB | 3,121 → 3,135 |
10
- | object | 0.0% | 0 B | 6.6% | 100 kB | 1,400 |
11
- | closure | 0.0% | 0 B | 4.4% | 66.7 kB | 1,813 |
12
- | array | 0.0% | 0 B | 1.2% | 18.4 kB | 1,112 |
13
- | unknown | 0.0% | 0 B | 1.0% | 15.3 kB | 34 |
14
- | built-in | 0.0% | 0 B | 0.1% | 1.48 kB | 47 |
15
- | symbol | 0.0% | 0 B | 0.1% | 1.25 kB | 78 |
16
- | native | 0.0% | 0 B | <0.1% | 699 B | 11 |
17
- | regexp | 0.0% | 0 B | <0.1% | 352 B | 4 |
18
- | bigint | 0.0% | 0 B | <0.1% | 50 B | 2 |
19
- | number | 0.0% | 0 B | <0.1% | 34 B | 1 |
3
+ Allocated 1.45 MiB → 1.46 MiB (+1.469 KiB, +0.1%) across 16,635 → 16,649 nodes and 45,015 → 45,184 edges.
4
+
5
+ | Category | Change | Delta | % | Size | Nodes |
6
+ | -------- | -----: | ---------: | ------------: | ----------------: | ------------: |
7
+ | code | 0.0% | 0 B | 42.6% → 42.5% | 634 KiB | 2,762 |
8
+ | string | ~0% | +1 B | 23.9% | 356 KiB | 6,250 |
9
+ | internal | +0.5% | +1.468 KiB | 20.1% → 20.2% | 300 KiB → 302 KiB | 3,121 → 3,135 |
10
+ | object | 0.0% | 0 B | 6.6% | 97.9 KiB | 1,400 |
11
+ | closure | 0.0% | 0 B | 4.4% | 65.1 KiB | 1,813 |
12
+ | array | 0.0% | 0 B | 1.2% | 18 KiB | 1,112 |
13
+ | unknown | 0.0% | 0 B | 1.0% | 14.9 KiB | 34 |
14
+ | built-in | 0.0% | 0 B | 0.1% | 1.45 KiB | 47 |
15
+ | symbol | 0.0% | 0 B | 0.1% | 1.22 KiB | 78 |
16
+ | native | 0.0% | 0 B | <0.1% | 699 B | 11 |
17
+ | regexp | 0.0% | 0 B | <0.1% | 352 B | 4 |
18
+ | bigint | 0.0% | 0 B | <0.1% | 50 B | 2 |
19
+ | number | 0.0% | 0 B | <0.1% | 34 B | 1 |
20
20
 
21
21
  ## Largest constructors
22
22
 
@@ -28,10 +28,10 @@ Constructors ranked by bytes allocated for their instances, excluding nodes kept
28
28
 
29
29
  Constructors with the largest increase in self size.
30
30
 
31
- | Change | Delta | % | Size | Instances | Constructor |
32
- | -----: | --------: | ------------: | ----------------: | ------------: | --------------- |
33
- | +0.7% | +1.456 kB | 13.3% → 13.4% | 203 kB → 205 kB | 1,816 → 1,829 | `Structure` |
34
- | +0.3% | +48 B | 1.2% | 18.7 kB → 18.8 kB | 390 → 391 | `PropertyTable` |
31
+ | Change | Delta | % | Size | Instances | Constructor |
32
+ | -----: | ---------: | ------------: | ----------------: | ------------: | --------------- |
33
+ | +0.7% | +1.421 KiB | 13.3% → 13.4% | 199 KiB → 200 KiB | 1,816 → 1,829 | `Structure` |
34
+ | +0.3% | +48 B | 1.2% | 18.3 KiB | 390 → 391 | `PropertyTable` |
35
35
 
36
36
  ### Retained size
37
37
 
@@ -41,22 +41,22 @@ Constructors ranked by bytes allocated for their instances and all nodes that wo
41
41
 
42
42
  Constructors with the largest increase in retained size.
43
43
 
44
- | Change | Delta | % | Size | Instances | Constructor |
45
- | ------: | --------: | ------------: | --------------: | ------------: | --------------------- |
46
- | +0.3% | +1.503 kB | 31.8% → 31.9% | 486 kB → 487 kB | 931 | `FunctionExecutable` |
47
- | +0.6% | +1.488 kB | 15.5% → 15.6% | 237 kB → 238 kB | 1,816 → 1,829 | `Structure` |
48
- | +0.1% | +387 B | 29.9% | 457 kB | 1,077 | `Array` |
49
- | +51.1% | +384 B | <0.1% → 0.1% | 752 B → 1.14 kB | 1 | `FixedQueue` |
50
- | +150.0% | +384 B | <0.1% | 256 B → 640 B | 1 | `FixedCircularBuffer` |
51
- | +0.3% | +48 B | 1.2% | 18.6 kB | 390 → 391 | `PropertyTable` |
52
- | ~0% | +3 B | 1.3% | 19.2 kB | 1 | `Process` |
44
+ | Change | Delta | % | Size | Instances | Constructor |
45
+ | ------: | ---------: | ------------: | ------------------: | ------------: | --------------------- |
46
+ | +0.3% | +1.467 KiB | 31.8% → 31.9% | 474 KiB → 476 KiB | 931 | `FunctionExecutable` |
47
+ | +0.6% | +1.453 KiB | 15.5% → 15.6% | 231 KiB → 232 KiB | 1,816 → 1,829 | `Structure` |
48
+ | +0.1% | +387 B | 29.9% | 446 KiB | 1,077 | `Array` |
49
+ | +51.1% | +384 B | <0.1% → 0.1% | 752 B → 1.11 KiB | 1 | `FixedQueue` |
50
+ | +150.0% | +384 B | <0.1% | 256 B → 640 B | 1 | `FixedCircularBuffer` |
51
+ | +0.3% | +48 B | 1.2% | 18.1 KiB → 18.2 KiB | 390 → 391 | `PropertyTable` |
52
+ | ~0% | +3 B | 1.3% | 18.8 KiB | 1 | `Process` |
53
53
 
54
54
  #### Improvements
55
55
 
56
56
  Constructors with the largest decrease in retained size.
57
57
 
58
- | Change | Delta | % | Size | Instances | Constructor |
59
- | -----: | ---------: | ------------: | ----------------: | --------: | ------------------- |
60
- | -6.8% | -92.924 kB | 89.1% → 82.9% | 1.36 MB → 1.27 MB | 1 | `GlobalObject` |
61
- | -1.9% | -11.872 kB | 41.3% → 40.5% | 630 kB → 618 kB | 1,373 | `Object` |
62
- | -4.0% | -880 B | 1.4% | 22.1 kB → 21.2 kB | 105 | `StructureRareData` |
58
+ | Change | Delta | % | Size | Instances | Constructor |
59
+ | -----: | ----------: | ------------: | ------------------: | --------: | ------------------- |
60
+ | -6.8% | -90.746 KiB | 89.1% → 82.9% | 1.3 MiB → 1.21 MiB | 1 | `GlobalObject` |
61
+ | -1.9% | -11.593 KiB | 41.3% → 40.5% | 615 KiB → 603 KiB | 1,373 | `Object` |
62
+ | -4.0% | -880 B | 1.4% | 21.5 KiB → 20.7 KiB | 105 | `StructureRareData` |
@@ -1,13 +1,13 @@
1
1
  # Heap profile
2
2
 
3
- Allocated 5.66 MB over 232 samples (24.4 kB per sample).
3
+ Allocated 5.4 MiB over 232 samples (23.8 KiB per sample).
4
4
 
5
- | Category | % | Size | Samples |
6
- | ----------------- | ----: | ------: | ------: |
7
- | stdlib | 79.3% | 4.49 MB | 209 |
8
- | v8 api | 14.3% | 811 kB | 1 |
9
- | parser | 3.2% | 181 kB | 11 |
10
- | bytecode compiler | 3.2% | 181 kB | 11 |
5
+ | Category | % | Size | Samples |
6
+ | ----------------- | ----: | -------: | ------: |
7
+ | stdlib | 79.3% | 4.28 MiB | 209 |
8
+ | v8 api | 14.3% | 792 KiB | 1 |
9
+ | parser | 3.2% | 177 KiB | 11 |
10
+ | bytecode compiler | 3.2% | 177 KiB | 11 |
11
11
 
12
12
  ## Hottest functions
13
13
 
@@ -15,18 +15,18 @@ Allocated 5.66 MB over 232 samples (24.4 kB per sample).
15
15
 
16
16
  Functions ranked by bytes allocated directly in the function body, excluding callees.
17
17
 
18
- | % | Size | Samples | Function | Location |
19
- | ----: | -----: | ------: | --------------------- | ----------- |
20
- | 14.3% | 811 kB | 1 | `(v8 api)` | `<unknown>` |
21
- | 3.2% | 181 kB | 11 | `(parser)` | `<unknown>` |
22
- | 3.2% | 181 kB | 11 | `(bytecode compiler)` | `<unknown>` |
18
+ | % | Size | Samples | Function | Location |
19
+ | ----: | ------: | ------: | --------------------- | ----------- |
20
+ | 14.3% | 792 KiB | 1 | `(v8 api)` | `<unknown>` |
21
+ | 3.2% | 177 KiB | 11 | `(parser)` | `<unknown>` |
22
+ | 3.2% | 177 KiB | 11 | `(bytecode compiler)` | `<unknown>` |
23
23
 
24
24
  ### Total size
25
25
 
26
26
  Functions ranked by total bytes allocated in the function and all its callees.
27
27
 
28
- | % | Size | Samples | Function | Location |
29
- | ----: | -----: | ------: | --------------------- | ----------- |
30
- | 14.3% | 811 kB | 1 | `(v8 api)` | `<unknown>` |
31
- | 3.2% | 181 kB | 11 | `(parser)` | `<unknown>` |
32
- | 3.2% | 181 kB | 11 | `(bytecode compiler)` | `<unknown>` |
28
+ | % | Size | Samples | Function | Location |
29
+ | ----: | ------: | ------: | --------------------- | ----------- |
30
+ | 14.3% | 792 KiB | 1 | `(v8 api)` | `<unknown>` |
31
+ | 3.2% | 177 KiB | 11 | `(parser)` | `<unknown>` |
32
+ | 3.2% | 177 KiB | 11 | `(bytecode compiler)` | `<unknown>` |