console perf: record the Domains pages' claim reads
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 file changed,
+2
−2
internal/console/testdata/perf-budgets.txt+2 −2
CI failed — run details
diff --git a/internal/console/testdata/perf-budgets.txt b/internal/console/testdata/perf-budgets.txt| index 279edc6d0..a8f33febb 100644 |
| --- a/internal/console/testdata/perf-budgets.txt |
| +++ b/internal/console/testdata/perf-budgets.txt |
| @@ -104,8 +104,8 @@ GET /fleet/store calls 3: lists the storage entitlements and the storage usage d |
| GET /a/{sqid}/apps/{app} over: cold, the app-tab frame, the account manifest and every box's metrics hours for two days (141 S3 calls, about 715 ms, over 500 ms); a repeat view is the release listing and every manifest (3 S3 calls, about 80 ms) |
| GET /a/{sqid}/apps/{app}/instances over: cold, the app-tab frame, the account manifest, the metrics sweep, instances.json, and every edges file and box report (122 S3 calls and 1 host call, about 1,315 ms, over 500 ms); a repeat view still reads instances.json and every edges file and box report (17 S3 calls, 500 to 620 ms, at or over 500 ms: the edges files are read one after another) |
| GET /a/{sqid}/apps/{app}/instances/{host} over: cold, the app-tab frame, the account manifest and the metrics sweep beside the instance record, instances.json, the edges listing and the box and fleet box reports (119 S3 calls, about 505 ms, over 500 ms); a repeat view reads the last five (14 S3 calls, 210 to 325 ms) |
| -GET /a/{sqid}/domains calls 13: the account's domain claims (one listing and each claim), then for each app holding addresses the attach state the Settings Domains section reads (claims, cert-warm records, box reports); about 400 ms, no instance records; Plan 2a Task 5 budget 1 + one per app |
| -GET /a/{sqid}/domains/{domain} calls 13: the same reads as the Domains page, narrowed to the apps holding this domain's addresses; about 400 ms |
| +GET /a/{sqid}/domains over: reads the account's domain claims (one listing and each claim), then for each app holding addresses what the Settings Domains section reads (claims, cert-warm records, box reports), no instance records (13 S3 calls on a repeat view, about 430 ms; cold 13, about 510 ms, over 500 ms) |
| +GET /a/{sqid}/domains/{domain} over: the same reads as the Domains page, narrowed to the apps holding this domain's addresses (13 S3 calls on a repeat view, about 430 ms; cold 13, about 430 to 510 ms, at or over 500 ms on a slow run) |
| GET /a/{sqid}/apps/{app}/settings/{section} over: Domains reads the domain claims, cert-warm records, every box report and every instance record (16 S3 calls on a repeat view, 430 to 470 ms; cold 24, about 555 ms, over 500 ms); every other section passes and reads only its own data on a repeat view: General 2 (cold 9), Environments 5 (12), Storage 4 (11), Email 1 (8), Feature flags 1 (8), Errors and analytics 2 (9), the pipeline section, Placement and Delete none (7); the advanced redirect none, warm or cold |
| POST /a/{sqid}/apps/{app}/promote over: promoting v2 to stable reads and writes 18 S3 objects, about 520 ms from the body read to the first byte, over 500 ms (console-slow-writes is speeding it up) |