You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fdb8f5a
Browse filesBrowse the repository at this point in the historyBrowse files
|`--count=<n,n,...>`| Entry-point count targets, drives both layouts |`10,20,50,100,200,300,400,500,1000,2000`|
95
95
|`--depth=<n,n,...>`|**`layout=deep` only.** Explicit tree depths, overriding the depths otherwise derived from `--count`| derived from `--count`|
96
96
|`--iterations=<n>`| Measured iterations per size |`3`|
97
-
|`--json`| Output raw measurements as JSON | N/A |
97
+
|`--json`| Output raw per-iteration measurements as JSON to stdout | N/A |
98
+
|`--csv=<path>`| Write raw per-iteration measurements as CSV to `<path>`| N/A (opt-in only) |
98
99
99
100
> `--count` and `--depth` are not independent sweep axes for `layout=deep`: `--count` is translated
100
101
> into depths (smallest `depth` with `2^depth >= n` per target, de-duplicated); `--depth` only
@@ -167,5 +168,10 @@ All 60 builds (10 sizes x 3 iterations x 2 layouts) completed with `status: "ok"
167
168
- Dependencies between entry points.
168
169
- Shared stylesheet tokens imported by multiple components.
169
170
- Watch mode.
170
-
- Peak memory (`ru_maxrss`) and CPU time (`ru_utime` + `ru_stime`) metrics per build, in addition to wall-clock build time.
171
+
- Peak memory and CPU time metrics per build, in addition to wall-clock build time. Note:
172
+
`child.resourceUsage()` does **not** exist on Node's `ChildProcess` (only `process.resourceUsage()`
173
+
exists, and it reports the calling process's own usage, not a child's) -- the real path is
174
+
polling `/proc/<pid>/status` (`VmHWM`) and `/proc/<pid>/stat` (`utime`+`stime`) on a timer while
175
+
the build subprocess is alive, which is Linux-only and requires moving `buildOnce` off
176
+
`spawnSync` onto `spawn()` so a polling timer can interleave with the child's lifetime.
171
177
- Library "taste" variants beyond plain flat/deep, e.g. flat/deep with inter-entry-point dependencies or shared SCSS tokens (currently out of scope, listed above).
0 commit comments