Repository navigation
Conversation
Measures the span from spawning `astro dev` until the server prints its ready message (plus time to first response), on a small fixture project with a content config. Runs as both a standalone `astro-benchmark dev-startup` command and a CodSpeed vitest bench (dev-startup.bench.js), so future startup changes are tracked in the continuous benchmark suite.
|
Merging this PR will not alter performance
Comparing Footnotes
|
Fixes the eslint `regexp/no-unused-capturing-group` error flagged by the Lint CI job.
Changes
dev-startupbenchmark that measures the span from spawningastro devuntil the server prints its ready message, plus time to first response, on a small fixture with a content config.astro-benchmark dev-startupcommand and as a CodSpeed vitest bench, closing the coverage gap codspeed-hq flagged on Speed up dev server startup by deferring server app and content config compilation #17955.--port 0and fully tears down each server (SIGTERM → SIGKILL, lock file removal), so parallel CI shards and repeated runs never collide.Testing
make-project/dev-startup.js,bench/dev-startup.js, andbench/dev-startup.bench.jscover both metrics.Docs