From 8136d756d794d5271bf61e2f072a7983586f810d Mon Sep 17 00:00:00 2001 From: 4gray Date: Mon, 28 Sep 2026 09:00:29 +0200 Subject: [PATCH] docs(validation): describe perf:journeys as running J1 and J2 Co-Authored-By: Claude Opus 5.5 --- docs/architecture/validation-map.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/architecture/validation-map.md b/docs/architecture/validation-map.md index 1bc623490..dc8962039 100644 --- a/docs/architecture/validation-map.md +++ b/docs/architecture/validation-map.md @@ -248,7 +248,7 @@ pnpm nx build web pnpm run perf:initial-bytes # breakdown only pnpm run perf:initial-bytes:check # measure, then compare with the committed baseline pnpm nx test performance-tools -pnpm run perf:journeys # J1 launch benchmark, writes dist/performance/journeys//summary.json +pnpm run perf:journeys # J1 launch + J2 open-source journeys, one dist/performance/journeys//summary.json ``` `perf:initial-bytes` reads the built `dist/apps/web/index.html` and sums the @@ -257,8 +257,10 @@ bytes on the initial path (the J1 counter `renderer.initialBytes`). `tools/performance/journey-baselines.json`; baselines only move down. CI runs the same check in the `Initial bytes ratchet` job of `ci.yml` for PRs that target `master` and for `master` pushes (dispatch it with -`gh workflow run ci.yml --ref ` for a stacked branch). `perf:journeys` builds the `electron-performance` configuration and runs the -J1 launch benchmark against the Xtream mock; its probe specs run with +`gh workflow run ci.yml --ref ` for a stacked branch). `perf:journeys` builds the `electron-performance` configuration and runs every +journey spec against the Xtream mock: J1 launch, then J2 open-source (a +second set of launches, each followed by the click on the portal card), both +written to the same summary file; its probe specs run with `pnpm nx run electron-backend-e2e:test-performance-harness`. The contract, what counts and how to add a counter or a journey are in the [performance journeys](performance-journeys.md) document.