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,20 +16,20 @@ Took 16.89s → 18.29s (+1.398s, +8.3%) over 13,495 samples → 14,612 samples (
16
16
 
17
17
  Functions with the largest increase in wall time spent directly in the function body, excluding callees.
18
18
 
19
- | Change | Delta | % | Time | Samples | Function | Location |
20
- | -----: | ------: | -----------: | ----------: | ------: | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
21
- | new | +5.01ms | 0.0% → <0.1% | 0ms → 5.0ms | 0 → 4 | `noop` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
22
- | new | +2.50ms | 0.0% → <0.1% | 0ms → 2.5ms | 0 → 2 | `createProgram` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
23
- | new | +1.25ms | 0.0% → <0.1% | 0ms → 1.3ms | 0 → 1 | `typeCheckProject` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/tsc-workload.mjs` |
19
+ | Change | Delta | % | Time | Samples | Function | Location |
20
+ | -----: | ------: | -----------: | ----------: | ------: | ------------------ | ------------------------------------------------------------------------------- |
21
+ | new | +5.01ms | 0.0% → <0.1% | 0ms → 5.0ms | 0 → 4 | `noop` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
22
+ | new | +2.50ms | 0.0% → <0.1% | 0ms → 2.5ms | 0 → 2 | `createProgram` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
23
+ | new | +1.25ms | 0.0% → <0.1% | 0ms → 1.3ms | 0 → 1 | `typeCheckProject` | `tsc-workload.mjs` |
24
24
 
25
25
  #### Improvements
26
26
 
27
27
  Functions with the largest decrease in wall time spent directly in the function body, excluding callees.
28
28
 
29
- | Change | Delta | % | Time | Samples | Function | Location |
30
- | ------: | ------: | -----------: | ----------: | ------: | --------------- | -------------------------------------------------------------------------------------------------------- |
31
- | removed | -3.76ms | <0.1% → 0.0% | 3.8ms → 0ms | 3 → 0 | `createProgram` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/typescript/lib/typescript.js` |
32
- | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `createRequire` | `node:internal/modules/cjs/loader` |
29
+ | Change | Delta | % | Time | Samples | Function | Location |
30
+ | ------: | ------: | -----------: | ----------: | ------: | --------------- | ------------------------------------------- |
31
+ | removed | -3.76ms | <0.1% → 0.0% | 3.8ms → 0ms | 3 → 0 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
32
+ | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `createRequire` | `node:internal/modules/cjs/loader` |
33
33
 
34
34
  ### Total time
35
35
 
@@ -37,27 +37,27 @@ Functions with the largest decrease in wall time spent directly in the function
37
37
 
38
38
  Functions with the largest increase in total wall time spent in the function and all its callees.
39
39
 
40
- | Change | Delta | % | Time | Samples | Function | Location |
41
- | -----: | -------: | ------------: | --------------: | --------------: | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
42
- | new | +14.188s | 0.0% → 77.6% | 0ms → 14.18s | 0 → 11,333 | `getSemanticDiagnostics` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
43
- | new | +2.043s | 0.0% → 11.2% | 0ms → 2.04s | 0 → 1,632 | `createProgram` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
44
- | +10.7% | +1.585s | 87.4% → 89.4% | 14.76s → 16.35s | 11,797 → 13,063 | `typeCheckProject` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/tsc-workload.mjs` |
45
- | +10.7% | +1.585s | 87.4% → 89.4% | 14.76s → 16.35s | 11,797 → 13,063 | `(anonymous)` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/datadog-pprof.mjs` |
46
- | new | +26.29ms | 0.0% → 0.1% | 0ms → 26.3ms | 0 → 21 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
47
- | new | +5.01ms | 0.0% → <0.1% | 0ms → 5.0ms | 0 → 4 | `noop` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
48
- | new | +1.25ms | 0.0% → <0.1% | 0ms → 1.3ms | 0 → 1 | `getSyntacticDiagnostics` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
49
- | new | +1.25ms | 0.0% → <0.1% | 0ms → 1.3ms | 0 → 1 | `findConfigFile` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
40
+ | Change | Delta | % | Time | Samples | Function | Location |
41
+ | -----: | -------: | ------------: | --------------: | --------------: | ---------------------------------- | ------------------------------------------------------------------------------- |
42
+ | new | +14.188s | 0.0% → 77.6% | 0ms → 14.18s | 0 → 11,333 | `getSemanticDiagnostics` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
43
+ | new | +2.043s | 0.0% → 11.2% | 0ms → 2.04s | 0 → 1,632 | `createProgram` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
44
+ | +10.7% | +1.585s | 87.4% → 89.4% | 14.76s → 16.35s | 11,797 → 13,063 | `typeCheckProject` | `tsc-workload.mjs` |
45
+ | +10.7% | +1.585s | 87.4% → 89.4% | 14.76s → 16.35s | 11,797 → 13,063 | `(anonymous)` | `datadog-pprof.mjs` |
46
+ | new | +26.29ms | 0.0% → 0.1% | 0ms → 26.3ms | 0 → 21 | `getParsedCommandLineOfConfigFile` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
47
+ | new | +5.01ms | 0.0% → <0.1% | 0ms → 5.0ms | 0 → 4 | `noop` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
48
+ | new | +1.25ms | 0.0% → <0.1% | 0ms → 1.3ms | 0 → 1 | `getSyntacticDiagnostics` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
49
+ | new | +1.25ms | 0.0% → <0.1% | 0ms → 1.3ms | 0 → 1 | `findConfigFile` | `node_modules/.deno/typescript@4.5.5/node_modules/typescript/lib/typescript.js` |
50
50
 
51
51
  #### Improvements
52
52
 
53
53
  Functions with the largest decrease in total wall time spent in the function and all its callees.
54
54
 
55
- | Change | Delta | % | Time | Samples | Function | Location |
56
- | ------: | -------: | -----------: | ---------------: | ---------: | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
57
- | removed | -12.809s | 75.8% → 0.0% | 12.80s → 0ms | 10,231 → 0 | `getSemanticDiagnostics` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/typescript/lib/typescript.js` |
58
- | removed | -1.819s | 10.8% → 0.0% | 1.81s → 0ms | 1,453 → 0 | `createProgram` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/typescript/lib/typescript.js` |
59
- | removed | -27.54ms | 0.2% → 0.0% | 27.5ms → 0ms | 22 → 0 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/typescript/lib/typescript.js` |
60
- | -13.3% | -15.02ms | 0.7% → 0.5% | 112.7ms → 97.7ms | 90 → 78 | `require` | `node:internal/modules/helpers` |
61
- | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `stop` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/@datadog/pprof/out/src/time-profiler.js` |
62
- | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `createRequire` | `node:internal/modules/cjs/loader` |
63
- | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `getSyntacticDiagnostics` | `private/tmp/nix-shell.RhDkiq/profiler-md-fixtures.0q5jPY/zod/node_modules/typescript/lib/typescript.js` |
55
+ | Change | Delta | % | Time | Samples | Function | Location |
56
+ | ------: | -------: | -----------: | ---------------: | ---------: | ---------------------------------- | ------------------------------------------------------ |
57
+ | removed | -12.809s | 75.8% → 0.0% | 12.80s → 0ms | 10,231 → 0 | `getSemanticDiagnostics` | `node_modules/typescript/lib/typescript.js` |
58
+ | removed | -1.819s | 10.8% → 0.0% | 1.81s → 0ms | 1,453 → 0 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
59
+ | removed | -27.54ms | 0.2% → 0.0% | 27.5ms → 0ms | 22 → 0 | `getParsedCommandLineOfConfigFile` | `node_modules/typescript/lib/typescript.js` |
60
+ | -13.3% | -15.02ms | 0.7% → 0.5% | 112.7ms → 97.7ms | 90 → 78 | `require` | `node:internal/modules/helpers` |
61
+ | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `stop` | `node_modules/@datadog/pprof/out/src/time-profiler.js` |
62
+ | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `createRequire` | `node:internal/modules/cjs/loader` |
63
+ | removed | -1.25ms | <0.1% → 0.0% | 1.3ms → 0ms | 1 → 0 | `getSyntacticDiagnostics` | `node_modules/typescript/lib/typescript.js` |
@@ -1,11 +1,11 @@
1
1
  # Heap profile
2
2
 
3
- Allocated 972 MB over 10,093,789 samples (96.3 B per sample).
3
+ Allocated 927 MiB over 10,093,789 samples (96.3 B per sample).
4
4
 
5
- | Category | % | Size | Samples |
6
- | ----------- | ----: | -----: | --------: |
7
- | third-party | 76.8% | 747 MB | 8,842,365 |
8
- | stdlib | 23.2% | 226 MB | 1,251,424 |
5
+ | Category | % | Size | Samples |
6
+ | ----------- | ----: | ------: | --------: |
7
+ | third-party | 76.8% | 712 MiB | 8,842,365 |
8
+ | stdlib | 23.2% | 215 MiB | 1,251,424 |
9
9
 
10
10
  ## Hottest functions
11
11
 
@@ -13,74 +13,74 @@ Allocated 972 MB over 10,093,789 samples (96.3 B per sample).
13
13
 
14
14
  Functions ranked by bytes allocated directly in the function body, excluding callees.
15
15
 
16
- | % | Size | Samples | Function | Location |
17
- | ---: | -----: | ------: | --------------- | -------------------------------------------------------------------------------------------------------- |
18
- | 0.1% | 524 kB | 5,958 | `createProgram` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
16
+ | % | Size | Samples | Function | Location |
17
+ | ---: | ------: | ------: | --------------- | ------------------------------------------- |
18
+ | 0.1% | 512 KiB | 5,958 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
19
19
 
20
20
  #### Lines
21
21
 
22
22
  Lines ranked by contribution to each function's self size.
23
23
 
24
- ##### `createProgram` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`)
24
+ ##### `createProgram` (`node_modules/typescript/lib/typescript.js`)
25
25
 
26
- | % | Size | Samples | Location |
27
- | -----: | -----: | ------: | --------------------------------------------------------------------------------------------------------------- |
28
- | 100.0% | 524 kB | 5,958 | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js:120478` |
26
+ | % | Size | Samples | Location |
27
+ | -----: | ------: | ------: | -------------------------------------------------- |
28
+ | 100.0% | 512 KiB | 5,958 | `node_modules/typescript/lib/typescript.js:120478` |
29
29
 
30
30
  #### Callers
31
31
 
32
32
  Callers ranked by contribution to each function's self size. Inlining can make caller attribution imprecise.
33
33
 
34
- ##### `createProgram` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`)
34
+ ##### `createProgram` (`node_modules/typescript/lib/typescript.js`)
35
35
 
