Monorepo for the nibling.run platform
README.md

@nibling/app #

The nibling app: public pages (home, actor, project, settings) and the editor, served from playground/.

Measuring page loads #

scripts/perf.mjs loads routes in a cold headless Chromium and prints, per route, the time to the first h1 (searched through shadow roots), the time the network went idle, request counts, JavaScript bytes transferred, each external host's requests and timings, repeated GET URLs, and whether a <nib-shell> was ever attached.

# Dev server
npx vite playground --port 9311
node scripts/perf.mjs --base http://127.0.0.1:9311 / /@natemoo.re

# Production build
npx vite build playground && npx vite preview playground --port 9312
node scripts/perf.mjs --base http://127.0.0.1:9312 --runs 5 --json perf.json /@natemoo.re

Times are medians over --runs, measured from navigation start. To measure with the gateway, start the app with VITE_NIBLING_GATEWAY set, or build with it; the script measures whatever the served app reads from.