Issue 40052 Windows server-start measurement.
Prepare separate base/head worktrees named issue40052-base and issue40052-head below USERPROFILE, run vp i in each.
Base: e7b1b88bef19d5dd83e692b5b70b195f4251a608
Head: 437a0d85c7f543caa0af1d8c09a14ab5f908a65e
Install npm globals: npm install -g @openai/codex@0.171.0 @anthropic-ai/claude-code@2.1.330
Place measure.cjs, spawnlog.cjs and config.cjs together, run node measure.cjs.
The driver executes actual production serve commands in apps/server, with fresh data directories, no database seed, port 4800, 127.0.0.1.
It runs seven starts per side for 65 seconds each and alternates side order each round. The first two are warm-ups.
It taskkills only the captured server PID tree. The final start per side captures server.getConfig through an authenticated WebSocket ticket; credentials are never written to output.
A completed npm process logs arguments, start time relative to process boot, duration, exit code and stdout/stderr.
Local user paths in output are replaced with <USER>; no timing or version data is changed.
Run summarize.py beside results.jsonl and both provider JSON files for summary statistics.
Only current-version fallback was exercised; no update installation or behind_latest advisory was tested.