36
- | % | Size | Samples | Caller | Location |
37
- | -----: | -----: | ------: | ------------------ | ------------------------------------------------------------------------------- |
38
- | 100.0% | 524 kB | 5,958 | `typeCheckProject` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs` |
36
+ | % | Size | Samples | Caller | Location |
37
+ | -----: | ------: | ------: | ------------------ | ------------------ |
38
+ | 100.0% | 512 KiB | 5,958 | `typeCheckProject` | `tsc-workload.mjs` |
39
39
 
40
40
  ### Total size
41
41
 
42
42
  Functions ranked by total bytes allocated in the function and all its callees.
43
43
 
44
- | % | Size | Samples | Function | Location |
45
- | ----: | ------: | --------: | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
46
- | 77.9% | 758 MB | 7,813,936 | `typeCheckProject` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs` |
47
- | 77.5% | 753 MB | 7,728,122 | `(anonymous)` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1` |
48
- | 48.4% | 470 MB | 4,946,952 | `getSemanticDiagnostics` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
49
- | 29.1% | 283 MB | 2,922,784 | `createProgram` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
50
- | 1.4% | 13.9 MB | 92,999 | `require` | `node:internal/modules/helpers` |
51
- | 0.2% | 1.53 MB | 1 | `profile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/@datadog/pprof/out/src/heap-profiler.js` |
52
- | 0.1% | 527 kB | 163 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
44
+ | % | Size | Samples | Function | Location |
45
+ | ----: | -------: | --------: | ---------------------------------- | ------------------------------------------------------ |
46
+ | 77.9% | 723 MiB | 7,813,936 | `typeCheckProject` | `tsc-workload.mjs` |
47
+ | 77.5% | 718 MiB | 7,728,122 | `(anonymous)` | `datadog-pprof-heap.mjs:1:1` |
48
+ | 48.4% | 449 MiB | 4,946,952 | `getSemanticDiagnostics` | `node_modules/typescript/lib/typescript.js` |
49
+ | 29.1% | 270 MiB | 2,922,784 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
50
+ | 1.4% | 13.2 MiB | 92,999 | `require` | `node:internal/modules/helpers` |
51
+ | 0.2% | 1.46 MiB | 1 | `profile` | `node_modules/@datadog/pprof/out/src/heap-profiler.js` |
52
+ | 0.1% | 514 KiB | 163 | `getParsedCommandLineOfConfigFile` | `node_modules/typescript/lib/typescript.js` |
53
53
 
54
54
  #### Callees
55
55
 
56
56
  Callees ranked by contribution to each function's total size. Inlining can make callee attribution imprecise, and percentages can sum past 100% when callees recurse.
57
57
 
58
- ##### `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`)
58
+ ##### `typeCheckProject` (`tsc-workload.mjs`)
59
59
 
60
- | % | Size | Samples | Callee | Location |
61
- | ----: | ------: | --------: | ---------------------------------- | -------------------------------------------------------------------------------------------------------- |
62
- | 61.2% | 464 MB | 4,830,657 | `getSemanticDiagnostics` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
63
- | 36.9% | 280 MB | 2,890,117 | `createProgram` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
64
- | 1.8% | 13.9 MB | 92,999 | `require` | `node:internal/modules/helpers` |
65
- | 0.1% | 527 kB | 163 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
60
+ | % | Size | Samples | Callee | Location |
61
+ | ----: | -------: | --------: | ---------------------------------- | ------------------------------------------- |
62
+ | 61.2% | 442 MiB | 4,830,657 | `getSemanticDiagnostics` | `node_modules/typescript/lib/typescript.js` |
63
+ | 36.9% | 267 MiB | 2,890,117 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
64
+ | 1.8% | 13.2 MiB | 92,999 | `require` | `node:internal/modules/helpers` |
65
+ | 0.1% | 514 KiB | 163 | `getParsedCommandLineOfConfigFile` | `node_modules/typescript/lib/typescript.js` |
66
66
 
67
- ##### `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`)
67
+ ##### `(anonymous)` (`datadog-pprof-heap.mjs:1:1`)
68
68
 
69
- | % | Size | Samples | Callee | Location |
70
- | ----: | ------: | --------: | ------------------ | ------------------------------------------------------------------------------------------------------------------- |
71
- | 99.8% | 752 MB | 7,728,121 | `typeCheckProject` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs` |
72
- | 0.2% | 1.53 MB | 1 | `profile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/@datadog/pprof/out/src/heap-profiler.js` |
69
+ | % | Size | Samples | Callee | Location |
70
+ | ----: | -------: | --------: | ------------------ | ------------------------------------------------------ |
71
+ | 99.8% | 717 MiB | 7,728,121 | `typeCheckProject` | `tsc-workload.mjs` |
72
+ | 0.2% | 1.46 MiB | 1 | `profile` | `node_modules/@datadog/pprof/out/src/heap-profiler.js` |
73
73
 
74
74
  ## Hottest call stacks
75
75
 
76
76
  Call stacks ranked by bytes allocated in their leaf frame.
77
77
 
78
- | % | Size | Samples | Call stack |
79
- | ----: | ------: | --------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
- | 47.1% | 458 MB | 4,749,884 | `getSemanticDiagnostics` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
81
- | 28.7% | 279 MB | 2,885,075 | `createProgram` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
82
- | 1.4% | 13.9 MB | 92,999 | `require` (`node:internal/modules/helpers`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
83
- | 0.5% | 5.24 MB | 80,773 | `getSemanticDiagnostics` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) |
84
- | 0.2% | 1.53 MB | 1 | `profile` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/@datadog/pprof/out/src/heap-profiler.js`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
85
- | 0.1% | 527 kB | 163 | `getParsedCommandLineOfConfigFile` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
86
- | 0.1% | 524 kB | 5,042 | `createProgram` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) |
78
+ | % | Size | Samples | Call stack |
79
+ | ----: | -------: | --------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
+ | 47.1% | 437 MiB | 4,749,884 | `getSemanticDiagnostics` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
81
+ | 28.7% | 266 MiB | 2,885,075 | `createProgram` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
82
+ | 1.4% | 13.2 MiB | 92,999 | `require` (`node:internal/modules/helpers`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
83
+ | 0.5% | 5 MiB | 80,773 | `getSemanticDiagnostics` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) |
84
+ | 0.2% | 1.46 MiB | 1 | `profile` (`node_modules/@datadog/pprof/out/src/heap-profiler.js`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
85
+ | 0.1% | 514 KiB | 163 | `getParsedCommandLineOfConfigFile` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
86
+ | 0.1% | 512 KiB | 5,042 | `createProgram` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) |
@@ -1,11 +1,11 @@
1
1
  # Heap profile
2
2
 
3
- Allocated 768 MB over 7,784,774 samples (98.6 B per sample).
3
+ Allocated 732 MiB over 7,784,774 samples (98.6 B per sample).
4
4
 
5
- | Category | % | Size | Samples |
6
- | ----------- | ----: | -----: | --------: |
7
- | third-party | 78.8% | 605 MB | 6,943,710 |
8
- | stdlib | 21.2% | 162 MB | 841,064 |
5
+ | Category | % | Size | Samples |
6
+ | ----------- | ----: | ------: | --------: |
7
+ | third-party | 78.8% | 577 MiB | 6,943,710 |
8
+ | stdlib | 21.2% | 155 MiB | 841,064 |
9
9
 
10
10
  ## Hottest functions
11
11
 
@@ -13,45 +13,45 @@ Allocated 768 MB over 7,784,774 samples (98.6 B per sample).
13
13
 
14
14
  Functions ranked by total bytes allocated in the function and all its callees.
15
15
 
16
- | % | Size | Samples | Function | Location |
17
- | ----: | ------: | --------: | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
18
- | 77.5% | 595 MB | 5,868,039 | `typeCheckProject` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs` |
19
- | 77.0% | 591 MB | 5,802,917 | `(anonymous)` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1` |
20
- | 47.5% | 365 MB | 3,593,223 | `getSemanticDiagnostics` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
21
- | 29.2% | 224 MB | 2,243,751 | `createProgram` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
22
- | 2.0% | 15.6 MB | 88,994 | `require` | `node:internal/modules/helpers` |
23
- | 0.2% | 1.53 MB | 1 | `profile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/@datadog/pprof/out/src/heap-profiler.js` |
24
- | 0.1% | 524 kB | 16,385 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
16
+ | % | Size | Samples | Function | Location |
17
+ | ----: | -------: | --------: | ---------------------------------- | ------------------------------------------------------ |
18
+ | 77.5% | 567 MiB | 5,868,039 | `typeCheckProject` | `tsc-workload.mjs` |
19
+ | 77.0% | 564 MiB | 5,802,917 | `(anonymous)` | `datadog-pprof-heap.mjs:1:1` |
20
+ | 47.5% | 348 MiB | 3,593,223 | `getSemanticDiagnostics` | `node_modules/typescript/lib/typescript.js` |
21
+ | 29.2% | 214 MiB | 2,243,751 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
22
+ | 2.0% | 14.9 MiB | 88,994 | `require` | `node:internal/modules/helpers` |
23
+ | 0.2% | 1.46 MiB | 1 | `profile` | `node_modules/@datadog/pprof/out/src/heap-profiler.js` |
24
+ | 0.1% | 512 KiB | 16,385 | `getParsedCommandLineOfConfigFile` | `node_modules/typescript/lib/typescript.js` |
25
25
 
26
26
  #### Callees
27
27
 
28
28
  Callees ranked by contribution to each function's total size. Inlining can make callee attribution imprecise, and percentages can sum past 100% when callees recurse.
29
29
 
30
- ##### `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`)
30
+ ##### `typeCheckProject` (`tsc-workload.mjs`)
31
31
 
32
- | % | Size | Samples | Callee | Location |
33
- | ----: | ------: | --------: | ---------------------------------- | -------------------------------------------------------------------------------------------------------- |
34
- | 59.8% | 356 MB | 3,529,104 | `getSemanticDiagnostics` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
35
- | 37.5% | 223 MB | 2,233,556 | `createProgram` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
36
- | 2.6% | 15.6 MB | 88,994 | `require` | `node:internal/modules/helpers` |
37
- | 0.1% | 524 kB | 16,385 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
32
+ | % | Size | Samples | Callee | Location |
33
+ | ----: | -------: | --------: | ---------------------------------- | ------------------------------------------- |
34
+ | 59.8% | 339 MiB | 3,529,104 | `getSemanticDiagnostics` | `node_modules/typescript/lib/typescript.js` |
35
+ | 37.5% | 213 MiB | 2,233,556 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
36
+ | 2.6% | 14.9 MiB | 88,994 | `require` | `node:internal/modules/helpers` |
37
+ | 0.1% | 512 KiB | 16,385 | `getParsedCommandLineOfConfigFile` | `node_modules/typescript/lib/typescript.js` |
38
38
 
39
- ##### `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`)
39
+ ##### `(anonymous)` (`datadog-pprof-heap.mjs:1:1`)
40
40
 
41
- | % | Size | Samples | Callee | Location |
42
- | ----: | ------: | --------: | ------------------ | ------------------------------------------------------------------------------------------------------------------- |
43
- | 99.7% | 590 MB | 5,802,916 | `typeCheckProject` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs` |
44
- | 0.3% | 1.53 MB | 1 | `profile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/@datadog/pprof/out/src/heap-profiler.js` |
41
+ | % | Size | Samples | Callee | Location |
42
+ | ----: | -------: | --------: | ------------------ | ------------------------------------------------------ |
43
+ | 99.7% | 562 MiB | 5,802,916 | `typeCheckProject` | `tsc-workload.mjs` |
44
+ | 0.3% | 1.46 MiB | 1 | `profile` | `node_modules/@datadog/pprof/out/src/heap-profiler.js` |
45
45
 
46
46
  ## Hottest call stacks
47
47
 
48
48
  Call stacks ranked by bytes allocated in their leaf frame.
49
49
 
50
- | % | Size | Samples | Call stack |
51
- | ----: | ------: | --------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52
- | 45.7% | 351 MB | 3,463,981 | `getSemanticDiagnostics` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
53
- | 29.0% | 223 MB | 2,233,556 | `createProgram` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
54
- | 2.0% | 15.6 MB | 88,994 | `require` (`node:internal/modules/helpers`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
55
- | 0.7% | 5.25 MB | 65,123 | `getSemanticDiagnostics` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) |
56
- | 0.2% | 1.53 MB | 1 | `profile` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/@datadog/pprof/out/src/heap-profiler.js`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
57
- | 0.1% | 524 kB | 16,385 | `getParsedCommandLineOfConfigFile` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs`) ← `(anonymous)` (`private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1`) |
50
+ | % | Size | Samples | Call stack |
51
+ | ----: | -------: | --------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52
+ | 45.7% | 334 MiB | 3,463,981 | `getSemanticDiagnostics` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
53
+ | 29.0% | 213 MiB | 2,233,556 | `createProgram` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
54
+ | 2.0% | 14.9 MiB | 88,994 | `require` (`node:internal/modules/helpers`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
55
+ | 0.7% | 5 MiB | 65,123 | `getSemanticDiagnostics` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) |
56
+ | 0.2% | 1.46 MiB | 1 | `profile` (`node_modules/@datadog/pprof/out/src/heap-profiler.js`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
57
+ | 0.1% | 512 KiB | 16,385 | `getParsedCommandLineOfConfigFile` (`node_modules/typescript/lib/typescript.js`) ← `typeCheckProject` (`tsc-workload.mjs`) ← `(anonymous)` (`datadog-pprof-heap.mjs:1:1`) |
@@ -1,11 +1,11 @@
1
1
  # Heap profile diff
2
2
 
3
- Allocated 972 MB → 768 MB (-204.69 MB, -21.1%) over 10,093,789 samples → 7,784,774 samples (96.3 B → 98.6 B per sample).
3
+ Allocated 927 MiB → 732 MiB (-195.207 MiB, -21.1%) over 10,093,789 samples → 7,784,774 samples (96.3 B → 98.6 B per sample).
4
4
 
5
- | Category | Change | Delta | % | Size | Samples |
6
- | ----------- | -----: | ----------: | ------------: | --------------: | --------------------: |
7
- | third-party | -19.0% | -141.534 MB | 76.8% → 78.8% | 747 MB → 605 MB | 8,842,365 → 6,943,710 |
8
- | stdlib | -28.0% | -63.155 MB | 23.2% → 21.2% | 226 MB → 162 MB | 1,251,424 → 841,064 |
5
+ | Category | Change | Delta | % | Size | Samples |
6
+ | ----------- | -----: | -----------: | ------------: | ----------------: | --------------------: |
7
+ | third-party | -19.0% | -134.978 MiB | 76.8% → 78.8% | 712 MiB → 577 MiB | 8,842,365 → 6,943,710 |
8
+ | stdlib | -28.0% | -60.229 MiB | 23.2% → 21.2% | 215 MiB → 155 MiB | 1,251,424 → 841,064 |
9
9
 
10
10
  ## Hottest functions
11
11
 
@@ -15,9 +15,9 @@ Allocated 972 MB → 768 MB (-204.69 MB, -21.1%) over 10,093,789 samples →
15
15
 
16
16
  Functions with the largest decrease in bytes allocated directly in the function body, excluding callees.
17
17
 
18
- | Change | Delta | % | Size | Samples | Function | Location |
19
- | ------: | ----------: | ----------: | -----------: | --------: | --------------- | -------------------------------------------------------------------------------------------------------- |
20
- | removed | -524.304 kB | 0.1% → 0.0% | 524 kB → 0 B | 5,958 → 0 | `createProgram` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
18
+ | Change | Delta | % | Size | Samples | Function | Location |
19
+ | ------: | -----------: | ----------: | ------------: | --------: | --------------- | ------------------------------------------- |
20
+ | removed | -512.015 KiB | 0.1% → 0.0% | 512 KiB → 0 B | 5,958 → 0 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
21
21
 
22
22
  ### Total size
23
23
 
@@ -25,18 +25,18 @@ Functions with the largest decrease in bytes allocated directly in the function
25
25
 
26
26
  Functions with the largest increase in total bytes allocated in the function and all its callees.
27
27
 
28
- | Change | Delta | % | Size | Samples | Function | Location |
29
- | -----: | --------: | ----------: | ----------------: | --------------: | --------- | ------------------------------- |
30
- | +12.6% | +1.753 MB | 1.4% → 2.0% | 13.9 MB → 15.6 MB | 92,999 → 88,994 | `require` | `node:internal/modules/helpers` |
28
+ | Change | Delta | % | Size | Samples | Function | Location |
29
+ | -----: | ---------: | ----------: | ------------------: | --------------: | --------- | ------------------------------- |
30
+ | +12.6% | +1.672 MiB | 1.4% → 2.0% | 13.2 MiB → 14.9 MiB | 92,999 → 88,994 | `require` | `node:internal/modules/helpers` |
31
31
 
32
32
  #### Improvements
33
33
 
34
34
  Functions with the largest decrease in total bytes allocated in the function and all its callees.
35
35
 
36
- | Change | Delta | % | Size | Samples | Function | Location |
37
- | -----: | ----------: | ------------: | --------------: | --------------------: | ---------------------------------- | -------------------------------------------------------------------------------------------------------- |
38
- | -21.5% | -162.717 MB | 77.9% → 77.5% | 758 MB → 595 MB | 7,813,936 → 5,868,039 | `typeCheckProject` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/tsc-workload.mjs` |
39
- | -21.5% | -162.194 MB | 77.5% → 77.0% | 753 MB → 591 MB | 7,728,122 → 5,802,917 | `(anonymous)` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/datadog-pprof-heap.mjs:1:1` |
40
- | -22.5% | -105.771 MB | 48.4% → 47.5% | 470 MB → 365 MB | 4,946,952 → 3,593,223 | `getSemanticDiagnostics` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
41
- | -20.8% | -58.691 MB | 29.1% → 29.2% | 283 MB → 224 MB | 2,922,784 → 2,243,751 | `createProgram` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
42
- | -0.5% | -2.496 kB | 0.1% | 527 kB → 524 kB | 163 → 16,385 | `getParsedCommandLineOfConfigFile` | `private/tmp/nix-shell.s3uqql/profiler-md-fixtures.pYM2jp/zod/node_modules/typescript/lib/typescript.js` |
36
+ | Change | Delta | % | Size | Samples | Function | Location |
37
+ | -----: | -----------: | ------------: | ----------------: | --------------------: | ---------------------------------- | ------------------------------------------- |
38
+ | -21.5% | -155.179 MiB | 77.9% → 77.5% | 723 MiB → 567 MiB | 7,813,936 → 5,868,039 | `typeCheckProject` | `tsc-workload.mjs` |
39
+ | -21.5% | -154.68 MiB | 77.5% → 77.0% | 718 MiB → 564 MiB | 7,728,122 → 5,802,917 | `(anonymous)` | `datadog-pprof-heap.mjs:1:1` |
40
+ | -22.5% | -100.872 MiB | 48.4% → 47.5% | 449 MiB → 348 MiB | 4,946,952 → 3,593,223 | `getSemanticDiagnostics` | `node_modules/typescript/lib/typescript.js` |
41
+ | -20.8% | -55.972 MiB | 29.1% → 29.2% | 270 MiB → 214 MiB | 2,922,784 → 2,243,751 | `createProgram` | `node_modules/typescript/lib/typescript.js` |
42
+ | -0.5% | -2.437 KiB | 0.1% | 514 KiB → 512 KiB | 163 → 16,385 | `getParsedCommandLineOfConfigFile` | `node_modules/typescript/lib/typescript.js` |
@@ -237,7 +237,7 @@ Callees ranked by contribution to each function's total time. Inlining can make
237
237
 
238
238
  | % | Time | Samples | Callee | Location |
239
239
  | ----: | -----: | ------: | ------------- | -------------------------------------------------------------------------------------------------------- |
240
- | 81.2% | 13.0ms | 13 | `(anonymous)` | `https://en.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022:12:421` |
240
+ | 81.3% | 13.0ms | 13 | `(anonymous)` | `https://en.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022:12:421` |
241
241
  | 18.7% | 3.0ms | 3 | `newStyleTag` | `https://en.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022:4:59` |
242
242
 
243
243
  ##### `doPropagation` (`https://en.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022:5:254`)