Skip to content

test(ui): measure first-open and warm-input page costs - #189298

Merged
steipete merged 1 commit into
mainfrom
solid2/w-perf-long-tail-harness-1031
Oct 31, 2026
Merged

steipete merged 1 commit into
mainfrom
solid2/w-perf-long-tail-harness-1031

Conversation

@steipete

@steipete steipete commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Control UI page benchmarks can miss work deferred until a control first opens, and terminal session creation obscures the cost of typing into an already running terminal.

User Impact

This changes benchmark coverage only. There are no production UI, runtime, startup, configuration, or dependency changes.

Why This Change Was Made

Add explicit first-open measurements for the 300-agent selector and Search Advanced, plus a warm Terminal action that types ten real characters and submits them after session setup. Normal --pages runs keep their visit/action/leave selection; the new cells are selected with --steps page-agent-selector-first-open,page-search-advanced-open,page-terminal-composer-input.

Cloud Workers now waits for both catalog responses to reach the application and for the existing probe's delivery queue to drain before declaring the route ready. Opening Advanced waits for all 30 profile edit controls. The probe remains Cloud-only, with no added latency or synthetic events.

Memory Import now opens and verifies a ten-file collection before deselecting it, exposing work previously excluded by the checkbox-only action. Its new action timings must not be pooled with earlier deselect-only results. First-open and warm-input results also stay separate from route visits, and comparisons must use the same harness revision for every bundle.

Evidence

Check Result
Frozen dependency install Pass
Scoped format, scripts typecheck, scripts lint, and git diff --check Pass
Independent P0–P2 review of the complete changed modules and supporting contracts Complete; no actionable findings
Cloud and Memory Import route-specific smoke with matching measurement boundaries 48/48 passed; Chromium/WebKit, desktop/mobile, visit/action/leave
Targeted Chromium/WebKit smoke for the combined harness 36/36 passed on committed 022d3e5: Search remaining 20, AgentSelect observer 8, warm Terminal 8
PR CI Run 41193817404 completed successfully on head 022d3e5b6082341fb86fff6bf1014234f8e33854

Cloud and Memory Import reuse 24 successful observations each from the same route definitions: Cloud also has identical readiness/probe blocks. Those runs used their prior base and candidate bundles, not this combined head; all eight action composites were inspected. The combined-harness smoke completed all 36 planned observations with exact source, bundle and harness seals intact. Search also reuses 12 passing desktop visit/action/leave observations, completing its 32-cell correctness matrix. A preliminary Search first-open run stopped at an ambiguous nested summary selector; the final harness targets the direct heading and that failed setup is excluded from timing evidence. No performance improvement is claimed by this harness-only PR.

Three files change: 3,574 → 3,788 lines (+214 net; +219/-5). The two benchmark modules account for 2,734 → 2,941 lines; the remaining seven lines document selection and comparability.

@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M labels Oct 31, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T10:43:59.070263Z 022d3e5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) October 31, 2026 10:47
@steipete
steipete merged commit 14b385e into main Oct 31, 2026
101 of 102 checks passed
@steipete
steipete deleted the solid2/w-perf-long-tail-harness-1031 branch October 31, 2026 10:49
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant