profiler-md 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.mjs +5789 -5181
- package/dist/index.d.mts +478 -137
- package/dist/index.js +2 -2
- package/docs/formats/jfr.md +1 -1
- package/docs/formats/jsc-heap-snapshot.md +1 -1
- package/docs/formats/pprof.md +8 -6
- package/docs/formats/speedscope.md +5 -4
- package/docs/formats/systing.md +25 -0
- package/docs/formats/v8-heap-snapshot.md +2 -2
- package/docs/languages/c.md +35 -2
- package/docs/languages/csharp.md +2 -4
- package/docs/languages/elixir.md +4 -5
- package/docs/languages/go.md +6 -6
- package/docs/languages/java.md +13 -13
- package/docs/languages/javascript.md +7 -7
- package/docs/languages/julia.md +92 -13
- package/docs/languages/php.md +3 -4
- package/docs/languages/python.md +28 -13
- package/docs/languages/ruby.md +4 -6
- package/docs/languages/rust.md +37 -8
- package/examples/output/c.gperftools.heap.base.pprof.md +151 -151
- package/examples/output/c.gperftools.heap.current.pprof.md +151 -151
- package/examples/output/c.gperftools.heap.diff.pprof.md +3 -3
- package/examples/output/c.systing.cpu.base.systing.md +824 -0
- package/examples/output/c.systing.cpu.current.systing.md +825 -0
- package/examples/output/c.systing.cpu.diff.systing.md +238 -0
- package/examples/output/cpp.gperftools.heap.base.pprof.md +24 -24
- package/examples/output/cpp.gperftools.heap.current.pprof.md +24 -24
- package/examples/output/cpp.gperftools.heap.diff.pprof.md +2 -2
- package/examples/output/go.pprof.block.base.pprof.md +40 -40
- package/examples/output/go.pprof.block.current.pprof.md +37 -37
- package/examples/output/go.pprof.block.diff.pprof.md +14 -14
- package/examples/output/go.pprof.goroutine.base.pprof.md +16 -16
- package/examples/output/go.pprof.goroutine.current.pprof.md +16 -16
- package/examples/output/go.pprof.heap-alloc.base.pprof.md +79 -79
- package/examples/output/go.pprof.heap-alloc.current.pprof.md +72 -72
- package/examples/output/go.pprof.heap-alloc.diff.pprof.md +25 -25
- package/examples/output/go.pprof.heap.base.pprof.md +79 -79
- package/examples/output/go.pprof.heap.current.pprof.md +72 -72
- package/examples/output/go.pprof.heap.diff.pprof.md +25 -25
- package/examples/output/go.pprof.mutex.base.pprof.md +26 -26
- package/examples/output/go.pprof.mutex.current.pprof.md +15 -15
- package/examples/output/go.pprof.mutex.diff.pprof.md +10 -10
- package/examples/output/java.async-profiler.all.base.jfr.md +192 -192
- package/examples/output/java.async-profiler.all.current.jfr.md +181 -181
- package/examples/output/java.async-profiler.all.diff.jfr.md +72 -72
- package/examples/output/java.async-profiler.alloc.base.jfr.md +189 -189
- package/examples/output/java.async-profiler.alloc.current.jfr.md +183 -183
- package/examples/output/java.async-profiler.alloc.diff.jfr.md +70 -70
- package/examples/output/java.async-profiler.live.base.jfr.md +303 -303
- package/examples/output/java.async-profiler.live.current.jfr.md +313 -313
- package/examples/output/java.async-profiler.live.diff.jfr.md +132 -132
- package/examples/output/java.async-profiler.nativemem.base.jfr.md +141 -141
- package/examples/output/java.async-profiler.nativemem.current.jfr.md +141 -141
- package/examples/output/java.async-profiler.nativemem.diff.jfr.md +48 -48
- package/examples/output/java.jdk.all.base.jfr.md +281 -281
- package/examples/output/java.jdk.all.current.jfr.md +267 -267
- package/examples/output/java.jdk.all.diff.jfr.md +103 -103
- package/examples/output/java.jdk.alloc.base.jfr.md +254 -254
- package/examples/output/java.jdk.alloc.current.jfr.md +293 -293
- package/examples/output/java.jdk.alloc.diff.jfr.md +102 -102
- package/examples/output/java.jdk.cpu.base.jfr.md +256 -256
- package/examples/output/java.jdk.cpu.current.jfr.md +276 -276
- package/examples/output/java.jdk.cpu.diff.jfr.md +93 -93
- package/examples/output/java.jdk.live.base.jfr.md +256 -256
- package/examples/output/java.jdk.live.current.jfr.md +250 -250
- package/examples/output/java.jdk.live.diff.jfr.md +78 -78
- package/examples/output/java.jdk.lock.base.jfr.md +285 -285
- package/examples/output/java.jdk.lock.current.jfr.md +285 -285
- package/examples/output/java.jdk.lock.diff.jfr.md +121 -121
- package/examples/output/javascript.bun.base.cpuprofile.md +36 -36
- package/examples/output/javascript.bun.base.heapsnapshot.md +215 -215
- package/examples/output/javascript.bun.base.jsc-heap-snapshot.json.md +218 -218
- package/examples/output/javascript.bun.current.cpuprofile.md +34 -34
- package/examples/output/javascript.bun.current.heapsnapshot.md +215 -215
- package/examples/output/javascript.bun.current.jsc-heap-snapshot.json.md +220 -220
- package/examples/output/javascript.bun.diff.cpuprofile.md +19 -19
- package/examples/output/javascript.bun.diff.heapsnapshot.md +23 -23
- package/examples/output/javascript.bun.diff.jsc-heap-snapshot.json.md +35 -35
- package/examples/output/javascript.chrome.base.heapprofile.md +17 -17
- package/examples/output/javascript.chrome.base.heapsnapshot.md +202 -202
- package/examples/output/javascript.chrome.current.heapprofile.md +17 -17
- package/examples/output/javascript.chrome.current.heapsnapshot.md +200 -200
- package/examples/output/javascript.chrome.diff.heapprofile.md +21 -21
- package/examples/output/javascript.chrome.diff.heapsnapshot.md +27 -27
- package/examples/output/javascript.deno.base.cpuprofile.md +63 -63
- package/examples/output/javascript.deno.current.cpuprofile.md +56 -56
- package/examples/output/javascript.deno.diff.cpuprofile.md +28 -28
- package/examples/output/javascript.node.base.cpuprofile.md +73 -73
- package/examples/output/javascript.node.base.heapprofile.md +32 -32
- package/examples/output/javascript.node.base.heapsnapshot.md +269 -269
- package/examples/output/javascript.node.current.cpuprofile.md +61 -61
- package/examples/output/javascript.node.current.heapprofile.md +28 -28
- package/examples/output/javascript.node.current.heapsnapshot.md +269 -269
- package/examples/output/javascript.node.diff.cpuprofile.md +32 -32
- package/examples/output/javascript.node.diff.heapprofile.md +17 -17
- package/examples/output/javascript.node.diff.heapsnapshot.md +19 -19
- package/examples/output/javascript.pprof.cpu.base.pprof.md +50 -50
- package/examples/output/javascript.pprof.cpu.current.pprof.md +66 -66
- package/examples/output/javascript.pprof.cpu.diff.pprof.md +28 -28
- package/examples/output/javascript.pprof.heap.base.pprof.md +46 -46
- package/examples/output/javascript.pprof.heap.current.pprof.md +34 -34
- package/examples/output/javascript.pprof.heap.diff.pprof.md +18 -18
- package/examples/output/javascript.safari.base.webkit-timeline-recording.json.md +1 -1
- package/examples/output/julia.pprof-jl.alloc.base.pprof.md +83 -83
- package/examples/output/julia.pprof-jl.alloc.current.pprof.md +85 -85
- package/examples/output/julia.pprof-jl.alloc.diff.pprof.md +18 -18
- package/examples/output/julia.pprof-jl.cpu.base.pprof.md +107 -107
- package/examples/output/julia.pprof-jl.cpu.current.pprof.md +109 -109
- package/examples/output/julia.pprof-jl.cpu.diff.pprof.md +29 -29
- package/examples/output/julia.pprof-jl.wall.base.pprof.md +181 -0
- package/examples/output/julia.pprof-jl.wall.current.pprof.md +193 -0
- package/examples/output/julia.pprof-jl.wall.diff.pprof.md +64 -0
- package/examples/output/julia.profile.base.heapsnapshot.md +590 -0
- package/examples/output/julia.profile.current.heapsnapshot.md +590 -0
- package/examples/output/julia.profile.diff.heapsnapshot.md +288 -0
- package/examples/output/kotlin.async-profiler.all.base.jfr.md +193 -193
- package/examples/output/kotlin.async-profiler.all.current.jfr.md +218 -218
- package/examples/output/kotlin.async-profiler.all.diff.jfr.md +93 -93
- package/examples/output/kotlin.async-profiler.alloc.base.jfr.md +212 -212
- package/examples/output/kotlin.async-profiler.alloc.current.jfr.md +183 -183
- package/examples/output/kotlin.async-profiler.alloc.diff.jfr.md +93 -93
- package/examples/output/kotlin.async-profiler.live.base.jfr.md +343 -343
- package/examples/output/kotlin.async-profiler.live.current.jfr.md +336 -336
- package/examples/output/kotlin.async-profiler.live.diff.jfr.md +186 -186
- package/examples/output/kotlin.async-profiler.nativemem.base.jfr.md +150 -150
- package/examples/output/kotlin.async-profiler.nativemem.current.jfr.md +150 -150
- package/examples/output/kotlin.async-profiler.nativemem.diff.jfr.md +48 -48
- package/examples/output/kotlin.jdk.all.base.jfr.md +402 -402
- package/examples/output/kotlin.jdk.all.current.jfr.md +413 -413
- package/examples/output/kotlin.jdk.all.diff.jfr.md +169 -169
- package/examples/output/kotlin.jdk.alloc.base.jfr.md +418 -418
- package/examples/output/kotlin.jdk.alloc.current.jfr.md +405 -405
- package/examples/output/kotlin.jdk.alloc.diff.jfr.md +160 -160
- package/examples/output/kotlin.jdk.cpu.base.jfr.md +418 -418
- package/examples/output/kotlin.jdk.cpu.current.jfr.md +413 -413
- package/examples/output/kotlin.jdk.cpu.diff.jfr.md +148 -148
- package/examples/output/kotlin.jdk.live.base.jfr.md +420 -420
- package/examples/output/kotlin.jdk.live.current.jfr.md +411 -411
- package/examples/output/kotlin.jdk.live.diff.jfr.md +148 -148
- package/examples/output/kotlin.jdk.lock.base.jfr.md +417 -417
- package/examples/output/kotlin.jdk.lock.current.jfr.md +398 -398
- package/examples/output/kotlin.jdk.lock.diff.jfr.md +156 -156
- package/examples/output/php.excimer.wall.base.speedscope.json.md +6 -6
- package/examples/output/php.excimer.wall.current.speedscope.json.md +6 -6
- package/examples/output/php.excimer.wall.diff.speedscope.json.md +6 -6
- package/examples/output/ruby.rbspy.cpu.base.collapsed.md +14 -14
- package/examples/output/ruby.rbspy.cpu.base.pprof.md +14 -14
- package/examples/output/ruby.rbspy.cpu.base.speedscope.json.md +14 -14
- package/examples/output/ruby.rbspy.cpu.current.collapsed.md +12 -12
- package/examples/output/ruby.rbspy.cpu.current.pprof.md +21 -21
- package/examples/output/ruby.rbspy.cpu.current.speedscope.json.md +21 -21
- package/examples/output/ruby.rbspy.cpu.diff.collapsed.md +5 -5
- package/examples/output/ruby.rbspy.cpu.diff.pprof.md +12 -12
- package/examples/output/ruby.rbspy.cpu.diff.speedscope.json.md +12 -12
- package/examples/output/rust.pprof-rs.cpu.base.pprof.md +32 -32
- package/examples/output/rust.pprof-rs.cpu.current.pprof.md +32 -32
- package/examples/output/rust.pprof-rs.cpu.diff.pprof.md +7 -7
- package/package.json +11 -10
- package/readme.md +53 -31
- package/skills/profile-optimize/SKILL.md +160 -0
- package/docs/languages/cpp.md +0 -160
- package/docs/languages/erlang.md +0 -46
- package/docs/languages/fsharp.md +0 -52
- package/docs/languages/kotlin.md +0 -170
- package/docs/languages/typescript.md +0 -276
|
@@ -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` | `
|
|
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` | `
|
|
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` | `
|
|
41
|
-
| +11.3% | +5.38ms | 0.9% | 47.7ms → 53.0ms | 37 → 40 | `forEachAncestorDirectory` | `
|
|
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` | `
|
|
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` | `
|
|
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` | `
|
|
54
|
-
| -0.1% | -6.66ms | 99.8% → 99.7% | 5.57s | 4,230 → 4,215 | `typeCheckProject` | `
|
|
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.
|
|
4
|
-
|
|
5
|
-
| Category | Change |
|
|
6
|
-
| ------------ | -----: |
|
|
7
|
-
| code | 0.0% |
|
|
8
|
-
| string | 0.0% |
|
|
9
|
-
| object shape | -1.5% | -2.
|
|
10
|
-
| object | 0.0% |
|
|
11
|
-
| hidden | -0.1% |
|
|
12
|
-
| closure | 0.0% |
|
|
13
|
-
| array | 0.0% |
|
|
14
|
-
| symbol | 0.0% |
|
|
15
|
-
| native | 0.0% |
|
|
16
|
-
| regexp | 0.0% |
|
|
17
|
-
| bigint | 0.0% |
|
|
18
|
-
| synthetic | — |
|
|
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 |
|
|
35
|
-
| -----: |
|
|
36
|
-
| -0.2% | -
|
|
37
|
-
| -8.3% | -1.
|
|
38
|
-
| -2.0% |
|
|
39
|
-
| -93.2% |
|
|
40
|
-
| -42.6% |
|
|
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.
|
|
4
|
-
|
|
5
|
-
| Category | Change |
|
|
6
|
-
| -------- | -----: |
|
|
7
|
-
| code | 0.0% |
|
|
8
|
-
| string | ~0% |
|
|
9
|
-
| internal | +0.5% | +1.
|
|
10
|
-
| object | 0.0% |
|
|
11
|
-
| closure | 0.0% |
|
|
12
|
-
| array | 0.0% |
|
|
13
|
-
| unknown | 0.0% |
|
|
14
|
-
| built-in | 0.0% |
|
|
15
|
-
| symbol | 0.0% |
|
|
16
|
-
| native | 0.0% |
|
|
17
|
-
| regexp | 0.0% |
|
|
18
|
-
| bigint | 0.0% |
|
|
19
|
-
| number | 0.0% |
|
|
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 |
|
|
32
|
-
| -----: |
|
|
33
|
-
| +0.7% | +1.
|
|
34
|
-
| +0.3% |
|
|
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 |
|
|
45
|
-
| ------: |
|
|
46
|
-
| +0.3% | +1.
|
|
47
|
-
| +0.6% | +1.
|
|
48
|
-
| +0.1% |
|
|
49
|
-
| +51.1% |
|
|
50
|
-
| +150.0% |
|
|
51
|
-
| +0.3% |
|
|
52
|
-
| ~0% |
|
|
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 |
|
|
59
|
-
| -----: |
|
|
60
|
-
| -6.8% | -
|
|
61
|
-
| -1.9% | -11.
|
|
62
|
-
| -4.0% |
|
|
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.
|
|
3
|
+
Allocated 5.4 MiB over 232 samples (23.8 KiB per sample).
|
|
4
4
|
|
|
5
|
-
| Category | % |
|
|
6
|
-
| ----------------- | ----: |
|
|
7
|
-
| stdlib | 79.3% | 4.
|
|
8
|
-
| v8 api | 14.3% |
|
|
9
|
-
| parser | 3.2% |
|
|
10
|
-
| bytecode compiler | 3.2% |
|
|
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
|
-
| % |
|
|
19
|
-
| ----: |
|
|
20
|
-
| 14.3% |
|
|
21
|
-
| 3.2% |
|
|
22
|
-
| 3.2% |
|
|
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
|
-
| % |
|
|
29
|
-
| ----: |
|
|
30
|
-
| 14.3% |
|
|
31
|
-
| 3.2% |
|
|
32
|
-
| 3.2% |
|
|
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>` |
|